SMC Market Structure (HH/HL/LH/LL + BOS/CHoCH/MSS)SMC Market Structure (HH/HL/LH/LL + BOS/CHoCH/MSS) is a clean price-action / Smart Money Concepts market structure tool designed to automatically identify and label key structural events on the chart:
Swing structure points: HH, HL, LH, LL
Continuation confirmations: BOS (Break of Structure)
Early reversal warnings: CHoCH (Change of Character)
Stronger reversal signals: MSS (Market Structure Shift) using a displacement filter
The script is built to remain visually tidy: it draws simple horizontal structure lines at the broken swing level and prints small abbreviations (BOS / CHoCH / MSS) directly on the chart without cluttering candles or adding heavy panels.
What the Indicator Detects
1) Swing Points (HH / HL / LH / LL)
Swings are detected using confirmed pivots (left/right โSwing lengthโ bars).
HH (Higher High): a swing high above the previous swing high
LH (Lower High): a swing high below the previous swing high
HL (Higher Low): a swing low above the previous swing low
LL (Lower Low): a swing low below the previous swing low
These labels help define the marketโs active structure:
Bullish structure: HH + HL sequence
Bearish structure: LL + LH sequence
Range / consolidation: mixed swing progression
2) BOS (Break of Structure) โ Trend Continuation
A BOS prints when price breaks the most recent swing level in the direction of the current structure:
In a bullish market state โ break above the most recent swing high
In a bearish market state โ break below the most recent swing low
This is typically treated as confirmation that the existing trend is continuing.
3) CHoCH (Change of Character) โ Early Reversal Signal
A CHoCH prints on the first break against the current structure:
In a bullish market state โ break below the most recent swing low
In a bearish market state โ break above the most recent swing high
CHoCH is intended as an early warning that the market may be transitioning into a new directional bias.
4) MSS (Market Structure Shift) โ Stronger Reversal via Displacement
MSS is treated as a โstrong CHoCHโ and requires a decisive, displacement-style candle at the break.
To qualify as MSS, the script requires:
A break against structure with a CLOSE break, and
A displacement candle where:
Candle body > ATR ร Displacement Multiplier
This helps filter out shallow wicks or minor liquidity grabs and highlights shifts that show stronger participation and momentum.
How the Indicator Draws on the Chart
When a BOS / CHoCH / MSS occurs:
A horizontal line is drawn from the swing point to the break bar at the broken level.
A small abbreviation label (BOS / CHoCH / MSS) is placed either:
In the middle of the line segment, or
On the break bar (selectable)
Swing labels (HH/HL/LH/LL) are optional and can be disabled for a cleaner โevent-onlyโ layout.
Inputs & Settings
Swing Length (Pivot Left/Right)
Controls how sensitive the swing detection is.
Lower values (3โ5): more structure points, more signals
Higher values (8โ14): fewer, cleaner swings (better for higher timeframes)
Break Confirmation (Wick vs Close)
Wick: break triggers when the candleโs wick crosses the swing level
Close: break triggers only when the candle closes beyond the swing level
Many SMC traders prefer Wick for detecting liquidity runs and early breaks, while others prefer Close to reduce false signals.
MSS Displacement Filter
ATR Length: ATR calculation period
Displacement Multiplier: Minimum body size = ATR ร multiplier
Higher multiplier = fewer MSS signals, but stronger quality threshold.
Display Toggles
Show/Hide Swing Labels (HH/HL/LH/LL)
Show/Hide BOS, CHoCH, MSS
Optional EQH/EQL labeling (equal highs/lows)
Visual Controls
Bullish / bearish structure colors
Line width / style
Text offset (in ticks) to keep labels neat above/below level
Maximum structure objects to keep on screen (prevents object-limit issues)
Recommended Usage
Trend Following
Use HH/HL or LL/LH progression to define the trend.
Wait for BOS to confirm continuation.
Use BOS levels as:
Bias confirmation
Potential retest zones
Risk reference for stop placement
Reversal / Shift Detection
Identify prevailing structure (bullish or bearish).
Watch for CHoCH as the first sign of a possible reversal.
Treat MSS as a stronger โshiftโ event (displacement + close break), often suitable for:
Changing directional bias
Switching from pullback trading to reversal continuation setups
Multi-Timeframe Workflow (Common SMC Method)
Higher timeframe (HTF): use swings and BOS to define macro bias
Lower timeframe (LTF): use CHoCH/MSS to time entries and manage risk
Confirm entries with your preferred tools (order blocks, FVGs, liquidity pools, session timing, etc.)
Notes & Limitations
This script uses confirmed pivots, so swing labels appear only after the swing is fully formed (after Swing length bars). This avoids repainting swing points.
BOS/CHoCH/MSS events are derived from the most recent confirmed swing levels.
MSS requires a close break and displacement threshold even if โWickโ breaks are enabled for other events (by design, to keep MSS strict).
Best Settings by Timeframe (General Guide)
Scalping (1โ5m): Swing length 3โ5, Wick breaks, MSS multiplier 1.2โ1.8
Intraday (15mโ1h): Swing length 5โ8, Wick or Close, MSS multiplier 1.5โ2.0
Swing trading (4hโ1D): Swing length 8โ14, Close breaks, MSS multiplier 1.8โ2.5
Cari dalam skrip untuk "scalping"
Market Breadth & Sector Rotation Analyzer -[KK]A real-time market environment analyzer for NSE India built for swing traders and breakout traders.
Designed to answer one question before every trade: Should I take this trade today?
What This Indicator Does
Analyzes 33 NSE indices across market cap, sectors, themes, and volatility to deliver a complete snapshot of current market health, sector rotation, and risk conditions. Shows only live conditions with no historical clutter.
Market Breadth Score 0โ100
Composite score based on 30 percent market cap breadth, 40 percent sector breadth using 19 sectors above 50 MA, 25 percent long-term momentum using 200 MA, and 5 percent India VIX for volatility and fear assessment.
Actionable Trading Guidance
Automatically classifies market regime as Bull, Trending, Neutral, or Bear. Provides clear trade guidance, position sizing recommendations, and sector focus based on current market conditions.
Sector Rotation Analysis
Groups sectors into five mega sectors.
Financial: Banks, Private Banks, PSU Banks, Finance, Financial Services
Technology: IT, Services, Media
Cyclical: Auto, Metal, Realty, Infra, Energy, Oil and Gas
Defensive: FMCG, Pharma, Healthcare
Consumer: Consumer Durables, Consumption
Market Phase Detection
Identifies Expansion, Recovery, Defensive, Contraction, or Rotation phases based on sector leadership. Helps align trades with the broader economic cycle.
Trading Rules by Market Breadth
75 to 100: Bull market, trade all quality setups with full position size
60 to 75: Trending market, selective trades with normal size
40 to 60: Neutral market, very selective trades with 50 percent size
Below 40: Bear market, raise cash and use minimal exposure
Sector Strength Interpretation
Above 80 percent: Leading sector, trade aggressively
60 to 80 percent: Strong sector, good opportunities
40 to 60 percent: Weak sector, be selective
Below 40 percent: Avoid or use minimal exposure
Defensive Sector Logic
High defensive strength signals fear, not strength. Defensive above 70 percent with weak technology indicates market topping. Defensive below 40 percent indicates a risk-on environment.
Indices Covered
Market Cap: NIFTY, CNX100, CNX500, NIFTY Total Market, NIFTY Midcap 150, CNX Midcap, NIFTY Mid Small 400, NIFTY Small-cap 250, NIFTY 500 Multicap, NIFTY IPO
Banking and Finance: BANKNIFTY, NIFTY Private Bank, CNX PSU Bank, CNX Finance, NIFTY Fin Service 25 50
Technology: CNX IT, CNX Service, CNX Media
Cyclicals: CNX Auto, CNX Metal, CNX Realty, CNX Infra
Energy: CNX Energy, NIFTY Oil and Gas, CPSE
Defensives: CNX FMCG, CNX Pharma, NIFTY Healthcare
Consumer: NIFTY Consumer Durables, CNX Consumption
Thematic: NIFTY MNC, NI15
Volatility: India VIX
Market Alerts
Bull Market alert when breadth crosses above 75
Bear Market alert when breadth drops below 40
Broad Rally alert when more than 75 percent of sectors are bullish
Settings
Table position with 9 placement options, table size from Tiny to Large, customizable short and long moving averages. Default settings are Top Right position, Normal size, 50 MA and 200 MA.
Best Useful Script for
Ideal for swing traders, breakout traders, position traders, and NSE equity traders who need market context before taking trades. Not suitable for scalping, day trading, or non-NSE markets.
Disclaimer
This indicator is for educational purposes only and does not constitute any kind of financial advice to buy/sell any financial securities.
Trading involves risk and past performance does not guarantee future results.
SB - HULL MANifty Options Scalping @ 1 Minute TF
Call Entry - If both MA turns bullish.
Put Entry - If Both MAs turns bearish.
Best results - If both MAs complement each other in the same direction.
Exit Plan - My opinion, If slow MA turns bearish. However one can also plan to exit if any one of the MA turns bearish.
Display - Make your own setting as per your own comfort
Keep this indicator in a separate pane below the chart. It will give clarity view of the chart.
Works well on nifty derivatives @ 1 minute TF , can do well on other instruments too.
SB - VWDEMA - V2Derivatives - Scalping @ 1 Minute TF
Rules : -
CE entry - If ATR a& Dema both turns Green.
PE entry - If ATR and Dema both turns Red.
If both are in opposite colour code, wait till both align in direction and colour coding.
Vwap - If price is above Vwap, Calls will be rewarded well ( Try to find out entry in call options ).
If Price is below VWAP, Puts will be rewarded well also, try to figure out entry in Put options.
Best results - Nifty derivative @ 1 minute TF , However can work well in all other instruments.
Display - make your own settings as per your convenience. Mine is attached below for your reference :
DJLogicsAn indicator designed to trade fast and efficiently on 3-minute charts โ without lagging signals or unnecessary noise.
๐ฏ Whatโs inside:
โ Clear identification of short-term trend
โ Early entry and exit points
โ Minimal subjectivity, maximum structure
โ Perfect for active trading and scalping
๐ฅ Iโve recorded a detailed training video where I walk you step by step through:
โ how the indicator works
โ how to use it correctly
โ the mistakes 90% of traders make on lower timeframes
This is a tool for those who actually trade โ not just watch the market.
Supply and Demand Zones [Clean v6]Overview
The Supply and Demand Zones indicator is an automated market structure tool designed to identify high-probability Points of Interest (POI) on any asset or timeframe. Built using Pine Script v6, this script focuses on clarity and performance, providing traders with a clutter-free view of where institutional buying and selling pressure has previously occurred.
Unlike crowded indicators that overwhelm the chart, this script dynamically manages zonesโdrawing new ones as structure forms and automatically removing invalid zones as price breaks through them.
Key Features
Automated Zone Detection: Automatically identifies Supply (Resistance) and Demand (Support) zones based on Swing Highs and Swing Lows.
Dynamic Zone Management: Active zones extend to the right until price interacts with them.
Break of Structure (BOS) Logic: When price violates a zone (closes beyond the invalidation level), the zone is automatically removed and marked as "Broken" to keep the chart clean.
Zig Zag Structure: Includes an optional Zig Zag overlay to visualize market flow, Higher Highs, and Lower Lows.
ATR-Based Sizing: Zone width is calculated using the Average True Range (ATR), ensuring zones adapt to the asset's current volatility.
Pine Script v6: Optimized using the latest array and method functions for speed and stability.
How It Works
Zone Creation: The script looks for Pivot Highs and Lows based on your defined Swing Length.
Supply Zones: Created at Swing Highs.
Demand Zones: Created at Swing Lows.
Zone Width: The height of the box is determined by the ATR multiplied by your Zone Width setting. This ensures the zone covers the "wick" area or the volatility range of the pivot.
Invalidation: If the price closes past the outer edge of a zone (the top of a Supply zone or bottom of a Demand zone), the script detects a break, removes the filled box, and leaves a subtle trace of the broken structure.
How to Use
Trend Following: Use the Zig Zag lines to identify the trend direction. Look for Long entries in Demand zones during an uptrend, and Short entries in Supply zones during a downtrend.
Reversals: Watch for price to react at older, unfilled zones (POIs) that align with major support/resistance levels.
Stop Loss Placement: The outer edge of the zone acts as a natural invalidation point. If price closes beyond it, the setup is typically invalidated.
Settings Guide
Swing Length: Determines the sensitivity of the pivot detection. Lower numbers find more local zones (scalping); higher numbers find major structural zones (swing trading).
Max Zones to Keep: Limits the number of historic zones displayed to prevent chart clutter.
Zone Width (ATR): Adjusts how thick the zones are. Increase this value if you want to capture wider wicks.
Visual Settings: Fully customizable colors for Supply, Demand, Borders, and Zig Zag lines.
Disclaimer
This tool is for informational and educational purposes only. It visualizes past price action and does not guarantee future performance. Always manage your risk appropriately.
DJLogics๐ฅ NEW INDICATOR FOR THE 3-MINUTE TIMEFRAME ๐ฅ
An indicator designed to trade fast and efficiently on 3-minute charts โ without lagging signals or unnecessary noise.
๐ฏ Whatโs inside:
โ Clear identification of short-term trend
โ Early entry and exit points
โ Minimal subjectivity, maximum structure
โ Perfect for active trading and scalping
๐ฅ Iโve recorded a detailed training video where I walk you step by step through:
โ how the indicator works
โ how to use it correctly
โ the mistakes 90% of traders make on lower timeframes
This is a tool for those who actually trade โ not just watch the market.
๐ The video is already available.
๐ The indicator is live and in action.
Donโt miss it. Small timeframe โ big opportunities. ๐ฅ
deKoder | VWAP | Volume Weighted Average PriceAn advanced, open-source Volume Weighted Average Price indicator with multi-period anchoring, standard deviation bands, previous period value area extension, comprehensive alerts, and enhanced visual context.
This script is a significant upgrade over standard VWAP implementations (including TradingView's built-in VWAP (the basis for this script) and typical community versions). It is designed for experienced intraday, swing, and positional traders who require precise, context-aware mean reference levels with minimal chart clutter.
Key Features & Trading Value
1 | Previous Period Value Area Extension
Automatically extends the prior anchor period's VWAP and ยฑ1ฯ bands into the current period as reference lines.
Optional translucent fill between the previous ยฑ1ฯ bands creates a clear "previous value area" zone.
Why it matters : The edges of the prior period's value area often act as dynamic support/resistance or mean reversion zones. This visual persistence eliminates manual drawing and provides immediate context for reactions at prior fair value zones. These are especially powerful on intraday charts when using Daily/Weekly/Quarterly anchors.
2 | Comprehensive Approach Alerts
Configurable proximity-based alerts trigger when price approaches (from either side) any plotted level: current VWAP, all six deviation bands (ยฑ1ฯ, ยฑ2ฯ, ยฑ3ฯ), and previous period VWAP/ยฑ1ฯ value area.
Adjustable trigger percentage and minimum bar cooldown prevent alert spam during consolidation.
Why it matters : Enables hands-off monitoring of potential mean reversion setups, deviation extremes, or breakout/rejection candidates without constant screen watching.
3 | Additional Professional-Grade Enhancements
Flexible Anchor Periods : Daily, Weekly, Monthly, Quarterly (default), Yearly, Decade, Century, plus event-based resets (Earnings, Dividends, Splits).
Intelligent Visibility Controls :
Hide entire indicator on selected higher timeframes (1H and above).
Dynamic distance filter removes off-screen levels (based on % from price).
Limit plotting to last X bars for performance and clarity.
Real-Time Info Table :
Displays current anchor, timeframe, and rounded live values for VWAP and all bands, enabling fast access to precise level values for order placement.
Fully customisable position, text size, font (monospace option), and price level decimal rounding.
Right-Side Labels with Tooltips :
Clean, minimal labels at current levels with hover tooltips allow you to quickly identify the level without cluttering the chart.
Customizable Styling :
Independently adjustable colours for VWAP and each deviation band pair.
Offset support for forward/backward shifting.
Recommended Use Cases
Intraday Scalping/Mean Reversion : 5mโ15m charts with Daily anchor + previous value area as primary reference.
Swing Entries : Higher timeframes (1Hโ4H) using Weekly or Quarterly VWAP for bias, with previous quarter's value area as major confluence.
Deviation Trading : Watch for price interaction with ยฑ2ฯ/ยฑ3ฯ bands combined with approach alerts for potential exhaustion.
Institutional Benchmarking : Quarterly/Yearly anchors approximate common institutional VWAP reset periods.
Additional Notes
Source fixed to hlc3 (industry standard for VWAP).
Enjoy cleaner, more contextual VWAP analysis.
| | deKoder | |
Released December 2025 | Open Source
// IF THIS FREE(!) VWAP SCRIPT โ OR ANY OF ITS FRIENDS โ HAS HELPED YOU BANK SOME COINS...
// A COFFEE, LUNCH, OR A FEW SATS GOES A LONG WAY TOWARDS KEEPING THE LIGHTS ON
// COFFEE KEEPS THE PINE FLOWING ๐โค๏ธ | FR33FA11
// SOL: 2N8HWPAHSC7Z8SLyneMrZp234UAP9HCtQX7wNXw7LKQC
// ETH: 0xE770D254DC579d1db7bA2fe74376b7009527356B
// BTC: bc1qd8j3awht5yrjtnvt5dagxldzhaesc83sftype3
// POLYGON: 0xE770D254DC579d1db7bA2fe74376b7009527356B
// HYPE: 0xE770D254DC579d1db7bA2fe74376b7009527356B
Nadaraya-Watson Envelope + EMA Filter (Optimized for BTC)Best Way to Use This Nadaraya-Watson EnvelopeThis indicator is not a standalone "holy grail" system โ it's a powerful predictive tool that estimates where price is "likely" to go based on historical patterns.Core Idea:The orange line = predicted "fair value" or mean price path
The blue cloud = expected range (dynamic support/resistance)
Price tends to mean-revert to the orange line
Best Practices:Trade bounces in ranging markets:BUY at lower band (green) when price is below orange line
SELL at upper band (red) when price is above orange line
Target: the orange line or opposite band
Trade breakouts in trending markets:If price breaks and closes strongly outside the cloud โ potential trend start
Wait for pullback to orange line for entry in trend direction
Best timeframes:5mโ15m: Scalping bounces
1Hโ4H: Swing trading mean reversion
Add confluence for higher win rate:Only take BUY if price is above EMA 200 (uptrend bias)
Combine with volume spike or RSI oversold/overbought
Use with support/resistance levels
Risk management:Stop loss: just outside the envelope
Take profit: at orange line or next band
enjoy
As Good As It Gets Pivot ArrowsAs Good As It Gets Pivot Arrows
Description
- As Good As It Gets Pivot Arrows is a clean, high-precision pivot detection indicator that plots bright green upward triangles for confirmed pivot lows (buy signals) and red downward triangles for confirmed pivot highs (sell signals), and comes with customizable pivot length. Additionally, it optionally displays white dots for double-top/double-bottom pivots within a user-defined percentage tolerance.
Key Features
- Exact replication of TOS pivot high/low triangles (12-arrow style)
- Customizable pivot length (default 7)
- Option to ignore the last unconfirmed bar
- Toggle triangles and/or pivot dots independently
- Double-top/bottom detection with adjustable % tolerance (0.1% default)
- Clean visual signals with no repainting on confirmed pivots
What Makes It Unique
- This script delivers the pivot arrow behavior (including brighter lime-green buy triangles) that many traders love, with added flexibility: individual toggles for triangles/dots, double-top/bottom detection, and full customization. Unlike generic pivot indicators, it has precise confirmation logic while remaining fast and non-repainting on closed bars.
How to Use and Trade With It
- Adjust "Pivot Length" to suit your timeframe (7โ14 common)
- Enable/disable triangles or dots as preferred
- Fine-tune "% Tolerance" for double-top/bottom sensitivity
Trading Signals
- Green upward triangle below bar: Confirmed pivot low โ potential LONG entry or support
- Red downward triangle above bar: Confirmed pivot high โ potential SHORT entry or - resistance
- White dots: Double-top (above) or double-bottom (below) within tolerance โ higher-probability reversal zones
Best Practice
- Use triangles for primary swing entries/exits
- Combine with volume, trend filters, or support/resistance for confirmation
- Works on any timeframe; shorter lengths for intraday scalping, longer for positional trading
Goldilocks Pivot FractalsGOLDILOCKS PIVOT FRACTALS - DESCRIPTION
Overview
Goldilocks Pivot Fractals identifies swing highs and lows using fractal pattern recognition with professional visual presentation. This indicator marks potential reversal points where price creates distinct peaks and valleys - perfect pivot points for support, resistance, and market structure analysis.
The "Goldilocks" name reflects the perfectly balanced visual presentation: not too cluttered, not too plain, just right for professional traders. Unlike standard fractal indicators, this edition features fully customizable Buy/Sell labels with tick-based positioning, independent toggle controls, and a high-contrast color scheme optimized for both dark and light chart themes.
What Makes It Unique:
- Professional label system with full customization (colors, sizes, tick-based offsets)
- Toggle labels and arrow shapes independently
- High-contrast default colors (teal/maroon) optimized for maximum visibility
- Clean, trader-friendly interface with intuitive settings
- Works flawlessly on all timeframes and instruments
How to Use
PERIOD ADJUSTMENT & ADJUSTING SENSITIVITY
The Period(s) setting controls how many signals you see:
โข Period = 2 (default): Shows more signals, catches smaller price swings - best for day trading and scalping
โข Period = 3-4: Shows medium amount of signals, filters out tiny moves - good for swing trading (holding days to weeks)
โข Period = 5 or higher: Shows fewer signals, only the biggest turning points - best for long-term position trading
- Simple rule: Lower number = more signals. Higher number = fewer, but stronger signals.
SIGNALS
๐ข "BUY Label" (Down Fractal)
- Marks swing lows and potential support zones
- Look for price bouncing up after the fractal forms
- Use for identifying pullback entry points in uptrends
- Place stops below recent BUY fractals
๐ด "SELL Label" (Up Fractal)
- Marks swing highs and potential resistance zones
- Look for price rejecting down after the fractal forms
- Use for identifying profit targets or short entries
- Place stops above recent SELL fractals
REPAINTING BEHAVIOR
โ ๏ธ This indicator repaints by design. Fractals require N bars on both sides to confirm, so they appear N bars after the actual pivot point. This is normal and ensures accurate pivot identification. Wait for complete confirmation before trading.
TRADING APPLICATIONS
1. Support/Resistance: Mark key price levels for entries and exits
2. Market Structure: higher BUY fractals = uptrend, lower SELL fractals = downtrend
3. Stop Placement: Use recent fractals as logical stop-loss levels
4. Breakout Trading: Monitor price breaking above/below fractal levels
5. Trend Following: Enter on pullbacks to BUY fractals in uptrends
6. Swing Trading: Identify major swing points for position entries
CUSTOMIZATION OPTIONS
โข Show BUY/SELL Labels**: Toggle professional text labels on/off
โข Show Shapes: Toggle arrow shapes independently
โข Offset (ticks): Adjust label distance from price bars for perfect positioning
โข Colors: Customize backgrounds (default: teal/maroon) and text (default: white/yellow)
โข Label Size: Choose from tiny, small, normal, large, or huge
The high-contrast default colors provide excellent visibility without adjustment, but full customization is available to match any chart theme.
Key Settings
Periods (n) (default: 2): Number of bars on each side of pivot. Lower = more signals, Higher = fewer, stronger signals
Show BUY/SELL Labels (default: ON): Display professional text labels
Show Shapes (default: ON): Display arrow shapes
BUY offset (ticks) (default: 8): Distance BUY labels appear below lows
SELL offset (ticks) (default: 8): Distance SELL labels appear above highs
Colors: Full customization - defaults optimized for visibility
Label size (default: normal): Visual prominence control
Key Features
โ
Professional pivot fractal detection
โ
Fully customizable Buy/Sell labels
โ
Independent toggle for labels and shapes
โ
Tick-based offset positioning
โ
High-contrast color scheme
โ
Works on all timeframes and instruments
โ
Clean, intuitive interface
โ
Adjustable sensitivity
โ
Perfect for support/resistance identification
โ
Ideal for market structure analysis
MoBo Bands - Momentum Breakout IndicatorDESCRIPTION
MoBo Bands (Momentum Breakout Bands) is a volatility-based breakout detection indicator that helps traders identify potential momentum shifts in the market. The indicator uses dynamic bands calculated from standard deviation to signal when price breaks above or below established ranges, indicating potential bullish or bearish momentum changes.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
KEY FEATURES
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
- Dynamic upper and lower bands based on standard deviation
- Color-coded bands that change based on breakout direction (green for bullish, red for bearish)
- Visual breakout arrows marking entry points above/below bands
- Optional colored fill zones between bands showing current momentum state
- Customizable displacement for band projection
- Built-in alert system for breakout and breakdown signals
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
HOW IT WORKS
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
The indicator calculates a middle line using a Simple Moving Average (SMA) with upper and lower bands positioned using standard deviation multipliers. When price closes above the upper band, a bullish breakout (green) is signaled. When price closes below the lower band, a bearish breakdown (red) is signaled. The bands and fill zones remain colored until the opposite signal occurs, providing clear visual confirmation of the current momentum state.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
CUSTOMIZABLE INPUTS
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
CALCULATION PARAMETERS:
- Price Source - Select which price data to use (default: close)
- Length - Period for SMA and standard deviation calculation (default: 10)
- Num Dev Up - Standard deviation multiplier for upper band (default: 0.8)
- Num Dev Down - Standard deviation multiplier for lower band (default: -0.8)
- Displace - Shift bands forward for projection analysis (default: 0)
DISPLAY OPTIONS:
- Colored Mobo - Enable/disable color-coded bands
- Colored Fill - Enable/disable fill zones between bands
- Break Arrows - Show/hide breakout and breakdown arrows
ALERT OPTIONS:
- Show Alerts - Enable/disable alert conditions
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
USAGE GUIDE
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Watch for price to close outside the bands as potential breakout signals:
BULLISH BREAKOUT: Green arrow appears below the lower band when price closes above the upper band, indicating upward momentum shift.
BEARISH BREAKDOWN: Red arrow appears above the upper band when price closes below the lower band, indicating downward momentum shift.
The bands also serve as dynamic support and resistance levels. When bands are green, momentum is bullish. When bands are red, momentum is bearish.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
BEST PRACTICES
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
- This indicator works well on liquid futures contracts (MNQ, MES, MYM, MGC, MCL) and major
currency pairs across multiple timeframes
- Lower deviation values (0.5-1.0) produce more frequent signals suitable for scalping
- Higher deviation values (1.5-2.5) filter for stronger breakouts ideal for swing trading
- Combine with volume indicators for additional confirmation
- Use with momentum oscillators to validate breakout strength
- Best results in trending market conditions
- Consider the overall market context and trend direction
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
ALERT CONFIGURATION
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Configure custom alerts for automated notifications:
- "MoBo BreakOUT" - Triggers on bullish breakout signals
- "MoBo BreakDOWN" - Triggers on bearish breakdown signals
Set alerts to "Once Per Bar Close" for confirmed signals and avoid false triggers during bar development.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
IDEAL FOR
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
- Day traders and scalpers on futures markets
- Swing traders looking for momentum shifts
- Breakout trading strategies
- Trend following systems
- Works on stocks, forex, crypto, and commodities
- Effective across multiple timeframes (1min to daily)
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Perfect for traders seeking clear visual breakout signals with minimal lag. The color-coded system and arrow markers make it easy to identify momentum changes at a glance.
ยฉ 2024 NPR21 | Mozilla Public License 2.0
Open-source script
NPR21
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by
VAM Pro (Multi-Model) [Final]Volatility Adjusted Momentum (VAM) Pro+ is a professional quantitative tool designed to measure trend strength by normalizing momentum against market volatility. Standard momentum indicators often fail during high-volatility periods because they treat every price change the same regardless of market noise. This indicator solves that problem by scaling price changes based on their statistical significance using Z-Score logic. This Pro+ version is specifically optimized for Scalping and Intraday Trading by introducing advanced volatility estimators and mathematical horizon adjustments that superior to classic standard deviation models.
The indicator allows you to choose the most suitable volatility model for your specific asset class. The Parkinson Volatility model is highly recommended for Crypto markets because it uses the High-Low range instead of just close prices, effectively capturing intraday wicks and liquidation spikes that standard deviation often misses. For Equities and Forex, the Garman-Klass model is the most efficient choice as it utilizes the full Open-High-Low-Close data set to account for opening gaps and professional trading ranges.
The mathematical core of the script features a strict Horizon Adjustment based on the Square Root of Time rule. This aligns the one-bar volatility risk with your chosen momentum lookback period to ensure a mathematically consistent calculation. By default, the script uses Logarithmic Returns to maintain scale invariance, which is critical for assets with high percentage swings like Cryptocurrencies. To trade with VAM Pro, look for the histogram color and its relation to the Zero line. A Green histogram indicates positive volatility-adjusted momentum where bulls are dominant, while a Red histogram shows bearish dominance. Values reaching the +2.0 or -2.0 Sigma levels represent statistically extreme moves that often act as exhaustion points or precede strong mean-reversion opportunities. When the histogram crosses the yellow signal line, it provides an early warning that the current momentum is fading.
Investment involves risk. The Volatility Adjusted Momentum (VAM) Pro+ is an analytical tool and does not constitute financial advice, investment recommendations, or an offer to buy or sell any security. Past performance is not indicative of future results. Market conditions can change rapidly, and technical indicators may produce false signals. Always perform your own due diligence, use proper risk management, and consult with a certified financial advisor before making any trading decisions. The author assumes no responsibility for any financial losses incurred through the use of this script.
PA SystemPA System - Price Action Trading System
ไปทๆ ผ่กไธบไบคๆ็ณป็ป
๐ ๆฆ่ฟฐ / Overview
PA System is a comprehensive price action trading indicator that combines Smart Money Concepts (SMC), market structure analysis, and multi-timeframe confirmation to identify high-probability trade setups. Designed for both manual traders and algorithmic trading systems.
PA System ๆฏไธไธช็ปผๅๆงไปทๆ ผ่กไธบไบคๆๆๆ ๏ผ็ปๅไบSmart Moneyๆฆๅฟต(SMC)ใๅธๅบ็ปๆๅๆๅๅคๆถ้ดๆกๆถ็กฎ่ฎค๏ผ็จไบ่ฏๅซ้ซๆฆ็ไบคๆๆบไผใ้็จไบๆๅจไบคๆ่
ๅ็ฎๆณไบคๆ็ณป็ปใ
โจ ๆ ธๅฟ็นๆง / Key Features
๐ฏ Four-Phase Signal System / ๅ้ถๆฎตไฟกๅท็ณป็ป
H1 (First Pullback) - Initial bullish retracement in uptrend
H2 (Confirmed Entry) - Breakout confirmation for long entries
L1 (First Bounce) - Initial bearish bounce in downtrend
L2 (Confirmed Entry) - Breakdown confirmation for short entries
ไธญๆ่ฏดๆ๏ผ
H1๏ผ้ฆๆฌกๅ่ฐ๏ผ - ไธๅ่ถๅฟไธญ็ๅๆฌกๅๆคไฟกๅท
H2๏ผ็กฎ่ฎคๅ
ฅๅบ๏ผ - ็ช็ ด็กฎ่ฎค็ๅๅคๅ
ฅๅบ็น
L1๏ผ้ฆๆฌกๅๅผน๏ผ - ไธ้่ถๅฟไธญ็ๅๆฌกๅๅผนไฟกๅท
L2๏ผ็กฎ่ฎคๅ
ฅๅบ๏ผ - ่ท็ ด็กฎ่ฎค็ๅ็ฉบๅ
ฅๅบ็น
๐ Market Structure Detection / ๅธๅบ็ปๆ่ฏๅซ
HH (Higher High) - Uptrend confirmation / ไธๅ่ถๅฟ็กฎ่ฎค
HL (Higher Low) - Bullish pullback / ๅคๅคดๅ่ฐ
LH (Lower High) - Bearish bounce / ็ฉบๅคดๅๅผน
LL (Lower Low) - Downtrend confirmation / ไธ้่ถๅฟ็กฎ่ฎค
๐ Smart Money Concepts (SMC) / ๆบ่ฝ่ต้ๆฆๅฟต
BoS (Break of Structure) - Trend continuation signal / ่ถๅฟๅปถ็ปญไฟกๅท
CHoCH (Change of Character) - Potential trend reversal / ๆฝๅจ่ถๅฟๅ่ฝฌ
๐ Dynamic Trendlines / ๅจๆ่ถๅฟ็บฟ
Auto-drawn support and resistance trendlines / ่ชๅจ็ปๅถๆฏๆ้ปๅ่ถๅฟ็บฟ
Real-time extension to current bar / ๅฎๆถๅปถไผธ่ณๅฝๅK็บฟ
Slope-filtered for accuracy / ๆ็่ฟๆปค็กฎไฟๅ็กฎๆง
๐๏ธ Multi-Timeframe Analysis / ๅคๆถ้ดๆกๆถๅๆ
Higher timeframe trend filter (default 4H) / ๅคงๅจๆ่ถๅฟ่ฟๆปค๏ผ้ป่ฎค4ๅฐๆถ๏ผ
Prevents counter-trend trades / ้ฒๆญข้ๅฟไบคๆ
Configurable timeframe / ๅฏ้
็ฝฎๆถ้ดๅจๆ
๐ Volume Confirmation / ๆไบค้็กฎ่ฎค
Filters signals based on volume strength / ๅบไบๆไบค้ๅผบๅบฆ่ฟๆปคไฟกๅท
20-period volume MA comparison / ไธ20ๆๆไบค้ๅ็บฟๅฏนๆฏ
High-volume bars highlighted / ้ซๆไบค้K็บฟ้ซไบฎๆพ็คบ
๐ฏ Risk Management Tools / ้ฃ้ฉ็ฎก็ๅทฅๅ
ท
Automatic SL/TP calculation and display / ่ชๅจ่ฎก็ฎๅนถๆพ็คบๆญขๆๆญข็
Visual stop loss and take profit lines / ๅฏ่งๅๆญขๆๆญข็็บฟๆก
Risk percentage and R:R ratio display / ๆพ็คบ้ฃ้ฉ็พๅๆฏๅ็ไบๆฏ
Dynamic stop loss sizing (0.3% - 1.5%) / ๅจๆๆญขๆ่ๅด๏ผ0.3% - 1.5%๏ผ
๐ฑ Real-Time Alerts / ๅฎๆถ่ญฆๆฅ
Instant notifications on H2/L2 signals / H2/L2ไฟกๅทๅณๆถ้็ฅ
Webhook support for automation / ๆฏๆWebhook่ชๅจๅ
Mobile, email, and popup alerts / ๆๆบใ้ฎไปถๅๅผน็ช่ญฆๆฅ
๐ Professional Dashboard / ไธไธไปช่กจ็
Real-time market state (CHANNEL/RANGE/BREAKOUT) / ๅฎๆถๅธๅบ็ถๆ
Local and MTF trend indicators / ๆฌๅฐๅๅคงๅจๆ่ถๅฟๆๆ
Order flow status (HIGH VOL / LOW VOL) / ่ฎขๅๆต็ถๆ
Last signal tracker / ๆๆฐไฟกๅท่ฟฝ่ธช
๐ง ๅๆฐ่ฎพ็ฝฎ / Parameter Settings
Structure Settings / ็ปๆ่ฎพ็ฝฎ
Parameter Default Range Description
Swing Length / ๆๅจ้ฟๅบฆ 5 2-20 Pivot detection sensitivity / ๆข่ฝด็นๆฃๆต็ตๆๅบฆ
Trend Confirm Bars / ่ถๅฟ็กฎ่ฎคๆ นๆฐ 3 2-10 Consecutive bars for breakout / ็ช็ ดๆ้่ฟ็ปญK็บฟๆฐ
Channel ATR Mult / ้้ATRๅๆฐ 2.0 1.0-5.0 Range detection threshold / ๅบ้ดๆฃๆต้ๅผ
Signal Settings / ไฟกๅท่ฎพ็ฝฎ
Parameter Default Description
Enable H2 Longs / ๅฏ็จH2ๅๅค โ
Toggle long signals / ๅผๅ
ณๅๅคไฟกๅท
Enable L2 Shorts / ๅฏ็จL2ๅ็ฉบ โ
Toggle short signals / ๅผๅ
ณๅ็ฉบไฟกๅท
Micro Range Length / ๅพฎๅนณๅฐ้ฟๅบฆ 3 Breakout detection bars / ็ช็ ดๆฃๆตK็บฟๆฐ
Close Strength / ๆถ็ๅผบๅบฆ 0.6 Minimum close position in bar / K็บฟๅ
ๆๅฐๆถ็ไฝ็ฝฎ
Filter Settings / ่ฟๆปค่ฎพ็ฝฎ
Parameter Default Description
Use MTF Filter / ๅคงๅจๆ่ฟๆปค โ
Enable higher timeframe filter / ๅฏ็จๅคงๅจๆ่ฟๆปค
MTF Timeframe / ๅคงๅจๆๆถ้ดๆกๆถ 240 (4H) Higher timeframe period / ๅคงๅจๆๆถ้ด
Use Volume Filter / ๆไบค้่ฟๆปค โ
Require high volume confirmation / ้่ฆ้ซๆไบค้็กฎ่ฎค
Volume MA Length / ๆไบค้ๅ็บฟๅจๆ 20 Volume comparison period / ๆไบค้ๅฏนๆฏๅจๆ
Fast EMA / ๅฟซ้EMA 20 Short-term trend / ็ญๆ่ถๅฟ
Slow EMA / ๆ
ข้EMA 50 Long-term trend / ้ฟๆ่ถๅฟ
Risk Management / ้ฃ้ฉ็ฎก็
Parameter Default Description
Risk % / ้ฃ้ฉ็พๅๆฏ 1.0% Risk per trade / ๆฏ็ฌไบคๆ้ฃ้ฉ
R:R Ratio / ็ไบๆฏ 2.0 Reward to risk ratio / ็ไบๆฏ็
Max SL ATR / ๆๅคงๆญขๆATR 3.0 Maximum stop loss in ATR / ๆๅคงๆญขๆATRๅๆฐ
Min SL % / ๆๅฐๆญขๆ็พๅๆฏ 0.3% Minimum stop loss percentage / ๆๅฐๆญขๆ็พๅๆฏ
Max SL % / ๆๅคงๆญขๆ็พๅๆฏ 1.5% Maximum stop loss percentage / ๆๅคงๆญขๆ็พๅๆฏ
๐ ไฝฟ็จๆนๆณ / How to Use
1. ๅบ็ก่ฎพ็ฝฎ / Basic Setup
For Day Trading (5-15 min charts) / ๆฅๅ
ไบคๆ๏ผ5-15ๅ้ๅพ๏ผ
text
Swing Length: 5
MTF Timeframe: 240 (4H)
Risk %: 1.0%
R:R: 2.0
For Swing Trading (1-4H charts) / ๆณขๆฎตไบคๆ๏ผ1-4ๅฐๆถๅพ๏ผ
text
Swing Length: 8
MTF Timeframe: D (Daily)
Risk %: 0.5%
R:R: 3.0
For Scalping (1-5 min charts) / ๅฅๅคด็ฎ๏ผ1-5ๅ้ๅพ๏ผ
text
Swing Length: 3
MTF Timeframe: 60 (1H)
Risk %: 0.5%
R:R: 1.5
Use Volume Filter: โ
2. ไฟกๅท่ฏๅซ / Signal Identification
Long Entry / ๅๅคๅ
ฅๅบ
โ
Dashboard shows "Local Trend: BULL" / ไปช่กจ็ๆพ็คบ"ๆฌๅฐ่ถๅฟ๏ผๅคๅคด"
โ
MTF Trend shows "BULLISH" / ๅคงๅจๆ่ถๅฟๆพ็คบ"็ๆถจ"
โ
Green circle (H1) appears below bar / ็ปฟ่ฒๅ็น(H1)ๅบ็ฐๅจK็บฟไธๆน
โณ Wait for H2 signal (green triangle โฒ) / ็ญๅพ
H2ไฟกๅท๏ผ็ปฟ่ฒไธ่งโฒ๏ผ
๐ Check volume bar is cyan (HIGH VOL) / ๆฃๆฅๆไบค้ๆฑไธบ้่ฒ๏ผ้ซๆไบค้๏ผ
๐ฏ Enter at close of H2 bar / ๅจH2 K็บฟๆถ็ไปทๅ
ฅๅบ
๐ก๏ธ Set SL at red dashed line / ๆญขๆ่ฎพๅจ็บข่ฒ่็บฟไฝ็ฝฎ
๐ Set TP at green dashed line / ๆญข็่ฎพๅจ็ปฟ่ฒ่็บฟไฝ็ฝฎ
Short Entry / ๅ็ฉบๅ
ฅๅบ
โ
Dashboard shows "Local Trend: BEAR" / ไปช่กจ็ๆพ็คบ"ๆฌๅฐ่ถๅฟ๏ผ็ฉบๅคด"
โ
MTF Trend shows "BEARISH" / ๅคงๅจๆ่ถๅฟๆพ็คบ"็่ท"
โ
Red circle (L1) appears above bar / ็บข่ฒๅ็น(L1)ๅบ็ฐๅจK็บฟไธๆน
โณ Wait for L2 signal (red triangle โผ) / ็ญๅพ
L2ไฟกๅท๏ผ็บข่ฒๅไธ่งโผ๏ผ
๐ Check volume bar is cyan (HIGH VOL) / ๆฃๆฅๆไบค้ๆฑไธบ้่ฒ๏ผ้ซๆไบค้๏ผ
๐ฏ Enter at close of L2 bar / ๅจL2 K็บฟๆถ็ไปทๅ
ฅๅบ
๐ก๏ธ Set SL at red dashed line / ๆญขๆ่ฎพๅจ็บข่ฒ่็บฟไฝ็ฝฎ
๐ Set TP at green dashed line / ๆญข็่ฎพๅจ็ปฟ่ฒ่็บฟไฝ็ฝฎ
3. ่ญฆๆฅ่ฎพ็ฝฎ / Alert Setup
Step-by-Step / ๅๆญฅๆไฝ
Click the "โฐ" alert icon on chart / ็นๅปๅพ่กจไธ็"โฐ"่ญฆๆฅๅพๆ
Select "PA System - Indicator Version" / ้ๆฉ"PA System (V1.1) - Indicator Version"
Condition: "Any alert() function call" / ๆกไปถ๏ผ้ๆฉ"Any alert() function call"
Choose notification method: / ้ๆฉ้็ฅๆนๅผ๏ผ
๐ฑ Mobile Push / ๆๆบๆจ้
๐ง Email / ้ฎไปถ
๐ Webhook URL (for automation) / Webhook็ฝๅ๏ผ็จไบ่ชๅจๅ๏ผ
Set frequency: "Once Per Bar Close" / ้ข็๏ผ้ๆฉ"Once Per Bar Close"
Click "Create" / ็นๅป"ๅๅปบ"
Webhook Example for IBKR API / IBKR API็Webhook็คบไพ
json
{
"signal": "{{strategy.order.action}}",
"ticker": "{{ticker}}",
"entry": {{close}},
"stop_loss": {{plot_0}},
"take_profit": {{plot_1}},
"timestamp": "{{timenow}}"
}
4. ไบคๆ็ฎก็ / Trade Management
Position Sizing / ไปไฝ่ฎก็ฎ
text
Account: $10,000
Risk per Trade: 1% = $100
Entry Price: $690.45
Stop Loss: $687.38
Risk per Share: $690.45 - $687.38 = $3.07
Position Size: $100 / $3.07 = 32 shares
Partial Profit Taking / ้จๅๆญข็
Close 50% position at 1:1 R:R / ๅจ1:1็ไบๆฏๆถๅนณไป50%
Move SL to breakeven / ็งปๅจๆญขๆ่ณไฟๆฌไฝ
Let remaining 50% run to 2R target / ่ฎฉๅฉไฝ50%่ทๅ2R็ฎๆ
๐จ ่ง่งๅ
็ด ่ฏดๆ / Visual Elements Guide
Chart Markers / ๅพ่กจๆ ่ฎฐ
Symbol Color Meaning
โซ Small Circle / ๅฐๅ็น ๐ข Green / ็ปฟ่ฒ H1 - First bullish pullback / ้ฆๆฌกๅคๅคดๅ่ฐ
โฒ Triangle / ไธ่งๅฝข ๐ข Green / ็ปฟ่ฒ H2 - Confirmed long entry / ็กฎ่ฎคๅๅคๅ
ฅๅบ
โซ Small Circle / ๅฐๅ็น ๐ด Red / ็บข่ฒ L1 - First bearish bounce / ้ฆๆฌก็ฉบๅคดๅๅผน
โผ Inverted Triangle / ๅไธ่ง ๐ด Red / ็บข่ฒ L2 - Confirmed short entry / ็กฎ่ฎคๅ็ฉบๅ
ฅๅบ
Structure Labels / ็ปๆๆ ็ญพ
Label Position Meaning
HH Above high / ้ซ็นไธๆน Higher High - Bullish / ๆด้ซ็้ซ็น-็ๆถจ
HL Below low / ไฝ็นไธๆน Higher Low - Bullish / ๆด้ซ็ไฝ็น-็ๆถจ
LH Above high / ้ซ็นไธๆน Lower High - Bearish / ๆดไฝ็้ซ็น-็่ท
LL Below low / ไฝ็นไธๆน Lower Low - Bearish / ๆดไฝ็ไฝ็น-็่ท
BoS/CHoCH Lines / ็ ดไฝ็บฟๆก
Type Color Width Meaning
BoS ๐ต Teal / ้่ฒ 2px Break of Structure - Trend continues / ็ปๆ็ช็ ด-่ถๅฟๅปถ็ปญ
CHoCH ๐ด Red / ็บข่ฒ 2px Change of Character - Trend reversal / ๆง่ดจๆนๅ-่ถๅฟๅ่ฝฌ
Trendlines / ่ถๅฟ็บฟ
Type Color Style Meaning
Bullish / ็ๆถจ ๐ต Teal / ้่ฒ Solid / ๅฎ็บฟ Uptrend support / ไธๅ่ถๅฟๆฏๆ
Bearish / ็่ท ๐ด Red / ็บข่ฒ Solid / ๅฎ็บฟ Downtrend resistance / ไธ้่ถๅฟ้ปๅ
Risk Lines / ้ฃ้ฉ็บฟๆก
Type Color Style Meaning
Stop Loss / ๆญขๆ ๐ด Red / ็บข่ฒ Dashed / ่็บฟ Suggested stop loss level / ๅปบ่ฎฎๆญขๆไฝ
Take Profit / ๆญข็ ๐ข Green / ็ปฟ่ฒ Dashed / ่็บฟ Suggested take profit level / ๅปบ่ฎฎๆญข็ไฝ
Dashboard Colors / ไปช่กจ็้ข่ฒ
Status Color Meaning
BULL / ๅคๅคด ๐ข Green / ็ปฟ่ฒ Bullish trend / ็ๆถจ่ถๅฟ
BEAR / ็ฉบๅคด ๐ด Red / ็บข่ฒ Bearish trend / ็่ท่ถๅฟ
NEUTRAL / ไธญๆง โช Gray / ็ฐ่ฒ No clear trend / ๆ ๆ็กฎ่ถๅฟ
BREAKOUT / ็ช็ ด ๐ก Lime / ้ป็ปฟ Strong momentum / ๅผบๅฒๅจ่ฝ
HIGH VOL / ้ซๆไบค้ ๐ต Cyan / ้่ฒ High volume confirmation / ้ซๆไบค้็กฎ่ฎค
๐ก ไบคๆ็ญ็ฅๅปบ่ฎฎ / Trading Strategy Tips
โ
High Probability Setups / ้ซๆฆ็่ฎพ็ฝฎ
Trend Alignment / ่ถๅฟไธ่ด
Local Trend = BULL + MTF Trend = BULLISH / ๆฌๅฐๅคๅคด + ๅคงๅจๆ็ๆถจ
Or: Local Trend = BEAR + MTF Trend = BEARISH / ๆ๏ผๆฌๅฐ็ฉบๅคด + ๅคงๅจๆ็่ท
Volume Confirmation / ๆไบค้็กฎ่ฎค
H2/L2 signal appears with cyan volume bar / H2/L2ไฟกๅทไผด้้่ฒๆไบค้ๆฑ
Volume > 20-period MA / ๆไบค้ > 20ๆๅ็บฟ
Trendline Support / ่ถๅฟ็บฟๆฏๆ
H2 appears near bullish trendline / H2ๅบ็ฐๅจ็ๆถจ่ถๅฟ็บฟ้่ฟ
L2 appears near bearish trendline / L2ๅบ็ฐๅจ็่ท่ถๅฟ็บฟ้่ฟ
BoS Confirmation / BoS็กฎ่ฎค
Recent BoS in same direction / ๆ่ฟๅๆนๅ็BoS
No CHoCH against the trade / ๆ ้ๅ็CHoCH
โ Avoid These Setups / ้ฟๅ
่ฟไบๆ
ๅต
Conflicting Trends / ่ถๅฟๅฒ็ช
Local BULL but MTF BEARISH / ๆฌๅฐๅคๅคดไฝๅคงๅจๆ็่ท
Market State = RANGE / ๅธๅบ็ถๆ = ๅบ้ด
Low Volume / ไฝๆไบค้
Order Flow shows "LOW VOL" / ่ฎขๅๆตๆพ็คบ"ไฝๆไบค้"
Volume bar is red (below MA) / ๆไบค้ๆฑไธบ็บข่ฒ๏ผไฝไบๅ็บฟ๏ผ
Against Trendline / ้่ถๅฟ็บฟ
Shorting at bullish trendline support / ๅจ็ๆถจ่ถๅฟ็บฟๆฏๆๅคๅ็ฉบ
Buying at bearish trendline resistance / ๅจ็่ท่ถๅฟ็บฟ้ปๅๅคๅๅค
Recent CHoCH / ่ฟๆCHoCH
CHoCH appeared within 10 bars / 10ๆ นK็บฟๅ
ๅบ็ฐCHoCH
Potential trend reversal zone / ๆฝๅจ่ถๅฟๅ่ฝฌๅบๅ
๐ ไผๅๅปบ่ฎฎ / Optimization Tips
For Different Markets / ้ๅฏนไธๅๅธๅบ
Stocks / ่ก็ฅจ
text
Swing Length: 5-8
MTF: 240 (4H) or D (Daily)
Risk %: 0.5-1.0%
Best on: SPY, QQQ, AAPL, TSLA
Forex / ๅคๆฑ
text
Swing Length: 5
MTF: 240 (4H)
Risk %: 1.0-2.0%
Best on: EUR/USD, GBP/USD, USD/JPY
Use Volume Filter: OFF (Forex volume is unreliable)
Crypto / ๅ ๅฏ่ดงๅธ
text
Swing Length: 3-5
MTF: 240 (4H)
Risk %: 0.5-1.0% (high volatility)
Max SL %: 2.0-3.0%
Best on: BTC, ETH, SOL
Futures / ๆ่ดง
text
Swing Length: 5
MTF: 240 (4H)
Risk %: 1.0-1.5%
Best on: ES, NQ, RTY, CL
๐ค ่ชๅจๅ้ๆ / Automation Integration
Python + IBKR API Example / Python + IBKR API็คบไพ
python
import requests
from ib_insync import *
def handle_tradingview_alert(alert_data):
"""
Receives webhook from TradingView alert
ๆฅๆถๆฅ่ชTradingView่ญฆๆฅ็webhook
"""
signal = alert_data # "H2 LONG" or "L2 SHORT"
ticker = alert_data # "SPY"
entry = alert_data # 690.45
stop_loss = alert_data # 687.38
take_profit = alert_data # 696.59
# Connect to IBKR
ib = IB()
ib.connect('127.0.0.1', 7497, clientId=1)
# Create contract
contract = Stock(ticker, 'SMART', 'USD')
# Calculate position size (1% risk)
account_value = ib.accountValues() .value
risk_amount = float(account_value) * 0.01
risk_per_share = abs(entry - stop_loss)
quantity = int(risk_amount / risk_per_share)
# Place order
if "LONG" in signal:
order = MarketOrder('BUY', quantity)
else:
order = MarketOrder('SELL', quantity)
trade = ib.placeOrder(contract, order)
# Set stop loss and take profit
ib.placeOrder(contract, StopOrder('SELL', quantity, stop_loss))
ib.placeOrder(contract, LimitOrder('SELL', quantity, take_profit))
ib.disconnect()
TradersPost Integration / TradersPost้ๆ
Create TradersPost account / ๅๅปบTradersPost่ดฆๆท
Connect IBKR broker / ่ฟๆฅIBKRๅธๅ
Get Webhook URL / ่ทๅWebhook็ฝๅ
Add to TradingView alert / ๆทปๅ ๅฐTradingView่ญฆๆฅ
Test with paper trading / ็จๆจกๆ่ดฆๆทๆต่ฏ
๐ ๆง่ฝๆๆ / Performance Metrics
Expected Performance (Backtested) / ้ขๆ่กจ็ฐ๏ผๅๆต๏ผ
Metric Value Notes
Win Rate / ่็ 60-75% With all filters enabled / ๅฏ็จๆๆ่ฟๆปคๅจ
Avg R:R / ๅนณๅ็ไบๆฏ 1.8-2.2 Using 2R target / ไฝฟ็จ2R็ฎๆ
Max Drawdown / ๆๅคงๅๆค 8-12% 1% risk per trade / ๆฏ็ฌ1%้ฃ้ฉ
Profit Factor / ็ๅฉๅ ๅญ 1.8-2.5 Trend-following bias / ่ถๅฟ่ท้ๅๅ
Best Markets / ๆไฝณๅธๅบ Trending Avoid ranging markets / ้ฟๅ
ๅบ้ดๅธๅบ
โ ๏ธ Disclaimer: Past performance does not guarantee future results. Always test in paper trading first.
โ ๏ธ ๅ
่ดฃๅฃฐๆ๏ผๅๅฒ่กจ็ฐไธไฟ่ฏๆชๆฅ็ปๆใ่ฏทๅ
ๅจๆจกๆ่ดฆๆทๆต่ฏใ
๐ ๏ธ ๆ
้ๆ้ค / Troubleshooting
Problem: No signals appearing / ้ฎ้ข๏ผๆฒกๆไฟกๅทๅบ็ฐ
Solution / ่งฃๅณๆนๆก:
Disable MTF Filter temporarily / ๆๆถๅ
ณ้ญๅคงๅจๆ่ฟๆปค
Disable Volume Filter / ๅ
ณ้ญๆไบค้่ฟๆปค
Reduce Swing Length to 3 / ๅฐๆๅจ้ฟๅบฆ้่ณ3
Check if market is ranging (no clear trend) / ๆฃๆฅๅธๅบๆฏๅฆๅคไบๅบ้ด๏ผๆ ๆ็กฎ่ถๅฟ๏ผ
Problem: Too many signals / ้ฎ้ข๏ผไฟกๅทๅคชๅค
Solution / ่งฃๅณๆนๆก:
Enable MTF Filter / ๅฏ็จๅคงๅจๆ่ฟๆปค
Enable Volume Filter / ๅฏ็จๆไบค้่ฟๆปค
Increase Swing Length to 8 / ๅฐๆๅจ้ฟๅบฆๅข่ณ8
Enable Break Filter / ๅฏ็จ็ ดไฝ่ฟๆปค
Problem: Alerts not working / ้ฎ้ข๏ผ่ญฆๆฅไธๅทฅไฝ
Solution / ่งฃๅณๆนๆก:
Check "Enable Alerts" is ON / ๆฃๆฅ"ๅฏ็จ่ญฆๆฅ"ๅทฒๅผๅฏ
Verify alert condition is "Any alert() function call" / ็กฎ่ฎค่ญฆๆฅๆกไปถไธบ"Any alert() function call"
Check notification settings in TradingView / ๆฃๆฅTradingView้็ฅ่ฎพ็ฝฎ
Test alert with "Test" button / ็จ"ๆต่ฏ"ๆ้ฎๆต่ฏ่ญฆๆฅ
Problem: SL/TP lines not showing / ้ฎ้ข๏ผๆญขๆๆญข็็บฟไธๆพ็คบ
Solution / ่งฃๅณๆนๆก:
Enable "Show SL/TP Labels" in settings / ๅจ่ฎพ็ฝฎไธญๅฏ็จ"ๆพ็คบๆญขๆๆญข็ๆ ็ญพ"
Check if signal is recent (lines expire after 10 bars) / ๆฃๆฅไฟกๅทๆฏๅฆ่ฟๆ๏ผ็บฟๆกๅจ10ๆ นK็บฟๅๆถๅคฑ๏ผ
Zoom in to see lines more clearly / ๆพๅคงๅพ่กจไปฅๆดๆธ
ๆฅๅฐ็ๅฐ็บฟๆก
๐ ๅธธ่ง้ฎ้ข FAQ
Q1: Can I use this on any timeframe? / ๅฏไปฅๅจไปปไฝๆถ้ดๆกๆถไฝฟ็จๅ๏ผ
A: Yes, but works best on 5min-4H charts. Recommended: 15min (day trading), 1H (swing trading).
ๅฏไปฅ๏ผไฝๅจ5ๅ้-4ๅฐๆถๅพ่กจๆๆๆไฝณใๆจ่๏ผ15ๅ้๏ผๆฅๅ
ไบคๆ๏ผ๏ผ1ๅฐๆถ๏ผๆณขๆฎตไบคๆ๏ผใ
Q2: Do I need to enable all filters? / ้่ฆๅฏ็จๆๆ่ฟๆปคๅจๅ๏ผ
A: No. Start with all enabled, then disable based on your risk tolerance. MTF filter is highly recommended.
ไธ้่ฆใไปๅ
จ้จๅฏ็จๅผๅง๏ผ็ถๅๆ นๆฎ้ฃ้ฉๆฟๅ่ฝๅ็ฆ็จใๅผบ็ๆจ่MTF่ฟๆปคๅจใ
Q3: Can I automate this with IBKR? / ๅฏไปฅไธIBKR่ชๅจๅๅ๏ผ
A: Yes! Use TradingView alerts + Webhook + Python script + IBKR API. See automation example above.
ๅฏไปฅ๏ผไฝฟ็จTradingView่ญฆๆฅ + Webhook + Python่ๆฌ + IBKR APIใๅ่งไธๆน่ชๅจๅ็คบไพใ
Q4: What's the difference between Strategy and Indicator version? / ็ญ็ฅ็ๅๆๆ ็ๆไปไนๅบๅซ๏ผ
A: Strategy = backtesting only. Indicator = real-time alerts + automation. Use both: backtest with strategy, trade with indicator.
็ญ็ฅ็=ไป
ๅๆตใๆๆ ็=ๅฎๆถ่ญฆๆฅ+่ชๅจๅใไธค่
็ปๅไฝฟ็จ๏ผ็จ็ญ็ฅ็ๅๆต๏ผ็จๆๆ ็ไบคๆใ
Q5: Why does H2 appear but no trade? / ไธบไปไนๅบ็ฐH2ไฝๆฒกๆไบคๆ๏ผ
A: This is an indicator, not a strategy. You need to manually place orders or use automation via alerts.
่ฟๆฏๆๆ ๏ผไธๆฏ็ญ็ฅใไฝ ้่ฆๆๅจไธๅๆ้่ฟ่ญฆๆฅไฝฟ็จ่ชๅจๅใ
โ๏ธ ๅ
่ดฃๅฃฐๆ / Disclaimer
IMPORTANT / ้่ฆๆ็คบ:
This indicator is for educational purposes only. Trading involves substantial risk of loss. Past performance does not guarantee future results. Always:
ๆฌๆๆ ไป
ไพๆ่ฒ็ฎ็ใไบคๆๆถๅ้ๅคงไบๆ้ฃ้ฉใๅๅฒ่กจ็ฐไธไฟ่ฏๆชๆฅ็ปๆใ่ฏทๅกๅฟ
๏ผ
โ
Test in paper trading first / ๅ
ๅจๆจกๆ่ดฆๆทๆต่ฏ
โ
Use proper risk management (1-2% max per trade) / ไฝฟ็จ้ๅฝ้ฃ้ฉ็ฎก็๏ผๆฏ็ฌๆๅค1-2%๏ผ
โ
Never risk more than you can afford to lose / ๆฐธ่ฟไธ่ฆๅ่ถ
ๅบๆฟๅ่ฝๅ็้ฃ้ฉ
โ
Understand the strategy before using / ไฝฟ็จๅ็่งฃ็ญ็ฅๅ็
Not financial advice. Trade at your own risk.
้ๆ่ตๅปบ่ฎฎใไบคๆ้ฃ้ฉ่ช่ดใ
Golden Vector Trend Orchestrator (GVTO)Golden Vector Trend Orchestrator (GVTO) is a composite trend-following strategy specifically engineered for XAUUSD (Gold) and volatile assets on H4 (4-Hour) and Daily timeframes.
This script aims to solve a common problem in trend trading: "Whipsaws in Sideways Markets." Instead of relying on a single indicator, GVTO employs a Multi-Factor Confluence System that filters out low-probability trades by requiring alignment across Trend Structure, Momentum, and Volatility.
๐ Methodology & Logic
The strategy executes trades only when four distinct technical conditions overlap (Confluence). If any single condition is not met, the trade is filtered out to preserve capital.
1. Market Structure Filter (200 EMA)
Indicator: Exponential Moving Average (Length 200).
Logic: The 200 EMA acts as the baseline for the long-term trend regime.
Bullish Regime: Price must close above the 200 EMA.
Bearish Regime: Price must close below the 200 EMA.
Purpose: Prevents counter-trend trading against the macro direction.
2. Signal Trigger & Trailing Stop (Supertrend)
Indicator: Supertrend (ATR Length 14, Factor 3.5).
Logic: Uses Average True Range (ATR) to detect trend reversals while accounting for volatility.
Purpose: Provides the specific entry signal and acts as a dynamic trailing stop-loss to let profits run while cutting losses when the trend invalidates.
3. Volatility Gatekeeper (ADX Filter)
Indicator: Average Directional Index (Length 14).
Threshold: > 25.
Logic: A high ADX value indicates a strong trend presence, regardless of direction.
Purpose: This is the most critical filter. It prevents the strategy from entering trades during "choppy" or ranging markets (consolidation zones) where trend-following systems typically fail.
4. Momentum Confirmation (DMI)
Indicator: Directional Movement Index (DI+ and DI-).
Logic: Checks if the buying pressure (DI+) is physically stronger than selling pressure (DI-), or vice versa.
Purpose: Ensures that the price movement is backed by genuine momentum, not just a momentary price spike.
๐ How to Use This Strategy
๐ข LONG (BUY) Setup
A Buy signal is generated only when ALL of the following occur simultaneously:
Price Action: Price closes ABOVE the 200 EMA (Orange Line).
Trigger: Supertrend flips to GREEN (Bullish).
Strength: ADX is greater than 25 (Strong Trend).
Momentum: DI+ (Plus Directional Indicator) is greater than DI- (Minus).
๐ด SHORT (SELL) Setup
A Sell signal is generated only when ALL of the following occur simultaneously:
Price Action: Price closes BELOW the 200 EMA (Orange Line).
Trigger: Supertrend flips to RED (Bearish).
Strength: ADX is greater than 25 (Strong Trend).
Momentum: DI- (Minus Directional Indicator) is greater than DI+ (Plus).
๐ก Exit Strategy
Stop Loss / Take Profit: The strategy utilizes the Supertrend Line as a dynamic Trailing Stop.
Exit Long: When Supertrend turns Red.
Exit Short: When Supertrend turns Green.
Note: Traders can also use the real-time P/L Dashboard included in the script to manually secure profits based on their personal Risk:Reward ratio.
๐ Included Features
Real-Time P/L Dashboard: A table in the top-right corner displays the current trend status, ADX strength, and the Unrealized Profit/Loss % of the current active position.
Smart Labeling: Buy/Sell labels are coded to appear only on the initial entry trigger. They do not repaint and do not spam the chart if the trend continues (no pyramiding visualization).
Visual Aids: Background color changes (Green/Red) to visually represent the active trend based on the Supertrend status.
โ ๏ธ Risk Warning & Best Practices
Asset Class: Optimized for XAUUSD (Gold) due to its high volatility nature. It also works well on Crypto (BTC, ETH) and Major Forex Pairs.
Timeframe: Highly recommended for H4 (4 Hours) or D1 (Daily). Using this on lower timeframes (M5, M15) may result in false signals due to market noise.
News Events: Automated strategies cannot predict economic news (CPI, NFP). Exercise caution or pause trading during high-impact economic releases.
RRR EMA Ignition BUY & SELL (Sideways-Proof)๐น Description
RRR EMA Ignition Buy & Sell is a trend-following, non-repainting indicator designed to capture high-probability trend ignition points while filtering out sideways market noise.
Unlike basic EMA crossover systems that generate frequent false signals, this indicator uses a state-based trend engine, volatility filters, and trend strength confirmation to ensure signals appear only when a real directional move is underway.
It is optimized for swing trading and positional trading on stocks and indices.
๐น Core Logic
๐ผ BUY Signal (Bullish Ignition)
A BUY signal is generated only when all of the following conditions are met:
EMA 21 confirms bullish regime above EMA 55
EMA 9 shows momentum above EMA 21
Price is trading above EMA 55
Candle closes bullish (confirmation)
Trend strength is validated using ADX
EMA 55 is sloping upward
Price is sufficiently far from EMA 55 (ATR-based distance filter)
Only one BUY per bullish trend leg (no repeated signals)
๐ฝ SELL Signal (Bearish Ignition)
A SELL signal is the exact reverse of the BUY logic:
EMA 21 confirms bearish regime below EMA 55
EMA 9 shows bearish momentum below EMA 21
Price is trading below EMA 55
Candle closes bearish
ADX confirms trend strength
EMA 55 is sloping downward
ATR distance filter blocks sideways chop
Only one SELL per bearish trend leg
๐น Key Features
โ
Non-repainting (signals appear only after candle close)
โ
Sideways-market protection using ATR + ADX
โ
State-based logic (prevents repeated BUY/SELL spam)
โ
Handles strong V-reversals using trend re-arm logic
โ
Clean signals suitable for alerts and automation
โ
Works across stocks, indices, and ETFs
๐น Best Use Cases
๐ Swing trading on Daily / 4H charts
๐ Large-cap stocks and indices (Nifty, Bank Nifty, SPX, NASDAQ)
๐ซ Not intended for low-timeframe scalping
๐ฏ Designed for trend capture, not range trading
๐น Recommended Settings
Indian Stocks
ADX Minimum: 18
ATR Multiplier: 0.6 โ 0.8
US Indices
ADX Minimum: 22
ATR Multiplier: 0.5
(Default settings work well for most instruments.)
๐น How to Trade (Simple Guide)
Use BUY signals to enter or add to long positions
Use SELL signals to enter short positions or exit longs
Combine with:
Support/resistance
Higher-timeframe bias
Position sizing & risk management
๐น Disclaimer
This indicator is a decision-support tool, not financial advice.
Always apply proper risk management and confirm signals with your own analysis.
TGS By ShadTGS Levels โ TeslaโW.D. Gann Strategy
TGS Levels is a price-geometry indicator designed to map algorithmic decision zones on the chart using principles inspired by W.D. Gann price geometry and Tesla 3-6-9 harmonic structure.
This indicator is not a signal generator.
It provides a structured price map to help traders understand where reactions or breakouts are statistically more likely to occur.
๐น Core Concept
Markets do not move randomly.
They rotate and expand around harmonic price cycles.
TGS Levels automatically plots a 100-unit price cycle framework (ideal for XAUUSD / Gold) and divides each cycle into hierarchical angles used by institutional and algorithmic trading models.
๐น Level Hierarchy (Very Important)
TGS uses four types of levels, each with a different purpose:
๐ด SUPER ANGLE (+45)
Primary decision level
Price often shows strong rejection or explosive breakout
Highest importance level
๐ฅ MAIN ANGLES (+27, +63, +81)
High-probability reaction zones
Used for structured pullbacks, rejections, or continuation confirmation
๐ SECONDARY ANGLES (+18, +36, +54, +72, +90)
Context & management levels
Expect hesitation, partial profit zones, or stop-tightening areas
Not recommended for direct entries
๐ก MICRO LEVELS (+3, +6, +9)
Liquidity & compression map
Help visualize absorption, stop hunts, and consolidation
For structure awareness only
๐น What This Indicator Is Used For
โ Identifying where price is likely to react
โ Understanding market structure and rotation
โ Distinguishing rejection vs breakout zones
โ Improving trade timing when combined with:
Volatility (ATR)
Market structure (HL / LH / BOS)
Session timing (London / New York)
๐น What This Indicator Is NOT
โ Not a buy/sell signal
โ Not a prediction tool
โ Not based on indicators like RSI or MACD
TGS Levels is a price-first framework, designed to be used with price action, volatility, and structure.
๐น Best Use Case
Asset: XAUUSD (Gold)
Execution Timeframe: M5
Sessions: London & New York
Style: Scalping / Intraday structure trading
The same logic can be adapted to other instruments by adjusting the cycle size.
๐น How to Trade With TGS (High-Level)
When volatility is low or falling โ expect rejections at main/super angles
When volatility is expanding โ expect breakouts through angles
Use oscillators (like Stochastic) only for timing, not direction
Always confirm with price behavior at the level
๐น Final Note
TGS Levels provides a clean, non-repainting price map that stays aligned when zooming or scrolling the chart.
All levels are calculated automatically and update dynamically with price.
Levels explain behavior โ reactions create opportunity.
TGS By ShadTGS Levels โ TeslaโW.D. Gann Strategy
TGS Levels is a price-geometry indicator designed to map algorithmic decision zones on the chart using principles inspired by W.D. Gann price geometry and Tesla 3-6-9 harmonic structure.
This indicator is not a signal generator.
It provides a structured price map to help traders understand where reactions or breakouts are statistically more likely to occur.
๐น Core Concept
Markets do not move randomly.
They rotate and expand around harmonic price cycles.
TGS Levels automatically plots a 100-unit price cycle framework (ideal for XAUUSD / Gold) and divides each cycle into hierarchical angles used by institutional and algorithmic trading models.
๐น Level Hierarchy (Very Important)
TGS uses four types of levels, each with a different purpose:
๐ด SUPER ANGLE (+45)
Primary decision level
Price often shows strong rejection or explosive breakout
Highest importance level
๐ฅ MAIN ANGLES (+27, +63, +81)
High-probability reaction zones
Used for structured pullbacks, rejections, or continuation confirmation
๐ SECONDARY ANGLES (+18, +36, +54, +72, +90)
Context & management levels
Expect hesitation, partial profit zones, or stop-tightening areas
Not recommended for direct entries
๐ก MICRO LEVELS (+3, +6, +9)
Liquidity & compression map
Help visualize absorption, stop hunts, and consolidation
For structure awareness only
๐น What This Indicator Is Used For
โ Identifying where price is likely to react
โ Understanding market structure and rotation
โ Distinguishing rejection vs breakout zones
โ Improving trade timing when combined with:
Volatility (ATR)
Market structure (HL / LH / BOS)
Session timing (London / New York)
๐น What This Indicator Is NOT
โ Not a buy/sell signal
โ Not a prediction tool
โ Not based on indicators like RSI or MACD
TGS Levels is a price-first framework, designed to be used with price action, volatility, and structure.
๐น Best Use Case
Asset: XAUUSD (Gold)
Execution Timeframe: M5
Sessions: London & New York
Style: Scalping / Intraday structure trading
The same logic can be adapted to other instruments by adjusting the cycle size.
๐น How to Trade With TGS (High-Level)
When volatility is low or falling โ expect rejections at main/super angles
When volatility is expanding โ expect breakouts through angles
Use oscillators (like Stochastic) only for timing, not direction
Always confirm with price behavior at the level
๐น Final Note
TGS Levels provides a clean, non-repainting price map that stays aligned when zooming or scrolling the chart.
All levels are calculated automatically and update dynamically with price.
Levels explain behavior โ reactions create opportunity.
TGS by Shad TGS Levels โ TeslaโW.D. Gann Strategy
TGS Levels is a price-geometry indicator designed to map algorithmic decision zones on the chart using principles inspired by W.D. Gann price geometry and Tesla 3-6-9 harmonic structure.
This indicator is not a signal generator.
It provides a structured price map to help traders understand where reactions or breakouts are statistically more likely to occur.
๐น Core Concept
Markets do not move randomly.
They rotate and expand around harmonic price cycles.
TGS Levels automatically plots a 100-unit price cycle framework (ideal for XAUUSD / Gold) and divides each cycle into hierarchical angles used by institutional and algorithmic trading models.
๐น Level Hierarchy (Very Important)
TGS uses four types of levels, each with a different purpose:
๐ด SUPER ANGLE (+45)
Primary decision level
Price often shows strong rejection or explosive breakout
Highest importance level
๐ฅ MAIN ANGLES (+27, +63, +81)
High-probability reaction zones
Used for structured pullbacks, rejections, or continuation confirmation
๐ SECONDARY ANGLES (+18, +36, +54, +72, +90)
Context & management levels
Expect hesitation, partial profit zones, or stop-tightening areas
Not recommended for direct entries
๐ก MICRO LEVELS (+3, +6, +9)
Liquidity & compression map
Help visualize absorption, stop hunts, and consolidation
For structure awareness only
๐น What This Indicator Is Used For
โ Identifying where price is likely to react
โ Understanding market structure and rotation
โ Distinguishing rejection vs breakout zones
โ Improving trade timing when combined with:
Volatility (ATR)
Market structure (HL / LH / BOS)
Session timing (London / New York)
๐น What This Indicator Is NOT
โ Not a buy/sell signal
โ Not a prediction tool
โ Not based on indicators like RSI or MACD
TGS Levels is a price-first framework, designed to be used with price action, volatility, and structure.
๐น Best Use Case
Asset: XAUUSD (Gold)
Execution Timeframe: M5
Sessions: London & New York
Style: Scalping / Intraday structure trading
The same logic can be adapted to other instruments by adjusting the cycle size.
๐น How to Trade With TGS (High-Level)
When volatility is low or falling โ expect rejections at main/super angles
When volatility is expanding โ expect breakouts through angles
Use oscillators (like Stochastic) only for timing, not direction
Always confirm with price behavior at the level
๐น Final Note
TGS Levels provides a clean, non-repainting price map that stays aligned when zooming or scrolling the chart.
All levels are calculated automatically and update dynamically with price.
Levels explain behavior โ reactions create opportunity.
LTF Distribution Analyzerโ OVERVIEW
LTF Distribution Analyzer reveals the hidden price distribution and order flow within each candle by sampling lower timeframe data. It visualizes where prices concentrated, how volume was distributed between buyers and sellers, and identifies divergences between price action and actual market participation.
Unlike traditional candlesticks showing only OHLC, this indicator exposes the statistical structure of price movement using quartile-based visualization combined with delta analysis.
โ CONCEPTS
The indicator is built on two core concepts:
1 โ Statistical Price Distribution
Each candle contains many lower timeframe bars. By analyzing these bars, we calculate:
โข Q1 (25th percentile) - 25% of prices traded below this level
โข Q3 (75th percentile) - 75% of prices traded below this level
โข Median - The middle price value
โข IQR (Interquartile Range) - The Q3-Q1 spread containing 50% of all prices
2 โ Volume Delta Analysis
Delta measures buying vs selling pressure:
โข Delta = Buy Volume โ Sell Volume
โข Positive delta = More aggressive buying
โข Negative delta = More aggressive selling
โข Delta Ratio normalizes this as a percentage
โ HOW IT WORKS
The indicator fetches lower timeframe data using request.security_lower_tf() and processes it to create a statistical summary:
Step 1: Timeframe Calculation
โข Auto mode: Chart timeframe รท Auto Divisor = LTF
โข Example: 1H chart รท 1000 = ~3.6 second sampling
โข Manual mode: User-specified timeframe
Step 2: Data Collection
โข Collects all close prices from LTF bars within current candle
โข Aggregates volume by candle direction (bullish/bearish)
Step 3: Statistical Analysis
โข Calculates quartiles (Q1, Q3), median, and boundaries
โข Identifies outliers using 1.5ร and 3ร IQR fences
โข Finds Volume POC (price with highest volume)
Step 4: Delta Calculation
โข Sums buy volume (from bullish LTF bars)
โข Sums sell volume (from bearish LTF bars)
โข Computes delta ratio for color determination
โ VISUAL ELEMENTS
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ โฒ Extreme outlier (3ร IQR) โ
โ โณ Mild outlier (1.5ร IQR) โ
โ โ Upper whisker cap โ
โ โ Whisker line (dashed) โ
โ โ IQR Box (Q1 to Q3 range) โ
โ โ Volume POC (highest volume) โ
โ โ Median (green=bull, red=bear) โ
โ โ Whisker line (dashed) โ
โ โ Lower whisker cap โ
โ โฝ Mild outlier โ
โ โผ Extreme outlier โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ COLOR SYSTEM
Colors indicate the relationship between candle direction and order flow:
๐ข TEAL (Positive Flow)
Bullish candle + Positive delta
โ Strong buying confirmation
โ Trend continuation signal
๐ด RED (Negative Flow)
Bearish candle + Negative delta
โ Strong selling confirmation
โ Trend continuation signal
๐ ORANGE (Mixed Signal A)
Bullish candle + Negative delta
โ Price up but sellers dominated
โ Potential weakness/reversal warning
๐ต BLUE (Mixed Signal B)
Bearish candle + Positive delta
โ Price down but buyers dominated
โ Potential accumulation/reversal signal
โ SETTINGS
Timeframe Settings
โข LTF Mode โ Auto or Manual selection
โข Manual Timeframe โ Specific LTF when in Manual mode
โข Auto Divisor โ Higher = finer granularity (default: 1000)
โข Allow Sub-Minute โ Requires Premium subscription
Visual Style
โข Positive/Negative Flow colors โ Customize the 4 flow colors
โข Box Transparency โ Opacity of the quartile box (0-100%)
Statistics Display
โข Show Statistics Panel โ Toggle on-chart stats table
โข Show Timeframe Badge โ Toggle LTF indicator badge
โข Panel Position โ Choose corner placement
โข Panel Size โ Text size selection
โ HOW TO USE
1. Divergence Detection
Look for color mismatches:
โข Orange bars in uptrend = weakness, potential reversal
โข Blue bars in downtrend = strength, potential reversal
โข Multiple consecutive divergent bars strengthen signal
โข Wait for confirmation before entry
2. Volume POC Trading
โข POC marks where most volume traded
โข POC clusters at similar levels = strong S/R zone
โข Price often returns to POC before continuing
โข Use POC for entry/exit targeting
3. Trend Confirmation
โข Consecutive teal = strong uptrend
โข Consecutive red = strong downtrend
โข Median position shows intrabar momentum
โข Wide boxes indicate high volatility
4. Outlier Analysis
โข Extreme markers (โฒโผ) often mark stop hunts
โข Consider fading extremes at key levels
โข Mild markers (โณโฝ) = areas to watch
โ RECOMMENDED SETTINGS
For different chart timeframes:
โ Chart TF โ Auto Divisor โ Resulting LTF โ
โโโโโโโโโโโโผโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโค
โ 15M โ 1500 โ ~1M โ
โ 1H โ 1000 โ ~3-4s โ
โ 4H โ 600 โ ~24s โ
โ Daily โ 500 โ ~2-3M โ
Tip: Check the TF badge to confirm active sampling timeframe.
โ BEST PRACTICES
Do:
โ Use "Bars" chart style for cleanest display
โ Combine with support/resistance analysis
โ Wait for confirmation bars
โ Note POC clusters across multiple bars
โ Adjust divisor based on your timeframe
Avoid:
โ Trading single bar signals alone
โ Using during low volume periods
โ Trading immediately after news releases
โ Ignoring overall market context
โ LIMITATIONS
โข Requires adequate market liquidity for reliable signals
โข Sub-minute timeframes need Premium subscription
โข Historical data depth depends on TradingView's data availability
โข Delta calculation assumes volume direction matches candle direction
โ NOTES
This indicator works best on liquid markets (forex majors, major indices, popular stocks/crypto) where volume data is meaningful.
The gray dotted vertical line marks where LTF data becomes available - bars before this line won't display the indicator.
For questions or suggestions, leave a comment below.
Ultimate Auto Trendlines - No Lag, No repaint, & High Accuracy Non-Repainting Auto Trendlines by Pivots โ The cleanest way to draw real trendlines automatically!
Connects confirmed pivot highs/lows โ solid, angled trendlines (no flat junk)
Filters by minimum angle โ only meaningful trends
Shows recent pivots with "R" / "S" labels (optional)
Long extension to the right โ see future zones instantly
Perfect for SPY, QQQ, NASDAQ daily swings โ 85%+ touch rate in backtests
Why traders love it:
โข No repaint โ safe for live trading & alerts
โข Keeps chart clean โ only recent levels
โข Angle filter = no useless horizontal lines
โข Works on any timeframe โ daily/4H/1H killer
Add to chart now โ see the difference immediately!
How to Use the "Auto Trendlines by Pivots" Indicator Effectively
This indicator automatically draws clean, non-repainting trendlines by connecting confirmed pivot highs and lows, helping you visualize dynamic trend direction, support/resistance from swings, and potential reversal or continuation zones. It's especially powerful on daily and 4H charts for SPY, QQQ, NASDAQ stocks, forex majors, and crypto.
Quick Start Guide
Add to Chart
Open TradingView โ Pine Editor โ paste the script โ Save โ Add to Chart.
Best symbols/timeframes: SPY/QQQ/ES1! daily, 4H, or 1H.
Key Settings (Recommended Starting Values)
Pivot Left/Right Bars: 5/5 (default) โ balanced strength.
Increase to 8โ10 for stronger, fewer lines (less noise, higher accuracy).
Decrease to 3โ4 for more frequent lines (scalping/intraday).
Max Trendlines: 8 (default) โ keeps chart readable.
Lower to 4โ6 for minimalism; raise to 12โ15 for more history.
Min Trend Angle: 15ยฐ (default) โ filters out flat/weak lines.
Increase to 20โ25ยฐ for steeper trends only (very clean chart).
Decrease to 10ยฐ to see shallower trends.
Line Extension: 100โ200 bars โ long enough to project forward zones.
Show Labels: On โ "R" (red) and "S" (green) marks pivot points.
Turn off for ultra-clean look.
How to Read & Trade with It
Uptrend (Bullish): Greenish upward-sloping lines connecting higher lows โ act as dynamic support.
โ Buy pullbacks to the trendline + confirmation (e.g., RSI oversold, volume spike, candlestick reversal).
โ Target next resistance line or previous pivot high.
Downtrend (Bearish): Reddish downward-sloping lines connecting lower highs โ act as dynamic resistance.
โ Short rejections at trendline + confirmation (e.g., RSI overbought, bearish engulfing).
โ Target next support line or previous pivot low.
Range / Sideways: Mixed criss-crossing lines โ avoid trading or use horizontal S/R levels (when trendlines flatten).
Confluence = where multiple lines cluster โ highest-probability zones.
Breakouts: When price closes decisively through a trendline โ signals potential trend change or acceleration.
Wait for retest of broken line as new support/resistance.
Pro Trading Tips (High-Probability Setups)
Confluence is King: Trade when price reaches a trendline + horizontal S/R level from pivots (yellow zones if you add confluence logic).
Timeframe Alignment: Use daily lines for bias, 4H/1H for entries.
Confirmation Tools:
RSI(2) < 10 near support (long) or > 90 near resistance (short)
Volume > 20-period SMA on touch
Candlestick patterns (hammer, engulfing) at line
Risk Management:
Stop below support trendline (longs) or above resistance trendline (shorts)
Target 1.5โ3R (next major level or opposite line)
Avoid trades if VIX > 25โ30 (high volatility kills accuracy)
Best Markets: Strong trends (bullish SPY/QQQ 2020โ2025) โ 70โ85% bounce rate at lines.
Common Mistakes to Avoid
Over-trading flat markets โ wait for clear trend angle.
Ignoring angle filter โ flat lines are noise, not real trends.
Not zooming out โ always check higher timeframe (weekly) for major lines.
Performance Insight
Backtests on SPY daily (2010โ2025): ~80% price interaction (touch/bounce) at trendlines in trending periods.
Combine with RSI(2) or EMA50 โ win rate often >75% on pullback entries.
VWAP roller autoBrief Description
VWAP Roller Auto is a TradingView Pine Script indicator that combines a rolling (resetting) Volume Weighted Average Price (VWAP) with dozens of dynamic support/resistance levels derived from Gann's Square of 9 principles. The VWAP resets periodically (automatically or manually) starting from a user-defined session open time, and the Gann levels "roll" with it, creating an adaptive grid of potential price reaction zones. It's designed for intraday trading and overlays directly on the price chart.
Key Features
Rolling VWAP with Custom Session Start
VWAP calculation restarts at configurable session open (default 8:30 CST, using proper Chicago timezone handling).
Auto-Adaptive Period Selection
Automatically chooses the VWAP reset period (from 2 min up to 48 hours) based on current volatility (ATR + realized range). Targets a user-defined spacing (~0.08% by default) between consecutive VWAPs to keep the grid relevant to market conditions. Falls back to manual period if disabled.
Gann Square of 9 Levels
Generates ~8 pairs of resistance (R) and support (S) levels above/below the current rolling VWAP using octave-based increments.
Two increment modes:
Points mode โ fixed point steps that double octavely (e.g., 0.305, 0.610, 1.22, 2.44, etc.).
Percent mode โ percentage steps scaled so the middle octave aligns near 0.025% for finer resolution on lower-priced assets.
Visual Enhancements
Colored fills between key level groups (e.g., inner ยฑ0.25 octave in blue, ยฑ1โ2 octave zones in gray, higher extremes in yellow/red).
Labels on the right side marking important zones ("low", "normal", "high", "3/4 - ps1", "extreme - ps2").
Central VWAP line (customizable color and offset).
Table showing current period length and whether auto mode is active.
Non-Timeframe Friendly
Works on range bars, Renko, etc., using fallback settings when timeframe is non-standard.
Use Cases
Intraday Support/Resistance Trading
Treat the rolling VWAP as fair value and use the Gann-derived levels as dynamic zones for potential reversals, breakouts, or mean reversion.
Scalping and Day Trading
Auto-period ensures the grid spacing matches current volatility โ tighter levels in quiet markets, wider in volatile ones โ ideal for futures (ES, NQ), crypto, or forex.
Zone-Based Entries/Exits Buy near labeled support zones (e.g., "low" or "normal" volatility bottoms) when price trades below VWAP.
Sell/short near resistance zones in overbought conditions.
Watch for hits of "extreme" zones (ยฑ8 octave) as potential strong reversal signals.
Confluence Tool
Combine with order flow, volume profile, or other indicators; the colored fills highlight "value areas" similar to market profile concepts but anchored to a rolling VWAP.
In short, VWAP Roller Auto provides a sophisticated, self-adjusting Gann-inspired grid that moves with the market's fair value, helping traders identify high-probability reaction zones throughout the trading session.
ADR Dashboard with Move, Left and AlertsIndicator Name: ADR Dashboard with Move, Left and Alerts
Overview
The ADR Dashboard is a powerful real-time trading tool that tracks how much a stock, crypto, or other asset has moved today relative to its Average Daily Range (ADR). It provides a clear visual representation of:
1. Todayโs price movement (Move)
2. Remaining potential movement left to reach ADR (Left)
3. Percentage of ADR covered (% Covered)
4.Additionally, it provides automated alerts for key movement thresholds.
A) What it Does
1.Calculates the Average Daily Range (ADR):
2. Uses True Range over a user-defined lookback period (default 14 days).
3. ADR measures typical daily volatility.
B) Tracks Todayโs Move:
1. Move = Current Price โ Todayโs Open (Realtime)
2. Positive โ bullish move, Negative โ bearish move
C) Tracks Remaining Potential (Left):
1. Left = ADR โ |Move| (Realtime)
2. Shows how much of the ADR is still available for todayโs move
3. Percentage Covered:
4. % Covered = |Move| / ADR ร 100
D) Color-coded for visual clarity:
1. Green (<50%) โ small move, plenty of range left
2. Yellow (50โ80%) โ moderate move, watch for acceleration
3. Orange (80โ100%) โ strong move, ADR almost reached
4. Red (>100%) โ ADR exceeded, momentum may be exhausted
E) Dashboard Table:
1. Columns: ADR | Move | Left | % Covered
2. Position: middle-right of the chart
F) Left column color-coded:
1. Green โ some ADR left
2. Red โ ADR fully reached or exceeded
3. Move column: usually yellow for visibility, but could be enhanced for positive/negative moves
G) Alerts
The indicator provides directional alerts:
Bullish Alerts (upward moves):
1. 90% ADR warning: fires when Move โฅ 90% of ADR โ early warning of strong bullish momentum
2. 100% ADR breach: fires when Move โฅ ADR โ full daily range reached
Bearish Alerts (downward moves):
1. 90% ADR warning: fires when Move โค -90% of ADR โ early warning of strong bearish momentum
2. 100% ADR breach: fires when Move โค -ADR โ full daily range reached
All alerts are unique and fire once per session per threshold.
H) How Traders Can Use This Indicator
Momentum Trading:
1. Identify strong intraday moves approaching ADR.
2. Enter positions early at 90% ADR warning or take profits near 100% ADR.
Scalping & Intraday Trading:
1. Gauge how much of todayโs range is left for quick entries/exits.
2. Avoid trades when ADR is almost fully consumed โ reduces risk of reversals.
Swing Trading:
1. Combine with trend indicators to see if todayโs move is significant relative to historical volatility.
I) Risk Management:
1. Set profit targets or stop-loss levels based on Move and Left values.
Visual Efficiency:
At-a-glance view of Move, Left, % Covered, and alert status without manual calculations.
Key Features
1. Real-time Move and Left updates
2. Color-coded % Covered and Left for quick visualization
3. Alerts for 90% and 100% ADR levels, bullish and bearish
4. Clean dashboard table at middle-right of the chart
5. Works across stocks, crypto, forex, and other markets
J) Why This Indicator is Powerful
1. Combines volatility (ADR) with real-time price tracking
2. Provides visual clarity and actionable alerts
3. Helps traders stay ahead of intraday moves, manage risk, and time entries/exits effectively






















