Step Generalized Moving Average [BackQuant]Step Generalized Moving Average
Overview
Step Generalized Moving Average (StepGMA) is a trend-structure moving average designed to solve two common problems with classic MAs:
They overreact to noise in chop, causing constant micro-flips.
They lag too much when you smooth them enough to stop that noise.
StepGMA tackles this by combining two layers:
A Generalized Moving Average (GMA) that increases responsiveness without simply shortening length.
A Step Filter that converts the MA into discrete “steps” sized by ATR, suppressing insignificant movement and only updating when the move is meaningful.
The output is a trend line that behaves more like market structure: it holds its level through noise, then “reprices” in chunks when volatility-adjusted movement is large enough.
What the indicator is trying to represent
Instead of showing every tiny MA wiggle, StepGMA tries to represent the idea that:
Most price movement is noise relative to volatility.
Trend only matters when it advances by a meaningful amount.
A good trend line should stay stable until the market forces it to move.
That makes this indicator useful as:
A regime filter (trend vs chop).
A trend-following bias line.
A structure-like dynamic S/R reference.
A signal generator with fewer low-quality flips.
Component 1: Moving Average engine (selectable)
The base smoothing is not fixed. You can choose between multiple MA types:
SMA, EMA, WMA, VWMA: classic smoothing families.
DEMA, TEMA: reduced-lag EMA variants.
T3: smooth yet responsive, good for trend.
HMA: very low lag, can be twitchy without filtering.
ALMA: center-weighted smoothing, often “cleaner” visually.
KAMA: adaptive smoothing based on efficiency ratio, good in mixed regimes.
LSMA: regression-based, tends to track trend direction well.
McGinley: dynamic smoothing designed to reduce lag during fast moves.
This matters because the StepGMA is not “one MA.” It is a framework that lets you pick the underlying smoothing behavior, then applies the generalization and step logic on top.
Component 2: Generalized Moving Average (GMA)
Where the idea comes from
Generalized MA here is essentially a form of two-stage smoothing compensation . A common trick in signal processing and technical analysis is:
Apply a smoother once (MA1).
Apply it again (MA2).
Use MA2 as a “lag reference,” then combine MA1 and MA2 to reduce lag while keeping smoothness.
This is related in spirit to reduced-lag filters (like DEMA/TEMA) and “zero-lag” style constructions that subtract part of the lag component. You are not magically removing lag, you are biasing the output toward the first-pass MA while subtracting some of the second-pass smoothing that represents delayed response.
How this script does it
It computes:
ma1 = MA(src, len)
ma2 = MA(ma1, len)
Then combines them using a volume factor (vf):
generalized = ma1 * (1 + vf) - ma2 * vf
Interpretation:
ma2 is a “more delayed” version of ma1.
Subtracting vf * ma2 and adding (1+vf) * ma1 pushes the output toward responsiveness.
vf controls how aggressive that push is.
Volume Factor (vf) is really an aggressiveness knob
The script clamps vf between 0.01 and 1.0 to keep it stable. Conceptually:
Low vf: behaves closer to a normal MA1, smoother, more lag.
High vf: more compensation, faster response, more risk of overshoot or noise sensitivity (which is then handled by the step filter).
So the GMA stage tries to give you a cleaner, faster trend estimate without just shrinking the MA period.
Component 3: Step Filter (the key behavior)
What a step filter is
A step filter turns a continuous signal (here, the generalized MA) into a discrete “staircase” signal. Instead of updating every bar, it updates only when the input has moved far enough to justify a new step.
This is conceptually similar to:
A quantizer in signal processing (rounding changes to discrete increments).
A volatility threshold filter (ignore changes smaller than X).
Market structure logic where levels matter more than micro movement.
How it works in this script
The filter maintains a persistent value: stepped .
Each bar:
diff = src - stepped
If |diff| < stepSize, do nothing (hold the level).
If |diff| >= stepSize, move stepped by a number of step increments.
The step increment size is:
stepSize = (stepMult / 100) * ATR(atrPeriod)
This is critical:
In higher volatility, ATR is larger, so steps are larger, fewer updates, more stability.
In lower volatility, ATR is smaller, so steps are smaller, more updates, more sensitivity.
So the step behavior automatically adapts to volatility.
Multiple-step catching behavior
If price jumps far beyond one step, the script does not move only one step. It moves by:
floor(|diff| / stepSize) * stepSize
So it “catches up” in discrete blocks, preserving the stepped character without lagging massively after large moves.
Direction and regime
Direction is determined by the stepped line, not the raw MA:
direction = +1 if steppedMA is rising
direction = -1 if steppedMA is falling
otherwise direction stays the same
Signals only trigger on direction state changes:
Long when direction flips to +1
Short when direction flips to -1
This matters because it prevents repeated signals while the trend remains intact. You only get a signal when the market has moved enough (in ATR terms) to justify a structural step in the opposite direction.
Secondary line and gradient fill
The script also plots a secondary “slow MA” (length 25, same MA type). This is not the core logic, it is a visual context layer:
StepGMA is the structure line (discrete, regime-driven).
Slow MA is a smoother reference for the underlying drift.
The gradient fill highlights separation and dominance.
When StepGMA sits above the slow MA, the fill reinforces bullish bias. When below, it reinforces bearish bias. It is basically a “trend pressure” visual, not a separate signal.
How to interpret it
1) StepGMA as trend structure
Flat steps mean price is not making enough volatility-adjusted progress to move structure.
Up-steps mean the market has advanced enough to reprice the trend line upward.
Down-steps mean deterioration significant enough to reprice structure downward.
2) Direction is a regime, not a tick-by-tick call
Because direction is derived from step changes, it is naturally a regime filter:
Fewer flips in chop.
Clearer regime transitions.
Signals tend to occur later than ultra-fast tools, but with better confirmation quality.
3) Step size controls noise rejection
StepMult is the main “anti-chop” control:
Higher stepMult = bigger ATR steps = fewer updates, fewer signals, more confirmation, slower to react.
Lower stepMult = smaller steps = more updates, more signals, more sensitivity, more chop risk.
4) Generalization controls responsiveness of the underlying trend estimate
vf controls how “fast” the MA tries to be before stepping:
Higher vf makes the MA respond faster to new price information.
Lower vf makes the MA smoother and more conservative.
The step filter then decides whether that change is meaningful enough to matter.
Practical use cases
Trend filter for entries
Only take longs when direction is bullish.
Only take shorts when direction is bearish.
Avoid trades when StepGMA is flat for long periods, market is not repricing meaningfully.
Dynamic support and resistance
Because the line holds levels, it often behaves like structure:
In uptrends it can act as a rising support reference.
In downtrends it can act as falling resistance.
Signal quality layer
The step-based flip signals tend to be higher quality than basic MA crossovers because they require:
A meaningful volatility-adjusted move.
A confirmed direction change in the stepped trend structure.
Trade management
Use StepGMA as a trailing invalidation reference.
Use direction flips as “hard” regime exits.
Use separation vs slow MA as a “pressure” gauge for scaling decisions.
Tuning guidelines
MA Type
Pick based on the character you want:
T3, ALMA, KAMA are usually good defaults for clean trend representation.
HMA/LSMA are faster but may need larger stepMult to avoid twitch.
SMA is slow and stable but can be too laggy unless vf is increased.
MA Period
Sets the base smoothing horizon. Longer periods give “macro trend,” shorter periods give “tactical trend.”
Volume Factor (vf)
Sets responsiveness compensation:
0.05–0.25 is usually sensible.
Higher than that can get aggressive, step filter will save you, but your steps may fire more often.
ATR Period and StepMult
These define your structure sensitivity:
ATR Period controls how stable the volatility estimate is.
StepMult controls how large a move must be to change structure.
If you want fewer flips, increase StepMult or ATR Period. If you want quicker reaction, lower StepMult or ATR Period.
What this indicator is and is not
It is:
A trend structure MA that ignores sub-threshold noise.
A regime tool that uses volatility-adjusted repricing logic.
A configurable framework that works across assets and timeframes.
It is not:
A predictive reversal tool.
A scalping signal machine.
A replacement for risk management.
Summary
Step Generalized Moving Average combines a lag-compensated moving average (generalization via MA1/MA2 blending) with a volatility-scaled step filter (ATR-based quantization). The result is a stable, structure-like trend line that updates only when price movement is meaningful relative to volatility, producing cleaner regimes, fewer chop flips, and clearer trend bias than conventional moving averages.
趋势分析
Liquidity Grab Engulfing.This indicator highlights Liquidity Sweep Engulfing candles:
• Bullish: previous candle bearish, current candle sweeps the previous low and closes above the previous high.
• Bearish: previous candle bullish, current candle sweeps the previous high and closes below the previous low.
Use it as a price-action confirmation tool alongside your support/resistance, structure, and risk management. This script is for educational purposes only and does not constitute financial advice.
Accurate Swing Trading + Support Resistance MTF (EN)Swing trading setup based on volume and support restistance. use buy main signal for large trend change and for swing trade use buy
Adaptive ATR Trend FollowerDESCRIPTION:
A practical educational tool for learning volatility-based trend following. This indicator demonstrates how to use ATR-adjusted trailing stops to adapt to changing market conditions. It shows traders how to dynamically adjust stop distances based on market volatility rather than using fixed price levels.
WHAT MAKES IT UNIQUE:
• Three preset trading modes (Fast/Balanced/Smooth) optimized for different market environments
• ATR-based dynamic stops that automatically widen during high volatility and tighten during calm periods
• Clear visual trend zones with adjustable transparency for better chart readability
• Educational focus on risk management concepts and adaptive position sizing
• Signal markers that highlight exact trend change points for precise analysis
HOW IT WORKS:
1. Calculates Average True Range (ATR) to measure current market volatility
2. Creates dynamic trailing stops using: Current Price ± (ATR × Multiplier)
3. Automatically switches trend direction when price crosses the trailing stop level
4. Provides continuous visual feedback through colored zones, signal markers, and bar coloring
5. Updates stop levels in real-time as market conditions change
EDUCATIONAL VALUE:
This indicator serves as a learning tool for understanding:
- How to use ATR for dynamic position and risk management
- The importance of adapting trading systems to current volatility conditions
- Trend-following principles with immediate visual feedback
- Risk management techniques through adaptive stop placement
- The relationship between volatility and optimal stop distances
SETTINGS EXPLAINED:
• ATR Period (14): The lookback period for volatility measurement. Higher values give smoother readings.
• ATR Multiplier (3.0): Determines stop distance from price. Higher = wider stops, Lower = tighter stops.
• Trading Style: Fast (tight stops for active trading), Balanced (default settings), Smooth (wide stops for volatile markets)
• Price Smoothing (1): EMA period applied to price. Reduces noise for cleaner trend detection.
• Trend Fill Transparency (80%): Controls visibility of the colored trend zone between price and stop line.
RISK WARNING & DISCLAIMER:
This is an educational trend-following tool designed for learning purposes. Important considerations:
• May produce whipsaw signals during sideways/consolidating markets
• Works best in clearly trending market environments
• Always combine with other analysis techniques for confirmation
• Practice proper risk management - never risk more than you can afford to lose
• Past performance does not guarantee future results
• This is NOT financial advice. Use at your own risk and discretion.
USE CASES:
- Learning about volatility-based trading systems and concepts
- Identifying potential trend direction changes with visual confirmation
- Setting adaptive stop-loss levels that adjust to market conditions
- Educational tool for understanding how ATR affects position management
- Visual study of how volatility impacts trend-following strategies
COMPATIBILITY:
• Works on all markets: Forex, Stocks, Crypto, Commodities, Indices
• Effective on multiple timeframes (5-minute to daily charts recommended)
• Compatible with other indicators for multi-factor analysis
INSTALLATION & USAGE:
1. Add indicator to your chart
2. Start with "Balanced" mode for most markets
3. Adjust ATR multiplier based on your risk tolerance
4. Use signals as potential entry/exit points (with confirmation)
5. Observe how stops adapt to changing volatility conditions
EDUCATIONAL TIP:
Try switching between Fast/Balanced/Smooth modes to see how different settings perform in various market conditions. Notice how wider stops (Smooth mode) can prevent premature exits during volatile trends, while tighter stops (Fast mode) may work better in calm, steady trends.
Adaptive Trend Checklist (EMA + Supertrend + ADX)Adaptive Trend Checklist is a market context and validation tool designed for discretionary traders who prioritize structure, risk control, and trade quality over aggressive signal chasing.
The script combines EMA, Supertrend, and ADX, with optional multi-timeframe (HTF) confirmation, to provide a clear view of market conditions before entering a trade.
This is not a signal-spamming indicator.
It is a visual checklist that helps identify when to trade, when to reduce risk, and when to stay out of the market.
🔹 Key Features
🔁 Automatic timeframe adaptation
Parameters (EMA, ATR, ADX, Supertrend) automatically adjust based on the current chart timeframe.
🧠 Trend & range filtering
Uses ADX and price structure to filter out ranging and low-probability market conditions.
⏱️ Multi-timeframe market context (optional)
Confirms directional bias using higher timeframes.
🧮 Risk classification
Trades are classified as:
NORMAL
REDUCED
NO TRADE
📋 Clear visual checklist
Displays in real time:
trading mode,
trend status,
ADX condition,
market session,
recommended risk level.
🎯 Integrated trade management
Automatically plots:
Entry
Stop Loss
Take Profits (TP1, TP2, TP3)
Position size in dollars based on selected risk.
🚫 No repaint
🚫 No signal spam
🚫 No win-rate promises
⚠️ Important Notice
This script is not intended for fully mechanical or automated trading.
It is designed as a decision-support tool for traders who understand market structure, context, and risk management.
Performance depends on:
market conditions,
timeframe,
and trader discipline.
👤 Who Is This For?
✔️ Discretionary traders
✔️ Scalpers & intraday traders seeking better filters
✔️ Swing traders needing HTF context
❌ Not recommended for blind signal following
📎 Usage Recommendation
Use it as a primary market filter, not as a standalone signal.
Combine it with your own entry criteria.
[CT] ORB SuiteThis indicator is an Opening Range first tool that also includes an Initial Balance framework, breakout detection, and a full target and alerting package. It is designed to define a clean Opening Range at the start of the regular trading session and then turn that range into an actionable breakout structure by plotting the key levels, projecting measured targets, and visually confirming the exact breakout candle on your chart. The Opening Range component can be configured as either the first bar of the session or a true time-based duration, such as 1, 2, 5, 10, 15, 30 minutes, or 1 hour, which lets you standardize the opening structure across different chart timeframes without needing to “count bars.” As price prints during the Opening Range window, the script continuously updates the OR high and OR low, then locks those levels once the window closes so you have a stable reference for the rest of the session. The OR area can be shaded for quick visual recognition, and an optional OR midpoint line and label can be displayed to help you judge whether price is accepting above the middle of the range or failing back through it.
Once the Opening Range is formed, the script upgrades the workflow by adding breakout qualification rules that you can control. You can choose confirmation based on a body cross, a close cross, or a close above or below the range boundary, which is a meaningful improvement over simple “touch” logic because it helps reduce false signals and makes the breakout trigger more consistent with how you actually trade. When a breakout is confirmed, the indicator can highlight the breakout candle itself so there is no ambiguity about which bar triggered the signal. You can highlight the candle body, the chart background, or both, and you can select separate colors for long and short breakouts. This makes chart review and live decision-making cleaner because you can immediately see where the breakout truly occurred instead of guessing between several candles that probed the level.
The next major upgrade is the breakout target system. After a long breakout, targets are calculated as true multiples of the Opening Range size, starting from the OR high and projecting upward by the selected multiples. After a short breakout, targets are calculated from the OR low and projected downward by the same multiple logic. By default, the script supports four take-profit targets, TP1 through TP4, with sensible preset multiples that step outward in a structured way, but you can customize each multiple to match your instrument and style. This target system is a practical enhancement because it provides objective, range-based profit-taking levels that align with common intraday expansion behavior rather than arbitrary fixed tick offsets. You also get full control over whether the target lines and labels appear only after a breakout triggers, which keeps the chart clean and prevents “pre-biasing,” or whether you want to see projected targets in both directions before the breakout occurs for planning and scenario mapping. In addition, the target hit detection is configurable so you can decide whether a target is considered “hit” by a simple high or low touch or only after a close crosses the target, which is important for traders who want stricter confirmation and cleaner backtesting logic.
Beyond the OR and targets, the indicator includes a complete Initial Balance module as an additional layer of structure. The IB duration is selectable and independent, and the script can plot IB high, IB low, and an optional IB midpoint, with optional fill shading to make the balance area obvious. A key upgrade here is the ability to base the breakout targets on either the Opening Range or the Initial Balance. This means you can run a pure OR breakout playbook, a pure IB breakout playbook, or compare both structures on the same session without changing indicators. This flexibility matters because OR breakouts tend to be more sensitive and earlier, while IB-based levels often better reflect the session’s early balance and can produce more stable expansion targets.
Another major improvement is the history and session management. The script can freeze all drawings at the end of the session so lines and fills do not incorrectly extend into the next day, and it can optionally keep a configurable amount of history, such as the last 20 sessions, so you can study how price reacts to prior OR and IB structures. You also have control over whether IB should be included in that stored history, which helps if you want a cleaner chart while still retaining the OR context. To support different chart themes and personal preferences, label styling is expanded with controls for label background colors, text colors, transparency, and horizontal offsets, so the levels remain readable without covering price action.
Finally, the alerting system is upgraded into a full set of actionable events. The indicator can generate alerts for session open and session close, for the moment the Initial Balance forms, for the moment the Opening Range forms, for long and short breakouts, and for each target hit from TP1 through TP4. Alerts can be used in standard alertcondition form or as dynamic alert() calls that include price-filled messages, which is a practical enhancement for traders who want their phone or desktop notifications to contain the exact level values rather than generic labels.
This script is a derivative work built on the original Initial Balance foundation authored by © czoa under the Mozilla Public License 2.0, with extensive additions and improvements by © ChaosTrader63 to expand it into a complete Opening Range and Initial Balance breakout suite. The core upgrades are the configurable time-based Opening Range, breakout candle highlighting, multi-target measured range projections through TP4 with optional pre-projection behavior, stricter breakout confirmation modes, target hit rules, richer history controls, stronger label customization, and a comprehensive alert system that turns the session structure into a usable trade planning and execution framework directly on TradingView.
Adaptive Kinetic Ribbon [QuantAlgo]🟢 Overview
The Adaptive Kinetic Ribbon indicator synthesizes price velocity and volatility dynamics to identify trend direction, momentum strength, and acceleration phases across varying market conditions. It combines velocity-based momentum measurement, adaptive volatility weighting, dual-speed ribbon analysis, and acceleration-deceleration detection into a unified visual system that quantifies periods of sustained directional movement and momentum shifts, helping traders and investors identify trend continuation and reversal signals across various timeframes and asset classes.
🟢 How It Works
The indicator's core methodology lies in its adaptive kinetic approach, where velocity and volatility components are calculated dynamically and then smoothed through an adaptive alpha mechanism.
First, Velocity is measured to capture raw directional momentum by calculating the net price change over the lookback period:
velocity = source - source
This creates a momentum vector that quantifies how far and in which direction price has moved, providing the foundation for understanding trend strength and establishing whether the market is in a sustained directional phase.
Then, Volatility is computed to evaluate price variability and market noise by analyzing the standard deviation of bar-to-bar price changes:
volatility = ta.stdev(source - source , length) * mult
The volatility sensitivity multiplier allows traders to adjust how responsive the indicator is to market noise, with higher values creating faster adaptation during volatile periods and lower values maintaining stability during choppy conditions.
Next, Adaptive Alpha is calculated to create a dynamic smoothing coefficient that automatically adjusts based on the relationship between velocity and volatility:
adaptive_alpha = math.abs(velocity) / (math.abs(velocity) + volatility)
This alpha value ranges from 0 to 1, where values closer to 1 indicate strong, clear directional movement (high velocity relative to volatility), causing the indicator to respond quickly, while values closer to 0 indicate noisy, range-bound conditions (high volatility relative to velocity), causing the indicator to smooth more heavily and filter out false signals.
Following this, the Kinetic Line is constructed using exponential smoothing with the adaptive alpha coefficient:
var float kinetic_line = na
kinetic_line := na(kinetic_line ) ? source : kinetic_line + adaptive_alpha * (source - kinetic_line )
This creates an adaptive moving average that automatically adjusts its responsiveness: during strong trends with clear velocity, it tracks price closely like a fast EMA; during choppy, volatile periods, it smooths heavily like a slow SMA, providing optimal trend identification across varying market regimes without manual parameter adjustment.
Then, Ribbon Lines are generated by applying additional moving average smoothing to the kinetic line at two different speeds:
ribbon_fast = ma(kinetic_line, ribbon_fast_length, ma_type)
ribbon_slow = ma(kinetic_line, ribbon_slow_length, ma_type)
The dual-ribbon structure creates a visual envelope around the kinetic line, where the fast ribbon responds quickly to kinetic changes while the slow ribbon provides trend confirmation, with crossovers between these ribbons generating primary trend reversal signals.
Finally, Trend State and Acceleration are determined by analyzing the relative positioning and directional movement of the ribbon lines:
trend_up = ribbon_fast > ribbon_slow
acceleration = ribbon_fast > ribbon_fast
ribbonColor = trend_up ?
acceleration ? bullAccel : bullDecel :
not acceleration ? bearAccel : bearDecel
This creates a four-state classification system that distinguishes between bullish acceleration (uptrend strengthening), bullish deceleration (uptrend weakening), bearish acceleration (downtrend strengthening), and bearish deceleration (downtrend weakening), providing traders with nuanced momentum insights beyond simple bullish/bearish binary signals.
🟢 Signal Interpretation
▶ Bullish Acceleration (Bright Green): Fast ribbon above slow ribbon AND fast ribbon rising, indicating confirmed uptrend with building momentum = Strongest bullish condition, ideal for new long entries, adding to positions, or holding existing longs with confidence
▶ Bullish Deceleration (Dark Green): Fast ribbon above slow ribbon BUT fast ribbon falling, indicating uptrend intact but momentum weakening = Caution signal for longs, potential trend exhaustion developing, consider tightening stops or taking partial profits
▶ Bearish Acceleration (Bright Red): Fast ribbon below slow ribbon AND fast ribbon falling, indicating confirmed downtrend with building momentum = Strongest bearish condition, ideal for new short entries, exiting longs, or maintaining defensive positioning
▶ Bearish Deceleration (Dark Red): Fast ribbon below slow ribbon BUT fast ribbon rising, indicating downtrend intact but momentum weakening = Caution signal for shorts, potential trend exhaustion developing, prepare for possible reversal or consolidation
▶ Bullish Crossover: Fast ribbon crosses above slow ribbon, signaling trend reversal from bearish to bullish and initiation of new upward momentum phase = Primary buy signal, entry opportunity for trend-following strategies, exit signal for short positions
▶ Bearish Crossover: Fast ribbon crosses below slow ribbon, signaling trend reversal from bullish to bearish and initiation of new downward momentum phase = Primary sell signal, entry opportunity for short strategies, exit signal for long positions
▶ Ribbon Spread Width: Distance between fast and slow ribbons indicates trend strength and conviction, where wider spreads suggest strong, sustained directional movement with low reversal probability, while tight or converging ribbons indicate weak trends, consolidation, or impending reversal conditions
▶ Bar Color Alignment: When bar coloring is enabled, candlestick colors mirror the ribbon state providing immediate visual confirmation of momentum conditions directly on price action, eliminating the need to reference the indicator separately and enabling faster decision-making during active trading
🟢 Features
▶ Preconfigured Presets: Three optimized parameter configurations accommodate different trading styles, timeframes, and market analysis approaches: "Default" provides balanced trend identification suitable for swing trading on 4-hour and daily charts, "Fast Response" delivers heightened sensitivity optimized for intraday trading and scalping on 5-minute to 1-hour charts, and "Smooth Trend" offers conservative trend identification ideal for position trading and long-term analysis on daily to weekly charts.
▶ Built-in Alerts: Three alert conditions enable comprehensive automated monitoring of trend reversals and momentum transitions. "Bullish Crossover" triggers when the fast ribbon crosses above the slow ribbon, signaling the shift from downtrend to uptrend and the beginning of bullish momentum building. "Bearish Crossover" activates when the fast ribbon crosses below the slow ribbon, signaling the shift from uptrend to downtrend and the beginning of bearish momentum building. "Any Ribbon Crossover" provides a combined notification for either bullish or bearish crossover regardless of direction, useful for general trend reversal monitoring and ensuring no momentum shift goes unnoticed.
▶ Color Customization: Six visual themes (Classic, Aqua, Cosmic, Cyber, Neon, plus Custom) accommodate different chart backgrounds and visual preferences, ensuring optimal contrast and immediate identification of acceleration versus deceleration states across various devices and screen sizes. Each preset uses distinct colors for the four momentum states (bullish acceleration, bullish deceleration, bearish acceleration, bearish deceleration) with proper visual hierarchy. Optional bar coloring with adjustable transparency provides instant visual context of current momentum state and trend direction without switching between the price pane and indicator pane, enabling traders and investors to immediately assess trend positioning and acceleration dynamics while analyzing price action patterns and support/resistance levels.
Volume Profile with HVN / LVN Detection (Low-TF Safe)Session-based volume profile with VPOC, HVN, and LVN detection, optimized for fast charts and runtime-safe lower-timeframe execution.
Volume Profile with HVN / LVN Detection (Low-TF Safe)
This indicator plots a session-based Volume Profile , highlights the Volume Point of Control (VPOC) , and automatically detects High Volume Nodes (HVNs) and Low Volume Nodes (LVNs) from the completed profile.
It is a performance-focused refactor of the original Volume Profile With HVN/LVN Detector , redesigned to work reliably on fast timeframes (including 5-second charts) without runtime errors.
Features
Session-based volume profile with adjustable row resolution
VPOC with optional extension and date labeling
Automatic HVN and LVN detection from the prior session
HVNs and LVNs displayed as levels or areas
Configurable strength, colors, and line/area styles
Runtime-safe lower-timeframe handling using request.security_lower_tf
Optimized to reduce execution overhead on high-frequency charts
Designed for traders who use volume structure to identify acceptance, rejection, and potential support/resistance zones across all chart timeframes.
---
What’s new in this version
Refactored lower-timeframe logic to prevent runtime errors on fast charts
Automatic, runtime-safe fallback when selected lower TF exceeds chart TF
Stable execution on very low timeframes (e.g. 5s, 10s)
Preserved original profile, VPOC, HVN, and LVN behavior
No repainting of completed session profiles
This update prioritizes stability, correctness, and cross-timeframe compatibility .
---
Credits & Attribution
This script is based on the original
“Volume Profile With HVN/LVN Detector”
by tradeforopp (revised by Madpuppy88 ).
The current version refactors the original implementation to improve:
Runtime safety on low timeframes
Performance on high-frequency charts
Robust multi-timeframe handling
Original concept and core logic credit remain with the original authors.
---
How to Use
VPOC highlights the price level of highest traded volume for the session and often acts as a magnet or balance point.
HVNs represent areas of acceptance where price previously traded heavily and may act as support/resistance or consolidation zones.
LVNs mark areas of rejection where price moved quickly and may act as inflection or breakout levels.
Use HVNs and LVNs from the prior session to frame intraday bias, targets, and risk zones.
On very fast charts, the script automatically falls back to chart-timeframe data to maintain stability.
White Core Trend [wjdtks255]
White Core Trend is a trend-following indicator designed to strip away market noise and visualize the "Core Trend" of price action. It focuses on the essential relationship between price and a dynamic baseline to provide clear trading decisions.
White Core Line: Built on a responsive HMA (Hull Moving Average) logic, this line acts as the definitive trend filter. It reacts swiftly to price changes while maintaining a smooth trajectory to reduce false signals.
Intuitive Visual Signals: The indicator identifies trend exhaustion and reversal points by plotting triangle labels (▲/▼). These signals help traders maintain discipline and avoid emotional decision-making.
Minimalist Design: Optimized for clarity, the indicator eliminates unnecessary clutter like background colors or complex data overlays, keeping the focus strictly on the trend and entry levels.
As a core technical tool, this indicator is used to identify the market's direction and establish precise entry/exit benchmarks.
1. Entry Strategy
Long Entry: Enter when the price crosses above the White Core Line and a green triangle appears.
Short Entry: Enter when the price crosses below the White Core Line and a red triangle appears.
Note: Ensure the candle body closes decisively across the line to confirm the signal.
2. Position Management
Trend Following: Stay in the trade as long as the price remains on the correct side of the White Core Line.
Reference Point: Use the horizontal white "Entry" line as a visual anchor for your current position.
3. Exit & Stop Loss
Stop Loss: Exit immediately if the price crosses back over the White Core Line against your position.
Take Profit: Secure profits when the price reaches your target or when the trend starts to flatten out (sideways movement) near the core line.
STRAT PANEL HTF (D/W/M/Q/Y) and ATRUse on Daily / Weekly / Monthly charts.
Higher-timeframe STRAT continuity for: D / W / M / Q / Y (Extended session toggle in settings).
Columns: STRAT (last 3 closed), LAST (last closed type), CUR (current type: Live/Stable), DIR, REV.
Includes ATR context: D / W / M / 12M + optional ATR-based estimated moves.
ETF-CFD Ratio Bridge
This indicator helps traders visualize the relationship between ETFs and their corresponding CFD/Spot instruments. It allows you to trade on one chart while monitoring the equivalent price levels of the other instrument without mental math or switching screens.
Features
1. Ratio Table
A customizable table displayed on the chart (default: Top Right) that shows:
- Pair : The ETF and CFD pair being monitored.
- Ratio : The calculated price ratio (ETF / CFD).
- Prices : Real-time prices for both instruments.
2. Companion Price Label
A dynamic label that moves with the current price candle.
- Displays the equivalent price of the paired instrument.
- Example : If you are viewing SPY , the label shows the equivalent US500 price next to the candle.
3. Left Virtual Scale
A custom vertical axis drawn on the left side of the chart.
- Shows price levels for the companion instrument corresponding to the current visible chart range.
- Allows you to read "CFD prices" directly on an "ETF chart" (and vice versa) via the Y-axis.
4. Historical Levels lines
Visualizes recent market structure converted to the companion price.
- HH(x) : Highest High of the last X bars (default: 20).
- LL(x) : Lowest Low of the last X bars.
- Dashed lines extend to the right with labels showing the converted price at those key levels.
5. Closed Market Handling
Ensures the indicator remains useful even when the ETF market is closed (e.g., after hours) while the Futures/CFD market is open.
- Automatic Detection : The script detects if the ETF market is closed based on the timestamp.
- Fixed Ratio : Automatically switches to a user-defined "Fixed Ratio" when the ETF is closed.
- Continuous Updates : Prevents values from freezing, calculating a synthetic "Shadow Price" for the closed asset so you can continue to see projected levels based on the live CFD market.
Technical Explanation (The Math)
The indicator functions by calculating a dynamic ratio between the two instruments and using it to convert price levels.
Formulas
1. Calculate Ratio :
Ratio = Price(ETF) / Price(CFD)
2. Conversion :
- ETF Chart → CFD Price :
Equivalent CFD Price = Current ETF Price / Ratio
- CFD Chart → ETF Price :
Equivalent ETF Price = Current CFD Price × Ratio
Example (SPY vs US500)
- Scenario : You are trading on the SPY chart.
- Current Prices :
- SPY (ETF) = $500
- US500 (CFD) = $5000
- Step 1 : Calculate Ratio
- 500 / 5000 = 0.10
- Step 2 : Calculate Equivalent Price
- If SPY moves to $505 , what is the US500 equivalent?
- 505 / 0.10 = 5050
- The indicator will display "US500: 5050" on the label and scale.
Supported Pairs
SPY (AMEX) = US500
GLD (AMEX) = XAUUSD
SLV (AMEX) = XAGUSD
IWM (AMEX) = US2000
QQQ (NASDAQ) = NAS100
IBIT (NASDAQ) = BTCUSD
Settings
- Symbols : Customize the ticker symbols for each pair if your broker uses different names.
- Fixed Ratio (Closed) : Manually adjust the fallback ratio used when the ETF market is closed (default values provided).
- Visuals :
- Toggle Table, Labels, Scale, and Historical Lines on/off.
- Customize colors, text sizes, and positions.
- Right Offset (Bars from Current) : Adjusts how far back (from the current live bar) the Left Virtual Scale is drawn. Increasing this moves the scale further to the left.
- Historical Levels :
- Lookback Length : Number of bars to check for High/Low calculations (Default: 20).
Multi-Sector Scanner [DYNAMC HOLDING COLORS]Multi-Sector Scanner
This professional-grade Pine Script indicator provides a comprehensive, real-time dashboard for monitoring 25 critical market sectors and their top-performing ETFs. It is designed for traders who need a "bird's-eye view" of market rotation, relative strength, and volume flow without flipping through dozens of charts.
The script identifies high-probability entries and exits by tracking consecutive price action and momentum thresholds, organizing the data into a clean, scannable table.
Key Features
Real-Time Sector Tracking: Monitors 25 diverse sectors including Tech (XLK), Semi (SOXX), Uranium (URA), Crypto (BLOK), and Traditional Finance (XLF).
Dynamic Visual Heatmap: * 🔥 BUY Signals: Triggered when a sector meets your strength and consecutive day requirements. The entire Top 5 Holdings cell and Signal column light up in vibrant green.
💀 SELL Signals: Triggered during multi-day weakness. These rows light up in deep red for immediate recognition.
⚠️ WATCH Signals: Highlights sectors starting to show momentum (amber/orange) but haven't yet met the "Consecutive Days" confirmation.
Smart Sorting: The table automatically pushes "BUY" signals to the top and "SELL" signals to the bottom, ensuring the most actionable data is always at eye level.
Relative Volume (RVOL): Displays volume flow relative to the 5-day average. Seeing 1.5x+ RVOL during a "WATCH" phase often front-runs a major sector breakout.
End-User Timezone Support: Includes a built-in selector for PST, EST, CET, and more, ensuring the "Last Update" timestamp reflects your local clock rather than exchange time.
CopyPipe Signal Connector🚀 Turn TradingView Alerts into Automatic MetaTrader Trades
Stop copy-pasting signals. This indicator generates **webhook-ready alerts** that execute directly on your MT4 or MT5 — hands-free.
---
### 🎯 How It Works
1. **Add this indicator** to any chart
2. **Set your webhook URL** (from CopyPipe.io) in the alert
3. **Conditions trigger → Trade executes** on MetaTrader automatically
Your TradingView does the analysis. Your MetaTrader does the execution. You do... whatever you want.
---
### 📊 Built-In Strategies
Choose from 4 ready-to-use strategies:
- **RSI Reversal** — Classic oversold/overbought entries
- **EMA Cross** — Trend-following momentum plays
- **Breakout** — Catch support/resistance breaks
- **Custom** — RSI + EMA confluence for filtered entries
Or use this as a **template** and add your own logic.
---
### ⚙️ Features
✅ Webhook-formatted alerts (JSON ready)
✅ Customizable lot size
✅ Built-in SL/TP calculation
✅ Works on any symbol
✅ Clean visual signals on chart
✅ Info panel with live RSI + signal status
---
### 🔗 Setup with CopyPipe (Free Beta)
1. Sign up at **copypipe.io/beta** (free during beta)
2. Download the EA for MT4 or MT5
3. Copy your webhook URL from the dashboard
4. Create an alert on this indicator → paste webhook URL
5. Done. Alerts now auto-trade.
---
### 📝 Alert Message Format
The alerts output clean JSON that CopyPipe understands:
```json
{
"action": "BUY",
"symbol": "BTCUSD",
"lot_size": 0.1,
"sl": 74500,
"tp": 78000
}
```
Works with the free CopyPipe tier. No API coding required.
---
### ⚠️ Risk Disclaimer
This indicator is a **tool**, not financial advice. Backtest thoroughly. Start with small positions. You are responsible for your own trades.
---
### 💬 Feedback Welcome
Drop a comment if you have questions or feature requests. Building this for the community.
**Happy trading!** 🎯
---
CopyPipe Trading Dashboard - Multi-Indicator Signal Panel
🚀 CopyPipe Trading Dashboard
A **free, all-in-one trading dashboard** that displays key indicators and market information in a clean, easy-to-read panel on your chart.
#### ✨ Features:
📊 **Signal Summary Panel**
- Overall market bias (Bullish/Bearish/Neutral)
- Real-time indicator readings
- Current trading session display
- Daily high/low levels
📈 **RSI Analysis**
- Customizable period (default 14)
- Overbought/Oversold detection
- Color-coded status
📉 **MACD Tracking**
- Standard 12/26/9 settings (customizable)
- Bullish/Bearish crossover detection
📏 **Moving Averages**
- Fast & Slow MA with trend detection
- Choose between SMA or EMA
- Visual crossover on chart
🌍 **Trading Sessions**
- London, New York, Asia, Sydney
- Subtle background highlighting
- Know when the big players are active
📐 **Key Levels**
- Previous day's high/low
- Previous close
- Great for support/resistance
#### 🔔 Built-in Alert Templates
This indicator comes with **pre-configured alert conditions** formatted for webhook automation:
- MA Bullish/Bearish Cross
- RSI Overbought/Oversold
- Strong Confluence Signals (multiple indicators aligned)
Alert messages are formatted as **JSON** - perfect for connecting to trading automation platforms.
---
#### ⚡ Want to Auto-Execute These Signals?
**CopyPipe** connects your TradingView alerts directly to MetaTrader 4/5.
✅ Set up alerts on this indicator
✅ Signals execute automatically in MT4/MT5
✅ No coding required
✅ Works with any broker
**Learn more:** copypipe.io
---
#### 📖 How to Use
1. Add the indicator to your chart
2. Customize settings in the indicator panel
3. Position the info panel where you prefer
4. Set up alerts using the built-in conditions
5. (Optional) Connect to CopyPipe for auto-execution
#### ⚙️ Settings
- **Dashboard Settings:** Panel position, size, visibility
- **RSI Settings:** Length, overbought/oversold levels
- **MACD Settings:** Fast, slow, signal periods
- **Moving Averages:** Type (SMA/EMA), lengths
- **Sessions:** Toggle which sessions to highlight
- **Key Levels:** Daily high/low, previous close
- **Colors:** Customize bullish/bearish colors
---
Made with ❤️ by the CopyPipe team
copypipe.io
Trade Session Tracker [theUltimator5]Trade Session Tracker is a unique indicator designed to isolate each discrete trading session on the US stock exchanges and display a cumulative running price for each session so you can visualize how each session performs over long periods of time.
This indicator allows you to unlock a potentially unique and powerful trading strategy that exploits returns during lower liquidity periods through trend analysis. Certain stocks tend to move in the same direction during specific windows in the day, and now you can find them yourself.
This indicator only works properly on the daily timeframe. Other timeframes are not supported.
The sessions that this indicator supports are:
Intraday (Market open to market close)
After Hours (Market close until 20:00 eastern)
Overnight (20:00 eastern through 04:00 eastern the next day)
Pre-market (04:00 eastern through market open)
Close-to-open (market close to the following market open)
There are two plot modes:
Cumulative — chained returns since chart start (synthetic continuous price line)
Daily Change — single-session return (refreshes each new trading day)
!IMPORTANT!
This indicator only supports symbols that trade on the overnight markets through the BOATS ATS. This includes hundreds of ticker symbols, but the majority of smaller cap stocks or non-equity symbols are not supported.
Some symbols offer dividends, and the "ADJ" button at the bottom right corner of the chart must be disabled for the data to display properly, or else you will get extremely skewed results. Notorious symbols for this are SPY and AAPL.
How it works:
Standard chart data only calculates sessions through open, close, and previous close and cannot isolate out pre-market and after hours price action.
With the addition of overnight data, we now have a separate set of open and close values which can be pulled.
To calculate after hours price action, we use the opening price of the overnight venue divided by the close price earlier that day.
To calculate the pre-market price action, we divide the open price by the previous overnight close price.
Overnight price is simply calculated by overnight close divided by overnight open.
There is a table that can be toggled off and repositioned that shows the current settings.
Here is an example of close-to-open and intraday
Here is an example of overnight returns
Poseidon [hide System]English Description
Poseidon Ultimate Fix is a sophisticated hybrid trading strategy designed to adapt seamlessly to changing market conditions. Its core strength lies in its ability to automatically distinguish between trending and ranging markets using the Hybrid Logic Engine, which relies on the Average Directional Index (ADX). When the market shows strong directional momentum (ADX > 25), the system activates Trend Mode. In this phase, it utilizes a Supertrend-based logic to follow the market flow, entering trades on breakouts and holding positions until the trend reverses, thereby maximizing profit potential during volatile periods.
Conversely, when volatility is low and the market lacks clear direction (ADX ≤ 25), the system switches to Range Mode. Here, it employs Bollinger Bands to execute mean reversion strategies, buying at the lower band and selling at the upper band to capture smaller, consistent gains within the consolidation. A critical safety feature of this system is its Emergency Escape protocol. If a sudden surge in volatility occurs while a range position is open—threatening a breakout against the trade—the system immediately liquidates the position and switches to a trend-following entry. This mechanism effectively neutralizes the risk of catastrophic losses often associated with reversal strategies during market explosions. Furthermore, the Precise Accounting feature ensures that the dashboard metrics, including Profit Factor and Win Rate, are calculated based on real-time equity changes, providing an accurate reflection of the system's performance without mathematical discrepancies.
日本語による説明
Poseidon Ultimate Fix は、刻々と変化する相場環境に完全適応するために設計された、高度なハイブリッド型トレードシステムです。このシステムの最大の特徴は、ADX(平均方向性指数)を用いたハイブリッド・ロジック・エンジンにあります。これにより、相場が「トレンド状態」にあるか「レンジ状態」にあるかを自動的かつ正確に判別します。強い方向感が出ている局面(ADXが25以上)では、システムは即座にトレンドモードを選択します。ここではスーパートレンド指標に基づいた順張りロジックが作動し、トレンドの発生に合わせてエントリーを行い、相場が反転するその瞬間までポジションを保有し続けることで、利益の最大化を狙います。
一方で、相場の方向感が失われ、ボラティリティが低下した局面(ADXが25以下)では、システムはレンジモードへと切り替わります。このモードではボリンジャーバンドを活用した逆張り戦略を展開し、バンドの下限で買い、上限で売ることで、ボックス相場の中から着実に利益を積み上げます。さらに、このシステムには**緊急脱出機能(エマージェンシー・エスケープ)**という重要な安全装置が搭載されています。もしレンジ逆張りポジションを保有中に突発的な暴騰や暴落が発生した場合、システムは即座に損切りを行い、間髪入れずにトレンド方向への順張りエントリーに切り替えます。これにより、レンジ手法特有の「コツコツ勝ってドカンと負ける」リスクを排除します。加えて、完全な会計処理機能により、ダッシュボード上の勝率やプロフィットファクターは実際の口座残高の増減と1円の狂いもなく一致し、極めて信頼性の高いパフォーマンス分析を提供します。
Wick Ranges (GG)Simple data box that tracks candle wick largest, smallest, and average sizes by price within specified time ranges. Displays labels for upper and lower wicks of current candle.
Helpful if your entry model is entering on the close/open of momentum candles.
-GG
Gamma Regime Indicator [Eloni]
╔══════════════════════════════════════════════════════════════════════════════════════════════╗
║ GAMMA REGIME / VWAP FLOW ENGINE ║
╚══════════════════════════════════════════════════════════════════════════════════════════════╝
┌──────────────────────┬─────────────────────────────┬────────────────────────────┬──────────────┐
│ MARKET STRUCTURE │ FLOW / SENTIMENT │ VOLATILITY / IV │ POSITION │
├──────────────────────┼─────────────────────────────┼────────────────────────────┼──────────────┤
│ • VWAP Distance │ • Call / Put / Total Vol │ • VIX / IV Level │ • Hold Bars │
│ • Round Levels │ • Z-Score Normalization │ • IV Slope (Up/Down) │ • Entry ≥ 5 │
│ • Prev Close │ • Flow Hot / Flow Cold │ • ATR Compress / Expand │ • Exit ≤ 2 │
│ • ATR % │ • PCR Ratio & Slope │ • Regime Shift Alert │ • Buffer │
│ • Near / Far Zones │ • Extremes Detection │ • Volatility Cycles │ • Reset │
└──────────────────────┴─────────────────────────────┴────────────────────────────┴──────────────┘
===============================================================================
PINNING REGIME (MEAN REVERSION ZONE)
===============================================================================
┌─────────────┐ ┌──────────────┐ ┌──────────────┐
│ LOCATION │ ----> │ CONFIRM │ ----> │ EXECUTE │
└─────────────┘ └──────────────┘ └──────────────┘
Near VWAP / Level Flow = Cold Fade Extremes
Near Prev Close ATR = Compress Sell High / Buy Low
IV = Down Scalps / Short DTE
PCR = Extreme
-------------------------------------------------------------------------------
WHERE
-----
- VWAP ± Threshold
- Gamma Walls
- Round Numbers
- Prior Day Close
INDICATORS
----------
- VWAP
- Volume Z-Score
- ATR Percent
- PCR
- VIX
STRATEGIES
----------
- VWAP Fade
- Range Scalping
- Iron Condors
- Credit Spreads
- Mean Reversion Options
AVOID
-----
- Expanding Range
- High Volume Breaks
- Rising IV
- News Events
===============================================================================
TREND / BREAKOUT REGIME (MOMENTUM ZONE)
===============================================================================
┌─────────────┐ ┌──────────────┐ ┌──────────────┐
│ LOCATION │ ----> │ CONFIRM │ ----> │ EXECUTE │
└─────────────┘ └──────────────┘ └──────────────┘
Far from VWAP Flow = Hot Buy Pullbacks
Outside Range ATR = Expand Break and Retest
IV = Rising Ride Momentum
PCR = Trending
-------------------------------------------------------------------------------
WHERE
-----
- Range High / Low
- VWAP Break
- Value Area Break
- Opening Range
INDICATORS
----------
- VWAP Bands
- Flow Z
- ATR Expansion
- IV Slope
- Volume Profile
STRATEGIES
----------
- Opening Range Breakout
- Trend Pullbacks
- Debit Spreads
- Futures Momentum
- Directional Options
AVOID
-----
- Fading Strength
- Weak Volume Moves
- Flat Volatility
- Midday Chop
===============================================================================
NO EDGE / BUFFER ZONE
===============================================================================
VWAP Reset | Session Open | Post-News | Low Volume
- Reduce Size
- Observe Only
- Wait for Alignment
- Capital Preservation
===============================================================================
REGIME DECISION MATRIX
===============================================================================
┌──────────────┬──────────────┬──────────────┬──────────────┬──────────────┐
│ STRUCTURE │ FLOW │ IV │ PCR │ REGIME │
├──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤
│ Near │ Cold │ Down │ Extreme │ Pinning │
│ Far │ Hot │ Up │ Trending │ Trend │
│ Mixed │ Neutral │ Flat │ Neutral │ No Edge │
└──────────────┴──────────────┴──────────────┴──────────────┴──────────────┘
===============================================================================
EXECUTION PLAYBOOK
===============================================================================
PIN MODE
--------
Entry : VWAP / Level Touch + Flow Cold
Stop : VWAP Break + ATR Expansion
TP : Mid-Range / Mean Reversion
Size : Medium to High
TREND MODE
----------
Entry : Pullback to VWAP / EMA
Stop : Range Reclaim
TP : ATR Trail / Structure
Size : Scale In
NO EDGE
-------
Entry : None
Goal : Preservation
Focus : Patience
===============================================================================
CORE SYSTEM LOGIC
===============================================================================
PINNING = Liquidity Absorption -> Mean Reversion -> Sell Volatility
TREND = Momentum Expansion -> Directional Flow -> Buy Volatility
NO EDGE = Regime Unclear -> Capital Protection
Swing FlowSwing Flow is a market structure indicator designed to identify and trade with the prevailing trend by tracking swing highs and swing lows. Based on the principle that markets trending higher print higher highs and higher lows while markets trending lower print lower highs and lower lows, the indicator automatically detects these pivot points and classifies the current structure as Bullish, Bearish, Contracting, or Expanding. When structure is confirmed bullish, the indicator calculates an invalidation level set 2% below the most recent higher low, providing a logical stop placement where the bullish thesis would be negated if price trades through it.
A key feature is the Early Warning System, which alerts traders when price breaks above a prior swing high or below a prior swing low before the new pivot is officially confirmed. Because pivot detection requires several bars of confirmation, this early warning gives traders advance notice that structure may be shifting, allowing earlier entries with defined risk rather than waiting for lagging confirmation. When the early warning is active, the indicator displays the potential invalidation level and calculates the risk percentage from current price, helping traders assess whether the reward-to-risk ratio justifies an entry.
The indicator marks CME gold open times with vertical lines, highlighting the 6 PM ET session opens that often bring increased liquidity and directional moves. Sunday opens are marked with thicker yellow lines to distinguish the weekly open from regular daily session opens. This feature is particularly useful for gold traders using PAXG as a crypto proxy or GLD in traditional brokerage accounts, though the indicator works on any asset with swing structure.
The info table displays comprehensive market data including the current structure state, early warning status, last confirmed swing high and low with color coding to indicate whether each was higher or lower than its predecessor, the invalidation level and risk percentage, and buy zone status which activates when price approaches the higher low in bullish structure. Technical indicators include RSI with 5-zone color coding from oversold to overbought, ADX for trend strength, and directional movement indicators showing whether bulls or bears are dominant.
Open interest analysis provides insight into positioning and leverage in crypto markets, displaying OI score with conviction levels, sentiment classification based on OI and price movement relationships, buildup risk assessment combining OI elevation with ATR compression, and leverage pressure scoring that synthesizes multiple factors into a single actionable metric. The final row shows 1-hour and daily 24-period EMAs with green or red backgrounds indicating whether price is above or below each level, providing quick trend confirmation across timeframes.
The scoring bars at the top and bottom of the chart offer at-a-glance momentum and direction assessment. The RSI bar at top uses a 5-zone color scheme progressing from dark green in oversold territory through lime, white at neutral, pink, and maroon in overbought territory. The Directional bar at bottom combines the directional movement reading with ADX strength, displaying green tones when the bullish DI is dominant and red tones when bearish DI leads, with color intensity increasing as ADX indicates stronger trending conditions.
Swing Flow is designed for traders who want to align with market structure rather than fight it, entering positions near logical support levels with predefined invalidation points that keep losses small when wrong while allowing profits to run when the structure thesis proves correct. The combination of structure detection, early warning alerts, comprehensive market data, and visual scoring bars provides everything needed to identify high-probability setups and manage risk effectively.
CGI - Option Premium Tracker [CE vs PE]## ⚡ CGI - Nifty Option Premium Tracker
**"Stop Switching Tabs. Decode the Institutional Battle."**
Trading Options in Nifty & BankNifty requires speed and clarity. Retail traders lose money because they look at the Spot Chart, but Big Players manipulate the **Premium Chart**.
The **CGI Premium Tracker** solves this. It plots both the **CALL (CE)** and **PUT (PE)** premium charts directly on a single screen, allowing you to spot the real winner in real-time.
---
### 🎯 Key Features (Free Version)
#### 1. ⚡ Dual-Chart Technology
* Visualize the **CE (Green Candles)** and **PE (Red Candles)** side-by-side.
* **The Logic:** If Spot is moving up, but the Call Premium isn't following (Divergence), it's a trap. This tool helps you see that instantly.
#### 2. 🐋 Operator Candle Detection
* **Blue Candles:** Highlight massive volume spikes (1.5x Average). This usually indicates "Smart Money" entering positions.
* **Yellow Candles:** Indicate extreme churn/panic.
#### 3. 🛡️ Institutional Anchors (Fresh AVWAP)
* Standard VWAP lags. Our **Fresh AVWAP** resets daily or at the first 15-minute close, showing you the *true* intraday average price where institutions defend their positions.
#### 4. 🚀 Scalper's EMA
* Includes the classic 8-EMA setup. A visual guide to stay in the trend as long as momentum holds.
---
### 🛠️ How to Use This Tool
1. **Select Your Strikes:** Go to settings and simply type the Strike name (e.g., `NIFTY24FEB26000CE`).
2. **Watch the Flow:** When Green Candles (CE) dominate Red Candles (PE) above the Anchors, the trend is real.
3. **Spot the Operator:** Watch for **Blue Candle** breakouts to identify where the momentum is starting.
---
### 🔓 Unlock Institutional Intelligence
This is the **Basic Visualization** tool.
Our **CGI Titanium Engine** (Invite-Only) is designed for professional analysis, adding:
* ✅ **Institutional Flow Ribbon:** Visualizes the dominant trend without the noise.
* ✅ **Trap Zone Detection:** Automatically highlights "Judas Swings" and fake-outs.
* ✅ **Market Consensus:** Advanced geometry to find high-probability reversal zones.
**👉 Check the Author Profile below to join the CGI Community!**
👇 **Drop a BOOST (Like) if this tool improved your screen setup!** 🚀
Day Trading Levels and Wick Zones_PublicDay Trading Starter Pack
- Previous Day Levels
- Previous Day Wick Zones
- Weekly Wick Zones
REMOVE WEEKLY WICK ZONE TO ELIMINATE GRAY SHADED AREA.
Its only purpose is to show you quickly the weekly candle wicks and the magnitude of the candle.
Combined Advanced Blueprint + Hybrid Stop + GravityCombined Advanced Blueprint + Hybrid Stop + Gravity
Overview
This indicator is a comprehensive "Swiss Army Knife" trading system that combines the classic Traders Reality Blueprint (Moving Averages & Vector Zones) with advanced institutional volume detection (Gravity Squeeze & Sharks) and a Hybrid Trailing Stop for trade management.
It is designed to identify institutional footprints, trend direction, supply/demand zones, and volatility contractions in a single, all-in-one overlay.
🚀 Key Features
1. Gravity Squeeze & Shark Detection (Institutional Volume)
This module detects anomalies in volume and price action to identify where "Smart Money" is stepping in.
Shark Icons (🦈): Appear when the Negative Volume Index (NVI) detects significant accumulation during low volatility periods. This often signals a "defense" of a price level by institutions.
Shark Support (Blood) Zones: When a Shark is detected, a red box is drawn from the low of the candle. This represents an institutional "line in the sand." If price closes below this box, the zone is invalidated (broken).
Gravity Squeeze (⚡): Indicates a contraction in volatility (ATR compression), suggesting an explosive move is imminent.
Coils (🌀) & Hammers (🔨): Identifies specific price action patterns occurring on high relative volume.
2. The Blueprint Moving Averages
Includes the standard Traders Reality moving average sequence to identify trend state and dynamic support/resistance.
Red (8 EMA): Immediate trend.
White (21 EMA): Short-term trend (The "Baseline").
Blue (34 EMA): Trend confirmation.
Indigo (55 EMA) & Purple (89 EMA): Mid-term trend.
Orange (50 SMA) & Dark Orange (200 SMA): Major institutional levels (Golden/Death Cross).
Visual Crossovers: Arrows and shapes appear for 8/21 crosses, 8/34 crosses, and the 50/200 cross.
3. PVSRA (Price Volume Support Resistance Analysis)
Colors trade bars based on volume relative to the average, highlighting hidden liquidity.
Green/Red Bars: Volume is ≥ 200% of the average. (Climax action).
Blue/Violet Bars: Volume is ≥ 150% of the average.
Grey Bars: Average/Low volume.
Vector Zones: Automatically plots zones based on these high-volume candles to show where significant business was transacted.
4. Hybrid Trailing Stop
A volatility-based stop-loss system designed to keep you in the trend longer.
Calculation: Uses a combination of ATR (Average True Range) and manually input Implied Volatility (IV) to calculate a safe distance from price.
Visual: A Fuchsia line that trails behind price. When price closes across this line, the trend structure is considered broken.
5. Inflection Zones (Supply & Demand)
Auto-Drawing: Identifies Swing Highs and Swing Lows to draw Supply (Blue) and Demand (Red) boxes.
BOS (Break of Structure): When price breaks through a zone, the box is removed or converted, helping keep the chart clean.
6. Pivot Points & VWAP
Pivots: Displays multitimeframe pivots (Daily, Weekly, Monthly, etc.) including Traditional, Fibonacci, and Camarilla calculations.
VWAP: Includes Standard Deviation bands (1, 2, and 3 SD) anchored to Session, Week, Month, or even Earnings/Splits.
7. Keltner Channels & RSI Triggers
Entry Signals: Plots circles on the chart when RSI enters extreme zones (Overbought/Oversold) while price is interacting with the Keltner Channel bands.
🛠 Settings & Configuration
Gravity Squeeze & Sharks
Enable: Toggle the overlay on/off.
Min Volume: Set the threshold for volume analysis (Default: 300k).
Max ADX: Filters out signals if the trend is already too exhausted.
Inflection Zones
Swing Length: Sensitivity of the swing high/low detection.
History to Keep: How many historic zones to display before deleting old ones.
Pivot Levels
Timeframe: Auto-selects based on your chart, or force specific timeframes (e.g., Daily Pivots on a 15m chart).
Type: Choose between Traditional, Fibonacci, Woodie, etc.
Trailing Stop
Multiplier: Adjust how "loose" or "tight" the stop is (Default: 1.5 ATR).
IV %: Manually input the annual Implied Volatility for the asset for higher precision.
🎯 How to Trade (Strategy Ideas)
1. The Shark Defense:
Look for a Shark Icon (🦈).
Watch the red "Blood" box form.
Long Entry: If price retests the box and holds (does not close below it), this is a high-probability buy zone.
Stop Loss: A candle close below the red box.
2. The 8/21 & 8/34 Cross:
Use the Arrows generated by the moving averages.
Combine with Vector Candles: If you get a Bullish Cross (Up Arrow) immediately following a Green/Blue vector candle, the move is supported by volume.
3. The Squeeze Breakout:
Look for the Squeeze Icon (⚡) indicating low volatility.
Wait for the Hybrid Trailing Stop line to flip (e.g., price crosses above the Fuchsia line) to confirm the breakout direction.
Alerts
The script includes built-in alert conditions for automation:
8/21 Bullish/Bearish Cross
8/34 Bullish/Bearish Cross
Credits:
Core logic based on Traders Reality (Blueprint/PVSRA).
Gravity logic adapted from standard institutional volume analysis.
Compiled & Enhanced by Gemini.
Top-Down Market Bias ChecklistThis script allows users, to select whether a market is Bullish or Bearish on different timeframes. It simplifies the process of opening a textbox every time and writing in the values manually, it also simplifies on having to move the textbox every time when switching timeframes.
There is a Color Customization section at the bottom on the inputs when you open settings, where each user can change his colors depending on their preferences.






















