if
(Indicator[0] == 3);
{
IndicatorLong = true;
}
if
(IndicatorLong == true && ;
{
NewBarCounter++;
}
if
(IndicatorLong= true && NewBarCounter>= 5);
{
IndicatorLong= false;
NewBarCounter= 0;
}
I dont know how to implment that the counter is increment by 1 after every new bar.
Can someone help here?
Thanks
Comment