OPEN-SOURCE SCRIPT

Rate Of Change Earnings Move - ROCEM

已更新
Rate Of Change Earnings Move

What is it and how does it work?
The Rate of Change Earnings Move indicator or ROCEM is an indicator designed for giving the user an idea of how much a stock has moved up or down in past earnings reports. This is ideal for options traders who can use ROCEM to calculate whether or not their long straddles are actually probable of happening.

How it works
The indicator measures the absolute value rate of change and then calculates the average rate of change for the day of the earnings report for the past 8 earnings reports (2 years). It then takes the current stock price and finds the upper and lower price based on the average rate of change for past earnings.
I have also included a moving average (purple line), use this to see if the current rate of change is higher than usual.
Additionally, earnings reports are marked with a red x on the indicator.

How to trade ROCEM
This is primarily made for options trading so I will be explaining how it can be used for that. It is not suited for traditional stock trading as it does not determine a market direction.

  • Select a stock with an upcoming earnings
  • Enter your per leg commissions in the indicator if you want it to calculate new upper and lower prices (makes it easier to determine if the options trade will pass the breakeven when commissions are factored in)
  • Compare your long straddle breakevens with the upper and lower prices of the indicator. If the upper breakeven is smaller than the upper price in ROCEM and the lower breakeven is larger than the lower price in ROCEM, then a long straddle position could be considered a reasonable trade based on past earnings performance.
版本注释
Added total spread calculation and fixed a new pine script error
EarningsLONGlongstraddleoptionsRate of Change (ROC)ROCrocemstraddleVolatility

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明