OPEN-SOURCE SCRIPT
OPEX Zone Framework

OPEX Zone Framework
Description:
A weekly options expiration framework for QQQ that translates dealer gamma positioning into five actionable price zones. Updated every Sunday. Personally, I use Barchart's Max Pain and Gamma Exposure data. (This code is neither endorsed by Barchart, nor am I, in any way affiliated with them) Works on all timeframes — zone logic is governed by daily closes only, never intraday wicks.
Five zones:
Extended (above Call Res 3) — no edge, dealers selling every rally
Bullish (Pin → Call Res 3) — long bias, three upside targets labeled
Buy Dip (Gamma Flip → Pin) — dip entries, stop below gamma flip
Stand Aside (Put Floor → Gamma Flip) — no man's land, wait for daily close
Short (below Put Floor on daily close) — short framework active, target deep support
Eight inputs (update every Sunday):
Expiry date · Pin/Max Pain · Gamma Flip · Put Floor · Deep Support · Call Resistance 1/2/3
Alerts included:
· Daily close below gamma flip
· Daily close below put floor
· Daily close reclaims gamma flip
· Daily close above pin
Auto-disables after expiry Friday close with a stale notice. Applicable to any liquid ETF with options data — SPY gives the ES read using the same workflow.
My data source: Barchart Premier — Max Pain & Vol Skew (OI, not volume) + Gamma Exposure by expiry date.
Description:
A weekly options expiration framework for QQQ that translates dealer gamma positioning into five actionable price zones. Updated every Sunday. Personally, I use Barchart's Max Pain and Gamma Exposure data. (This code is neither endorsed by Barchart, nor am I, in any way affiliated with them) Works on all timeframes — zone logic is governed by daily closes only, never intraday wicks.
Five zones:
Extended (above Call Res 3) — no edge, dealers selling every rally
Bullish (Pin → Call Res 3) — long bias, three upside targets labeled
Buy Dip (Gamma Flip → Pin) — dip entries, stop below gamma flip
Stand Aside (Put Floor → Gamma Flip) — no man's land, wait for daily close
Short (below Put Floor on daily close) — short framework active, target deep support
Eight inputs (update every Sunday):
Expiry date · Pin/Max Pain · Gamma Flip · Put Floor · Deep Support · Call Resistance 1/2/3
Alerts included:
· Daily close below gamma flip
· Daily close below put floor
· Daily close reclaims gamma flip
· Daily close above pin
Auto-disables after expiry Friday close with a stale notice. Applicable to any liquid ETF with options data — SPY gives the ES read using the same workflow.
My data source: Barchart Premier — Max Pain & Vol Skew (OI, not volume) + Gamma Exposure by expiry date.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.