OPEN-SOURCE SCRIPT
מעודכן GBR Quant Trend & Reversal

GBR Quant Trend & Reversal is a zero-noise, institutional-grade indicator built for prop firm traders and aggressive day traders. Unlike lagging kernel regressions, this dynamic ribbon is highly sensitive to real-time price action, getting you into the move earlier.
🔥 Core Features:
Dynamic Trend Ribbon: Instantly shifts between UV Green (Bullish) and UV Red (Bearish) the moment price crosses the moving average band.
Multi-Timeframe (MTF) Ready: Trade on a 5m chart while plotting a 1H or 4H trend ribbon to stay aligned with the macro order flow.
Historical Reversal Zones: Automatically plots dashed UV lines at major structural pivot highs and lows. Use these visual markers to backtest past liquidity sweeps and identify future high-probability reversal zones.
Clean UI: Stripped of unnecessary clutter. Just raw data and striking UV colors.
🔥 Core Features:
Dynamic Trend Ribbon: Instantly shifts between UV Green (Bullish) and UV Red (Bearish) the moment price crosses the moving average band.
Multi-Timeframe (MTF) Ready: Trade on a 5m chart while plotting a 1H or 4H trend ribbon to stay aligned with the macro order flow.
Historical Reversal Zones: Automatically plots dashed UV lines at major structural pivot highs and lows. Use these visual markers to backtest past liquidity sweeps and identify future high-probability reversal zones.
Clean UI: Stripped of unnecessary clutter. Just raw data and striking UV colors.
הערות שחרור
v2.0 — Markers renamed, and an option for confirmed higher-timeframe dataTwo changes in this update. Neither alters how the script calculates
anything — the trend line and the markers appear exactly where they did
before.
1. "Reversal (Top)" and "Reversal (Bottom)" are now "Swing high" and
"Swing low".
A pivot means one thing: the high is above the N bars around it. Some of
those become reversals, others are just a pause before the move
continues. The script cannot tell the difference at the time, so calling
every one of them a reversal was claiming more than it knows. The new
labels say exactly what was found, and leave the interpretation to you.
2. New option: "Use only closed higher-timeframe bars", on by default.
When on, the trend line only updates once the higher-timeframe bar has
closed. This means the historical chart matches what you would have seen
live. When off, the line reacts sooner, but it can change within the bar,
and the historical display will look better than it actually was. Try
both and use whichever fits how you trade.
Other changes:
- Warning on the chart if the selected trend timeframe is lower than the
chart timeframe, which produces misleading results
- Alerts added: price crossing the trend line in either direction, and
confirmed swing highs and lows
- Markers and labels can now be toggled separately
- Colours are configurable
- The plot was labelled "Ribbon" but draws a single line — renamed to
"Trend line"
A note on timing that has not changed: a marker only appears after the
pivot lookback has passed. With the default of 20, that is 20 bars after
the actual high or low. This is not a delay that can be removed — without
it there would be no way to know the high was a high.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.