-
Notifications
You must be signed in to change notification settings - Fork 660
Add feature to draw vertical line delineate between pre-market and after-hour trading #54
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
Comments
At present there is no way to do this. You can sort of fake it out with There is a plan to add two kwargs to For example, for a vertical line you could specify If you have a different idea as to how the interface should be, that you think may have an advantage over the If you are interested in coding this |
I'd like to vouch for this enhancement, currently, with my project, I'm using the workaround @DanielGoldfarb describes, but the line doesn't look quite straight sometimes. |
@DanielGoldfarb Let me know if I can help test or implement something on this. |
@free-soellingeraj If you'd rather wait to test in a day (or two, I have some other cleanup to do too) for the PR to be in place, no worries. Up to you. In terms of implementation, if you would like to implement regression tests for this that would also be helpful. Take a look at this test folder and create All the best. --Daniel |
Sure, I will take a look. I had a need specifically for several of these features. I will let you know. |
I've tried this and works perfectly thanks! Can we get it in make_addplot function too so it can be used for indicators in the lower pannel? |
also being able to choose colors could be interesting |
@Brechard Thanks for the idea regarding Regarding choosing colors, this is already supported for All the best. --Daniel |
Dear @DanielGoldfarb, congratulation for your work, it is very helpful.
but I get next error:
may you help me? please. |
@gambitov However, it does appear from the code that multiple values (list,tuple) are possible for Alternatively, as a work-around, you may draw each horizontal line using apds = [
mpf.make_addplot( [185.0]*len(TA_data), linestyle='-' ),
mpf.make_addplot( [195.0]*len(TA_data), linestyle='--' ),
mpf.make_addplot( [210.0]*len(TA_data), linestyle='-.' )
] Given that HTH. All the best. --Daniel |
Hi @DanielGoldfarb , Regards, Markus |
Hi, is there anyway to draw vertical lines to delineate between pre-market and after-hour trading?
The text was updated successfully, but these errors were encountered: