Any idea how to code this. Help please with example codes.
So far this is all I have:
if (Close[0] > Open[0])
{
DrawHorizontalLine("My horizontal line" + CurrentBar, High[0] + 10 * TickSize, Color.DarkSlateGray);
DrawText("My text" + CurrentBar, "", 0, High[0] + 10 * TickSize, Color.Red);
}
//Trying to Draw the price level 10 ticks above the High of the current bar.
It's Not working.
Comment