OPEN-SOURCE SCRIPT
RSI Divergence Options Helper

Bullish divergence: wait for the green signal, then enter on a confirmation candle or break of the short-term high.
Bearish divergence: wait for the red signal, then enter on a rejection candle or break of the short-term low.
Stop placement: put the stop just beyond the swing low for long trades or swing high for shorts.
Profit target: start with the nearest structure level, then trail or scale to 2R.
Good settings for you
SPY/QQQ/IWM: 1H script, 15M confirmation.
Mag 7: 1H script, 15M confirmation, fewer trades.
0DTE: use the 15M only for timing after the 1H signal.
7DTE to 30DTE: the 1H signal is usually the cleaner anchor.
Important note
This script is built on confirmed pivots, so signals appear after the swing is validated, which helps reduce false signals but means you will always get a delay.
For options, that delay is usually a good tradeoff because you want higher-confidence setups, not the earliest possible tick.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.