if (CrossBelow(SMA(Close, 8), SMA(Open, 8), 1))
DrawRectangle("My rectangle"+ CurrentBar , 1, Low[1] - 2 * TickSize, 0, High[0] + 2 * TickSize, Color.Orange,BackColor,2);
}
The code above is what I have used. Can you suggest a way to alter code to achieve what I am looking for.
Comment