OPEN-SOURCE SCRIPT
G.O.D Trades

1. G.O.D SR Zones (Wide Pink & Green Areas)
What it is:
These are the large semi-transparent rectangles — pink for G.O.D Resistance and green for G.O.D Support.
They are created using the highest high and lowest low over your chosen lookback period (default 25 bars).
Why it matters:
These act as institutional supply and demand zones. Big players often defend or attack these areas. Price tends to react strongly (reverse or accelerate) when it touches them.
How to use:
Price approaching G.O.D Resistance (pink) from below → potential short opportunity.
Price approaching G.O.D Support (green) from above → potential long opportunity.
When price breaks a zone with strong momentum candles → expect continuation toward the next opposite zone.
Best trades happen at the edges of these zones.
Pro Tip: The wider the zone, the stronger it is. You can increase lookback for broader zones or decrease it for more responsive ones.
2. Liquidity Pools + Sweeps (Blue & Orange Boxes + Triangles)
What it is:
Liq High (blue box): Area slightly above recent swing highs.
Liq Low (orange box): Area slightly below recent swing lows.
Sweep markers: Small red triangle (above bar) for high sweep, green triangle (below bar) for low sweep.
Why it matters:
Institutions hunt stop-loss orders. Liquidity pools are where many retail traders place their stops (above highs or below lows). A "sweep" is when price briefly takes that liquidity and then reverses.
How to use:
A sweep (triangle appears) is often a high-probability reversal signal.
Example: Price wicks above Liq High → red triangle appears → price reverses down → look for short.
The opposite for longs at Liq Low.
These are especially powerful when they occur near G.O.D SR zones.
Pro Tip: The best setups are sweep + reversal signal + G.O.D zone confluence.
3. L Pivots (Red & Green "L" Labels)
What it is:
Automatically detects swing highs and lows using ta.pivothigh(5,5) and ta.pivotlow(5,5).
Labels them as L1, L9, L15, L25, etc. Red = bearish pivots (resistance), Green = bullish pivots (support).
Why it matters:
These show market structure in real time (Break of Structure, Change of Character). Higher L numbers usually mean more recent and significant levels.
How to use:
Bounce trades: Price reacts at an L pivot inside a G.O.D zone → good reversal setup.
Break trades: Price breaks an L pivot with momentum → continuation trade.
Use them as precise entry or stop-loss levels (tighter than the big SR zones).
Pro Tip: L25+ levels are generally stronger than L1–L10.
4. Daily NY Session High/Low (SH & SL Lines)
What it is:
Red line = Session High (SH)
Green line = Session Low (SL)
Automatically resets at 9:30 ET (New York open) and tracks the high/low during regular trading hours (09:30–16:00 ET).
Why it matters:
These are psychological and institutional reference points for the entire day. Many algorithms and traders watch these levels closely.
How to use:
Breaking SH with momentum → bullish bias for the day.
Breaking SL with momentum → bearish bias for the day.
Retests of SH/SL after breakout often provide excellent entries.
5. Momentum Oscillator (Yellow Line in Separate Pane)
What it is:
A simple 10-period Momentum indicator (ta.mom(close, 10)). It plots above or below the zero line.
Why it matters:
It shows the speed and strength of price movement. Helps filter fakeouts.
How to use:
Momentum rising above zero → bullish strength.
Momentum falling below zero → bearish strength.
Divergence: Price makes new high but momentum fails to → warning of reversal (often matches REV↓ signal).
Use it to confirm direction before entering on sweeps or pivots.
Pro Tip: Combine with reversal signals — the REV labels already use momentum divergence internally.
6. Reversal Signals (REV↑ and REV↓ Labels)
What it is:
Green REV↑ at lows and red REV↓ at highs. These appear automatically.
Why it matters:
It detects when a pivot low/high forms and momentum is diverging — a classic reversal pattern in SMC/ICT.
How to use:
REV↑ near G.O.D Support or after a Liq Low sweep → strong long setup.
REV↓ near G.O.D Resistance or after a Liq High sweep → strong short setup.
These are excellent for scalping or catching early turns.
7. Background Highlight (Red Tint on Strong Down Moves)
What it is:
Light red background when a candle has a strong bearish close.
Why it matters:
Helps you quickly spot aggressive selling pressure without staring at every candle.
How to use:
Use it as a visual filter — strong red background + sweep or reversal signal = higher conviction short.
What it is:
These are the large semi-transparent rectangles — pink for G.O.D Resistance and green for G.O.D Support.
They are created using the highest high and lowest low over your chosen lookback period (default 25 bars).
Why it matters:
These act as institutional supply and demand zones. Big players often defend or attack these areas. Price tends to react strongly (reverse or accelerate) when it touches them.
How to use:
Price approaching G.O.D Resistance (pink) from below → potential short opportunity.
Price approaching G.O.D Support (green) from above → potential long opportunity.
When price breaks a zone with strong momentum candles → expect continuation toward the next opposite zone.
Best trades happen at the edges of these zones.
Pro Tip: The wider the zone, the stronger it is. You can increase lookback for broader zones or decrease it for more responsive ones.
2. Liquidity Pools + Sweeps (Blue & Orange Boxes + Triangles)
What it is:
Liq High (blue box): Area slightly above recent swing highs.
Liq Low (orange box): Area slightly below recent swing lows.
Sweep markers: Small red triangle (above bar) for high sweep, green triangle (below bar) for low sweep.
Why it matters:
Institutions hunt stop-loss orders. Liquidity pools are where many retail traders place their stops (above highs or below lows). A "sweep" is when price briefly takes that liquidity and then reverses.
How to use:
A sweep (triangle appears) is often a high-probability reversal signal.
Example: Price wicks above Liq High → red triangle appears → price reverses down → look for short.
The opposite for longs at Liq Low.
These are especially powerful when they occur near G.O.D SR zones.
Pro Tip: The best setups are sweep + reversal signal + G.O.D zone confluence.
3. L Pivots (Red & Green "L" Labels)
What it is:
Automatically detects swing highs and lows using ta.pivothigh(5,5) and ta.pivotlow(5,5).
Labels them as L1, L9, L15, L25, etc. Red = bearish pivots (resistance), Green = bullish pivots (support).
Why it matters:
These show market structure in real time (Break of Structure, Change of Character). Higher L numbers usually mean more recent and significant levels.
How to use:
Bounce trades: Price reacts at an L pivot inside a G.O.D zone → good reversal setup.
Break trades: Price breaks an L pivot with momentum → continuation trade.
Use them as precise entry or stop-loss levels (tighter than the big SR zones).
Pro Tip: L25+ levels are generally stronger than L1–L10.
4. Daily NY Session High/Low (SH & SL Lines)
What it is:
Red line = Session High (SH)
Green line = Session Low (SL)
Automatically resets at 9:30 ET (New York open) and tracks the high/low during regular trading hours (09:30–16:00 ET).
Why it matters:
These are psychological and institutional reference points for the entire day. Many algorithms and traders watch these levels closely.
How to use:
Breaking SH with momentum → bullish bias for the day.
Breaking SL with momentum → bearish bias for the day.
Retests of SH/SL after breakout often provide excellent entries.
5. Momentum Oscillator (Yellow Line in Separate Pane)
What it is:
A simple 10-period Momentum indicator (ta.mom(close, 10)). It plots above or below the zero line.
Why it matters:
It shows the speed and strength of price movement. Helps filter fakeouts.
How to use:
Momentum rising above zero → bullish strength.
Momentum falling below zero → bearish strength.
Divergence: Price makes new high but momentum fails to → warning of reversal (often matches REV↓ signal).
Use it to confirm direction before entering on sweeps or pivots.
Pro Tip: Combine with reversal signals — the REV labels already use momentum divergence internally.
6. Reversal Signals (REV↑ and REV↓ Labels)
What it is:
Green REV↑ at lows and red REV↓ at highs. These appear automatically.
Why it matters:
It detects when a pivot low/high forms and momentum is diverging — a classic reversal pattern in SMC/ICT.
How to use:
REV↑ near G.O.D Support or after a Liq Low sweep → strong long setup.
REV↓ near G.O.D Resistance or after a Liq High sweep → strong short setup.
These are excellent for scalping or catching early turns.
7. Background Highlight (Red Tint on Strong Down Moves)
What it is:
Light red background when a candle has a strong bearish close.
Why it matters:
Helps you quickly spot aggressive selling pressure without staring at every candle.
How to use:
Use it as a visual filter — strong red background + sweep or reversal signal = higher conviction short.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.