Labels to display prior earnings percent move


Category:
0
0

Hi Pete,

What a crazy week! I hope you are doing well. Thank you for all of the educational resources and content that you provide your audience, its unbelievable!

I am trying to make a chart study that will show the percentage move of the last four earnings as chart labels. I figured out how to create labels but I am stumped how to fetch the data for the earnings. The way I would like to calculate it, is by finding the % difference between the close of the previous day and the low of the bar – specifically on the day of earnings. I have attached an image below which shows a difference of 28.42% on the day before and the maximum move on the day of earnings. In addition, if possible a label with the average of the last four earnings and an implied move (as a chart label) of the upcoming earnings based on a straddle?

Any help or advice on how to make this a reality would be greatly appreciated!!! Thank you so much!!

Attachments:
Marked as spam
Posted by (Questions: 1, Answers: 1)
Asked on October 10, 2018 9:50 pm
126 views
0
Private answer

The percent move for prior earnings has already been asked and solved here: https://www.hahn-tech.com/ans/tos-earnings-scan-with-prior-earnings-percentage-move/

That solution only shows how to scan for a specific percentage change value. But the code does all the grunt work you will need to get your labels. The value you want to use is contained in the variable named: percentEarningsMove . You will need to add the code for the labels.

To get the implied move via the price of the ATM Straddle is way beyond the scope of what we would cover in the free Q&A forum. I’ve even had requests to do this for a fee and turned it down.

Marked as spam
Posted by (Questions: 37, Answers: 4087)
Answered on October 11, 2018 8:12 am
0

Thank you!

( at October 11, 2018 1:01 pm)