mplfinance
mplfinance copied to clipboard
add vcedge to `make_marketcolors()`
Not sure if it was intended but currently vcedge
which sets the edge colors for volume bars is missing from make_marketcolors()
and as a results, the results with inherent=True
is different from the example notebook.
Example
The below example replicate the notebook example with the same usage code.
mc = mpf.make_marketcolors(up='#00ff00',down='#ff00ff',inherit=True)
s = mpf.make_mpf_style(base_mpf_style="nightclouds", y_on_right=True, marketcolors=mc)
mpf.plot(df, title=f"\n{symbol}", type='candle', volume=True, style=s, ylabel="", ylabel_lower="")