hi
I've coded a simple 315 ema crossover AFL to send an email ALERT when the crossover happens to the upside/downside. And I have also changed the amibroker settings to send email alerts. I'm using NSE EOD data downloader for RT data. But still when the crossover happens the alerts are not generated. Please can somebody look at the afl below and suggest what's wrong.
Plot(EMA( Close,3), "3d-ema", colorRed );
Plot(EMA( Close,15), "15d-ema", colorBlue );
Buy = Cross(EMA(Close,3),(EMA(Close,15)));
Sell = Cross(EMA(Close,15),(EMA(Close,3)));
PlotShapes(shapeUpArrow*Buy,colorGreen);
PlotShapes(shapeDownArrow*Sell,colorBlack);
AlertIf( Buy, "EMAIL", "315 Crossover "+FullName(), 1 );
AlertIf( Sell, "EMAIL", "315 Crossover "+FullName(), 1 );
Thanks in advance
SR
I've coded a simple 315 ema crossover AFL to send an email ALERT when the crossover happens to the upside/downside. And I have also changed the amibroker settings to send email alerts. I'm using NSE EOD data downloader for RT data. But still when the crossover happens the alerts are not generated. Please can somebody look at the afl below and suggest what's wrong.
Plot(EMA( Close,3), "3d-ema", colorRed );
Plot(EMA( Close,15), "15d-ema", colorBlue );
Buy = Cross(EMA(Close,3),(EMA(Close,15)));
Sell = Cross(EMA(Close,15),(EMA(Close,3)));
PlotShapes(shapeUpArrow*Buy,colorGreen);
PlotShapes(shapeDownArrow*Sell,colorBlack);
AlertIf( Buy, "EMAIL", "315 Crossover "+FullName(), 1 );
AlertIf( Sell, "EMAIL", "315 Crossover "+FullName(), 1 );
Thanks in advance
SR