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
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.