Relative Content

Tag Archive for getlinedrawcrossover

Draw a line in pinescript v5

I wrote a code in pine script v5 for drawing a horizontal line from open of a Bullish engulfing candle to the right side for 100 candle but it should be stop drawing when a candle crossover or cross under the line but it does not work properly. Could anyone help me to correct my faults please?