int start() { int i,emaCount; ArrayResize(EMA,Bars); for(i=Bars-1;i>=0;i--) { emaCalc(i,emaCount); if(i==0)Alert("EMA: ",emaCount); } return(0); }
Thank you Keith for your help, anyway I still get 0 as Alert. (Ema: 0).
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Unfortunately whenever I start the program, it automatically exits without doing anything.
Any suggestions?
Thank you!