if(Bars > Period_MA_2) // Not enough bars
{
Alert("Not enough bars in the window. EA doesn't work.");
return; // Exit start()
}
.
Change
if(Bars > Period_MA_2)
to
if(Bars < Period_MA_2)
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
Hi, Alls
When I try to my programme it shows the 'Not enough bars in the window. EA doesn't work'
I cant understand what to do ?
Plz! help me
Thanx!