OPEN-SOURCE SCRIPT
PHOENIX Swing Options Engine

PHOENIX-SOE (Predictive Hybrid Oscillator for Energy & iNflection eXploitation — Swing Options Engine). It's built on four pillars working together:
VCI — Volatility Compression Index. A percentile-rank of Bollinger Band Width vs. its own 100-bar history. When BB Width sits in the bottom 30%, the spring is coiled — historically these resolve into expansions, which is exactly when you want to be long options (vega tailwind).
DMS — Directional Momentum Score. A composite from −5 to +5 combining EMA stack alignment (8/21/55), RSI regime, and ROC + ROC slope. Single oscillators lie; consensus across three independent momentum measurements lies less.
EBD — Energy Buildup Detector. Looks for the classic accumulation tell: ATR contracting while volume expands. That divergence is what separates a real coil from a dead market.
ATL — Adaptive Trigger Line. Donchian midline ± a buffer scaled to ATR. The actual entry trigger — we don't fire on the setup, we fire on the release.
The signals only print when all four align AND price breaks the trigger on a volume surge. Exits use ATR-based targets, ATR stops, momentum-flip protection, and a hard time-stop (because every day you hold, theta wins).
VCI — Volatility Compression Index. A percentile-rank of Bollinger Band Width vs. its own 100-bar history. When BB Width sits in the bottom 30%, the spring is coiled — historically these resolve into expansions, which is exactly when you want to be long options (vega tailwind).
DMS — Directional Momentum Score. A composite from −5 to +5 combining EMA stack alignment (8/21/55), RSI regime, and ROC + ROC slope. Single oscillators lie; consensus across three independent momentum measurements lies less.
EBD — Energy Buildup Detector. Looks for the classic accumulation tell: ATR contracting while volume expands. That divergence is what separates a real coil from a dead market.
ATL — Adaptive Trigger Line. Donchian midline ± a buffer scaled to ATR. The actual entry trigger — we don't fire on the setup, we fire on the release.
The signals only print when all four align AND price breaks the trigger on a volume surge. Exits use ATR-based targets, ATR stops, momentum-flip protection, and a hard time-stop (because every day you hold, theta wins).
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.