Home>

I created an rsi chart with mpf, but I want to draw horizontal lines at 30%, 50%, and 70% positions.
If anyone knows how to write it, please let me know.

apds = [mpf.make_addplot (df ['RSI'], panel = 1, type ='line', ylabel ='RSI')]
mpf.plot (df, type ='candle', figsize = (30,15), style ='charles', volume = True,
         addplot = apds, volume_panel = 2)