Not enough bars in the window. EA doesn't work
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)
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!