I am using a very simple AFL code to generate buy, sell signals:
Buy = Cross(MACD(), Signal()); Sell = Cross(Signal(), MACD()); AlertIf( Buy , "SOUND C:\\Windows\\Media\\chimes.wav", "Audio alert", 2 ); AlertIf( Sell , "SOUND C:\\Windows\\Media\\alert.wav", "Audio alert", 2 );
I am using the above code to generate signals, now I've set up the analysis pane to auto refresh every 15 seconds to check if one of the above conditions is met.
Still I don't get alerts as the day passes even though I had manually checked in the charts that MACD crossover had happened. Only when the market starts, I got a few alerts and that too with the same time, i.e, 9:15 AM why doesn't the time change?