OPEN-SOURCE SCRIPT
Raschke 3/10 Oscillator + ADX

The histogram uses four shades — bright teal when bull momentum is building, faded teal when it's fading, bright red when bear momentum is building, faded red when it's fading. This alone tells you the story at a glance.
The fast line (3-10 EMA) changes color based on four states: solid teal = above signal AND positive (strongest bull), faded teal = above signal but still negative (recovering), faded red = below signal but still positive (weakening), solid red = below signal AND negative (strongest bear).
The ADX background does the heavy lifting — green tint fills the pane when ADX ≥ 25 (trending, trust the crosses), red tint when ADX ≤ 20 (choppy, fade extremes instead). The info table in the top-right corner shows live ADX value, DI+/DI−, and current state label.
The four signal shapes plotted:
ShapeMeaning▲ solid tealBull cross — fast crossed above signal▼ solid redBear cross — fast crossed below signal● small tealBull hook — continuation without recrossing● small redBear hook — continuation without recrossing✕ orangeBearish divergence warning✕ blueBullish divergence warning
Linda Raschke's rule baked in: The high-conviction alert fires only when a cross happens AND ADX is already in trending territory — that's the confirmation she requires before trusting a directional entry. All 9 alert conditions are pre-wired and ready to activate from the TradingView Alerts menu.
the 3/10 oscillator, four-shade histogram, ADX background zones, the info table, all signal shapes, and all 10 alert condition
The fast line (3-10 EMA) changes color based on four states: solid teal = above signal AND positive (strongest bull), faded teal = above signal but still negative (recovering), faded red = below signal but still positive (weakening), solid red = below signal AND negative (strongest bear).
The ADX background does the heavy lifting — green tint fills the pane when ADX ≥ 25 (trending, trust the crosses), red tint when ADX ≤ 20 (choppy, fade extremes instead). The info table in the top-right corner shows live ADX value, DI+/DI−, and current state label.
The four signal shapes plotted:
ShapeMeaning▲ solid tealBull cross — fast crossed above signal▼ solid redBear cross — fast crossed below signal● small tealBull hook — continuation without recrossing● small redBear hook — continuation without recrossing✕ orangeBearish divergence warning✕ blueBullish divergence warning
Linda Raschke's rule baked in: The high-conviction alert fires only when a cross happens AND ADX is already in trending territory — that's the confirmation she requires before trusting a directional entry. All 9 alert conditions are pre-wired and ready to activate from the TradingView Alerts menu.
the 3/10 oscillator, four-shade histogram, ADX background zones, the info table, all signal shapes, and all 10 alert condition
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.