-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Histogram indicator plot style #195
Comments
Add Histogram indicator plot style kernc#195
Fix legends values on histogram kernc#195
@AGG2017 how did you specify the legends for each of the lines in 1 indicator graph? Could you share the code for this? I'm trying to draw MACD signal like this too. Thanks. |
@wakandan check his commits, he change the core of library, |
|
In backtesting.py
|
_plotting.py
|
I ended up implement everything my own. Thanks @vladimircape |
Hi @vladimircape, Your tutorial is great. I did it but still cannot generate a histogram with different colors for positive and negative ones. For now, the histogram has only one color: Do you know how to generate a histogram with multiple colors as @AGG2017 did? Thank you. |
I did it successfully, thanks to everyone under this issue for their help. @quanvnd9 As for the histogram color, you can use:
For details, please refer to my fork repository https://github.com/kxbin/backtesting.py |
I am using the method
I
to plot MACD, but get the wrong style with histogram.Maybe need more style settings with the method.
The text was updated successfully, but these errors were encountered: