sir how can i learn AFL language --- On Mon, 20/7/09, jonrolson <[email protected]> wrote:
From: jonrolson <[email protected]> Subject: [amibroker] Amibroker Alerts To: [email protected] Date: Monday, 20 July, 2009, 3:45 PM I am using an alert with one of my formulas, Anytime I generate a buy or sell signal I want it to run an external program. The buy and sell signals are working as I expect ( I see the arrows drawn correctly on my chart) But the alerts only seem to fire when I actually look at the chart. For example I had a buy signal at 9:20 AM and I check the chart at 10:30am thats when I see the external program run // Sample Code PlotShapes( Buy * shapeUpArrow, colorGreen ); PlotShapes( Sell * shapeDownArrow, colorRed ); AlertIf( Buy, "EXEC c:\\App.exe" , Name() + "~Open" , 3 ); AlertIf( Sell, "EXEC c:\\eApp.exe" , Name() + "~Close" , 3 ); Looking for local information? Find it on Yahoo! Local http://in.local.yahoo.com/
