orb by codeUltimate Opening Range Break (ORB) Tool
Shows the future NY and ASIA sessions with a countdown timer.
Toggle past sessions, future session markers, midlines, countdown boxes, and all labels for the opening range breakout.
Takes the high, low, midline of the 15 min candle 1 hour into the sessions.
Customize every color element — including fills, highs, lows, and midlines for both NY and Asia sessions.
Built for traders who want a clean, flexible, and powerful ORB workflow.
تحليل الاتجاه
Toby Crabel's HisVolAs in Linda Raschke's Street smarts..... . This indicator shows the signals of Toby Crabel's Historical Volatility 6/100 strategy. The strategy assumes, that volatility contraction measured by two measures would give better results.
There is one other script that is a strategy , but it assumes that the signal requires both inside bar and narrowest range, what is not as in Linda Raschke's.
The strategy and what does the script do:
1) measures short-term unannualized volatility (by default six), long term uannualized volatility (by default 100), and measures the ratio of short volatility / long volatility.
2) checks if the current bar is an inside bar or has narrowest range out of last X bar (by default 4), or both,
3) puts an etiquette if short volatility / long volatility is equal to or smaller than 0,5 AND the day is inside bar, has narrowest range, or both.
Next day both buy-stop and sell-stop should be set. Buy-stop at the high and sell-stop at the low of the bar with etiquette.
This is by no means any financial advice, nor the historical results guarantee future gain.
Winners Scalper Pro - Bull/Bear (v1.5)best settings all standart but only change rsi
15 min rsi 8-9
30 min rsi 12-14
INDICADOR PRO🧪 How to Use It Effectively (Forex & Crypto)
✔️ Ideal for:
EURUSD, GBPUSD, USDJPY
BTC, ETH (best during London + New York sessions)
✔️ Recommended:
Disable the Asia session for crypto if the market is noisy
Backtest for at least 3–6 months
Use PDH/PDL as a strong filter
Support/Resistance & EMA Crossovers with AlertsPublic Script for Support/Resistance & EMA Crossovers with Alerts
Session Liquidity SignalsThis indicator is called SLF VT and it analyzes market liquidity across major sessions
It defines three specific time windows which are Asia London and New York
During these times it draws colored boxes to mark the session High and Low
When a session ends the indicator extends dashed lines from the High and Low prices
These lines represent liquidity vectors where stop losses might be located
The core logic is designed to detect a Trap pattern
A Bullish Trap happens when price sweeps below a previous session Low but closes back above it
A Bearish Trap happens when price sweeps above a previous session High but closes back below it
The code calculates the Wick Ratio to ensure the reversal is sharp and valid
If a trap is confirmed the indicator plots a text label on the chart and can trigger an alert
TQ Gold Trend (Macro Regime)This indicator answers one question only:
Is gold in a monetary uptrend right now?
It does not:
Forecast prices
Time entries
Use momentum or volatility
It simply classifies the macro trend regime of gold.
3️⃣ Logic (Simple, Explicit)
Timeframe: Weekly
Indicator: 30-week Simple Moving Average
Interpretation:
Bullish: Price above a rising 30W SMA
Bearish: Price below a falling 30W SMA
Neutral: Everything else (transition / range)
This is classic macro trend / stage analysis, adapted for gold as a monetary asset.
4️⃣ How to Use It (User Instructions)
How to read the chart
>If Gold is Bull, precious metals matter.
>If Gold is Bear, ignore silver and miners.
>If Gold is Neutral, wait — no edge.
Best use
Check once per week
Use as the first filter before looking at:
Gold/DXY
Gold/SPY
Silver/Gold
Recommended timeframe
Weekly only (designed for macro regimes, not trading)
15:50 AnticipeThis indicator is designed to anticipate the market behavior around a specific time of day (by default 15:50) by evaluating market conditions one minute before the target candle.
It is primarily intended for intraday trading on 1-minute charts, especially on index futures such as NQ / MNQ.
The logic combines trend, volatility compression, momentum, volume, and VWAP positioning, using a scoring system to determine whether a LONG, SHORT, or NEUTRAL bias is statistically favored before the target candle prints.
Core Concept
At the anticipation candle (15:49 by default), the indicator evaluates multiple technical conditions.
Each condition adds points to a LONG score or SHORT score.
If one side reaches the required score threshold and is stronger than the opposite side, a persistent signal is generated and held through the 15:50 candle.
The 15:50 candle is highlighted in yellow for visual reference.
Indicators Used
The system combines:
• Bollinger Bands to detect volatility compression
• EMA 9 / EMA 21 / EMA 89 for short-term and structural trend
• RSI for momentum confirmation
• Volume Spike Detection based on a volume SMA multiplier
• Anchored VWAP, reset daily and anchored at a configurable time
• Optional Reversal Mode for mean-reversion setups
Scoring Logic
Each side (LONG / SHORT) accumulates points based on conditions such as:
• Bollinger Band compression
• EMA 9 vs EMA 21 alignment
• Price location relative to EMA 9 and BB basis
• RSI above or below threshold
• Volume spike confirmation
• Price position relative to Anchored VWAP
If Reversal Mode is enabled, additional points are added when:
• Price touches or exceeds Bollinger extremes
• RSI divergence is detected
• Price deviates significantly from Anchored VWAP
Reversal conditions carry more weight, favoring exhaustion and snap-back setups.
Signal Generation
At the anticipation candle:
• LONG signal
Triggered when LONG score ≥ required threshold and stronger than SHORT score.
• SHORT signal
Triggered when SHORT score ≥ required threshold and stronger than LONG score.
• NEUTRAL signal
Displayed when neither side has a clear statistical edge.
Signals are displayed as labels above or below price, positioned dynamically using ATR to avoid candle overlap.
Once triggered, the signal remains active through the 15:50 candle and can be used for trade execution or confirmation.
Anchored VWAP
The Anchored VWAP:
• Resets automatically each trading day
• Starts calculating from a user-defined hour and minute
• Acts as a directional and mean-reversion reference
• Is fully integrated into both trend and reversal logic
Alerts
The indicator provides alert conditions for:
• Anticipated LONG setup
• Anticipated SHORT setup
• NEUTRAL condition
Alerts trigger when the anticipation signal becomes active, allowing automation or discretionary execution.
Intended Use
This indicator is best used as:
• A directional bias tool before a known time-based volatility event
• A confirmation layer, not a standalone entry system
• A way to structure disciplined trades instead of reacting emotionally to the 15:50 candle
It favors clarity, confluence, and probability, not prediction.
TQ Silver / Gold (Weekly Macro)This indicator tracks the Silver / Gold ratio on a weekly basis to determine whether silver is leading gold (risk appetite returning inside metals) or gold is leading silver (a more defensive precious-metals posture).
Within the TQ Weekly Macro Framework, this indicator is designed to be used after confirming the broader macro environment using TQ Gold Trend (Weekly Macro), TQ Gold / DXY (Weekly Macro), and TQ Gold / SPY (Weekly Macro).
Why Silver / Gold matters
>When Silver / Gold rises, silver is outperforming gold — often associated with reflation, growth expectations, or broad risk appetite within precious metals.
>When Silver / Gold falls, gold is outperforming silver — often associated with defense, uncertainty, or tighter financial conditions.
>This ratio is not a timing tool — it is a regime and leadership indicator within the metals complex.
How it works (regime rules)
Using weekly data:
Compute Silver ÷ Gold
Apply a 30-week SMA
Regime definitions:
Bull: Ratio above a rising 30-week SMA (silver leading)
Bear: Ratio below a falling 30-week SMA (gold leading)
Neutral: Transition / range
A clear label marks the current regime.
How to use it in your system
Use after confirming:
TQ Gold Trend (Weekly Macro)
TQ Gold / DXY (Weekly Macro)
TQ Gold / SPY (Weekly Macro)
> If Silver / Gold is Bull, metals participation is broadening and silver often has more upside torque.
> If Silver / Gold is Bear, gold leadership is defensive and silver exposure may underperform.
> Neutral often signals rotation or consolidation.
Best timeframe
Designed for weekly macro regime analysis.
TQ Gold / SPY (Weekly Macro)What this indicator does
This indicator tracks the Gold/SPY ratio on a weekly basis to show whether gold is outperforming U.S. equities (risk assets). It helps you determine if the market is favoring hard money / defensive leadership vs risk-on equity leadership.
Within the TQ Weekly Macro Framework, this indicator is intended to be used after confirming gold’s primary trend using TQ Gold Trend (Weekly Macro) and its monetary backdrop using TQ Gold / DXY (Weekly Macro).
Why Gold/SPY matters
Gold can rise during equity booms and during equity stress.
The Gold/SPY ratio tells you which asset class is winning in relative terms.
Rising Gold/SPY often signals defensive leadership, shifting macro preferences, or risk repricing, especially when aligned with TQ Gold Trend (Weekly Macro).
How it works (regime rules)
Using weekly data:
Compute Gold ÷ SPY
Apply a 30-week SMA
Regime definitions:
Bull: Ratio above a rising 30-week SMA (gold leading equities)
Bear: Ratio below a falling 30-week SMA (equities leading gold)
Neutral: Transition / range
A clear label marks the current regime.
How to use it in your system
Use after TQ Gold Trend (Weekly Macro) and TQ Gold / DXY (Weekly Macro).
> If Gold/SPY is Bull, gold is leading risk assets — metals tend to behave stronger and more “macro-relevant.”
> If Gold/SPY is Bear, equities are winning — gold moves may be less dominant.
> Neutral usually means rotation or consolidation.
Best timeframe
Designed for weekly macro regime analysis, not short-term trading.
TQ Gold / DXY (Weekly Macro)What this indicator does
This indicator tracks the relative performance of gold versus the U.S. dollar using the Gold/DXY ratio. It helps determine whether gold’s strength is real (monetary) or merely nominal.
Why Gold/DXY matters
Gold rising with a rising dollar is not a strong signal.
Gold rising against a weakening dollar signals monetary outperformance.
This ratio filters out dollar noise and focuses on true purchasing-power strength.
How it works
The indicator calculates Gold ÷ DXY using weekly data.
A 30-week SMA is applied to the ratio.
Regimes are defined as:
Bull: Ratio above a rising 30-week SMA (gold beating the dollar)
Bear: Ratio below a falling 30-week SMA
Neutral: Transition or range-bound periods
A clear on-chart label shows the current regime.
How to use it
Use after confirming Gold Trend is Bull.
When Gold/DXY is Bull, gold has a true monetary tailwind.
When Gold/DXY is Bear, gold rallies are often fragile or dollar-driven.
Neutral readings signal consolidation or regime change.
Best timeframe
Designed for weekly charts and macro analysis.
Not intended for short-term trading signals.
Weekly macro ratio indicator tracking Silver/Gold with a 30-weekWhat this indicator does
This indicator tracks the Silver/Gold ratio on a weekly basis to determine whether silver is leading gold (risk appetite returning inside metals) or gold is leading silver (more defensive precious-metals posture).
Why Silver/Gold matters
When Silver/Gold rises, silver is outperforming gold — often associated with reflation, growth expectations, or broad risk appetite.
When Silver/Gold falls, gold is outperforming silver — often associated with defense, uncertainty, or tighter financial conditions.
This ratio is not a timing tool — it’s a regime/leadership indicator.
How it works (regime rules)
Using weekly data:
Compute Silver ÷ Gold
Apply a 30-week SMA
Regime definitions:
Bull: Ratio above a rising 30-week SMA (silver leading)
Bear: Ratio below a falling 30-week SMA (gold leading)
Neutral: Transition/range
A clear label marks the current regime.
How to use it in your system - This indicator is designed to be used as part of the broader TQ Weekly Macro Framework, alongside other TQ indicators such as TQ Gold Trend (Weekly Macro), TQ Gold / DXY (Weekly Macro), and TQ Gold / SPY (Weekly Macro).
Each indicator can also be used independently.
Use after confirming:
Pane 1: Gold Trend
Pane 2: Gold/DXY
Pane 3: Gold/SPY
If Silver/Gold is Bull, metals participation is broadening and silver often has more upside torque.
If Silver/Gold is Bear, gold leadership is defensive; silver exposure may underperform.
Neutral often signals rotation or consolidation.
Best timeframe
Designed for weekly macro regime analysis.
Weekly macro ratio indicator comparing gold vs SPY 30 SMAWhat this indicator does
This indicator tracks the Gold/SPY ratio on a weekly basis to show whether gold is outperforming U.S. equities (risk assets). It helps you determine if the market is favoring hard money / defensive leadership vs risk-on equity leadership.
Why Gold/SPY matters
Gold can rise during equity booms and during equity stress.
The Gold/SPY ratio tells you which asset class is winning in relative terms.
Rising Gold/SPY often signals defensive leadership, shifting macro preferences, or risk repricing.
How it works (regime rules)
Using weekly data:
Compute Gold ÷ SPY
Apply a 30-week SMA
Regime definitions:
Bull: Ratio above a rising 30-week SMA (gold leading equities)
Bear: Ratio below a falling 30-week SMA (equities leading gold)
Neutral: Transition/range
A clear label marks the current regime.
How to use it in your system
Use after Pane 1 (Gold Trend) and Pane 2 (Gold/DXY).
If Gold/SPY is Bull, gold is leading risk assets — metals tend to behave stronger and more “macro-relevant.”
If Gold/SPY is Bear, equities are winning — gold moves may be less dominant.
Neutral usually means rotation or consolidation.
Best timeframe
Designed for weekly macro regime analysis, not short-term trading.
Multi-Timeframe RSI (Daily + Weekly)View the Daily and Weekly RSI together so you see how the oscillate on any timeframe
Weekly macro trend indicator for gold using a 30-week SMAWhat this indicator does
This indicator identifies the macro trend regime of gold using a simple, time-tested framework: the weekly price of gold relative to its 30-week simple moving average.
It is designed to answer one question only:
Is gold currently in a monetary uptrend?
How it works
The indicator uses weekly data and applies a 30-week SMA regime filter:
Bullish (Monetary Uptrend):
Gold price is above a rising 30-week SMA.
Bearish (Monetary Downtrend):
Gold price is below a falling 30-week SMA.
Neutral (Transition):
All other conditions (range-bound or early trend change).
A clear on-chart label displays the current regime.
How to use it
Use this as the first filter before analyzing silver, miners, or relative-strength ratios.
When gold is Bull, precious metals deserve attention.
When gold is Bear, most precious-metal trades lose their edge.
When gold is Neutral, patience is usually rewarded.
Best timeframe
This indicator is designed for weekly charts and macro-level decision-making.
It is not intended for day trading or short-term signals.
Who this is for:
Investors and traders focused on macro trends
Those treating gold as a monetary asset, not a short-term trade
Anyone looking for a clean, objective regime filter.
Strategy H4-H1-M15 Triple Screen + Table + Statst.me
Master of Multi-Timeframe Trading: "Triple Screen" Strategy
"▲▼ & BUY/SELL M15 Tags" — H1 Ready signals warn the trader in advance that a reversal is brewing on the medium timeframe.
Settings:
Stochastic Settings: Oscillator length and smoothing adjustment.
Overbought/Oversold: Overbought/oversold level settings (default 80/20).
SL Offset: Buffer in ticks/pips for setting stop-loss beyond extremes.
Usage Instructions:
Long: Background painted light green (H4 Trend UP + H1 Stoch Low), wait for green "BUY M15" tag.
Short: Background painted light red (H4 Trend DOWN + H1 Stoch High), wait for red "SELL M15" tag.
Entry → SL → TP = PROFIT
Short Description (for preview):
Comprehensive "Triple Screen" strategy based on MACD (H4) and Stochastic (H1, M15). Features trend monitoring panel and precise entry signals with automatic Stop Loss calculation.
Technical Notes (for developers):
Hardcoded Timeframes: "240" (H4) and "60" (H1) are hardcoded. For universal use on other timeframe combinations (D1-H4-H1), make these input.timeframe variables.
Repainting: request.security may cause repainting on historical bars (current bar is honest). Standard practice for multi-timeframe TradingView indicators.
Alerts: Built-in alert support for one-click trading convenience.
Daily Trend Scanner Plus█ DAILY TREND SCANNER PLUS
A professional-grade trading indicator designed to help traders quickly identify intraday trend bias across multiple symbols by tracking price relationships to key technical levels: Prior Day High/Low (PDH/PDL) and Pre-Market High/Low (PMH/PML).
█ FEATURES
► Single Symbol Table
Compact 5-column table displaying PDH, PMH, PDL, PML, and Trend status for the current chart symbol. Shows green dot (🟢) when price breaks above high levels and red dot (🔴) when price breaks below low levels. Progress bars visualize how close price is to breaking key levels.
► Multi Symbol Table
Monitor up to 20 tickers simultaneously in a single table. Each row displays ticker name, price, change %, breakout dots, progress bars, and trend status. Optional columns for actual PMH/PML and PDH/PDL price values. Real-time updates for all symbols with color-coded change percentages.
► Table Sorting
- None - Displays tickers in input order
- Chg % - Sorts by daily change percentage (highest to lowest)
- Bullish - Prioritizes bullish setups at top
- Bearish - Prioritizes bearish setups at top
► PMH/PML Lines (Pre-Market High/Low)
Horizontal lines at pre-market high and low levels (4:00 AM - 9:29 AM ET). Customizable line styles, colors, labels, and optional price display.
► PDH/PDL Lines (Prior Day High/Low)
Horizontal lines at previous trading day's high and low. Uses RTH only for stocks (9:30 AM - 4:00 PM ET) and full 24-hour day for non equities.
► ORB Lines (Opening Range Breakout)
Captures high and low during the opening period with 5-minute, 10-minute, or 30-minute options. Lines persist from market open until next pre-market session.
► EMA Overlays
Three independent EMAs with customizable periods (default: 8, 20, 200). Third EMA can be switched to SMA. Multiple line styles available.
► VWAP Overlay
Volume Weighted Average Price with customizable line style, width, and color.
█ TREND LOGIC
- BULLISH: Price above BOTH Prior Day High AND Pre-Market High
Indicates strong upward momentum breaking through two resistance levels
- BEARISH: Price below BOTH Prior Day Low AND Pre-Market Low
Indicates strong downward momentum breaking through two support levels
- NEUTRAL: Price not above both highs or below both lows
Price is consolidating between key levels
█ PROGRESS BARS
Visual 5-block meter showing progress from midpoint toward target level:
▓▓▓▓▓ (80-100%) → ▓▓▓▓▒ (60-80%) → ▓▓▓▒▒ (40-60%) → ▓▓▒▒▒ (20-40%) → ▓▒▒▒▒ (0-20%)
Replaced with 🟢 or 🔴 when level is actually broken.
█ ASSET TYPE HANDLING
STOCKS:
- Pre-Market: 4:00 AM - 9:29 AM Eastern
- Prior Day: RTH only (9:30 AM - 4:00 PM Eastern)
NON-EQUITIES:
- Prior Day: Full 24-hour trading day
- Automatically detected via symbol type
█ RECOMMENDED SETTINGS
- Chart Timeframe: 10-minute recommended for multi-table accuracy
- Timeframes 60 minutes or less required for ORB functionality
- Enable extended hours on chart for accurate PMH/PML on stocks
█ USAGE TIPS
- Use Bullish sort to find strongest breakout candidates for long trades
- Use Bearish sort to find weakest stocks for short/put candidates
- Progress bars help anticipate upcoming breakouts before they happen
- Combine with ORB lines to confirm trend direction after market open
- Watch for alignment: Price above all key levels = strongest bullish signal
- PDH/PDL breaks often signal continuation of prior day's trend
- PMH/PML breaks can indicate gap-fill or trend reversal setups
█ INDICATOR SETTINGS
█ EXAMPLE OF FULL MULTI TABLE AND SINGLE TABLE
█ MULTI-TABLE SORTING
█ PMH/PML, PDH/PDL, ORB LINES
█ EMA AND VWAP OVERLAYS
█ CUSTOMIZATION
hap adxAdaptive ADX & DI Color Bars – Indicator Description
This indicator is an advanced ADX-based momentum and trend strength visualizer.
Instead of displaying raw ADX and DI values only, it dynamically changes bar colors
based on the relationship between ADX, +DI, and −DI, making market conditions
instantly readable.
Core Logic:
- Rising ADX indicates increasing momentum and trend strength
- Falling ADX signals weakening trend or transition to range
- +DI vs −DI defines bullish or bearish directional control
Color States:
Strong Bullish Trend:
- ADX is rising
- +DI is above −DI
- Shows strong bullish momentum and trend continuation
Weak / Early Bullish:
- +DI above −DI
- ADX flat or weakening
- Trend exists but momentum is not fully confirmed
Strong Bearish Trend:
- ADX is rising
- −DI is above +DI
- Strong bearish dominance and continuation
Weak / Early Bearish:
- −DI above +DI
- ADX weakening
- Selling pressure exists but momentum is fading
No-Trade / Range Zone:
- ADX is low or clearly declining
- +DI and −DI are close or frequently crossing
- Market is ranging or indecisive
Why This Indicator Is Useful:
- Removes the need to interpret raw ADX values
- Visually highlights trend strength, weakness, and transitions
- Helps avoid low-quality trades during weak momentum
- Works perfectly as a trend filter for scalping, day trading, and swing trading
Best Use Cases:
- Trend confirmation
- Momentum filtering
- Entry quality validation
- Avoiding false breakouts in low ADX conditions
Crosses Open Daily (shock points OD)It is an indicator that works to alert you when an asset, during the day, crosses or approaches the daily open again.
Adaptive Market Structure Channel By S B PrasadAdaptive Market Structure Channel (AMSC)
Institutional-Grade Trend, Volatility & Liquidity Framework
Overview
The Adaptive Market Structure Channel (AMSC) is a multi-engine, adaptive trading framework designed to read market structure, volatility, liquidity, and trend strength in real time.
It integrates ATR-based channels, pivot structure, supply–demand zones, liquidity sweeps, multi-factor momentum, and higher-timeframe confirmation into a single, coherent visual system.
AMSC is not a single-indicator strategy.
It is a context-driven decision framework intended to help traders align entries with dominant trend, structural levels, and institutional activity.
Core Components
1️⃣ Adaptive ATR Trend Channel
Dynamic ATR-based support & resistance
Automatically adjusts to volatility
Color-coded trend strength (strong / weak regimes)
Acts as the primary trend bias filter
2️⃣ Pivot-Based ATR Trend Channels
Channels built from confirmed pivot highs and lows
ATR-expanded structure, not fixed slopes
Separates impulse moves from corrections
Useful for trend continuation and pullback trades
3️⃣ Market Structure: Supply & Demand Zones
Automatically plots fresh demand and supply zones
Zones extend forward until violated
Helps identify high-probability reaction areas
Used as a location filter, not a standalone signal
4️⃣ Liquidity Sweep Detection (Smart Money Logic)
Identifies equal high / equal low liquidity pools
Detects stop-hunt style sweeps
Validates sweeps only when price reacts from structure zones
Prevents chasing false breakouts
5️⃣ Multi-Factor Trend Confirmation Engine
Combines:
EMA structure
MACD momentum
RSI regime
VWAP positioning
Optional ribbon & HMA filters
Signals are generated only when a majority of factors align, avoiding single-indicator bias.
6️⃣ Volatility Context (Bollinger Bands)
Provides volatility expansion / contraction context
Helps distinguish trend continuation vs compression
Works as a background regime filter
7️⃣ Higher Timeframe Confirmation
Confirms trend using a user-selected HTF
Prevents counter-trend trades during strong HTF bias
Essential for intraday and swing traders
8️⃣ Session-Aware Trading
Optional India, London, and New York session filters
Signals only during active market participation
Avoids low-liquidity false signals
9️⃣ Professional Dashboard
Real-time display of:
Trend direction
Trend strength
Factor alignment
HTF bias
Active zone
Trade signal
Session status
Designed for quick decision-making, not clutter.
How to Use AMSC (Best Practice)
✔ Trade in the direction of the ATR trend
✔ Enter near demand/supply within the channel
✔ Confirm with factor alignment & HTF bias
✔ Use liquidity sweeps as entry triggers, not signals alone
✔ Avoid trades during low-strength or inactive sessions
AMSC performs best when used as a confluence system, not a mechanical entry-exit robot.
Ideal Use Cases
Intraday index trading
Swing trading in trending markets
Futures & FX structure-based trading
Traders who prefer context over indicators
What AMSC Is NOT
❌ Not a scalping toy
❌ Not a repainting indicator
❌ Not a one-click signal generator
It is built for disciplined traders who understand structure and risk.
Final Note
AMSC is designed to think like the market, not predict it.
Use it to read conditions, not chase signals.
MSC — BEST CLEAN SETUP (RECOMMENDED)
🎯 Design Philosophy
“Context first, signals last.”
The goal is to:
Read trend & structure at a glance
Avoid indicator overload
Let price + zones + channel do the heavy lifting
1️⃣ CORE VISUALS (KEEP ON)
These are non-negotiable.
🔹 Adaptive ATR Trend Channel
✅ ON
Primary trend bias
Use ATR Trendline Color = ON
This alone defines:
Bull vs Bear
Strength vs weakness
👉 If price is above channel → bullish context
👉 If price is below channel → bearish context
🔹 Pivot ATR Trend Channel
✅ ON
Channel fill: ON
Transparency ≥ 85
Purpose:
Visualise trend slope
Spot pullbacks inside trend
👉 Treat channel edges as dynamic structure, not entry signals.
🔹 Supply & Demand Zones
✅ ON
Transparency: 80–85
Zones auto-expire visually when violated
👉 These are your only horizontal levels.
2️⃣ SMART FILTERS (SELECTIVE)
💧 Liquidity Sweep
✅ ON
Lookback: 5
Tolerance: 0.15 ATR
👉 Use sweeps only near zones
❌ Ignore sweeps in the middle of nowhere
⏱ Session Filter
✅ ON
Trade only one session
India (for NSE)
London (for FX)
New York (for US indices)
❌ Do NOT enable multiple sessions simultaneously
🔍 Higher Timeframe (HTF)
✅ ON
Intraday: Daily
Swing: Weekly
👉 If HTF disagrees → no trade
3️⃣ WHAT TO TURN OFF (CRITICAL)
This is where clutter dies.
❌ Bollinger Bands
🚫 OFF by default
Use only when studying volatility compression
Otherwise adds visual noise
❌ Full ATR Channel (Ver 15)
🚫 OFF
Redundant with pivot + ATR trend
Keep only one channel logic
❌ SuperTrend Channel
🚫 OFF
ATR Trend Channel already covers this
❌ Pivot Levels (P, R1, S1…)
🚫 OFF
Zones replace static pivots
Too many horizontal lines = paralysis
❌ Previous Day / Week Levels
🚫 OFF
Turn ON only for index option trading
Otherwise clutter
4️⃣ MOVING AVERAGES (STRICT RULE)
Keep ONLY:
EMA Fast (9)
EMA Slow (21)
Optional:
HMA → ON only for scalping
❌ Do NOT stack multiple MAs visually
5️⃣ DASHBOARD (MINIMAL MODE)
🧭 Dashboard
✅ ON
Position: Top Right
Text Size: Small
Watch only:
Trend
Strength
HTF
Zone
Signal
Ignore factor numbers once confidence develops.
6️⃣ SIGNAL USAGE (DISCIPLINE RULE)
✔ Signal must appear inside a zone
✔ Signal must align with trend & HTF
✔ Signal must be during session
❌ Never take:
Signals mid-channel
Signals against HTF
Signals during flat strength (<30%)
7️⃣ RECOMMENDED PRESETS (COPY THIS)
🔹 Intraday (Clean)
Timeframe: 5m / 15m
HTF: Daily
Session: India / NY
BB: OFF
Full ATR: OFF
SuperTrend: OFF
Pivots: OFF
🔹 Swing (Ultra Clean)
Timeframe: 1H / 4H
HTF: Weekly
Liquidity: ON
Zones: ON
Dashboard: ON (small)
8️⃣ GOLDEN RULE (MOST IMPORTANT)
If you cannot explain the trade using only:
Trend channel
One zone
One sweep
Do not trade it.
🏁 FINAL VERDICT
AMSC is not cluttered by design.
Clutter comes from turning everything ON.
Used correctly:
The chart stays clean
Decisions become obvious
Overtrading disappears
AMSC – TRADE EXECUTION RULEBOOK
Framework rule:
Trend → Structure → Liquidity → Entry → Risk → Exit
1️⃣ MARKET PRE-CONDITIONS (MANDATORY)
❌ NO TRADE unless ALL are TRUE
✅ Trend Filter
ATR Trend Channel = Bull for longs / Bear for shorts
Trend strength ≥ 40%
Price must be on the correct side of the channel
✅ HTF Confirmation
HTF bias must match LTF trend
If HTF is neutral → NO TRADE
✅ Session Filter
Trade only during active session
No first 5 minutes after session open
No last 15 minutes before session close
2️⃣ LOCATION RULE (MOST IMPORTANT)
🔹 Long Trades
Price must be inside or just above a DEMAND zone
Zone must be:
Fresh (not tested more than twice)
Within the Pivot ATR Channel
🔹 Short Trades
Price must be inside or just below a SUPPLY zone
Same freshness rules apply
❌ No zone → no trade
3️⃣ LIQUIDITY CONFIRMATION (ENTRY TRIGGER)
🔹 Long Entry Trigger
At the demand zone, you must see:
✔ Sell-side liquidity sweep
✔ Sweep candle closes bullish
✔ Sweep occurs inside the zone
🔹 Short Entry Trigger
At the supply zone, you must see:
✔ Buy-side liquidity sweep
✔ Sweep candle closes bearish
✔ Sweep occurs inside the zone
4️⃣ ENTRY RULE (EXECUTION)
🔵 LONG ENTRY
Enter BUY when all conditions align and:
Enter at:
Close of the sweep candle OR
50% retrace of the sweep candle (preferred)
🔴 SHORT ENTRY
Enter SELL when:
Enter at:
Close of the sweep candle OR
50% retrace of the sweep candle
5️⃣ STOP-LOSS RULES (NON-NEGOTIABLE)
🔻 Long SL
Place SL at:
Lowest point of the demand zone
OR
Below sweep low − 0.1 ATR (whichever is lower)
🔺 Short SL
Place SL at:
Highest point of the supply zone
OR
Above sweep high + 0.1 ATR (whichever is higher)
❌ Never trail SL early
❌ Never move SL to break-even before partial exit
6️⃣ POSITION SIZE (FIXED RISK ONLY)
Risk per trade: 0.5% – 1% max
If SL distance is large → reduce position size
Do not widen SL to fit position
7️⃣ EXIT RULES (STRUCTURED)
🎯 TARGET 1 (T1 – Protection)
At 1R
Action:
Book 50%
Move SL to Break-Even
🎯 TARGET 2 (T2 – Structure)
Next opposite zone
OR
Pivot ATR Channel mid-line
Book 30%
🎯 FINAL EXIT (TREND FOLLOW)
Exit remaining 20% when:
✔ Opposite liquidity sweep occurs
✔ Price closes beyond Pivot ATR Channel
✔ HTF bias flips
✔ Session ends
8️⃣ NO-TRADE CONDITIONS (ABSOLUTE)
❌ Trend strength < 30%
❌ Zone already tested 3+ times
❌ Liquidity sweep outside zone
❌ Entry candle is oversized (>1.8 ATR)
❌ Trade against HTF
❌ Emotional or revenge trade
9️⃣ ONE-SCREEN TRADE CHECKLIST
Before clicking BUY/SELL:
✔ Trend aligned
✔ HTF aligned
✔ In session
✔ At zone
✔ Sweep confirmed
✔ SL defined
✔ R ≥ 2 possible
If any answer = NO → skip trade
🔒 DISCIPLINE STATEMENT (PRINT THIS)
AMSC does not pay for activity.
It pays for patience, location, and discipline.
🏁 EXPECTED PERFORMANCE (REALISTIC)
Win rate: 45–60%
R:R average: 1:2.5 to 1:4
Drawdown: low
Trade frequency: selective
Adaptive Market Structure Channel — Visual Layout
5
🧭 How to READ the Chart (Left → Right)
1️⃣ Core Trend Context (FIRST thing your eyes see)
ATR Trend Channel
Acts as dynamic support/resistance
Green = bullish regime
Red = bearish regime
No second trendline competing with it
👉 If price is on the wrong side → no trade
2️⃣ Pivot ATR Structure Channel (SECOND layer)
Sloping channel following real swing structure
Shows:
Trend acceleration
Healthy pullbacks
Channel fill is very light (high transparency)
👉 Pullbacks inside this channel are valid
👉 Breaks outside = caution / exit
3️⃣ Supply & Demand Zones (ONLY horizontal objects)
Few, wide, soft-colored zones
No pivot clutter, no fibs, no grids
👉 Trades happen only here
4️⃣ Liquidity Sweep Markers (EVENT-BASED)
Appears only near zones
Indicates stop-hunt, not entry by itself
👉 Sweep + zone + trend = setup
👉 Sweep alone = ignore
5️⃣ Dashboard (Decision Support, not distraction)
Small
Corner-placed
Shows only:
Trend
Strength
HTF bias
Zone
Signal
Session
👉 After experience, you’ll barely look at it
🚫 What You DO NOT See (Very Important)
A clean AMSC chart intentionally avoids:
Multiple moving averages
Pivot levels (P/R/S)
Too many channels
Oscillator panels
Bright fills or thick lines
If your chart looks “busy”, something is ON that should be OFF.
🧠 Mental Model (Keep This Image in Mind)
AMSC chart =
1 dynamic trend
1 structure channel
1 zone
1 liquidity event
1 decision
Anything more → clutter
Anything less → blind trading
✅ Final Visual Checklist (Before Trading)
✔ Chart background visible
✔ Candles clearly readable
✔ Zones visible but not loud
✔ Channel guides the eye
✔ Nothing overlaps price excessively
If yes → you are trading AMSC correctly
srd786-Intraday VWAP Price Action IndicatorDISCLAIMER
This Pine Script indicator does not constitute financial advice; it is just intended for educational and informational purposes. It functions as a tool for technical analysis that could help traders spot possible trading opportunities. It is crucial to remember that participating in financial markets has a number of risks that might result in large losses and are not suitable for all investors.
Users are encouraged to conduct their own thorough investigation and analysis prior to using this indicator. Avoiding trading with money that one cannot afford to lose is essential. It is also advised to seek advice from a certified financial expert. Users must use suitable risk management techniques and recognize that past success does not guarantee future outcomes.
Any losses, damages, or other consequences resulting from the usage of this indicator are not the author's responsibility. The user is ultimately responsible for all trading decisions, therefore using this tool is at their own risk.
INTRODUCTION
The “srd786-Intraday VWAP Price Action Indicator” is a sophisticated Pine Script (version 6) trading tool designed for intraday traders who focus on New York session trading hours. This indicator combines multiple technical analysis concepts including Volume Weighted Average Price (VWAP), Average True Range (ATR) for risk management, swing point detection for support/resistance identification, and momentum analysis through RSI. The primary objective is to generate high-probability long and short signals based on price action confluence with trend, momentum, and key structural levels.
1.
VWAP (Volume Weighted Average Price): Shows the "fair" average price based on both price and trading volume.
2.
ATR (Average True Range): Measures how much the price typically moves each day.
3.
Trend Analysis: Identifies whether the market is going up, down, or sideways.
4.
Momentum Indicators: Shows how strong the current price movement is.
5.
Support & Resistance: Identifies key price levels where the price might stop or reverse.
6.
Swing Points: Finds significant turning points in the price.
This indicator is specifically optimized for the New York trading session (9:30 AM to 4:00 PM ET), making it particularly suitable for traders who focus on US market hours. It provides a complete trading framework that includes not only signal generation but also precise trade management levels including entry prices, stop-loss orders, and profit targets based on a configurable reward-to-risk ratio.
The philosophy behind this indicator is confluence-based trading. Rather than relying on a single indicator or condition, it requires multiple factors to align before generating a trade signal. This approach filters out lower-probability setups and focuses only on high-quality opportunities where price action, trend direction, momentum, and key technical levels all point in the same direction.
CORE CONCEPT AND METHODOLOGY
Volume Weighted Average Price (VWAP)
VWAP is the cornerstone of this indicator's trading methodology. Unlike a simple moving average that treats all price bars equally, VWAP incorporates volume data into its calculation, giving more weight to bars with higher trading volume. This makes VWAP a more accurate representation of the true average price where the most significant trading activity occurred.
The calculation of VWAP is performed using the built-in 'ta.vwap()' function, which computes the cumulative volume-weighted average price from the beginning of the session. For intraday traders, VWAP serves as a critical reference point that indicates whether the current price is trading at a premium (above VWAP) or discount (below VWAP) relative to the session's volume-weighted average.
In this indicator, the VWAP source is configurable through the 'vwapSource' parameter, with the default being HLC3 (High + Low + Close / 3). This source selection allows traders to experiment with different price types such as typical price, weighted close, or even custom sources to suit their trading style and market preferences.
Average True Range (ATR) for Risk Management
The Average True Range, calculated using 'ta.atr()', measures market volatility by decomposing the current range of price movement. ATR does not indicate price direction;
instead, it quantifies the degree of price movement or volatility over a specified period. In this indicator, ATR serves dual purposes: determining the distance for limit orders and calculating stop-loss levels.
The 'atrLength' parameter (default: 14) controls the lookback period for the ATR calculation. A shorter length makes the indicator more responsive to recent volatility, while a longer length provides a smoother average that may be more suitable for less volatile markets. The 'atrMultiplier' (default: 1.5) determines how many ATR units away the stop-loss is placed from the entry price, allowing traders to adjust their risk exposure based on current market conditions.
Swing Detection and Support/Resistance
Swing points represent significant turning points in price action where the market has temporarily exhausted its directional momentum. This indicator uses pivot high and pivot low calculations to identify swing highs and swing lows, which then form the basis for dynamic support and resistance levels.
The 'swingLength' parameter (default: 5) defines how many bars to the left and right of a potential pivot point must be lower (for pivot highs) or higher (for pivot lows) to confirm the swing point. This lookback period helps filter out minor price fluctuations and focuses on more significant structural levels.
Support and resistance levels are stored in arrays ('swingHighArray' and 'SwingLowArray'), with the most recent swing points serving as the primary reference levels. The 'srLookback' parameter (default: 20) controls the overall lookback window and also determines how many
swing points to maintain in each array, ensuring that only relevant historical levels are considered.
Breakout Detection
When a price moves past a major support or resistance level, this is known as a price breakout. This price breakout suggests that there is a possibility of a new trend direction heading forward.Breakout detection eliminates noise, as little price fluctuations or volatility may momentarily drive prices past a threshold without authentic conviction.Detection of breakouts affirms robustness when the price above the threshold by 2%, indicating genuine market interest, and mitigates whipsaws to prevent placing trades based on transient price swings.
The Breakout Tolerance parameter, set by default to 2%, regulates the breakout tolerance for the indicator. A price closure above the current high plus a minor tolerance buffer (usually 2%) indicates a potential continuation of upward movement, classified as a Bullish Breakout. Conversely, when the price closes below the recent low plus a minor tolerance buffer (usually 2%), it suggests that the price may continue to decline, which is classified as a Bearish Breakout Down.
Trend Identification
Trend determination is accomplished through an Exponential Moving Average (EMA) with a configurable length ('trendMaLength', default: 9). The indicator classifies trend into three
states: BULLISH (price above EMA with confirmation from the previous bar), BEARISH (price below EMA with confirmation), and SIDEWAYS (price crossing or near the EMA).
The EMA is chosen over simple moving averages because it responds more quickly to recent price changes while still providing enough smoothing to filter out noise. The confirmation requirement (both current and previous bar must be on the same side of the EMA) reduces false signals during periods of choppy price action.
Momentum Analysis
Momentum is measured using the Relative Strength Index (RSI) with a configurable length ('momentumLength', default: 9). RSI values are categorized into five states to provide nuanced momentum readings: STRONG BULL (RSI above 70), BUILDING (RSI between 55 and 70), NEUTRAL (RSI between 45 and 55), WEAKENING (RSI below 45), and STRONG BEAR (RSI below 30).
This momentum categorization allows traders to distinguish between strong trending conditions (STRONG BULL/BEAR) and transitions (BUILDING/WEAKENING), providing context for trade signals and helping to avoid entering positions during momentum divergences.
CONFIGURATION PARAMETERS
VWAP Settings
The 'vwapSource' parameter determines which price value is used in the VWAP calculation. The default value of 'hlc3' (High + Low + Close / 3) provides a balanced representation of each bar's price action. Traders can modify this to use typical price ('high + low + close / 3'), weighted close ('high + low + close + close / 4'), or other price types depending on their analytical preferences.
ATR Settings
The 'atrLength' parameter sets the lookback period for the Average True Range calculation. The default of 14 periods is standard across most trading platforms and timeframes, providing a good balance between responsiveness and smoothness. The 'atrMultiplier' parameter (default: 1.5) scales the ATR value to determine stop-loss distances. A multiplier of 1.5 means the stop-loss is placed 1.5 ATR units away from the entry price, providing enough buffer to accommodate normal volatility while limiting risk.
Trade Settings
The 'rrRatio' parameter (default: 3.0) establishes the reward-to-risk ratio for trade targets. A ratio of 2.0 means the profit target is twice the distance of the stop-loss from the entry price. The 'limitOrderDistance' parameter (default: 0.5) determines how far below (for long trades)
or above (for short trades) the current close the limit order is placed, measured in ATR units. This allows traders to enter positions at better prices while waiting for pullbacks.
Swing Detection Settings
The 'swingLength' parameter (default: 5) controls pivot identification sensitivity. Higher values identify more significant swing points but may miss shorter-term opportunities. The 'showSwings' boolean parameter toggles the visual display of swing high and low points on the chart.
Support & Resistance Settings
The 'srLookback' parameter (default: 20) defines how many bars back to search for swing points and support/resistance levels. The 'breakoutTolerance' parameter (default: 0.02 or 2%) adds a small buffer to breakout detection to account for minor penetration of support/resistance levels due to price spikes or slippage.
Trend & Momentum Settings
The 'trendMaLength' parameter (default: 9) sets the EMA length for trend determination, while 'momentumLength' (default: 9) sets the RSI lookback period. Both should be at least 5 periods for meaningful calculations.
Table Settings
The 'showTable' parameter (default: true) enables the display of two information tables that provide real-time data on Indicator values and trade levels.
SIGNAL GENERATION LOGIC
Long Signal Conditions
A long signal is generated when all the following conditions are simultaneously true:
1.
Session Filter: The trade must occur during New York session hours (9:30 AM - 4:00 PM ET).
2.
Trend Confirmation: The trend must be BULLISH (price above EMA with confirmation).
3.
Price Position: Current price must be above VWAP, indicating bullish price action.
4.
Breakout or No Resistance: Either price is breaking out above resistance level with tolerance, or there is no prior resistance level to overcome.
5.
Momentum Alignment: Momentum must be either STRONG BULL or BUILDING.
This confluence of conditions ensures that long trades are only taken when the market is trending higher, price is confirming strength by trading above VWAP, and momentum is supportive of continued upward movement.
Short Signal Conditions
A short signal is generated when all the following conditions are simultaneously true:
1.
Session Filter: The trade must occur during New York session hours
2.
Trend Confirmation: The trend must be BEARISH (price below EMA with confirmation)
3.
Price Position: Current price must be below VWAP, indicating bearish price action
4.
Breakout or No Support: Either price is breaking down below support level with tolerance, or there is no prior support level to overcome
5.
Momentum Alignment: Momentum must be either STRONG BEAR or WEAKENING
Similar to long signals, short trades require alignment across multiple timeframes and analytical approaches, filtering out counter-trend trades and focusing on high-probability setups.
TRADE MANAGEMENT FRAMEWORK
Entry Price Calculation
For long trades, the limit order price is calculated as: 'Close - (ATR Value × Limit Order Distance)'. This places the entry price below the current close, allowing traders to buy on dips while maintaining a favorable entry price. For short trades, the limit order is placed above the current close: 'Close + (ATR Value × Limit Order Distance)'.
The limit order distance is expressed in ATR units, making it adaptive to current volatility conditions. In more volatile markets, the limit order will be placed further from the current price, while in calmer markets, it will be closer.
Stop-Loss Placement
Stop-loss levels are calculated using the ATR multiplier to ensure adaptive risk management. For long trades: 'Entry Price - (ATR Value × ATR Multiplier)'. For short trades: 'Entry Price + (ATR Value × ATR Multiplier)'.
This adaptive approach to stop-loss placement means that in volatile markets, stops are wider to avoid being stopped out by normal price fluctuations, while in quieter markets, stops are tighter to limit potential losses. The default multiplier of 1.5 provides approximately 1.5 times the average true range of protection.
Target Price Calculation
Profit targets are determined by the reward-to-risk ratio: 'Entry Price + (ATR Stop Distance × RR Ratio)' for long trades and 'Entry Price - (ATR Stop Distance × RR Ratio)' for short trades. The default ratio of 2.0 means the target is twice the distance of the stop-loss, providing a favorable risk-reward profile.
New York Session Tracking
The indicator includes specialized logic for tracking the New York session open price. When a new NY session begins (determined by the 'isNewNySession' variable), the current open price is recorded and maintained throughout the session. This provides a reference point for measuring intraday directional bias from the session's starting level.
INFORMATION TABLES
Indicators Table
This table displays the current price, VWAP value, NY session open price, support level,resistance level, ATR, ATR-scaled stop distance, current trend classification, momentum state with RSI value, and breakout status. All values are color-coded based on their bullish or bearish implications. The VWAP cell is color-coded green if price is above VWAP (bullish) and red if below (bearish), providing instant visual confirmation of price's position relative to this critical level.
Trade Levels Table
This table shows current signal status (LONG, SHORT, or WAIT), limit order distance in ATR units, calculated limit order price, stop-loss level, and target price with the reward-to-risk ratio displayed. The signal cell is highlighted in green for long signals and red for short signals.
ALERT CONDITIONS
The indicator includes four alert conditions that can be configured in TradingView:
1.
LONG Signal: Triggers when a long signal is generated, providing entry price, stop-loss, and target information.
2.
SHORT Signal: Triggers when a short signal is generated with corresponding trade details.
3.
Breakout Up: Notifies when price breaks out above resistance level.
4.
Breakout Down: Notifies when price breaks down below support level.
These alerts enable traders to receive notifications via TradingView's alert system without continuously monitoring the charts.
USAGE EXAMPLES AND TRADING SCENARIOS
Strong Bullish Trend with VWAP Support
In this scenario, price has been trading above the 9-period EMA for multiple bars, confirming a bullish trend. The current price is above VWAP, indicating buyers are willing to pay a premium. A recent swing low has established a support level, and RSI is reading 65, indicating building momentum without being overextended. When price breaks above the recent swing high resistance with a 2% tolerance, the indicator generates a long signal. The trader places a limit order below the current bar's close (0.5 ATR units) and sets the stop-loss 1.5 ATR units below the entry, with a target 2.0 times the stop distance away.
Short Setup During Volatile Session
During a particularly volatile NY session, price gaps down below VWAP early in the day. The 9-period EMA is declining, and both current and previous bars are below it, confirming a bearish trend. The RSI has dropped to 28, indicating strong bearish momentum. A recent swing high serves as resistance, and when price breaks below the swing low support level, the indicator generates a short signal. The trader enters on a limit order placed 0.5 ATR units above the current price, with the stop-loss 1.5 ATR units above the entry and the target at a 2.0 reward-to-risk ratio.
Avoiding Counter-Trend Trades
Consider a scenario where price is above VWAP and the RSI reads 72 (overbought), but the price is below the 9-period EMA and the previous bar was also below the EMA. In this case, the trend is classified as BEARISH (or SIDEWAYS) despite the bullish price position relative to VWAP. The indicator will not generate a long signal because the trend condition is not met, protecting the trader from what could be a bear trap or continuation pattern.
No Prior Levels Scenario
At the beginning of a trading session or after significant volatility has cleared prior swing points, there may be no established support or resistance levels in the lookback window. In this case, the breakout condition 'or na(resistanceLevel)' allows long signals to be generated without requiring a resistance level to be broken, enabling traders to participate in emerging trends without waiting for prior levels to form.
BEST PRACTICES AND TIPS
Timeframe Selection
This indicator is optimized for intraday timeframes (1-minute to 60-minute charts) and specifically for NY session trading. Higher timeframes may produce more reliable signals but fewer opportunities, while lower timeframes will generate more signals but with potentially lower reliability. Traders should backtest on their preferred timeframe before trading live.
Market Conditions
The indicator performs best in trending markets with clear directional bias. During ranging or sideways markets, the trend condition may oscillate frequently, and VWAP may oscillate around price, reducing signal quality. Consider filtering signals or reducing position size during low-volatility, range-bound conditions.
Parameter Optimization
While the default parameters have been selected for general applicability, traders should consider optimizing certain parameters for specific markets or instruments. For highly volatile instruments like crude oil or natural gas, increasing the 'atrMultiplier' to 2.0 or 2.5 may provide more appropriate risk management. For less volatile instruments like certain forex pairs, reducing the multiplier to 1.0 or 1.2 may improve signal quality.
Multiple Timeframe Analysis
For enhanced performance, traders can analyze the trend on a higher timeframe (such as 15-minute or hourly) while taking signals on a lower timeframe (such as 5-minute or 1-minute). This multi-timeframe approach ensures that signals are aligned with the larger trend direction.
Risk Management
While the indicator provides calculated stop-loss levels, traders should consider their overall position sizing and portfolio risk. The ATR-based stops provide a market-adaptive approach, but individual risk tolerance and account size should ultimately determine position sizing. The 2.0 reward-to-risk ratio is fixed but can be adjusted based on personal preferences or the specific characteristics of the instrument being traded.
INTEGRATION WITH TRADINGVIEW
Adding the Indicator
To add this indicator to a TradingView chart, paste the code into the Pine Script editor and click "Add to Chart." The indicator will appear in the chart's sidebar and begin calculating immediately once sufficient historical data is available.
Configuring Alerts
To set up alerts, right-click on any of the alert conditions in the indicator's settings panel (long signal, short signal, breakout up, or breakout down) and select "Add Alert." Configure the alert frequency and notification methods (push notification, email, webhook, etc.) according to your preferences.
Customization
All input parameters can be adjusted through the indicator's settings panel without modifying the source code. Traders can experiment with different VWAP sources, ATR lengths and multipliers, swing detection parameters, and table display options to suit their trading style and market preferences.
LIMITATIONS AND CONSIDERATIONS
Session Dependency
The indicator is specifically designed for NY session trading and will not generate signals outside these hours. Traders focused on other sessions or 24-hour markets may need to modify the session string to match their trading hours.
Historical Data Requirements
The indicator requires sufficient historical data to accurately calculate swing points and support/resistance levels. On lower timeframe charts with limited history, the initial signals may be less reliable until adequate swing points are identified.
Lag in Swing Detection
By definition, swing points are confirmed after the price has moved away from them, introducing some lag into support/resistance identification. Traders should be aware that the most recent swing point may not be confirmed until several bars after it occurs.
Not Financial Advice
This indicator is a technical analysis tool and should not be construed as financial advice. Traders are responsible for their own research and risk management decisions. Past performance of any trading system does not guarantee future results.
SUMMARY
The code follows a logical flow:
•
Version and Declaration: Pine Script version 6 indicator declaration with overlay enabled
•
Input Parameters: All user-configurable settings grouped by category
•
Session Logic: New York session tracking and open price recording
•
Core Calculations: VWAP, ATR, EMA, RSI, swing points
•
Support/Resistance Logic: Array-based storage and retrieval of swing levels
•
Trend and Momentum Classification: Categorization of current market state
•
Signal Generation: Confluence-based long and short conditions
•
Trade Level Calculations: Entry, stop-loss, and target pricing
•
Visual Plots: Hidden plots for alert data access
•
Information Tables: Real-time display of key values
•
Alert Conditions: Four configurable alert triggers
This structured approach ensures clarity, maintainability, and extensibility for future modifications or enhancements.
Institutional Liquidity Engine [Pointalgo]PointAlgo – Institutional Liquidity Engine is a price-overlay market structure and liquidity visualization tool designed to help traders analyze supply & demand behavior, liquidity zones, and price inefficiencies using rule-based logic inspired by modern market structure concepts.
This indicator focuses on where price aggressively moved from, where liquidity may remain, and how those zones evolve over time, without generating direct buy/sell signals.
The script is fully open-source, free to use, and intended strictly for educational and analytical purposes.
Core Analytical Concepts :
This indicator visualizes:
Market structure pivot points
High-volatility displacement zones
Supply & demand (order-block–like) areas
Liquidity mitigation behavior
Fair Value Gaps (price inefficiencies)
Zone lifecycle management (active vs mitigated)
It does not claim to detect actual institutional orders.
How the Indicator Works :
Volatility-Filtered Structure Detection
Uses ATR-based volatility filtering
Zones are only created when price displacement exceeds normal volatility
Helps reduce noise from weak or random candles
Demand & Supply Zone Identification
A demand zone is detected when:
A pivot low forms
The candle before the move is bearish
Price rapidly expands upward after the pivot
Volatility conditions are met
These zones highlight areas where price previously reacted strongly upward.
Supply Zones (Bearish)
A supply zone is detected when:
A pivot high forms
The candle before the move is bullish
Price drops aggressively after the pivot
Volatility conditions are met
These zones highlight areas where selling pressure previously dominated.
Smart Mitigation Engine (Automatic Zone Management)
One of the key design goals of this indicator is chart cleanliness.
Each zone is continuously monitored:
If price returns into the zone, it is considered mitigated
Users can choose to:
Automatically remove mitigated zones
Or gray them out for historical reference
Old and irrelevant zones far from price are also automatically deleted.
This prevents the chart from filling with outdated boxes.
Fair Value Gap (Liquidity Void) Detection
Optional Fair Value Gaps (FVGs) are displayed when:
Price moves so fast that wicks do not overlap
The gap size exceeds a user-defined ATR threshold
These gaps visually represent price inefficiencies where liquidity may be revisited.
Types:
🔵 Bullish FVG
🟠 Bearish FVG
Real-Time Dashboard
A small dashboard displays:
Active demand zones
Active supply zones
This provides a quick structural overview without scanning the entire chart.
Customization Options
Users can configure:
Pivot sensitivity
Zone colors
Mitigation behavior
Fair Value Gap visibility
Minimum gap size (ATR-based)
This makes the indicator adaptable across:
Forex
Indices
Crypto
Stocks
Futures
How to Use This Indicator
This tool is best used for:
Market structure analysis
Supply & demand studies
Liquidity mapping
Confluence with price action
Higher-timeframe bias alignment
Recommended complementary tools:
Support & Resistance
Trend analysis
Volume profiling
Risk management rules
Important Disclaimer
This indicator is provided for educational and analytical purposes only.
It does not provide trading signals, investment advice, or profit guarantees.
Market structure and liquidity concepts are interpretive in nature.
Users are solely responsible for their own trading decisions and risk management
Liquidity Gravity Engine [Pineify]```markdown
Liquidity Gravity Engine - Market Structure, Displacement, Liquidity Rails
Overview
Liquidity Gravity Engine is a market structure + liquidity visualization indicator designed to help you read flow , impulse , and liquidity magnets on any symbol and timeframe. Instead of relying on a single moving average, it builds a dynamic “flow ribbon” from confirmed swing structure, highlights displacement candles that create imbalance (FVG-style gaps), and projects unmitigated swing levels as liquidity rails that price often revisits.
Key Features
Liquid Flow Ribbon: a structure-based dynamic band that adapts to volatility.
Displacement Highlighting: flags momentum candles that expand beyond ATR and form an imbalance.
Liquidity Rails: extends unmitigated swing highs/lows as potential targets until swept.
Trend Context: displacement is filtered using the ribbon’s smoothed centerline.
How It Works
Market Structure (Swings) : swing highs/lows are detected using pivot logic over your “Structure Lookback”. Pivots become confirmed only after the lookback window completes, which means historical swing points can update until they are confirmed.
Flow Construction : the most recent confirmed swing high and swing low define a top and bottom boundary. Their midpoint is then smoothed with an EMA to create the “liquid” centerline.
Displacement + Imbalance : a candle is considered displacement when its range expands beyond ATR(14) × Displacement Factor and it creates a simple FVG-style gap (current low above the high two bars back for bullish, or current high below the low two bars back for bearish). The bar is then filtered by being on the correct side of the smoothed flow center.
Liquidity Rails : each new confirmed swing high/low can become a dotted rail. Rails extend forward and are removed once price sweeps beyond the level (mitigation), keeping the chart focused on active liquidity.
Trading Ideas and Insights
Use the ribbon as context : bias is stronger when price holds one side of the flow centerline.
Treat displacement markers as impulse confirmation : they often appear at breakout moments or at the start of expansions.
Use liquidity rails as magnets : unmitigated swing highs/lows can act as targets for continuation or mean-reversion moves.
Combine structure + displacement: a sweep into a rail followed by an opposite displacement can hint at a reversal attempt.
How Multiple Components Work Together
This indicator is intentionally built as a single liquidity-driven workflow:
Swings define structure.
Structure defines the flow ribbon (trend/volatility context).
The ribbon filters displacement so you see momentum that aligns with flow.
Liquidity rails provide objective target zones derived from the same swing structure.
The result is a cohesive view of market structure flow, institutional-style displacement, and liquidity targets without stacking multiple separate indicators.
Unique Aspects
Structure-first ribbon: the band is anchored to confirmed swing points, not just a price average.
Imbalance-aware displacement: requires both range expansion and a gap-style condition, reducing generic “big candle” noise.
Self-cleaning liquidity rails: mitigated levels are removed to keep the chart readable.
How to Use
Start with defaults on a clean chart.
Identify the flow: price above the smoothed centerline favors bullish flow; below favors bearish flow.
Watch for displacement diamonds (“D”): they often validate a push away from structure and can mark the start of a leg.
Plan around rails: treat dotted lines as potential objectives and areas where reactions/sweeps can occur.
Customization
Structure Lookback : smaller values = more sensitive swings; larger values = cleaner, slower structure.
Displacement Factor : higher values = fewer, stronger displacement bars; lower values = more signals.
Show Liquidity Rails + Liquidity Lookback : control whether rails are plotted and how active levels are emphasized.
Visuals : adjust bullish/bearish flow colors and liquidity line styling for your chart theme.
Conclusion
Liquidity Gravity Engine helps you map market structure, highlight displacement and imbalance (FVG-style) momentum, and visualize liquidity targets with rails that stay relevant until swept. Use it for trend context, breakout confirmation, and liquidity-based trade planning on forex, crypto, stocks, and indices.






















