Thanks to Dead_Hunter for his ROCEM code which inspired me. This code looks back over X number of earnings cycles (default is 8) and X number of bars in each earnings cycle (default is 15) to calculate the largest move in each defined earnings period. The count of earnings cycles starts with the latest past earnings date. The code ignores all future earnings dates in its calculations. Then the code finds the average price move of those X number of earnings periods. Using the average price move value the code displays the Price Increase and Price Decrease based on the current price bar. You can also define how many legs you would create for the option trade and the total commission to open and total commission to close, allowing you to better define your possible breakeven points. This code was developed to use on a Daily chart.
진정한 TradingView 정신에 따라, 이 스크립트의 저자는 트레이더들이 이해하고 검증할 수 있도록 오픈 소스로 공개했습니다. 저자에게 박수를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 출판물에서 이 코드를 재사용하는 것은 하우스 룰에 의해 관리됩니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.