SMC Rebalance to Equilibrium + ATR/ADX (Release)Markets spend more time rebalancing than trending. After an impulsive move, price naturally seeks fair value (equilibrium / mean / VWAP / 50%) where buyers and sellers agree again.
This makes rebalance trades higher win-rate and lower risk compared to continuation or breakout strategies.
Examples from real market behaviour:
- Gold futures (GC) rebalance very frequently because gold is heavily mean-reverted by institutions and hedgers. Roughly 60–70% of intraday moves show some form of rebalance.
- Nasdaq (NQ) is momentum-dominant, but even then 45–55% of intraday extensions rebalance, especially outside NY Open.
- FCPO is strongly controlled and rotational, with 70–80% of moves showing rebalance behaviour, especially outside aggressive news flows.
What each candle label means in this indicator
This indicator labels ATR state per candle to read market intent:
E (Expansion) - Volatility increasing. Aggressive participation. Used to drive price, not to rebalance.
S (Strong) - Sustained momentum. Trend still active.
D (Decreasing) - Volatility contracting. Acceptance forming. This is the core condition for rebalance.
W (Weak) represents very low momentum and temporary hesitation. W means the market is unsure.
Indicator features explained
This indicator is designed to be simple, objective, and rule-based:
Candle labels show real-time ATR state (E / S / D / W)
Strong rebalance condition is highlighted when D-D-D forms
Filters avoid signals during ADX expansion
Designed specifically for SMC rebalance to equilibrium, not continuation
Alerts trigger only when valid rebalance conditions appear, helping traders avoid over-trading and impulsive entries
Why D-D-D is very important?
Three consecutive D candles (D-D-D) mean:
- Volatility has contracted for multiple closes
- Chasers are gone
- Order flow is absorbed
- Market accepts current price as unfair
This is the strongest condition for price to return to equilibrium and sometimes continue further to MRH / MRL instead of stopping at 50%.
Important: One or two D candles are not enough. D-D-D confirms acceptance, not just a pause
Why NOT to trade rebalance when ADX is expanding
ADX expansion means trend strength is increasing. When ADX is expanding:
- Decreasing ATR often means reload, not reversal
- Price is being delivered, not balanced
- Rebalance attempts usually fail
This indicator filters out rebalance signals when ADX shows expansion because trend strength overrides balance logic.
Why price can rebalance without taking liquidity
A liquidity sweep is not required for rebalance.
Rebalance happens because acceptance changes, not because stops are hunted.
Price returns to equilibrium when:
- Momentum fades
- Volatility contracts
- Participation drops
- Passive orders dominate
Liquidity sweeps only make the move faster, not necessary. This is why rebalances commonly happen in Asian session, late US session, and mid-range conditions without any obvious stop-run.
Best time to trade rebalance (US & Malaysia time)
Rebalance works best when liquidity is stable or decaying, not expanding.
Best for Gold (GC)
- US Late Session: 11:30 pm – 2:00 am MYT
- Asian Morning: 7:00 am – 11:00 am MYT
Best for Nasdaq (NQ)
- US Late Session only: 11:30 pm – 1:30 am MYT
Avoid for all markets
- NY Open impulse: 8:30 pm – 10:30 pm MYT
This is delivery time, not balance time.
Core idea to remember
Rebalance trading is not about predicting reversals. It is about waiting for acceptance.
Liquidity makes moves fast. Acceptance makes moves possible. This indicator exists to help you trade what markets do most of the time — rebalance back to fair value — with discipline and structure
Göstergeler ve stratejiler
Big Trades [Volume Anomalies] (Enhanced)The script is a **volume-anomaly “big trades” detector** for futures that tries to (1) split each candle’s volume into a **buy-pressure** and **sell-pressure** estimate, (2) flag **statistically extreme** candles (tiers), and (3) optionally label those extremes as **initiative (follow-through)** vs **absorbed (no follow-through)** using a forward-style confirmation window.
Here’s what it does, piece by piece.
---
## 1) What it’s trying to detect
It’s not true “whale prints” or real bid/ask delta. It detects:
* **unusually large participation** (volume anomaly)
* with a **directional guess** (buy-ish vs sell-ish)
* and then checks whether price **continued** after that anomaly
So it’s: **“big participation + did it work?”**
---
## 2) The “buy vs sell volume” estimate
For each candle, it builds a **weight** for buy and sell pressure:
* **close location within the candle**
* close near high → more buy weight
* close near low → more sell weight
* **body direction (close–open)**
* bullish body adds buy boost
* bearish body adds sell boost
Then it computes:
* `raw_buy = volume * buy_weight`
* `raw_sell = volume * sell_weight`
This is an **OHLC-based proxy** for pressure, not real aggressor volume.
---
## 3) Normalization (makes it behave across sessions)
If enabled, it divides by ATR:
* `norm_buy = raw_buy / ATR`
* `norm_sell = raw_sell / ATR`
This helps a lot on futures because volume/volatility regimes differ between Asia/London/NY.
---
## 4) Statistical anomaly detection (z-score logic)
It calculates “what’s normal” using the last `lookback` bars, but **uses ` `** so the current bar doesn’t contaminate the stats (reduces flicker):
* `avg_buy = sma(norm_buy, lookback) `
* `std_buy = stdev(norm_buy, lookback) `
(and same for sell)
Then it computes **z-scores**:
* `z_buy = (norm_buy - avg_buy) / std_buy`
* `z_sell = (norm_sell - avg_sell) / std_sell`
If z-score crosses thresholds, it triggers tiers:
* Tier 1: `sigma`
* Tier 2: `sigma + tier_step1`
* Tier 3: `sigma + tier_step2`
So **Tier 3 = “big bubble”**.
---
## 5) Optional VWAP bias filter
It computes VWAP correctly as:
* `vwapv = ta.vwap(hlc3)`
If enabled:
* buys only when `close >= vwap`
* sells only when `close <= vwap`
This is just a **trend/bias filter** to reduce counter-trend bubbles.
---
## 6) Plotting (how bubbles appear)
It places markers at:
* buys around `(close+low)/2` (lower-ish)
* sells around `(close+high)/2` (upper-ish)
And draws:
* small/medium/large circles (depending on tier)
* with optional INIT/ABS overlays (explained next)
---
## 7) “Initiative vs Absorbed” classification (the smart part)
Because Pine can’t see the future on the same bar, your script does a **delayed evaluation**:
* It waits `N = confirm_bars`
* Looks at what happened from the signal bar to the current bar
* Decides if price moved far enough in the intended direction
It uses:
* `hh_window = highest(high, N+1)`
* `ll_window = lowest(low, N+1)`
(these cover the last N+1 bars: from signal bar to now)
Then it measures follow-through:
* For a buy signal N bars ago:
`buy_move = hh_window - high `
* For a sell signal N bars ago:
`sell_move = low - ll_window`
It compares to an ATR-based threshold anchored to the signal bar:
* `thr_move_sig = ATR * move_mult_atr`
If move > threshold → **INIT**
Else → **ABS**
Then it **plots back onto the original signal bar** using `offset=-N` so it visually marks the candle that caused it.
To make it obvious:
* **INIT** = circle
* **ABS** = X
This part is “accurate” in the sense that it’s purely **price-outcome based**.
---
## 8) Labels (optional)
If enabled, it prints labels on those large signals with:
* INIT/ABS
* the z-score at the signal bar
* and a “delta proxy” (`norm_buy - norm_sell`), not true delta
---
## In one sentence
The script flags **statistically extreme volume-pressure candles** (buy/sell proxy), and then classifies those extremes as **worked (initiative)** or **failed (absorbed)** based on **subsequent price movement** within `confirm_bars`.
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.
MACD Signals with Impulse ScoresCustom indicator to generat buy sell signals. optimized for 5min NQ during RTH
PDH & PDL - Previous Day LevelsPDH & PDL – Previous Day High and Low
This indicator automatically plots the Previous Day High (PDH) and Previous Day Low (PDL) on intraday charts.
These key levels are widely used by traders as important support and resistance zones, helping to identify potential areas for price reactions, breakouts, or liquidity grabs.
Features
Automatically detects the previous trading day’s high and low
Draws clear horizontal levels across the current session
Labels the levels as PDH and PDL
Updates in real time at the start of each new trading day
Designed for intraday timeframes
How to Use
Use PDH as a potential resistance level
Use PDL as a potential support level
Watch for breakouts, rejections, or retests around these levels
Combine with price action, volume, or session-based strategies
Best For
Day trading
Scalping
Forex, indices, crypto, and futures
Traders who use market structure and key levels
This indicator keeps your chart clean while highlighting two of the most important reference levels from the previous trading day.
Sarina-5Dynamic Growth EMAs - 01152026It’s great to hear that we’ve built a solid rapport! I really appreciate your patience, and I'm glad I could strictly follow your computational bases this time. Here is a clear, professional English description you can use to introduce this indicator to others:
Dynamic Growth & Cascading Reset EMAs
This indicator features a sophisticated set of 5 Exponential Moving Averages (EMAs) that dynamically evolve based on price action and time. Unlike static EMAs, these lines "grow" and "spread" during trends to visualize momentum and volatility expansion.
Core Features:
Dynamic Length Growth: The EMA periods are not fixed. They increase in length during both upswings and downswings, causing the lines to spread apart as a trend strengthens.
Bidirectional Expansion: Lengths grow regardless of direction, ensuring the "fan" effect is visible in both bullish and bearish rallies.
Pivot Reset Logic: To maintain responsiveness, all EMA lengths reset to their initial values (2, 5, 8, 13, 21) whenever the price changes direction, allowing the indicator to catch new moves early.
Cascading & Sticky Resets: When faster EMAs cross slower ones, a "sticky" reset occurs. The triggered lines inherit the value of the next higher EMA to maintain smooth price continuity and avoid erratic jumps on the chart.
Multi-Level Visual Gradient: * Four distinct transparency zones (75%, 85%, 90%, 95%) create a professional "heat map" between the lines.
Dynamic color fills (Green for Bullish / Red for Bearish) based on the relationship between adjacent lines.
Hierarchical Signals (B1-B4 & S1-S4): Clear text-only labels mark every crossover point between the EMAs, identifying different stages of trend confirmation without cluttering the background.
Computational Foundation:
The indicator accounts for time-based decay, where the growth rate of the EMAs can be set to diminish after a specific duration, simulating the natural exhaustion of market momentum.
Coppe's Intraday Strategy V.3 Auto-TP PresetsGood Gold Intraday Trading Strategy with Monthly Backtesting Research
5MA + TrendMagic + Disparity Scalping + Volume Spikes5MA + Trend Magic + Disparity Scalping + Volume Spikes
This indicator is a multi-layer scalping and intraday framework designed to combine trend context, volatility expansion, mean-reversion opportunities, and volume-based turning points into a single chart.
It is especially effective for fast markets such as GOLD (XAUUSD) and lower timeframes.
Key Components
1. 5 Moving Average Structure
EMA 9 / 20 / 50 / 100 / 200
Provides instant trend direction, compression, and dynamic support/resistance
Useful for filtering scalp signals in trend vs range conditions
2. Trend Magic (CCI + ATR Based)
Modified Trend Magic line using CCI direction and ATR trailing logic
Clearly defines bullish / bearish bias
Acts as a trend filter to avoid counter-trend scalps during strong moves
3. Ultra Fast Disparity Scalper
Detects short-term overextension from EMA9 and EMA20
Uses:
Price–EMA disparity
RSI overbought / oversold
RVI momentum prediction
Designed for quick mean-reversion scalps, not trend entries
Includes a simple overheating filter that grays out signals during extreme conditions
4. GOLD Volatility Expansion Detector
Specialized logic for explosive moves using:
ATR expansion
Bollinger Band breakouts
Historical Volatility vs Realized Volatility divergence
Generates signals only when volatility regime shifts, not during noise
Ideal for catching impulsive breakout phases
5. Volume Spike Reversal Signals
Detects abnormal volume spikes relative to volume SMA
Optional filters:
Valid swing high / low only
Hammer / Shooting Star candles
Same candle color confirmation
Session-based filtering
Designed to highlight potential exhaustion and reaction points
Signals are plotted on the previous bar for accuracy
How to Use
Use EMA structure + Trend Magic to define market context
Take Disparity Scalping signals only when price is stretched and momentum weakens
Use Volume Spikes to confirm exhaustion or reaction zones
Use GOLD volatility signals to stay with expansion moves, not fade them
This indicator is not a single-entry system, but a decision-support tool that helps align trend, momentum, volatility, and volume for high-probability intraday trading.5MA + Trend Magic + Disparity Scalping + Volume Spikes
This indicator is a multi-layer scalping and intraday framework designed to combine trend context, volatility expansion, mean-reversion opportunities, and volume-based turning points into a single chart.
It is especially effective for fast markets such as GOLD (XAUUSD) and lower timeframes.
Key Components
1. 5 Moving Average Structure
EMA 9 / 20 / 50 / 100 / 200
Provides instant trend direction, compression, and dynamic support/resistance
Useful for filtering scalp signals in trend vs range conditions
2. Trend Magic (CCI + ATR Based)
Modified Trend Magic line using CCI direction and ATR trailing logic
Clearly defines bullish / bearish bias
Acts as a trend filter to avoid counter-trend scalps during strong moves
3. Ultra Fast Disparity Scalper
Detects short-term overextension from EMA9 and EMA20
Uses:
Price–EMA disparity
RSI overbought / oversold
RVI momentum prediction
Designed for quick mean-reversion scalps, not trend entries
Includes a simple overheating filter that grays out signals during extreme conditions
4. GOLD Volatility Expansion Detector
Specialized logic for explosive moves using:
ATR expansion
Bollinger Band breakouts
Historical Volatility vs Realized Volatility divergence
Generates signals only when volatility regime shifts, not during noise
Ideal for catching impulsive breakout phases
5. Volume Spike Reversal Signals
Detects abnormal volume spikes relative to volume SMA
Optional filters:
Valid swing high / low only
Hammer / Shooting Star candles
Same candle color confirmation
Session-based filtering
Designed to highlight potential exhaustion and reaction points
Signals are plotted on the previous bar for accuracy
How to Use
Use EMA structure + Trend Magic to define market context
Take Disparity Scalping signals only when price is stretched and momentum weakens
Use Volume Spikes to confirm exhaustion or reaction zones
Use GOLD volatility signals to stay with expansion moves, not fade them
This indicator is not a single-entry system, but a decision-support tool that helps align trend, momentum, volatility, and volume for high-probability intraday trading.
Candlestick Patterns══════════════════════════════════════════════════════════════
CANDLESTICK PATTERNS PRO - QUICK START GUIDE
══════════════════════════════════════════════════════════════
INSTALL
> Open TradingView > Pine Editor > Paste code > Add to Chart
SIGNALS AT A GLANCE
▲ GREEN TRIANGLE (Below bar) = BUY Signal
▼ RED TRIANGLE (Above bar) = SELL Signal
++ STRONG BUY = High confidence reversal UP
+ Bullish = Possible move UP
-- STRONG SELL = High confidence reversal DOWN
- Bearish = Possible move DOWN
SIGNAL TABLE (Top Right Corner)
┌─────────┬──────────────┐
│ SIGNAL │ STATUS │
│ Current │ ++ STRONG BUY│
│ Pattern │ Bull Engulf │
│ Trend │ REVERSAL UP │
└─────────┴──────────────┘
PATTERN STRENGTH
STRONG SIGNALS (Large Labels):
• Bull/Bear Engulfing
• Morning/Evening Star
• Bull/Bear Kicker
• Piercing Line / Dark Cloud
REGULAR SIGNALS (Normal Labels):
• Hammer / Inv Hammer
• Shooting Star / Hanging Man
• Bull/Bear Harami
• Bullish Belt
NEUTRAL:
• Doji = Wait for confirmation
COLORS
GREEN Background = Bullish zone
RED Background = Bearish zone
WHITE Label = Neutral (Doji)
SETTINGS (Gear Icon)
Pattern Sensitivity:
• Doji Body Size = Smaller = more dojis
• Hammer Wick Ratio = Higher = stricter
• Engulfing Ratio = Size requirement
Display Options:
• Show/Hide Bullish patterns
• Show/Hide Bearish patterns
• Toggle bar coloring
• Toggle background
• Toggle arrows
ALERTS
> Right-click chart > Add Alert > Select:
• Strong Bullish Signal
• Strong Bearish Signal
• Bullish Signal
• Bearish Signal
• Doji - Indecision
══════════════════════════════════════════════════════════════
TRADING TIPS
══════════════════════════════════════════════════════════════
++ STRONG BUY at support level = HIGH probability
-- STRONG SELL at resistance = HIGH probability
Doji after trend = Reversal warning
Engulfing pattern = Immediate action
Always confirm with:
• Support / Resistance levels
• Volume
• Trend direction
Institutional Engine SAFEThis indicator is designed for traders who want to visualize institutional-level market execution patterns across multiple timeframes. It combines high-timeframe trend analysis, liquidity sweeps, fair value gaps (FVG), intermarket divergence (SMT), inverse FVGs, and change-in-state-of-delivery (CSID) to identify high-probability long and short setups.
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
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.
Hash Ember StackOverview
Hash Ember Stack is a multi-period momentum visualizer that displays a structured view of market pressure across ten different lookback windows. It is designed to help operators assess how momentum behaves across short-term, intermediate, and long-term horizons using a unified ribbon-stack format.
The tool does not generate trading entries by itself; instead, it organizes momentum data so traders can better understand how multiple timeframes align or diverge.
Conceptual Framework
The indicator calculates momentum using one of three oscillator families:
RSI – measures velocity and magnitude of price movement
Stochastic – compares close relative to recent range
CCI – measures deviation from the average price
Each oscillator is normalized into a comparable 0–100 scale so all periods can share the same heatmap color logic. This creates a consistent visual framework regardless of which momentum type is selected.
The ten lookback periods range from very short (fast response) to very long (structural regime). Displaying them together helps illustrate momentum compression, expansion, clustering, or divergence across timeframes.
Ribbon Structure & Visual System
Each period is represented as a horizontal band (“ribbon”) with:
A fixed vertical height for readability
A heat-mapped color derived from momentum value
Optional spacing between ribbons to improve separation
The color system transitions from green (momentum weakness), through neutral tones, into red (momentum strength). These colors do not predict price direction; they simply map oscillator values into a standardized visual gradient.
Labels may be shown on the right side to indicate each ribbon’s lookback period.
Extreme Condition Detection (Optional)
The indicator can highlight situations where several momentum periods reach extreme conditions at the same time.
Oversold status is defined by user-selected thresholds
Overbought status uses an upper threshold
A fluorescent cross is plotted when a minimum number of ribbons meet these definitions
These markers do not produce trading signals; they are intended only to highlight statistically uncommon clustering of extreme momentum readings.
Inputs & Controls
Momentum Type – Selects which oscillator family is used
Smoothing – Applies an SMA to reduce noise
Ten customizable lookback periods – Short to macro momentum
Ribbon Height & Gap – Adjusts layout density
Period Labels – Enables lookback annotations
Extreme Signal Settings – Thresholds and minimum ribbon count
Signal Position – Above or below the ribbon stack
Intended Use
Hash Ember Stack is suitable for:
Identifying how different time horizons align
Visualizing periods of momentum compression and expansion
Contextualizing reversals or trend continuation environments
Supporting discretionary or systematic analysis workflows
The indicator is not a strategy and does not perform backtesting or place trades. It provides structured momentum context that operators can integrate into their own decision-making frameworks.
EMA 5/9 Ribbon + VWAP + Trend Filters **Description:**
This indicator combines EMA ribbon analysis with VWAP and volume-based trend filters to help traders identify high-probability entries. It is designed for clarity, providing visual signals, trend bias, and key market metrics directly on the chart.
**Key Features:**
* EMA Ribbon (5 & 9) that changes color based on trend and VWAP cross.
* Buy/Sell signals with optional “strong” signals when trend and volume confirm.
* VWAP crossover arrows (yellow) highlight stronger trends.
* Sideways detection filter to reduce signals during choppy markets.
* Adjustable ribbon and sideways background colors via settings.
* Live trend table showing:
* Current trend bias (Bullish/Bearish/Sideways)
* Bullish vs Bearish volume percentage
* ATR for volatility insight
* Optional background highlight for sideways zones.
**User Inputs:**
* EMA lengths, ATR length, volume lookback
* Sideways detection toggle and sensitivity
* Table placement options (top-right, top-center, bottom-right, bottom-center)
* Customizable colors for bullish, bearish, VWAP, and sideways zones
**Benefits:**
* Quickly visualize trend direction and momentum.
* Avoid signals during sideways or low-volatility periods.
* Makes chart analysis faster and more intuitive.
* Fully customizable to match personal trading style.
**Recommended Use:**
Best used on intraday or swing charts to confirm trend and momentum. Combine with other analysis tools (support/resistance, candlestick patterns, or additional indicators) for higher confidence trades.
Greg's LevelsWell Team Bull, this was more difficult than I thought but here it is. Greg's Levels.
Based on the work of Nosral and the Daily High/Low script
Thanks to Greg for his video that finally made it click. Greg's video is here
www.youtube.com
I'm not the best coder, especially with pinescript so please let me know if I can clean it up or adjust things. Or just do it and share it to the community.
In my script the higher time frames don't trump lower, that is more complex coding, so I added the ability to change the lines or line thickness to take precedence.
I am also not sure how to chose the closest POI (point of interest) until it's mitigated than show the next so all POI's are seen. If you watch the video you'll see the hot box Greg refers to.
Since I was in it this far I added the ability to add a 4th time frame if you want to add the hourly, 30m, 15m, monthly, etc.
Anyway. Let's go Team Bull.
DOD
Blaez
SMA Reversal Sequential MTF - FinalSMA Reversal Sequential MTF - Final Edition
Here is the direct English translation of the description, maintaining the professional and factual tone without excessive ornamentation.
SMA Reversal Sequential MTF - Final Edition
1. Overview
This script is the final edition of "SMA Reversal Sequential MTF," featuring a proprietary logic that identifies market pivot points based on the structural changes of Simple Moving Averages (SMA). It integrates multi-timeframe (MTF) analysis covering from 1-minute to monthly scales, visualizing trend status, synchronization, and consolidations (squeezes) directly on the chart.
2. Core Logic
SMA Reversal Logic: Identifies points where the SMA shifts in a "V-shape" or "Inverted V-shape" based on the positional relationship of the three most recent MA points. The algorithm maintains strictly precise calculations consistent since the initial version.
Breakout Detection: Displays a "BREAK" label when the price closes beyond the most recent high or low established by a pivot point.
Multi-Timeframe (MTF): Projects signals from higher timeframes (e.g., 1D, 4H, 1H) onto the current chart.
3. Input Settings
The settings menu is configured with bilingual labels (Japanese and English).
■ Main Settings
Use Short Period Settings (5, 3, 7)
OFF (Default): SMA 20, Offset 6, Lookback 20
ON: SMA 5, Offset 3, Lookback 7
■ Timeframe Visibility
Show Timeframes (1M to 1m)
Individually toggle the visibility of each timeframe. The settings are organized in descending order from higher to lower timeframes.
Hide Lower Timeframes
When ON, automatically hides signals from timeframes lower than the one currently displayed on the chart.
■ Drawing Options
Show Only Current TF Labels
Hides MTF labels and displays only the pivot points corresponding to the current chart timeframe.
Show Trendlines & Channels
Automatically plots lines connecting recent highs/lows and their parallel channels for the current timeframe.
Show Sequential Labels
Displays labels (e.g., 1H) at SMA reversal points to indicate the source timeframe.
Show Break Lines
Displays horizontal lines at un-breached highs/lows along with breakout labels.
■ Additional Alert Settings
Alert 1: 3-TF Sync
Triggers when the current timeframe and the two immediate higher timeframes align in the same trend direction.
Alert 2: 4-TF Sync
Triggers when four timeframes synchronize in the same trend direction.
Alert 3: Squeeze (Green ●)
Detects "Triangle Squeezes" (lower highs and higher lows) and displays a "●" on the chart with a notification.
4. Dashboard
The dashboard in the top-right corner displays the real-time trend status of five major timeframes (1D, 4H, 1H, 15M, 5M).
Blue: Bullish (Price has broken the recent high)
Red: Bearish (Price has broken the recent low)
Gray: Neutral
5. Trading Application
Market Context: Identify directional bias when dashboard colors align.
Entry Alignment: Utilize "Sync Alerts" on lower timeframes as signals when they align with the higher timeframe trend.
Volatility Contraction: The appearance of a green "●" (Squeeze) indicates energy consolidation, suggesting a potential breakout.
SMA Reversal Sequential MTF - Final Edition
1. 概要 (Overview)
本スクリプトは、SMA(単純移動平均線)の形状変化から相場の転換点(ピボット)を特定する独自ロジックを用いた「SMA Reversal Sequential MTF」の最終盤です。1分足から月足までを網羅するマルチタイムフレーム(MTF)分析を統合しており、上位足のトレンド状態、同期、三角保合い(スクイーズ)をチャート上に可視化します。
2. ロジック解説 (Core Logic)
SMA Reversal Logic: 指定期間のSMAが「V字」または「逆V字」に転換したポイントを、直近のMA3点の位置関係から算出します。アルゴリズムは初版から変わらぬ厳密な計算を維持しています。
Breakout Detection: 転換点で作られた直近の高値・安値を終値でブレイクした際に「BREAK」ラベルを表示します。
Multi-Timeframe (MTF): 現在のチャート上に上位足(1D, 4H, 1H等)のシグナルを投影します。
3. インプット項目の詳細 (Input Settings)
設定画面は、日本語と英語の併記構成となっています。
■ 基本設定 / Main Settings
短期設定を使用 (5, 3, 7) / Use Short Period Settings
OFF (デフォルト):SMA 20, Offset 6, Lookback 20
ON:SMA 5, Offset 3, Lookback 7
■ 時間足表示設定 / Timeframe Visibility
1M表示 ~ 1m表示 / Show Timeframes
各時間足の表示を個別に切り替えます。設定画面では大きな足から順に並んでいます。
現在足より短い時間足の設定を非表示 / Hide Lower Timeframes
ONにすると、現在表示しているチャートより短い時間足のシグナルを自動で非表示にします。
■ 表示オプション / Drawing Options
現在足のラベルのみ表示 / Show Only Current TF Labels
現在の時間足の転換点のみを表示し、MTFラベルを非表示にします。
トレンドライン&チャネルを表示 / Show Trendlines & Channels
現在足の安値同士・高値同士を結んだラインと、平行チャネルを自動描画します。
転換点ラベル表示 / Show Sequential Labels
SMAの反転箇所に、該当する時間足のラベル(例:1H)を表示します。
ブレイクライン表示 / Show Break Lines
未更新の高値・安値ラインと、ブレイク時のラベルを表示します。
■ 追加アラート設定 / Additional Alert Settings
アラート1: 現在・上位2つ同調 / Alert 1: 3-TF Sync
現在足+上位2つの時間足のトレンドが同一方向になった際に通知します。
アラート2: 表示足を含む4足同調 / Alert 2: 4-TF Sync
4つの時間足のトレンドが同期した際に通知します。
アラート3: 三角保合い発生 (緑●) / Alert 3: Squeeze
高値切り下がり、安値切り上がりの「三角保合い」形成を検知し、チャート上に「●」を表示・通知します。
4. ダッシュボード (Dashboard)
チャート右上に主要5足(1D, 4H, 1H, 15M, 5M)のトレンド状況をリアルタイム表示します。
青色(Blue): 強気(直近高値をブレイク中)
赤色(Red): 弱気(直近安値をブレイク中)
灰色(Gray): ニュートラル
5. トレードへの活用
環境認識: ダッシュボードの色が揃っている方向への優位性を確認します。
エントリー判断: 上位足のトレンド方向に、下位足で同期アラートが発生したポイントをシグナルとして活用します。
ボラティリティの収束: 緑の「●(Squeeze)」が表示された際は、エネルギーが収束している状態を示唆します。
HTF Long/Short 1hr This is one of my latest algo it helps with your long and short bias for GC on the 1HR HTF
Sebastine All in One Indicator Sebastine All in One Indicator
Introduction
Markets speak in many dialects.
Sometimes they whisper through volume, sometimes they shout via momentum, at times they breathe through volatility, and occasionally they leave footprints in OBV, PVT, RSI, or TSI.
Most traders respond by stacking indicator after indicator—until the chart resembles a tangled fishing net.
This indicator was built to untangle that net.
Instead of plotting multiple indicators simultaneously, this tool lets you focus on one dimension of market behavior at a time, while preserving structure through a Darvas-style box framework.
The box logic used here is inspired by Darvas-style structural bounding, applied to non-price data such as volume, momentum, and volatility.
🔍 What This Indicator Does
• Combines Volume, OBV, PVT, RSI, Momentum, Volatility, TSI, and Supertrend
• Displays only one selected data stream at a time, reducing noise
• Wraps the selected indicator inside a dynamic Darvas-style box
• Highlights:
o Breakouts & breakdowns
o Compression (energy build-up)
o Structural shifts
o Momentum inflections
o Mean-reversion zones
Think of it as one lens, many filters—you rotate the lens, not clutter the chart.
🧠 How to Use It (Practical Insight)
• Volume / OBV / PVT → Institutional intent & accumulation/distribution
• Momentum / RSI / TSI → Strength, exhaustion, and early reversals
• Volatility → Expansion after contraction (the market’s deep breath)
• Supertrend (as data source) → Trend structure without price bias
The Darvas-style box adds context:
• Narrow boxes = stored energy
• Box expansion = energy release
• Source touching box edges = reaction zones
• Zero-line crossings = regime shifts (where applicable)
• 🎯 Who Is This For?
• Traders who want clarity over clutter
• Discretionary traders who adapt tools to market phase
• System builders seeking structure with flexibility
• Anyone who believes less noise = more signal
📝 Points to Note (Important for Proper Interpretation)
1. Color Coding & Structure
• The upper box line (green) represents the upper structural boundary
• The lower box line (red) represents the lower structural boundary
• The white step-line represents the selected source indicator (e.g., PVT, RSI, Momentum)
2. Pane Scaling & Visibility (Very Important)
• This indicator is designed for use in the bottom pane
• Different sources have very different numerical ranges:
o RSI is bounded between 0 and 100
o PVT, OBV, and Volume can have large absolute values
• Users should manually drag and scale the indicator vertically for optimal visibility
• This is intentional and preserves the raw integrity of each data source rather than force-normalizing it
3. Histogram for Comparative Insight
• A histogram of the selected source is included for quick visual comparison
• Helps identify expansion, contraction, acceleration, and divergence, especially during compression phases inside the box
📌 Recommended Usage (Clarity Over Clutter)
Although multiple sources are available, it is strongly recommended to use one chart with one selected source at a time for best clarity and analytical depth.
For first-time users, PVT (Price Volume Trend) is an ideal starting point.
It blends price movement and volume flow into a single continuous narrative and often reveals institutional participation earlier than price alone. PVT works especially well within the Darvas-style box framework.
Once comfortable, users may switch to RSI, Momentum, Volatility, OBV, or other sources—but always one at a time. This preserves the philosophy of focused observation rather than indicator overload.
🌱 Philosophy Behind the Tool
This indicator rewards patience and observation.Give it space.
It will quietly show when the market is gathering energy—and when it is ready to move.
Markets don’t change indicators. We change how we listen.
This indicator doesn’t predict. It reveals.
Think of it not as a dashboard, but as a rotating telescope—you change lenses, not skies.
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.
Intraday Session Ranges (Asian-London-NY) - JonathanJD86This script is a technical utility designed to automatically track and visualize the high and low price levels of the three major trading sessions (Asian, London, and New York).
How it works: The script uses the time() function with the America/New_York timezone anchor to ensure accuracy regardless of the user's local time. It tracks the maximum and minimum price values during specific user-defined intervals.
Key Methodology:
Vertical Tick Offset: Unlike standard session boxes, this tool allows users to set a vertical gap (in ticks) so that the labels do not overlap the candle wicks, providing a clearer view of the actual price action.
Session Intervals: Defaulted to high-activity windows: Asian (20:00-00:00), London (02:00-05:00), and New York (08:30-16:00).
Dynamic Visibility: The script includes a logical check to automatically hide levels on timeframes higher than 1H, preventing chart clutter during macro analysis.
ApexTrend Lite
ApexTrend Lite is a directional trend band indicator designed to show market structure, trend direction, and volatility in a simple visual form.
The indicator plots a single adaptive band that changes position based on trend conditions. In bullish markets, the band appears below price. In bearish markets, the band appears above price. During sideways or low-strength conditions, the band compresses near the trend average.
The band automatically expands when volatility and trend strength increase and contracts when conditions weaken. Color intensity reflects trend strength, helping distinguish strong trends from weak or choppy periods.
The band is anchored to candle extremes, ensuring it hugs price without gaps and accurately represents market structure. ApexTrend Lite does not repaint and works across all asset classes, including equities, indices, and commodities.
This is the Lite version focused on clean visual trend context






















