Expected Move Indicator


Category:
0
0

Hi, I was wondering if there is a way to see the expected move for the monthly option expiration on the chart like how this indicator does it for each week.

http://tos.mx/wx7EQX

Which I found here

https://theotrade.com/member-home/member-theotrade-tutorial/chart-tab/auto-expected-move-study/

In the script I can see that there is an option to change the expiration, but it doesn’t seem to work now.

Thank you.

Marked as spam
Posted by (Questions: 2, Answers: 0)
Asked on September 28, 2019 3:30 pm
2562 views
0
Private answer

Expiration date must the the Saturday after Friday's expiration. Try that first.

Marked as spam
Posted by (Questions: 37, Answers: 4091)
Answered on September 28, 2019 5:24 pm
0
Hi Pete. I looked at this thinkscript and added Saturday to it. However, I guess I am not tracking with you on how to make this indicator to look at the monthly expected move. I add the changes that I have made but the thinkscript is over the 6000 character limit. But here is the extra that I added. def satpeak = if high_bar > 1 and close > high_bar and GetDayOfWeek(GetYYYYMMDD()) == 6 then 1 else 0; def satpeakcnt = if satpeak then satpeakcnt[1] + 1 else satpeakcnt[1]; def satpeakamt = if satpeak then satpeakamt[1] + close - high_bar else satpeakamt[1]; def satvalley = if low_bar > 1 and close < low_bar and GetDayOfWeek(GetYYYYMMDD()) == 6 then 1 else 0; def satvalleycnt = if satvalley then satvalleycnt[1] + 1 else satvalleycnt[1]; def satvalleyamt = if satvalley then satvalleyamt[1] + low_bar - close else satvalleyamt[1]; def satpeakin = if high_bar > 1 and close < high_bar and close >= em_close and GetDayOfWeek(GetYYYYMMDD()) == 6 then 1 else 0; def satpeakcntin = if satpeakin then satpeakcntin[1] + 1 else satpeakcntin[1]; def satpeakamtin = if satpeakin then satpeakamtin[1] + close - em_close else satpeakamtin[1]; def satvalleyin = if low_bar > 1 and close > low_bar and close < em_close and GetDayOfWeek(GetYYYYMMDD()) == 6 then 1 else 0; def satvalleycntin = if satvalleyin then satvalleycntin[1] + 1 else satvalleycntin[1]; def satvalleyamtin = if satvalleyin then satvalleyamtin[1] + em_close - close else satvalleyamtin[1]; def sattouchpeakin = if high_bar > 1 and ((high < high_bar and high >= touch_high_bar) or (close < high_bar and close >= touch_high_bar)) and GetDayOfWeek(GetYYYYMMDD()) == 6 then 1 else 0; def sattouchpeakcntin = if sattouchpeakin then sattouchpeakcntin[1] + 1 else sattouchpeakcntin[1]; def sattouchvalleyin = if low_bar > 1 and ((low > low_bar and low low_bar and close
( at January 17, 2020 6:45 pm)