♥ 0 |
Hi, 1) The bar is before the next earnings For example: Thank You in Advance
Marked as spam
|
Private answer
I'll admit that I had to read this several times before I felt like I had a good grasp of what you have requested. So I won't be surprised of I got it wrong. This solution is extremely complex. Far too complex for something I typically provide for no charge in the Q&A forum. Fortunately for you I had already done most of the grunt work for this in a previous post: https://www.hahn-tech.com/ans/tos-earnings-scan-with-prior-earnings-percentage-move/ Be sure to check that post because you need to understand this solution is complicated by the fact that sometimes earnings are reported before market open and other time they are reported after market close. And the code needs to account for that. Here is most of what you have requested. It paints every bar that qualifies instead of just the first. If you really need it to only paint the first qualifying bar, that will need to be submitted as a custom project request. Here is the code I came up with. Screenshot below shows the result.
Marked as spam
|
Please log in to post questions.