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
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。