OPEN-SOURCE SCRIPT
מעודכן Delta Heiken Ashi - Reversals

This indicator identifies significant delta pressure reversals on Heiken Ashi candles, marking where sustained buying or selling runs exhaust and flip.
Built on the same delta-colored Heiken Ashi engine as the original indicator, this version adds filtered reversal markers designed to catch meaningful intraday turning points rather than bar-by-bar momentum reads.
How it works:
The indicator tracks "runs" — consecutive periods where estimated delta stays on one side of zero (net buying or net selling). When a run ends and delta flips, the completed run is evaluated against multiple filters. Only significant reversals get marked.
Three filters must all pass:
Run Duration — The prior run must last a minimum number of bars. Brief delta spikes don't count.
Swing Size — Peak delta during the run must exceed a threshold relative to recent delta activity. Weak, indecisive runs are filtered out.
Run Volume — The run's average volume per bar must meet a minimum fraction of the overall average volume. This naturally filters thin overnight sessions where delta is noisy and unreliable.
Separate RTH and OVN settings — Regular Trading Hours and overnight sessions have independent thresholds for run duration, swing size, and volume requirements. OVN moves develop slower and on thinner volume, so they need different parameters. Each session can be toggled on or off independently.
⚠️ Important: This is not true delta. Delta is approximated by attributing each bar's volume based on where price closed within its range. This is directionally useful but it is not actual order flow from Level 2 data.
Pairs well with support/resistance levels, market structure indicators, or any framework where knowing when a move is exhausting adds edge.
Built on the same delta-colored Heiken Ashi engine as the original indicator, this version adds filtered reversal markers designed to catch meaningful intraday turning points rather than bar-by-bar momentum reads.
How it works:
The indicator tracks "runs" — consecutive periods where estimated delta stays on one side of zero (net buying or net selling). When a run ends and delta flips, the completed run is evaluated against multiple filters. Only significant reversals get marked.
Three filters must all pass:
Run Duration — The prior run must last a minimum number of bars. Brief delta spikes don't count.
Swing Size — Peak delta during the run must exceed a threshold relative to recent delta activity. Weak, indecisive runs are filtered out.
Run Volume — The run's average volume per bar must meet a minimum fraction of the overall average volume. This naturally filters thin overnight sessions where delta is noisy and unreliable.
Separate RTH and OVN settings — Regular Trading Hours and overnight sessions have independent thresholds for run duration, swing size, and volume requirements. OVN moves develop slower and on thinner volume, so they need different parameters. Each session can be toggled on or off independently.
⚠️ Important: This is not true delta. Delta is approximated by attributing each bar's volume based on where price closed within its range. This is directionally useful but it is not actual order flow from Level 2 data.
Pairs well with support/resistance levels, market structure indicators, or any framework where knowing when a move is exhausting adds edge.
הערות שחרור
Added "Wait for Bar Close" (default off) right below "Show Reversal Markers." סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.