Goingdark365
Member
how can i draw a line +- 20ticks ($6) from high and low? only on current candle
i use range chart and and wanted a study to draw one line from high- 6 and one low + but only current candle. this way it gives me a idea where the next candle will likley end
thank you
i use range chart and and wanted a study to draw one line from high- 6 and one low + but only current candle. this way it gives me a idea where the next candle will likley end
thank you
Code:
input Range = 6;
def high_line = low + range;
def low_line = high - range;
plot high_linex = high_line;
high_linex.SetPaintingStrategy(PaintingStrategy.HORIZONTAL);
high_linex.SetLineWeight(1);
high_linex.SetDefaultColor(Color.RED);
plot low_linex = low_line;
low_linex.SetPaintingStrategy(PaintingStrategy.HORIZONTAL);
low_linex.SetLineWeight(1);
low_linex.SetDefaultColor(Color.RED);