Total noob with making indicators and wondering if someone would bother helping me. Wanna draw a horizontal line at highest high and lowest low in the last XX candles.
Why not just use a Donchian Channel which indicates above and below the current candle the highest high and lowest low of the last n candles? I guess if you want to look back in time for support and resistance at these levels then a horizontal line is better.