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
トレンド分析
Session Liquidity SignalsThis indicator is called SLF VT and it analyzes market liquidity across major sessions
It defines three specific time windows which are Asia London and New York
During these times it draws colored boxes to mark the session High and Low
When a session ends the indicator extends dashed lines from the High and Low prices
These lines represent liquidity vectors where stop losses might be located
The core logic is designed to detect a Trap pattern
A Bullish Trap happens when price sweeps below a previous session Low but closes back above it
A Bearish Trap happens when price sweeps above a previous session High but closes back below it
The code calculates the Wick Ratio to ensure the reversal is sharp and valid
If a trap is confirmed the indicator plots a text label on the chart and can trigger an alert
COMD - Candle Coloring Logic V2 Custom KAMA Ribbon is an early-stage trend analysis system built around five adaptive moving averages stacked into a ribbon that colors price candles in real time. It was created by xqweasdzxcv during a phase of aggressive strategy experimentation, back when throwing clever math at the market still felt like it might solve everything (spoiler alert, it did, and all the world will see soon in the following few years). The tool visualizes shifting trend strength through adaptive smoothing, giving a cleaner read than standard moving averages, but it eventually got outclassed by more advanced, structure-driven models.
This version survives as a fossil from the evolutionary path of project Patron (the Core Of My Desire is just a base). It still matters, not because it is the best, but because this is part of a true legend and because it shows how adaptive moving average stacking was used to build smarter trend filters before the really serious weapons came online.
Multi-Filter Momentum Candle Strategy (Non-Repaint)Momentum Candle Precision Scanner is a price action–based indicator designed to detect high-quality momentum candles after consolidation phases.
It combines candle structure analysis, volume confirmation, ATR control, consolidation filtering, and higher timeframe EMA trend alignment to reduce false signals.
⚠️ This indicator is NOT standalone and MUST be used together with an external RSI indicator.
RSI is intentionally not included in the script to allow traders full flexibility in choosing their preferred RSI settings.
🎯 Purpose
This indicator helps traders:
Identify valid impulsive candles, not just large candles
Avoid entries during sideways or consolidation zones
Trade in alignment with the higher timeframe trend
Improve entry selectivity through a scoring-based validation system
⚙️ Core Logic Explained
1️⃣ Momentum Candle Structure
Candle body must fall within a predefined pip range
Minimum body-to-range ratio is required
Upper and lower wick percentages are strictly limited
This helps filter out candles caused by noise or fake breakouts.
2️⃣ Volume Confirmation
Current volume must be above its moving average
Ensures momentum is supported by market participation
3️⃣ ATR-Based Control
Candle body size is capped using ATR
Prevents signals during abnormal volatility spikes (e.g., news events)
4️⃣ Consolidation Filter (Box & Core Zone)
A dynamic price box is built from recent candles
Signals are ignored inside the core consolidation zone
Focuses entries on breakout or expansion phases
5️⃣ Scoring System
Each candle is evaluated using a weighted score:
Candle body quality
Wick structure
Volume strength
ATR validity
Position relative to consolidation
Signals are triggered only when the minimum score threshold is met.
📈 Trend Filtering (EMA HTF & Current TF)
Higher Timeframe EMA defines the main trend direction
Current Timeframe EMA reflects local momentum
Options available:
Trade with HTF trend only
Or allow counter-trend signals (user controlled)
🚨 Alert Feature
Alerts can trigger minutes before candle close
Designed for traders who wait for near-close confirmation
⚠️ IMPORTANT – RSI IS REQUIRED
This indicator does NOT include RSI internally.
📌 You must add an external RSI indicator and use it as:
Additional momentum confirmation
Overbought / oversold filter
Trend strength validation
👉 General RSI usage example:
Buy setups → RSI above 50 and strengthening
Sell setups → RSI below 50 and weakening
(Users are free to adapt RSI settings to their own strategy.)
🛠️ Recommended Usage
Best suited for M5
Optimized for XAUUSD
Can be adapted to other instruments by adjusting pip size
📌 Disclaimer
This indicator is a technical analysis tool, not a trading system.
No guarantees of profitability. Always apply proper risk management, RSI confirmation, and personal backtesting before live trading.
Crosses Open Daily (shock points OD)It is an indicator that works to alert you when an asset, during the day, crosses or approaches the daily open again.
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.
Adaptive Market Structure Channel By S B PrasadAdaptive Market Structure Channel (AMSC)
Institutional-Grade Trend, Volatility & Liquidity Framework
Overview
The Adaptive Market Structure Channel (AMSC) is a multi-engine, adaptive trading framework designed to read market structure, volatility, liquidity, and trend strength in real time.
It integrates ATR-based channels, pivot structure, supply–demand zones, liquidity sweeps, multi-factor momentum, and higher-timeframe confirmation into a single, coherent visual system.
AMSC is not a single-indicator strategy.
It is a context-driven decision framework intended to help traders align entries with dominant trend, structural levels, and institutional activity.
Core Components
1️⃣ Adaptive ATR Trend Channel
Dynamic ATR-based support & resistance
Automatically adjusts to volatility
Color-coded trend strength (strong / weak regimes)
Acts as the primary trend bias filter
2️⃣ Pivot-Based ATR Trend Channels
Channels built from confirmed pivot highs and lows
ATR-expanded structure, not fixed slopes
Separates impulse moves from corrections
Useful for trend continuation and pullback trades
3️⃣ Market Structure: Supply & Demand Zones
Automatically plots fresh demand and supply zones
Zones extend forward until violated
Helps identify high-probability reaction areas
Used as a location filter, not a standalone signal
4️⃣ Liquidity Sweep Detection (Smart Money Logic)
Identifies equal high / equal low liquidity pools
Detects stop-hunt style sweeps
Validates sweeps only when price reacts from structure zones
Prevents chasing false breakouts
5️⃣ Multi-Factor Trend Confirmation Engine
Combines:
EMA structure
MACD momentum
RSI regime
VWAP positioning
Optional ribbon & HMA filters
Signals are generated only when a majority of factors align, avoiding single-indicator bias.
6️⃣ Volatility Context (Bollinger Bands)
Provides volatility expansion / contraction context
Helps distinguish trend continuation vs compression
Works as a background regime filter
7️⃣ Higher Timeframe Confirmation
Confirms trend using a user-selected HTF
Prevents counter-trend trades during strong HTF bias
Essential for intraday and swing traders
8️⃣ Session-Aware Trading
Optional India, London, and New York session filters
Signals only during active market participation
Avoids low-liquidity false signals
9️⃣ Professional Dashboard
Real-time display of:
Trend direction
Trend strength
Factor alignment
HTF bias
Active zone
Trade signal
Session status
Designed for quick decision-making, not clutter.
How to Use AMSC (Best Practice)
✔ Trade in the direction of the ATR trend
✔ Enter near demand/supply within the channel
✔ Confirm with factor alignment & HTF bias
✔ Use liquidity sweeps as entry triggers, not signals alone
✔ Avoid trades during low-strength or inactive sessions
AMSC performs best when used as a confluence system, not a mechanical entry-exit robot.
Ideal Use Cases
Intraday index trading
Swing trading in trending markets
Futures & FX structure-based trading
Traders who prefer context over indicators
What AMSC Is NOT
❌ Not a scalping toy
❌ Not a repainting indicator
❌ Not a one-click signal generator
It is built for disciplined traders who understand structure and risk.
Final Note
AMSC is designed to think like the market, not predict it.
Use it to read conditions, not chase signals.
MSC — BEST CLEAN SETUP (RECOMMENDED)
🎯 Design Philosophy
“Context first, signals last.”
The goal is to:
Read trend & structure at a glance
Avoid indicator overload
Let price + zones + channel do the heavy lifting
1️⃣ CORE VISUALS (KEEP ON)
These are non-negotiable.
🔹 Adaptive ATR Trend Channel
✅ ON
Primary trend bias
Use ATR Trendline Color = ON
This alone defines:
Bull vs Bear
Strength vs weakness
👉 If price is above channel → bullish context
👉 If price is below channel → bearish context
🔹 Pivot ATR Trend Channel
✅ ON
Channel fill: ON
Transparency ≥ 85
Purpose:
Visualise trend slope
Spot pullbacks inside trend
👉 Treat channel edges as dynamic structure, not entry signals.
🔹 Supply & Demand Zones
✅ ON
Transparency: 80–85
Zones auto-expire visually when violated
👉 These are your only horizontal levels.
2️⃣ SMART FILTERS (SELECTIVE)
💧 Liquidity Sweep
✅ ON
Lookback: 5
Tolerance: 0.15 ATR
👉 Use sweeps only near zones
❌ Ignore sweeps in the middle of nowhere
⏱ Session Filter
✅ ON
Trade only one session
India (for NSE)
London (for FX)
New York (for US indices)
❌ Do NOT enable multiple sessions simultaneously
🔍 Higher Timeframe (HTF)
✅ ON
Intraday: Daily
Swing: Weekly
👉 If HTF disagrees → no trade
3️⃣ WHAT TO TURN OFF (CRITICAL)
This is where clutter dies.
❌ Bollinger Bands
🚫 OFF by default
Use only when studying volatility compression
Otherwise adds visual noise
❌ Full ATR Channel (Ver 15)
🚫 OFF
Redundant with pivot + ATR trend
Keep only one channel logic
❌ SuperTrend Channel
🚫 OFF
ATR Trend Channel already covers this
❌ Pivot Levels (P, R1, S1…)
🚫 OFF
Zones replace static pivots
Too many horizontal lines = paralysis
❌ Previous Day / Week Levels
🚫 OFF
Turn ON only for index option trading
Otherwise clutter
4️⃣ MOVING AVERAGES (STRICT RULE)
Keep ONLY:
EMA Fast (9)
EMA Slow (21)
Optional:
HMA → ON only for scalping
❌ Do NOT stack multiple MAs visually
5️⃣ DASHBOARD (MINIMAL MODE)
🧭 Dashboard
✅ ON
Position: Top Right
Text Size: Small
Watch only:
Trend
Strength
HTF
Zone
Signal
Ignore factor numbers once confidence develops.
6️⃣ SIGNAL USAGE (DISCIPLINE RULE)
✔ Signal must appear inside a zone
✔ Signal must align with trend & HTF
✔ Signal must be during session
❌ Never take:
Signals mid-channel
Signals against HTF
Signals during flat strength (<30%)
7️⃣ RECOMMENDED PRESETS (COPY THIS)
🔹 Intraday (Clean)
Timeframe: 5m / 15m
HTF: Daily
Session: India / NY
BB: OFF
Full ATR: OFF
SuperTrend: OFF
Pivots: OFF
🔹 Swing (Ultra Clean)
Timeframe: 1H / 4H
HTF: Weekly
Liquidity: ON
Zones: ON
Dashboard: ON (small)
8️⃣ GOLDEN RULE (MOST IMPORTANT)
If you cannot explain the trade using only:
Trend channel
One zone
One sweep
Do not trade it.
🏁 FINAL VERDICT
AMSC is not cluttered by design.
Clutter comes from turning everything ON.
Used correctly:
The chart stays clean
Decisions become obvious
Overtrading disappears
AMSC – TRADE EXECUTION RULEBOOK
Framework rule:
Trend → Structure → Liquidity → Entry → Risk → Exit
1️⃣ MARKET PRE-CONDITIONS (MANDATORY)
❌ NO TRADE unless ALL are TRUE
✅ Trend Filter
ATR Trend Channel = Bull for longs / Bear for shorts
Trend strength ≥ 40%
Price must be on the correct side of the channel
✅ HTF Confirmation
HTF bias must match LTF trend
If HTF is neutral → NO TRADE
✅ Session Filter
Trade only during active session
No first 5 minutes after session open
No last 15 minutes before session close
2️⃣ LOCATION RULE (MOST IMPORTANT)
🔹 Long Trades
Price must be inside or just above a DEMAND zone
Zone must be:
Fresh (not tested more than twice)
Within the Pivot ATR Channel
🔹 Short Trades
Price must be inside or just below a SUPPLY zone
Same freshness rules apply
❌ No zone → no trade
3️⃣ LIQUIDITY CONFIRMATION (ENTRY TRIGGER)
🔹 Long Entry Trigger
At the demand zone, you must see:
✔ Sell-side liquidity sweep
✔ Sweep candle closes bullish
✔ Sweep occurs inside the zone
🔹 Short Entry Trigger
At the supply zone, you must see:
✔ Buy-side liquidity sweep
✔ Sweep candle closes bearish
✔ Sweep occurs inside the zone
4️⃣ ENTRY RULE (EXECUTION)
🔵 LONG ENTRY
Enter BUY when all conditions align and:
Enter at:
Close of the sweep candle OR
50% retrace of the sweep candle (preferred)
🔴 SHORT ENTRY
Enter SELL when:
Enter at:
Close of the sweep candle OR
50% retrace of the sweep candle
5️⃣ STOP-LOSS RULES (NON-NEGOTIABLE)
🔻 Long SL
Place SL at:
Lowest point of the demand zone
OR
Below sweep low − 0.1 ATR (whichever is lower)
🔺 Short SL
Place SL at:
Highest point of the supply zone
OR
Above sweep high + 0.1 ATR (whichever is higher)
❌ Never trail SL early
❌ Never move SL to break-even before partial exit
6️⃣ POSITION SIZE (FIXED RISK ONLY)
Risk per trade: 0.5% – 1% max
If SL distance is large → reduce position size
Do not widen SL to fit position
7️⃣ EXIT RULES (STRUCTURED)
🎯 TARGET 1 (T1 – Protection)
At 1R
Action:
Book 50%
Move SL to Break-Even
🎯 TARGET 2 (T2 – Structure)
Next opposite zone
OR
Pivot ATR Channel mid-line
Book 30%
🎯 FINAL EXIT (TREND FOLLOW)
Exit remaining 20% when:
✔ Opposite liquidity sweep occurs
✔ Price closes beyond Pivot ATR Channel
✔ HTF bias flips
✔ Session ends
8️⃣ NO-TRADE CONDITIONS (ABSOLUTE)
❌ Trend strength < 30%
❌ Zone already tested 3+ times
❌ Liquidity sweep outside zone
❌ Entry candle is oversized (>1.8 ATR)
❌ Trade against HTF
❌ Emotional or revenge trade
9️⃣ ONE-SCREEN TRADE CHECKLIST
Before clicking BUY/SELL:
✔ Trend aligned
✔ HTF aligned
✔ In session
✔ At zone
✔ Sweep confirmed
✔ SL defined
✔ R ≥ 2 possible
If any answer = NO → skip trade
🔒 DISCIPLINE STATEMENT (PRINT THIS)
AMSC does not pay for activity.
It pays for patience, location, and discipline.
🏁 EXPECTED PERFORMANCE (REALISTIC)
Win rate: 45–60%
R:R average: 1:2.5 to 1:4
Drawdown: low
Trade frequency: selective
Adaptive Market Structure Channel — Visual Layout
5
🧭 How to READ the Chart (Left → Right)
1️⃣ Core Trend Context (FIRST thing your eyes see)
ATR Trend Channel
Acts as dynamic support/resistance
Green = bullish regime
Red = bearish regime
No second trendline competing with it
👉 If price is on the wrong side → no trade
2️⃣ Pivot ATR Structure Channel (SECOND layer)
Sloping channel following real swing structure
Shows:
Trend acceleration
Healthy pullbacks
Channel fill is very light (high transparency)
👉 Pullbacks inside this channel are valid
👉 Breaks outside = caution / exit
3️⃣ Supply & Demand Zones (ONLY horizontal objects)
Few, wide, soft-colored zones
No pivot clutter, no fibs, no grids
👉 Trades happen only here
4️⃣ Liquidity Sweep Markers (EVENT-BASED)
Appears only near zones
Indicates stop-hunt, not entry by itself
👉 Sweep + zone + trend = setup
👉 Sweep alone = ignore
5️⃣ Dashboard (Decision Support, not distraction)
Small
Corner-placed
Shows only:
Trend
Strength
HTF bias
Zone
Signal
Session
👉 After experience, you’ll barely look at it
🚫 What You DO NOT See (Very Important)
A clean AMSC chart intentionally avoids:
Multiple moving averages
Pivot levels (P/R/S)
Too many channels
Oscillator panels
Bright fills or thick lines
If your chart looks “busy”, something is ON that should be OFF.
🧠 Mental Model (Keep This Image in Mind)
AMSC chart =
1 dynamic trend
1 structure channel
1 zone
1 liquidity event
1 decision
Anything more → clutter
Anything less → blind trading
✅ Final Visual Checklist (Before Trading)
✔ Chart background visible
✔ Candles clearly readable
✔ Zones visible but not loud
✔ Channel guides the eye
✔ Nothing overlaps price excessively
If yes → you are trading AMSC correctly
srd786-Intraday VWAP Price Action IndicatorDISCLAIMER
This Pine Script indicator does not constitute financial advice; it is just intended for educational and informational purposes. It functions as a tool for technical analysis that could help traders spot possible trading opportunities. It is crucial to remember that participating in financial markets has a number of risks that might result in large losses and are not suitable for all investors.
Users are encouraged to conduct their own thorough investigation and analysis prior to using this indicator. Avoiding trading with money that one cannot afford to lose is essential. It is also advised to seek advice from a certified financial expert. Users must use suitable risk management techniques and recognize that past success does not guarantee future outcomes.
Any losses, damages, or other consequences resulting from the usage of this indicator are not the author's responsibility. The user is ultimately responsible for all trading decisions, therefore using this tool is at their own risk.
INTRODUCTION
The “srd786-Intraday VWAP Price Action Indicator” is a sophisticated Pine Script (version 6) trading tool designed for intraday traders who focus on New York session trading hours. This indicator combines multiple technical analysis concepts including Volume Weighted Average Price (VWAP), Average True Range (ATR) for risk management, swing point detection for support/resistance identification, and momentum analysis through RSI. The primary objective is to generate high-probability long and short signals based on price action confluence with trend, momentum, and key structural levels.
1.
VWAP (Volume Weighted Average Price): Shows the "fair" average price based on both price and trading volume.
2.
ATR (Average True Range): Measures how much the price typically moves each day.
3.
Trend Analysis: Identifies whether the market is going up, down, or sideways.
4.
Momentum Indicators: Shows how strong the current price movement is.
5.
Support & Resistance: Identifies key price levels where the price might stop or reverse.
6.
Swing Points: Finds significant turning points in the price.
This indicator is specifically optimized for the New York trading session (9:30 AM to 4:00 PM ET), making it particularly suitable for traders who focus on US market hours. It provides a complete trading framework that includes not only signal generation but also precise trade management levels including entry prices, stop-loss orders, and profit targets based on a configurable reward-to-risk ratio.
The philosophy behind this indicator is confluence-based trading. Rather than relying on a single indicator or condition, it requires multiple factors to align before generating a trade signal. This approach filters out lower-probability setups and focuses only on high-quality opportunities where price action, trend direction, momentum, and key technical levels all point in the same direction.
CORE CONCEPT AND METHODOLOGY
Volume Weighted Average Price (VWAP)
VWAP is the cornerstone of this indicator's trading methodology. Unlike a simple moving average that treats all price bars equally, VWAP incorporates volume data into its calculation, giving more weight to bars with higher trading volume. This makes VWAP a more accurate representation of the true average price where the most significant trading activity occurred.
The calculation of VWAP is performed using the built-in 'ta.vwap()' function, which computes the cumulative volume-weighted average price from the beginning of the session. For intraday traders, VWAP serves as a critical reference point that indicates whether the current price is trading at a premium (above VWAP) or discount (below VWAP) relative to the session's volume-weighted average.
In this indicator, the VWAP source is configurable through the 'vwapSource' parameter, with the default being HLC3 (High + Low + Close / 3). This source selection allows traders to experiment with different price types such as typical price, weighted close, or even custom sources to suit their trading style and market preferences.
Average True Range (ATR) for Risk Management
The Average True Range, calculated using 'ta.atr()', measures market volatility by decomposing the current range of price movement. ATR does not indicate price direction;
instead, it quantifies the degree of price movement or volatility over a specified period. In this indicator, ATR serves dual purposes: determining the distance for limit orders and calculating stop-loss levels.
The 'atrLength' parameter (default: 14) controls the lookback period for the ATR calculation. A shorter length makes the indicator more responsive to recent volatility, while a longer length provides a smoother average that may be more suitable for less volatile markets. The 'atrMultiplier' (default: 1.5) determines how many ATR units away the stop-loss is placed from the entry price, allowing traders to adjust their risk exposure based on current market conditions.
Swing Detection and Support/Resistance
Swing points represent significant turning points in price action where the market has temporarily exhausted its directional momentum. This indicator uses pivot high and pivot low calculations to identify swing highs and swing lows, which then form the basis for dynamic support and resistance levels.
The 'swingLength' parameter (default: 5) defines how many bars to the left and right of a potential pivot point must be lower (for pivot highs) or higher (for pivot lows) to confirm the swing point. This lookback period helps filter out minor price fluctuations and focuses on more significant structural levels.
Support and resistance levels are stored in arrays ('swingHighArray' and 'SwingLowArray'), with the most recent swing points serving as the primary reference levels. The 'srLookback' parameter (default: 20) controls the overall lookback window and also determines how many
swing points to maintain in each array, ensuring that only relevant historical levels are considered.
Breakout Detection
When a price moves past a major support or resistance level, this is known as a price breakout. This price breakout suggests that there is a possibility of a new trend direction heading forward.Breakout detection eliminates noise, as little price fluctuations or volatility may momentarily drive prices past a threshold without authentic conviction.Detection of breakouts affirms robustness when the price above the threshold by 2%, indicating genuine market interest, and mitigates whipsaws to prevent placing trades based on transient price swings.
The Breakout Tolerance parameter, set by default to 2%, regulates the breakout tolerance for the indicator. A price closure above the current high plus a minor tolerance buffer (usually 2%) indicates a potential continuation of upward movement, classified as a Bullish Breakout. Conversely, when the price closes below the recent low plus a minor tolerance buffer (usually 2%), it suggests that the price may continue to decline, which is classified as a Bearish Breakout Down.
Trend Identification
Trend determination is accomplished through an Exponential Moving Average (EMA) with a configurable length ('trendMaLength', default: 9). The indicator classifies trend into three
states: BULLISH (price above EMA with confirmation from the previous bar), BEARISH (price below EMA with confirmation), and SIDEWAYS (price crossing or near the EMA).
The EMA is chosen over simple moving averages because it responds more quickly to recent price changes while still providing enough smoothing to filter out noise. The confirmation requirement (both current and previous bar must be on the same side of the EMA) reduces false signals during periods of choppy price action.
Momentum Analysis
Momentum is measured using the Relative Strength Index (RSI) with a configurable length ('momentumLength', default: 9). RSI values are categorized into five states to provide nuanced momentum readings: STRONG BULL (RSI above 70), BUILDING (RSI between 55 and 70), NEUTRAL (RSI between 45 and 55), WEAKENING (RSI below 45), and STRONG BEAR (RSI below 30).
This momentum categorization allows traders to distinguish between strong trending conditions (STRONG BULL/BEAR) and transitions (BUILDING/WEAKENING), providing context for trade signals and helping to avoid entering positions during momentum divergences.
CONFIGURATION PARAMETERS
VWAP Settings
The 'vwapSource' parameter determines which price value is used in the VWAP calculation. The default value of 'hlc3' (High + Low + Close / 3) provides a balanced representation of each bar's price action. Traders can modify this to use typical price ('high + low + close / 3'), weighted close ('high + low + close + close / 4'), or other price types depending on their analytical preferences.
ATR Settings
The 'atrLength' parameter sets the lookback period for the Average True Range calculation. The default of 14 periods is standard across most trading platforms and timeframes, providing a good balance between responsiveness and smoothness. The 'atrMultiplier' parameter (default: 1.5) scales the ATR value to determine stop-loss distances. A multiplier of 1.5 means the stop-loss is placed 1.5 ATR units away from the entry price, providing enough buffer to accommodate normal volatility while limiting risk.
Trade Settings
The 'rrRatio' parameter (default: 3.0) establishes the reward-to-risk ratio for trade targets. A ratio of 2.0 means the profit target is twice the distance of the stop-loss from the entry price. The 'limitOrderDistance' parameter (default: 0.5) determines how far below (for long trades)
or above (for short trades) the current close the limit order is placed, measured in ATR units. This allows traders to enter positions at better prices while waiting for pullbacks.
Swing Detection Settings
The 'swingLength' parameter (default: 5) controls pivot identification sensitivity. Higher values identify more significant swing points but may miss shorter-term opportunities. The 'showSwings' boolean parameter toggles the visual display of swing high and low points on the chart.
Support & Resistance Settings
The 'srLookback' parameter (default: 20) defines how many bars back to search for swing points and support/resistance levels. The 'breakoutTolerance' parameter (default: 0.02 or 2%) adds a small buffer to breakout detection to account for minor penetration of support/resistance levels due to price spikes or slippage.
Trend & Momentum Settings
The 'trendMaLength' parameter (default: 9) sets the EMA length for trend determination, while 'momentumLength' (default: 9) sets the RSI lookback period. Both should be at least 5 periods for meaningful calculations.
Table Settings
The 'showTable' parameter (default: true) enables the display of two information tables that provide real-time data on Indicator values and trade levels.
SIGNAL GENERATION LOGIC
Long Signal Conditions
A long signal is generated when all the following conditions are simultaneously true:
1.
Session Filter: The trade must occur during New York session hours (9:30 AM - 4:00 PM ET).
2.
Trend Confirmation: The trend must be BULLISH (price above EMA with confirmation).
3.
Price Position: Current price must be above VWAP, indicating bullish price action.
4.
Breakout or No Resistance: Either price is breaking out above resistance level with tolerance, or there is no prior resistance level to overcome.
5.
Momentum Alignment: Momentum must be either STRONG BULL or BUILDING.
This confluence of conditions ensures that long trades are only taken when the market is trending higher, price is confirming strength by trading above VWAP, and momentum is supportive of continued upward movement.
Short Signal Conditions
A short signal is generated when all the following conditions are simultaneously true:
1.
Session Filter: The trade must occur during New York session hours
2.
Trend Confirmation: The trend must be BEARISH (price below EMA with confirmation)
3.
Price Position: Current price must be below VWAP, indicating bearish price action
4.
Breakout or No Support: Either price is breaking down below support level with tolerance, or there is no prior support level to overcome
5.
Momentum Alignment: Momentum must be either STRONG BEAR or WEAKENING
Similar to long signals, short trades require alignment across multiple timeframes and analytical approaches, filtering out counter-trend trades and focusing on high-probability setups.
TRADE MANAGEMENT FRAMEWORK
Entry Price Calculation
For long trades, the limit order price is calculated as: 'Close - (ATR Value × Limit Order Distance)'. This places the entry price below the current close, allowing traders to buy on dips while maintaining a favorable entry price. For short trades, the limit order is placed above the current close: 'Close + (ATR Value × Limit Order Distance)'.
The limit order distance is expressed in ATR units, making it adaptive to current volatility conditions. In more volatile markets, the limit order will be placed further from the current price, while in calmer markets, it will be closer.
Stop-Loss Placement
Stop-loss levels are calculated using the ATR multiplier to ensure adaptive risk management. For long trades: 'Entry Price - (ATR Value × ATR Multiplier)'. For short trades: 'Entry Price + (ATR Value × ATR Multiplier)'.
This adaptive approach to stop-loss placement means that in volatile markets, stops are wider to avoid being stopped out by normal price fluctuations, while in quieter markets, stops are tighter to limit potential losses. The default multiplier of 1.5 provides approximately 1.5 times the average true range of protection.
Target Price Calculation
Profit targets are determined by the reward-to-risk ratio: 'Entry Price + (ATR Stop Distance × RR Ratio)' for long trades and 'Entry Price - (ATR Stop Distance × RR Ratio)' for short trades. The default ratio of 2.0 means the target is twice the distance of the stop-loss, providing a favorable risk-reward profile.
New York Session Tracking
The indicator includes specialized logic for tracking the New York session open price. When a new NY session begins (determined by the 'isNewNySession' variable), the current open price is recorded and maintained throughout the session. This provides a reference point for measuring intraday directional bias from the session's starting level.
INFORMATION TABLES
Indicators Table
This table displays the current price, VWAP value, NY session open price, support level,resistance level, ATR, ATR-scaled stop distance, current trend classification, momentum state with RSI value, and breakout status. All values are color-coded based on their bullish or bearish implications. The VWAP cell is color-coded green if price is above VWAP (bullish) and red if below (bearish), providing instant visual confirmation of price's position relative to this critical level.
Trade Levels Table
This table shows current signal status (LONG, SHORT, or WAIT), limit order distance in ATR units, calculated limit order price, stop-loss level, and target price with the reward-to-risk ratio displayed. The signal cell is highlighted in green for long signals and red for short signals.
ALERT CONDITIONS
The indicator includes four alert conditions that can be configured in TradingView:
1.
LONG Signal: Triggers when a long signal is generated, providing entry price, stop-loss, and target information.
2.
SHORT Signal: Triggers when a short signal is generated with corresponding trade details.
3.
Breakout Up: Notifies when price breaks out above resistance level.
4.
Breakout Down: Notifies when price breaks down below support level.
These alerts enable traders to receive notifications via TradingView's alert system without continuously monitoring the charts.
USAGE EXAMPLES AND TRADING SCENARIOS
Strong Bullish Trend with VWAP Support
In this scenario, price has been trading above the 9-period EMA for multiple bars, confirming a bullish trend. The current price is above VWAP, indicating buyers are willing to pay a premium. A recent swing low has established a support level, and RSI is reading 65, indicating building momentum without being overextended. When price breaks above the recent swing high resistance with a 2% tolerance, the indicator generates a long signal. The trader places a limit order below the current bar's close (0.5 ATR units) and sets the stop-loss 1.5 ATR units below the entry, with a target 2.0 times the stop distance away.
Short Setup During Volatile Session
During a particularly volatile NY session, price gaps down below VWAP early in the day. The 9-period EMA is declining, and both current and previous bars are below it, confirming a bearish trend. The RSI has dropped to 28, indicating strong bearish momentum. A recent swing high serves as resistance, and when price breaks below the swing low support level, the indicator generates a short signal. The trader enters on a limit order placed 0.5 ATR units above the current price, with the stop-loss 1.5 ATR units above the entry and the target at a 2.0 reward-to-risk ratio.
Avoiding Counter-Trend Trades
Consider a scenario where price is above VWAP and the RSI reads 72 (overbought), but the price is below the 9-period EMA and the previous bar was also below the EMA. In this case, the trend is classified as BEARISH (or SIDEWAYS) despite the bullish price position relative to VWAP. The indicator will not generate a long signal because the trend condition is not met, protecting the trader from what could be a bear trap or continuation pattern.
No Prior Levels Scenario
At the beginning of a trading session or after significant volatility has cleared prior swing points, there may be no established support or resistance levels in the lookback window. In this case, the breakout condition 'or na(resistanceLevel)' allows long signals to be generated without requiring a resistance level to be broken, enabling traders to participate in emerging trends without waiting for prior levels to form.
BEST PRACTICES AND TIPS
Timeframe Selection
This indicator is optimized for intraday timeframes (1-minute to 60-minute charts) and specifically for NY session trading. Higher timeframes may produce more reliable signals but fewer opportunities, while lower timeframes will generate more signals but with potentially lower reliability. Traders should backtest on their preferred timeframe before trading live.
Market Conditions
The indicator performs best in trending markets with clear directional bias. During ranging or sideways markets, the trend condition may oscillate frequently, and VWAP may oscillate around price, reducing signal quality. Consider filtering signals or reducing position size during low-volatility, range-bound conditions.
Parameter Optimization
While the default parameters have been selected for general applicability, traders should consider optimizing certain parameters for specific markets or instruments. For highly volatile instruments like crude oil or natural gas, increasing the 'atrMultiplier' to 2.0 or 2.5 may provide more appropriate risk management. For less volatile instruments like certain forex pairs, reducing the multiplier to 1.0 or 1.2 may improve signal quality.
Multiple Timeframe Analysis
For enhanced performance, traders can analyze the trend on a higher timeframe (such as 15-minute or hourly) while taking signals on a lower timeframe (such as 5-minute or 1-minute). This multi-timeframe approach ensures that signals are aligned with the larger trend direction.
Risk Management
While the indicator provides calculated stop-loss levels, traders should consider their overall position sizing and portfolio risk. The ATR-based stops provide a market-adaptive approach, but individual risk tolerance and account size should ultimately determine position sizing. The 2.0 reward-to-risk ratio is fixed but can be adjusted based on personal preferences or the specific characteristics of the instrument being traded.
INTEGRATION WITH TRADINGVIEW
Adding the Indicator
To add this indicator to a TradingView chart, paste the code into the Pine Script editor and click "Add to Chart." The indicator will appear in the chart's sidebar and begin calculating immediately once sufficient historical data is available.
Configuring Alerts
To set up alerts, right-click on any of the alert conditions in the indicator's settings panel (long signal, short signal, breakout up, or breakout down) and select "Add Alert." Configure the alert frequency and notification methods (push notification, email, webhook, etc.) according to your preferences.
Customization
All input parameters can be adjusted through the indicator's settings panel without modifying the source code. Traders can experiment with different VWAP sources, ATR lengths and multipliers, swing detection parameters, and table display options to suit their trading style and market preferences.
LIMITATIONS AND CONSIDERATIONS
Session Dependency
The indicator is specifically designed for NY session trading and will not generate signals outside these hours. Traders focused on other sessions or 24-hour markets may need to modify the session string to match their trading hours.
Historical Data Requirements
The indicator requires sufficient historical data to accurately calculate swing points and support/resistance levels. On lower timeframe charts with limited history, the initial signals may be less reliable until adequate swing points are identified.
Lag in Swing Detection
By definition, swing points are confirmed after the price has moved away from them, introducing some lag into support/resistance identification. Traders should be aware that the most recent swing point may not be confirmed until several bars after it occurs.
Not Financial Advice
This indicator is a technical analysis tool and should not be construed as financial advice. Traders are responsible for their own research and risk management decisions. Past performance of any trading system does not guarantee future results.
SUMMARY
The code follows a logical flow:
•
Version and Declaration: Pine Script version 6 indicator declaration with overlay enabled
•
Input Parameters: All user-configurable settings grouped by category
•
Session Logic: New York session tracking and open price recording
•
Core Calculations: VWAP, ATR, EMA, RSI, swing points
•
Support/Resistance Logic: Array-based storage and retrieval of swing levels
•
Trend and Momentum Classification: Categorization of current market state
•
Signal Generation: Confluence-based long and short conditions
•
Trade Level Calculations: Entry, stop-loss, and target pricing
•
Visual Plots: Hidden plots for alert data access
•
Information Tables: Real-time display of key values
•
Alert Conditions: Four configurable alert triggers
This structured approach ensures clarity, maintainability, and extensibility for future modifications or enhancements.
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
SIV Trading LightSmartInVisions Trading Light (SIV Trading Light) is an open-source, multi-factor market regime and trade bias indicator developed by SmartInVisions GmbH.
The indicator combines:
- trend structure (fast/slow MAs + slope)
- momentum (RSI)
- choppiness (ADX)
- volatility risk (ATR%)
- volume participation
- optional higher-timeframe market regime filtering
into a single, easy-to-interpret LONG / NEUTRAL / SHORT bias score.
Built-in Presets
- Day-Trading (USA / Europe)
- Swing-Trading (USA / Europe)
- Investing (USA / Europe)
- Custom mode for advanced experimentation
Key Features
Multi-timeframe regime filter
Two MA overlays (Fast / Slow) with independent EMA / SMA selection
Clear on-chart badge and optional detailed breakdown table
Alert-ready score output
Usage Notes
For stable alerts, use “Once per bar close”
Presets override effective weights and thresholds; timeframes and MA settings remain manual
Credits
- Publisher: SmartInVisions GmbH
- Concept & design: Reiner Ernst (Founder & Managing Director, SmartInVisions GmbH)
- Implementation & iterative development: SmartInVisions GmbH + ChatGPT (OpenAI)
License
Mozilla Public License 2.0 (MPL-2.0)
This indicator is provided for research and educational purposes only.
No financial advice. Use at your own risk.
5,8,10,13 EMA Cluster Crossmultiple EMA cross indicator
yellow - prepare
green - go
red - losing momentum after an entry from green
Winners Scalper Pro - Bull/Bear (v1.5)best settings all standart but only change rsi
15 min rsi 8-9
30 min rsi 12-14
Multi-Timeframe RSI (Daily + Weekly)View the Daily and Weekly RSI together so you see how the oscillate on any timeframe
Fair Value Gap [Zigamipassa] + Strength (0-10)Normal FVG indicator, with a twist that lets you see the strength of each fair value gap
Reversal Trading ChecklistUse to grade your reversal trades before execution.
Middle Half of hour refers to :15ish-:45ish when reversals are higher probability. After :45-:15 reversals have lower chance of occurring. Not a super highly weighted item but it will help.
Institutional Scanner FixHere is a professional Pine Script (Version 5) for TradingView. It is optimized to precisely identify the "Absorption" and "Reversal" signals.
What this script does for you:
Auto-Fibonacci: It automatically calculates the 0.618 Golden Ratio of the last 50 candles.
Volume Delta Check: It calculates the delta (buy volume minus sell volume) per candle.
Signal: It marks a "Buy Absorption" when the price touches the 0.618 level but the delta turns positive (green arrow).
The Volume Multiplier is your scanner's "sensitivity knob." It determines how much more volume compared to the average must flow for a signal to be classified as institutionally relevant. Here is the bank standard for calibration, based on your trading strategy and the asset's liquidity:
The rule-of-thumb values for the multiplier
Strategy Type | Recommended Value | Logic
Conservative (High Conviction) | 2.0 to 2.5 | Only extreme volume spikes are marked. Good for swing trades on a daily basis.
Standard (Day Trading) | 1.5 to 1.8 | The "sweet spot." Marks volume that is approximately 50-80% above average.
Aggressive (Scalping) | 1.2 to 1.3 | Reacts very quickly to small order flow changes but produces more "noise" (false signals).
hap adxAdaptive ADX & DI Color Bars – Indicator Description
This indicator is an advanced ADX-based momentum and trend strength visualizer.
Instead of displaying raw ADX and DI values only, it dynamically changes bar colors
based on the relationship between ADX, +DI, and −DI, making market conditions
instantly readable.
Core Logic:
- Rising ADX indicates increasing momentum and trend strength
- Falling ADX signals weakening trend or transition to range
- +DI vs −DI defines bullish or bearish directional control
Color States:
Strong Bullish Trend:
- ADX is rising
- +DI is above −DI
- Shows strong bullish momentum and trend continuation
Weak / Early Bullish:
- +DI above −DI
- ADX flat or weakening
- Trend exists but momentum is not fully confirmed
Strong Bearish Trend:
- ADX is rising
- −DI is above +DI
- Strong bearish dominance and continuation
Weak / Early Bearish:
- −DI above +DI
- ADX weakening
- Selling pressure exists but momentum is fading
No-Trade / Range Zone:
- ADX is low or clearly declining
- +DI and −DI are close or frequently crossing
- Market is ranging or indecisive
Why This Indicator Is Useful:
- Removes the need to interpret raw ADX values
- Visually highlights trend strength, weakness, and transitions
- Helps avoid low-quality trades during weak momentum
- Works perfectly as a trend filter for scalping, day trading, and swing trading
Best Use Cases:
- Trend confirmation
- Momentum filtering
- Entry quality validation
- Avoiding false breakouts in low ADX conditions
Toby Crabel's HisVolAs in Linda Raschke's Street smarts..... . This indicator shows the signals of Toby Crabel's Historical Volatility 6/100 strategy. The strategy assumes, that volatility contraction measured by two measures would give better results.
There is one other script that is a strategy , but it assumes that the signal requires both inside bar and narrowest range, what is not as in Linda Raschke's.
The strategy and what does the script do:
1) measures short-term unannualized volatility (by default six), long term uannualized volatility (by default 100), and measures the ratio of short volatility / long volatility.
2) checks if the current bar is an inside bar or has narrowest range out of last X bar (by default 4), or both,
3) puts an etiquette if short volatility / long volatility is equal to or smaller than 0,5 AND the day is inside bar, has narrowest range, or both.
Next day both buy-stop and sell-stop should be set. Buy-stop at the high and sell-stop at the low of the bar with etiquette.
This is by no means any financial advice, nor the historical results guarantee future gain.
Overnight High/Low RaysLast Overnight Session H/L.
Example: Use with ES to have visual cue for RTH trend development
5,8,10,13 EMA Cluster Crosssignals for multiple EMA Cross
yellow - starting to cross
green - ready to go
GEX Walls + Market Open Shading### Overview
This Pine Script (version 6) creates a TradingView indicator called **"GEX Walls + Market Open Shading"**. It overlays directly on the price chart and is designed for intraday trading, particularly for indices like SPX or ES futures. The script combines two main features:
- **GEX Walls**: Visual boxes and labels highlighting "Gamma Exposure" (GEX) levels—key support (Put Wall) and resistance (Call Wall) zones based on options gamma. It includes approach alerts.
- **Market Open Shading**: A semi-transparent background shade during a customizable post-market-open session (e.g., first 2 hours after 9:30 AM EST).
It uses up to 20 boxes and 20 labels, with right-scale positioning for better visibility on the price axis. The script detects new trading days to reset visuals dynamically.
### Key Inputs
The script is highly customizable via inputs grouped into sections:
#### GEX Walls Inputs
- **Call Wall** (default: 6900.0): Upper resistance level.
- **Put Wall** (default: 6850.0): Lower support level.
- **Buffer** (default: 3.0 points): Vertical padding around each wall for box thickness.
- **Alert Distance** (default: 10.0 points): Threshold for triggering "approach" alerts.
- **Colors**: Semi-transparent yellow for Call Wall boxes (#ffeb3b at 80% opacity), orange for Put Wall (#ff9800 at 80%).
- **Toggles**: Show/hide boxes; enable/disable alerts; restrict alerts to shaded session only.
- **Labels**: Text color (white), offset (bars to the right, default -2), size (tiny/small/normal/large).
#### Market Open Shading Inputs
- **Shade Color** (default: white at 90% transparency): Background fill during session.
- **Transparency** (0-100, default: 90): Opacity level.
- **Open Time** (default: 9:30 EST): Hour/minute for session start.
- **Duration**: Dropdown with pre-formatted options (e.g., "120 min: 11:30a EST / 8:30a PST" up to 195 min), showing both EST and PST end times for convenience.
- **Toggle**: Show/hide shading.
### How It Works
#### 1. Market Open Shading
- Calculates end time from open hour/minute + selected duration (e.g., 120 minutes from 9:30 AM EST = 11:30 AM EST).
- Builds a session string (e.g., "0930-1130") for TradingView's `time()` function.
- Detects if the current bar is within the session using `not na(time("", sessionString))`.
- Applies `bgcolor()` with the user-defined color/transparency only during the session.
- Helper functions format times in 12-hour AM/PM style (e.g., "11:30a") for labels, with EST/PST variants.
#### 2. Day Detection
- Uses `time("D")` to track daily changes (`ta.change(dayTime) != 0` signals a new day).
- Maintains variables for the current day's start bar index (`todayStartIndex`) and previous day's start (`prevStartIndex`).
- This ensures boxes span exactly from yesterday's open to today (intraday reset on new days).
#### 3. GEX Walls Visualization
- **Boxes**: Drawn once `prevStartIndex` is known (i.e., on the second day onward).
- Left edge: Previous day's start bar.
- Right edge: Current bar (extends live).
- Height: Wall level ± buffer (e.g., Call Wall box from 6900-3 to 6900+3).
- Updated dynamically with `box.set_*` functions; hidden (100% transparent) if toggled off.
- **Labels**: Placed at exact wall levels, offset to the right (e.g., 2 bars ahead for readability).
- Text: "CALL WALL: 6900.0" or "PUT WALL: 6850.0".
- Style: Right-aligned, black background (transparent), user-defined text color/size.
- Deleted if toggled off.
- All visuals use `xloc.bar_index` for bar-based positioning.
#### 4. Alerts
- **Call Wall Approach**: Triggers when close enters within `alertDistance` below the wall, but prior bar was further away (rising toward resistance). Message: "Price approaching Call Wall at from below (within points)".
- **Put Wall Approach**: Symmetric for falling toward support (within distance above wall).
- Filtered optionally to shaded session only.
- Uses `alertcondition()` with hidden plots (`display=display.none`) for dynamic message placeholders (e.g., `{{plot_0}}` inserts wall level).
### Notable Features & Behaviors
- **Intraday Focus**: Boxes/labels reset daily, making it ideal for day trading without historical clutter.
- **Time Zone Handling**: Defaults to EST for market open but shows PST equivalents in dropdowns (subtracts 3 hours).
- **Efficiency**: Uses `var` declarations for persistent objects (boxes/labels) to avoid recreation on every bar.
- **Edge Cases**: Handles label offsets (clamped -10 to 50 bars); session wrapping (e.g., overnight via %24); new chart loads (initializes on first bar).
- **Customization Depth**: 20+ inputs allow fine-tuning without code edits. Alerts integrate seamlessly with TradingView's system.
- **Limitations**: Relies on bar_index for historical spanning (best on lower timeframes like 1-5 min); no historical backfill for walls (live-only).
This script is a practical tool for options-aware traders monitoring gamma squeezes or pinning levels during market open volatility. To use it, paste into TradingView's Pine Editor, adjust inputs for your asset (e.g., update walls for current GEX data), and add to chart.






















