I am using the follow code to join the lower points of two bars together (the blue bold line):
from mpl_finance import candlestick_ohlc import mplfinance as mpf import matplotlib.dates as mpl_dates import matplotlib.pyplot as plt
mpf.plot(data,hlines=dict(hlines=hlines_carrier,colors=['g','r'],linestyle='-.'),type='candle',alines=two_points)
However, I would like to the line to extend onto the right and touch the y-axis. What codes I should change in order to do that?
Thank you.
The answer to this question can be found by clicking here.
There is now a more detailed answer, with a link to code examples, that can be found by clicking here.