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
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.