why this simply strategy doesn't work?
if (Close[0] > Close[20]
&& Close[0] > Close[60])
{
DrawDot("My dot" + CurrentBar, false, 0, High[0] + 15 * TickSize, Color.Green);
}
But if I change the parameters it works perfectly.
if (Close[0] > Close[5]
&& Close[0] > Close[10])
{
DrawDot("My dot" + CurrentBar, false, 0, High[0] + 15 * TickSize, Color.Green);
}
I can't fins the logical reason why it is so. I am 100% sure that there are bars which have this conditions and dot shuld be draw.
Comment