Volume-Weighted Money Flow [sgbpulse]Overview
The VWMF indicator is an advanced technical analysis tool that combines and summarizes five leading momentum and volume indicators (OBV, PVT, A/D, CMF, MFI) into one clear oscillator. The indicator helps to provide a clear picture of market sentiment by measuring the pressure from buyers and sellers. Unlike single indicators, VWMF provides a comprehensive view of market money flow by weighting existing indicators and presenting them in a uniform and understandable format.
Indicator Components
VWMF combines the following indicators, each normalized to a range of 0 to 100 before being weighted:
On-Balance Volume (OBV): A cumulative indicator that measures positive and negative volume flow.
Price-Volume Trend (PVT): Similar to OBV, but incorporates relative price change for a more precise measure.
Accumulation/Distribution Line (A/D): Used to identify whether an asset is being bought (accumulated) or sold (distributed).
Chaikin Money Flow (CMF): Measures the money flow over a period based on the close price's position relative to the candle's range.
Money Flow Index (MFI): A momentum oscillator that combines price and volume to measure buying and selling pressure.
Understanding the Normalized Oscillators
The indicator combines the five different momentum indicators by normalizing each one to a uniform range of 0 to 100 .
Why is Normalization Important?
Indicators like OBV, PVT, and the A/D Line are cumulative indicators whose values can become very large. To assess their trend, we use a Moving Average as a dynamic reference line . The Moving Average allows us to understand whether the indicator is currently trending up or down relative to its average behavior over time.
How Does Normalization Work?
Our normalization fully preserves the original trend of each indicator.
For Cumulative Indicators (OBV, PVT, A/D): We calculate the difference between the current indicator value and its Moving Average. This difference is then passed to the normalization process.
- If the indicator is above its Moving Average, the difference will be positive, and the normalized value will be above 50.
- If the indicator is below its Moving Average, the difference will be negative, and the normalized value will be below 50.
Handling Extreme Values: To overcome the issue of extreme values in indicators like OBV, PVT, and the A/D Line , the function calculates the highest absolute value over the selected period. This value is used to prevent sharp spikes or drops in a single indicator from compromising the accuracy of the normalization over time. It's a sophisticated method that ensures the oscillators remain relevant and accurate.
For Bounded Indicators (CMF, MFI): These indicators already operate within a known range (for example, CMF is between -1 and 1, and MFI is between 0 and 100), so they are normalized directly without an additional reference line.
Reference Line Settings:
Moving Average Type: Allows the user to choose between a Simple Moving Average (SMA) and an Exponential Moving Average (EMA).
Volume Flow MA Length: Allows the user to set the lookback period for the Moving Average, which affects the indicator's sensitivity.
The 50 line serves as the new "center line." This ensures that, even after normalization, the determination of whether a specific indicator supports a bullish or bearish trend remains clear.
Settings and Visual Tools
The indicator offers several customization options to provide a rich analysis experience:
VWMF Oscillator (Blue Line): Represents the weighted average of all five indicators. Values above 50 indicate bullish momentum, and values below 50 indicate bearish momentum.
Strength Metrics (Bullish/Bearish Strength %): Two metrics that appear on the status line, showing the percentage of indicators supporting the current trend. They range from 0% to 100%, providing a quick view of the strength of the consensus.
Dynamic Background Colors: The background color of the chart automatically changes to bullish (a blue shade by default) or bearish (a default brown-gray shade) based on the trend. The transparency of the color shows the consensus strength—the more opaque the background, the more indicators support the trend.
Advanced Settings:
- Background Color Logic: Allows the user to choose the trigger for the background color: Weighted Value (based on the combined oscillator) or Strength (based on the majority of individual indicators).
- Weights: Provides full control over the weight of each of the five indicators in the final oscillator.
Using the Data Window
TradingView provides a useful Data Window that allows you to see the exact numerical values of each normalized oscillator separately, in addition to the trend strength data.
You can use this window to:
Get more detailed information on each indicator: Viewing the precise numerical data of each of the five indicators can help in making trading decisions.
Calibrate weights: If you want to manually adjust the indicator weights (in the settings menu), you can do so while tracking the impact of each indicator on the weighted oscillator in the Data Window.
The indicator's default setting is an equal weight of 20% for each of the five indicators.
Alert Conditions
The indicator comes with a variety of built-in alerts that can be configured through the TradingView alerts menu:
VWMF Cross Above 50: An alert when the VWMF oscillator crosses above the 50 line, indicating a potential bullish momentum shift.
VWMF Cross Below 50: An alert when the VWMF oscillator crosses below the 50 line, indicating a potential bearish momentum shift.
Bullish Strength: High But Not Absolute Consensus: An alert when the bullish trend strength reaches 60% or more but is less than 100%, indicating a high but not absolute consensus.
Bullish Strength at 100%: An alert when all five indicators (MFI, OBV, PVT, A/D, CMF) show bullish strength, indicating a full and absolute consensus.
Bearish Strength: High But Not Absolute Consensus: An alert when the bearish trend strength reaches 60% or more but is less than 100%, indicating a high but not absolute consensus.
Bearish Strength at 100%: An alert when all five indicators (MFI, OBV, PVT, A/D, CMF) show bearish strength, indicating a full and absolute consensus.
Summary
The VWMF indicator is a powerful, all-in-one tool for analyzing market momentum, money flow, and sentiment. By combining and normalizing five different indicators into a single oscillator, it offers a holistic and accurate view of the market's underlying trend. Its dynamic visual features and customizable settings, including the ability to adjust indicator weights, provide a flexible experience for both novice and experienced traders. The built-in alerts for momentum shifts and trend consensus make it an effective tool for spotting trading opportunities with confidence. In essence, VWMF distills complex market data into clear, actionable signals.
Important Note: Trading Risk
This indicator is intended for educational and informational purposes only and does not constitute investment advice or a recommendation for trading in any form whatsoever.
Trading in financial markets involves significant risk of capital loss. It is important to remember that past performance is not indicative of future results. All trading decisions are your sole responsibility. Never trade with money you cannot afford to lose.
Sentiment
US Recessions bandsShaded bands for official declared US recessions. The color can be updated, and recessions toggled off and on. Used for behavior analysis during recessions.
Simple NASDAQ TrackerNasdaq Tracker, is an indicator to use while trading nasdaq stocks.
It uses the chart as a market tracker too know what the overall blue chip market is doing, if it trades above the moving average, it indicates the the overall market is going upp or down.
Армс Индекс (TRIN)
Arms Indicator (TRIN)
General description
This indicator is designed to visualize the overbought and oversold levels of the stock market. The Arms Index (TRIN) evaluates the ratio of the number of rising and falling stocks to the corresponding ratio of the trading volume of rising and falling stocks. The lower the TRIN indicator, the more overbought the market is, and vice versa — a high TRIN indicates oversold conditions.
How to interpret the signal?
- Zone below 0.8: The market is overbought, and a downward correction is likely to follow soon.
- Zone above 1.2: The market is oversold, an upward reversal is possible.
These zones help to identify entry and exit points in a timely manner, optimizing trading decisions.
Implementation features
1. Calculation method: The classic TRIN formula is based on the ratio of volume indicators of rising and falling assets.
2. Averaging interval: A moving average (MA) is used with a configurable default period of five days. The user can change this value manually.
3. Level display: The chart shows two key levels: the oversold (1.2) and overbought (0.8) lines. These lines are guidelines for decision-making.
Instructions for use
1. Upload the indicator to the chart of your financial instrument.
2. Keep an eye on the TRIN value: does it cross the critical levels (1.2 and 0.8)?
3. Use the TRIN readings as an additional filter to confirm the signal of your main strategies.
Remember that the Arms index is best used in conjunction with other technical analysis indicators to achieve maximum signal accuracy.
---
I hope this implementation will help you to trade more efficiently and find the best opportunities in the market!
© The authorship belongs to Eva-S-Apple.
Армс Индекс (TRIN)Arms Indicator (TRIN)
General description
This indicator is designed to visualize the overbought and oversold levels of the stock market. The Arms Index (TRIN) evaluates the ratio of the number of rising and falling stocks to the corresponding ratio of the trading volume of rising and falling stocks. The lower the TRIN indicator, the more overbought the market is, and vice versa — a high TRIN indicates oversold conditions.
How to interpret the signal?
- Zone below 0.8: The market is overbought, and a downward correction is likely to follow soon.
- Zone above 1.2: The market is oversold, an upward reversal is possible.
These zones help to identify entry and exit points in a timely manner, optimizing trading decisions.
Implementation features
1. Calculation method: The classic TRIN formula is based on the ratio of volume indicators of rising and falling assets.
2. Averaging interval: A moving average (MA) is used with a configurable default period of five days. The user can change this value manually.
3. Level display: The chart shows two key levels: the oversold (1.2) and overbought (0.8) lines. These lines are guidelines for decision-making.
Instructions for use
1. Upload the indicator to the chart of your financial instrument.
2. Keep an eye on the TRIN value: does it cross the critical levels (1.2 and 0.8)?
3. Use the TRIN readings as an additional filter to confirm the signal of your main strategies.
Remember that the Arms index is best used in conjunction with other technical analysis indicators to achieve maximum signal accuracy.
---
I hope this implementation will help you to trade more efficiently and find the best opportunities in the market!
© The authorship belongs to Eva-S-Apple.
Simpler Trading Trend FlagsSpace Saving indicator for understanding the chart structure based on the current bar.
This indicator matches the larger historic Multi-Trend but in a compact way.
It shows you where the EMA's are stacked (indicating momentum) and if there is currently a trend -- based on stacked standard Fib EMA's and their relation to the 34 EMA -- considered the mean.
It allows you to see at a glance where the trend is heading without needing to take up more space on the chart. The labels can be moved where convenient as well.
CandelaCharts - Macro Sentiment Index 📝 Overview
The Macro Sentiment Index (MSI) is a multi-asset, rules-based indicator designed to quantify global market risk appetite by aggregating signals from a diversified basket of financial instruments across equities, fixed income, commodities, currencies, volatility, and macroeconomic data.
Developed under the CandelaCharts framework, MSI transforms complex intermarket dynamics into a single, interpretable sentiment score. It reflects the collective behavior of institutional and retail investors, central bank policies, liquidity conditions, and macroeconomic trends.
Rather than relying on a single data source, the index combines over 30 components grouped into five core categories:
Risk-On Assets
Risk-Off / Defensive Assets
Macro & Interest Rate Indicators
Central Bank & Policy Proxies
Sentiment Ratios & Cross-Asset Signals
Each component is standardized using z-score normalization over a user-defined lookback period, weighted based on empirical significance, and aggregated into a composite sentiment score.
The final output oscillates around a neutral baseline (0), with positive values indicating risk-on conditions and negative values signaling risk-off sentiment.
📦 Features
Multi-Dimensional Inputs: Integrates equities, bonds, commodities, volatility, FX, yield curves, policy, macro, sector rotations, and sentiment ratios for holistic market breadth.
Adaptive Scoring System: Converts inputs into z-scores over a lookback window, normalizes directionality, and highlights relative strength/weakness in real time.
Weighted Aggregation: Users assign custom weights (0.1–3.0) to inputs, enabling fine-tuning for regimes or strategies. The index is a weighted average of component scores.
Smoothing & Visualization Modes: Apply SMA, EMA, RMA, or VWMA with custom length. Display as line, histogram, area, or columns with neutral, overbought, and oversold zones.
Correlation Monitoring: On-chart table tracks rolling correlations (default 20 periods) between asset prices and MSI, detecting divergences and regime changes.
Customizable UI: Personalize fonts, text size, branding, and color schemes for bullish/bearish phases and MA line visualization.
⚙️ Settings
Lookback: Define how far back the indicator evaluates data
MA (Moving Average): When enabled, overlays a moving default disabled
MA Smoothing: Applies a secondary smoothing layer
Correlation: Defines the period over which correlation is measured
Mode: Determines the visual layout style
Equity Benchmarks: SPY, QQQ, IWM, EEM
Fixed Income: TLT, HYG, LQD, SHY
Commodities: Gold (GC), Copper (HG), Oil (CL), BCOM
Volatility: VIX, VVIX, MOVE, SKEW
FX Pairs: USD/JPY, USD/CHF, AUD/JPY, DXY
Yield Curves: 10Y-2Y Spread (TYX), 10Y-5Y (TNX-FEDFUNDS)
Monetary Policy: SOFR, ED, FF futures
Global Macro: BDIY, M2, TED Spread, Put/Call Ratio
Sector Rotation: XLU/XLY, XLY/XLP
Sentiment Ratios: SPY/TLT, HYG/LQD, BTC/Gold, Copper/Gold, etc
⚡️ Showcase
Default Mode
Area Mode
Smoothing Moving Average
📒 Usage
Interpreting the Index
Above 0: Net risk-on sentiment - (Markets favor growth, liquidity, and speculative assets)
Below 0: Net risk-off sentiment - (Flight to safety, rising volatility, defensive positioning)
Above +1: Extreme risk-on / complacency - (Potential overheating or topping pattern)
Below −1: Extreme risk-off / fear - (Stress, capitulation, or strong defensive rotation)
🚨 Alerts
The indicator does not provide any alerts!
⚠️ Disclaimer
These tools are exclusively available on the TradingView platform.
Our charting tools are intended solely for informational and educational purposes and should not be regarded as financial, investment, or trading advice. They are not designed to predict market movements or offer specific recommendations. Users should be aware that past performance is not indicative of future results and should not rely on these tools for financial decisions. By using these charting tools, the purchaser agrees that the seller and creator hold no responsibility for any decisions made based on information provided by the tools. The purchaser assumes full responsibility and liability for any actions taken and their consequences, including potential financial losses or investment outcomes that may result from the use of these products.
By purchasing, the customer acknowledges and accepts that neither the seller nor the creator is liable for any undesired outcomes stemming from the development, sale, or use of these products. Additionally, the purchaser agrees to indemnify the seller from any liability. If invited through the Friends and Family Program, the purchaser understands that any provided discount code applies only to the initial purchase of Candela's subscription. The purchaser is responsible for canceling or requesting cancellation of their subscription if they choose not to continue at the full retail price. In the event the purchaser no longer wishes to use the products, they must unsubscribe from the membership service, if applicable.
We do not offer reimbursements, refunds, or chargebacks. Once these Terms are accepted at the time of purchase, no reimbursements, refunds, or chargebacks will be issued under any circumstances.
By continuing to use these charting tools, the user confirms their understanding and acceptance of these Terms as outlined in this disclaimer.
CandelaCharts - Contango Slope Index 📝 Overview
The Contango Slope Index (CSI) is a volatility term structure analysis tool designed to quantify the slope of the VIX futures curve over time.
By measuring the rate of change in implied volatility across multiple tenors—such as VIX1D, VIX (1M), VIX3M, VIX6M, and VIX1Y—the CSI provides traders and analysts with real-time insights into market sentiment, risk appetite, and potential turning points in equity markets.
Developed by CandelaCharts, the CSI draws from established financial research on volatility term structures, particularly focusing on how contango (upward-sloping curve) and backwardation (downward-sloping curve) regimes correlate with future market behavior.
The index computes a normalized slope using linear regression across available VIX futures, offering a dynamic view of evolving market expectations. The core output a slope value expressed in annualized percentage points per year (%/yr)—represents the steepness of the volatility curve:
Positive slope: Contango regime, typically associated with market stability and complacency.
Negative slope: Backwardation, historically linked to fear, near-term uncertainty, and often preceding market rallies.
Slope crossing zero or key thresholds: Generates regime shifts and alert conditions.
📦 Features
The Contango Slope Index offers a comprehensive set of features for analyzing volatility dynamics:
Multi-Tenor Volatility Input: Users can select which VIX futures contracts to include in the slope calculation: VIX, VIX1D, etc
Dynamic Slope Calculation: The indicator calculates the slope of the VIX term structure using linear regression on time-to-maturity (TTM) vs. volatility levels.
Moving Average Overlay: A configurable moving average (SMA, EMA, RMA, WMA, VWMA) is applied to the smoothed slope to identify trend direction and momentum shifts.
Regime Classification: Based on the slope value and its relationship to the moving average, the CSI classifies current market conditions into distinct regimes.
Visual Enhancements: Color-coded slope line, background shading, etc
Real-Time Label & Tooltip: On the last bar, a dynamic label displays: Current regime, Slope value and direction, etc
⚙️ Settings
VIX: Toggles use of spot VIX index (CBOE_DLY:VIX).
VIX1D: Toggles use of 1-day VIX futures (CBOE_DLY:VIX1D).
VIX3M: Toggles use of 3-month VIX futures (CBOE_DLY:VIX3M).
VIX6M: Toggles use of 6-month VIX futures (CBOE_DLY:VIX6M).
VIX1Y: Toggles use of 1-year VIX futures (CBOE_DLY:VIX1Y).
MA: Enables moving average filter; options include type (SMA, etc.) and period length.
Slope: Defines slope calculation line thickness and colors.
Bg: Enables background shading with customizable colors.
⚡️ Showcase
Slope Line
Customizable Moving Average
Regime Shift Zones
📒 Usage
The CSI is plotted as a standalone oscillator beneath the price chart (non-overlay mode). Key interpretation guidelines:
Slope Direction
Slope < 0 - Backwardation: Indicates near-term volatility is higher than long-term expectations. Historically, this has preceded equity market rallies, as panic subsides and fear peaks.
Slope > 0 - Contango: Reflects normal market conditions where longer-dated volatility is priced higher. Persistent high contango may signal complacency.
Magnitude of Slope
Slope > 0.0232 (%/yr) - Elevated complacency: The term structure is steeper than historical average—caution advised ahead of potential corrections.
Slope near 0 - Neutral or transitioning regime: Markets may be at inflection points.
Slope vs. MA Crossover
Slope crosses above MA: Improving confidence, potential upside acceleration
Slope crosses below MA: Deteriorating structure, rising stress
🚨 Alerts
Six pre-configured alerts are available for integration into trading systems:
🚨 Backwardation Detected – Slope turns negative
🔚 Exit Backwardation – Slope crosses above zero
⚠️ Elevated Complacency – Slope exceeds 2.32%/yr
📈 Potential Bullish Setup – Slope crosses below zero
✅ Slope Crosses Above MA – Momentum improves
⚠️ Slope Crosses Below MA – Momentum deteriorates
⚠️ Disclaimer
These tools are exclusively available on the TradingView platform.
Our charting tools are intended solely for informational and educational purposes and should not be regarded as financial, investment, or trading advice. They are not designed to predict market movements or offer specific recommendations. Users should be aware that past performance is not indicative of future results and should not rely on these tools for financial decisions. By using these charting tools, the purchaser agrees that the seller and creator hold no responsibility for any decisions made based on information provided by the tools. The purchaser assumes full responsibility and liability for any actions taken and their consequences, including potential financial losses or investment outcomes that may result from the use of these products.
By purchasing, the customer acknowledges and accepts that neither the seller nor the creator is liable for any undesired outcomes stemming from the development, sale, or use of these products. Additionally, the purchaser agrees to indemnify the seller from any liability. If invited through the Friends and Family Program, the purchaser understands that any provided discount code applies only to the initial purchase of Candela's subscription. The purchaser is responsible for canceling or requesting cancellation of their subscription if they choose not to continue at the full retail price. In the event the purchaser no longer wishes to use the products, they must unsubscribe from the membership service, if applicable.
We do not offer reimbursements, refunds, or chargebacks. Once these Terms are accepted at the time of purchase, no reimbursements, refunds, or chargebacks will be issued under any circumstances.
By continuing to use these charting tools, the user confirms their understanding and acceptance of these Terms as outlined in this disclaimer.
Round Levels Cross AlertRound Levels Cross Alert
Overview
The Round Levels Cross Alert is a Pine Script v6 indicator for TradingView that detects when the price crosses user-defined round price levels (e.g., 100, 200, 500). It is designed for traders focusing on psychological or key support/resistance levels, providing clear visual markers and real-time alerts with detailed messages.
Features
Custom Round Levels: Set your preferred price interval (e.g., 100 points) using the Round Level Interval input.
Visual Cues: Green triangle-up shapes appear below bars for upward crosses; red triangle-down shapes appear above for downward crosses.
Detailed Alerts: Alerts include the ticker, crossed level, and time in HH:mm AM/PM format, triggered only on confirmed bars for accuracy.
Multi-Level Detection: Captures multiple round-level crosses in a single bar, sending individual alerts for each.
User-Friendly: Easy to set up and integrates with TradingView's alert system for notifications via email, SMS, or other platforms.
How It Works
The script calculates the nearest round level by flooring the closing price divided by the user-defined interval. It detects changes in this level to identify crosses, then:
Plots a shape to visually mark the cross.
Generates an alert with the ticker, crossed level, and current time.
Handles multiple level crosses in one bar, ensuring all are reported.
Ideal For
Swing Traders: Identify key levels for entries/exits.
Day Traders: Monitor real-time price action at round numbers.
Automated Alerts: Stay informed with timely notifications.
Customization
Adjust the Round Level Interval to match your asset or strategy (e.g., 50, 100, 1000).
Configure TradingView alerts to suit your notification preferences.
This indicator is a simple, effective tool for tracking price movements at significant round levels with clear visuals and actionable alerts.
Liquid Rush + Relative Strength Dashboard by PritishK19📌 About the Script : Liquid Rush + Relative Strength Dashboard
________________________________________
🎯 Purpose
The Liquid Rush + Dashboard script is designed to give traders a quick, at a glance view of stock strength, momentum, and liquidity directly on the chart. Instead of switching across multiple indicators, this dashboard compresses the most important market metrics into a clean, color coded table.
________________________________________
⚡ Features
• EMA Positioning
o Tracks EMA10, EMA20, EMA50, EMA200 with percentage distance from price.
o Shows EMA relationships (10>20, 20>50, 50>200) for trend clarity.
• 52-Week High Scan
o Displays how far the current price is from its 52 week high (in %).
o Helps identify breakout candidates and long term strength.
• RS (Relative Strength) Rating Approximation
o Compares the symbol’s performance vs. a chosen benchmark (default: NSE:NIFTY).
o Useful for spotting outperforming stocks.
• ADR (Average Daily Range)
o Displays the average daily movement in percentage terms, useful for volatility assessment.
• Turnover Estimation
o Daily turnover (price × volume) shown on chart, auto scaled to Cr/Lakhs/Units.
o Helps identify liquid trading opportunities.
• Customizable Dashboard
o Choose location (top left, right, bottom, etc.).
o Adjust text size and border width.
o Toggle dashboard and turnover label visibility.
________________________________________
🧩 Usage Tips
• Use the EMA alignment for identifying bullish / bearish setups.
• Check 52 week high proximity to filter potential breakout stocks.
• RS Rating can act as a relative strength filter to focus on outperformers.
• ADR % is helpful for intraday or swing traders to size stop loss and targets.
• Turnover tag highlights liquidity strength so you don’t trade illiquid names.
________________________________________
⚙️ Customization
• Change benchmark index (default NSE:NIFTY) for RS calculation.
• Adjust conversion factor (Lakhs / Cr / base) as per market preference.
• Move the dashboard anywhere on the chart with simple dropdown settings.
________________________________________
📌 Notes
• This script does not provide buy/sell signals — it is a decision support dashboard to complement your trading strategy.
• Works on any symbol and timeframe.
________________________________________
✨ Designed for active traders & swing traders who need a fast technical snapshot without clutter!
________________________________________
// P.S. This is my first publicly published script. Suggestions or support contact via X @PritishK19
Sentiment Profile [ImpulseQuant]core function:
divides your chosen look-back range into equal price bands, computes the net buying vs. selling volume in each band, then scales those numbers against the strongest band to get a 0–1 “strength.” Finally, it draws a horizontal line at each level whose length reflects that strength and labels it with the raw net-sentiment value.
- the furthest horizontally extended line = highest sentiment level.
- intended for zone to zone trading strategies.
MTF Sentiment Profile [ImpulseQuant]Multi-Timeframe Sentiment Profile:
a more nuanced way to see where the biggest buying and selling happened on a higher timeframe—right on your current chart. Instead of switching back and forth between your 1 min and 1 hour charts, this indicator “plugs in” the 1 hour (or any) volume profile directly onto your 1 min:
Higher-TF Data on Your Chart
It pulls in OHLC & volume from your chosen timeframe (15 min, 1 hour, etc.) and builds a horizontal volume histogram of that range.
Net Volume “Sentiment”
Under the hood it calculates bullish minus bearish volume at each price level, so you can optionally color zones by who was more aggressive—buyers or sellers.
Pure Volume Profile Option
Switch all bars to one color (e.g. white) and it behaves exactly like a standard volume-by-price profile: the longest line marks the price levels with the most trading.
Easy Inputs
• Choose your profile timeframe (e.g. “60” for 1 hour)
• Set look-back length, number of bins, bar width & offset
• Enable/disable gap-handling or lookahead for tight control
(editors note): there are some limitations in pinescript with what levels you can pull from higher timeframe.. if you try to use 1h timeframe levels on the 1m chart it will not accurately pull them.. a work around is to lower the "bar lookback" from 1500 and potentially pull successfully larger timeframes.
[AlbaTherium] Wabi-Sabi Wyckoff Flow Structure Map MTF[1.0.42] Wabi-Sabi Wyckoff Flow Structure Map
Master the Hidden Geometry of Market Campaigns – Accumulation, Distribution, and the Laws That Govern Them
Introduction
The Wabi-Sabi Wyckoff Flow Structure Map is a software-engineered analytical framework that visualizes the flow of institutional market behavior through the lens of the Wyckoff Method. This tool automates the detection of trading ranges, maps the phases of accumulation/distribution, and extrapolates price objectives .
The Wabi-Sabi Wyckoff Flow Structure Map is a meticulous implementation of the principles of Richard D. Wyckoff , interpreted through the lens of market structure and volume dynamics. This tool aims to identify, contextualize, and map out accumulation and distribution zones by interpreting the composite operator's intended path in financial markets.
It is not merely an indicator-it is a structural compass, guiding you through the architecture of smart money campaigns.
Chapter 1: The Architecture of Market Campaigns
1.1 From Noise to Narrative
Markets do not move randomly. They are orchestrated campaigns-methodically executed by informed operators. The identifies these campaigns as they unfold across:
Accumulation
Markup
Distribution
Markdown
Each is grounded in Wyckoff’s structural logic and revealed in real time.
1.2 Who Is the Composite Operator, Composite Man?
The Composite Operator (CO), Composite Man (CM) represents dominant market participants-institutions with the capacity to engineer price movement. By dissecting trading ranges, the script deciphers their behavior through:
Event-based mapping (SC, ST, Spring, AR, UTAD, etc.)
Phase progression (Phase A to E)
PnF-based directional forecasting
The CO leaves footprints. This script reads them.
Chapter 2: Wyckoff’s Core Laws, Brought to Life
2.1 The Law of Supply and Demand
Every price bar reflects this law. The tool highlights where supply is absorbed and demand emerges, revealing the true balance of power behind the chart.
2.2 The Law of Cause and Effect
Accumulation and distribution ranges are not noise-they are preparation. By measuring their width, the script calculates PnF-based targets for the post-breakout phase, offering traders quantified projections rooted in structure.
2.3 The Law of Effort vs. Result
Effort = volume.
Result = price movement.
Discrepancies between the two-expose market turning points.
This script captures those moments within Wyckoff's structural context, not isolated volume spikes.
Chapter 3: Real-Time Interpretation of Trading Ranges
3.1 Automatic Schematic Mapping
The tool auto-generates Wyckoff structures:
Detects and maps Trading Ranges dynamically
Labels Wyckoff events (SC, ST, AR, Spring, UT, LPS, etc.)
Identifies current phase (Phase B, C, D, E) via real-time bias detection
3.1.1.Core Components
a. Structural Framing
The script autonomously detects the boundaries of a trading range (TR), guided by pivot highs and lows derived from Volume Spread Analysis (VSA) dynamics and price behavior.
b. Automatic Rally (AR) & Selling Climax (SC)
These foundational events are systematically computed and highlighted using volume-weighted price interaction. The Selling Climax defines the lower bound of the TR, while the Automatic Rally sets the resistance zone.
c. Secondary Tests (ST)
The algorithm traces the STs to validate demand/supply balance and the structural integrity of the TR. These are tagged with precision to avoid false positives.
d. Spring / Upthrust Actions
Wyckoffian springs and upthrusts are flagged using deviations below support (spring) or above resistance (upthrust) coupled with volume exhaustion or climax events.
e. Creek & Ice Visualization
Inspired by Wyckoff’s narrative metaphor, the script maps the 'Creek' (High of the Range flow) and 'Ice' (Low of the Range flow), guiding the observer through breakout or breakdown conditions.
f. Sign of Strength (SOS) / Sign of Weakness (SOW)
These turning points are confirmed via expansion in spread and volume. SOS is a bullish confirmation of accumulation resolution, while SOW indicates bearish continuation.
g. LPS & LPSY
The Last Point of Support (LPS) and Last Point of Supply (LPSY) are precisely mapped post-confirmation of breakout or breakdown. Their presence strengthens the bias of the ongoing structural phase.
h. Phase Annotation
Each zone within the TR is annotated based on Wyckoff’s five-phase logic (A to E). This includes climactic action in Phase A, testing in Phase B, spring/UTAD in Phase C, confirmation in Phase D, and exit in Phase E.
3.2 Multi-Timeframe Tracking
Observe the interplay of nested structures across several timeframes. Whether you’re tracking a micro accumulation on 1-min or macro distribution on the 1H, the script integrates both for a full-spectrum view.
3.3 Point-and-Figure Price Targeting
Using Wyckoff’s Law of Cause and Effect, the tool projects price targets based on the range width. Outputs are displayed directly on the chart, aiding in:
Profit-taking zones
Invalidations
R/R planning with structure-based confidence
Chapter 4: Applying Like a Wyckoffian
4.1 Configuration Best Practices
Timeframes: 1–5min for tactical intraday, 15min–4H for swing campaigns
Detection Radius: Control how deep the script searches for structural pivots
Modes: Choose between Delta (volume shifts) and Normal (price formations)
4.2 Dashboard & Event Tracker
The Bias Dashboard displays:
The current dominant phase (e.g. “Phase C Test” or “Late Phase D”)
Key events (AR, ST, Spring, LPS)
Whether current price action supports a continuation or Climax
4.3 Alerts and Customization
Configure alerts to monitor:
New TR detection across up to 6 timeframes
Key structural events like Spring, UTAD, or SOS
Completion of cause zones with target projection triggered
Chapter 5: Use Cases and Strategic Implementation
5.1 Spotting Reversals Before the Breakout
Use the script to:
Enter near Springs (accumulation) or UTADs (distribution)
Identify retests as Last Points of Support/Resistance
Confirm or invalidate breakout attempts using the schematic context
5.2 Confirming Institutional Engagement
Recognize institutional footprints through:
Multiple STs (Testing for supply)
Strong SOS, SOW / LPS combinations
Absence of follow-through = Absorption
The Flow Map helps distinguish retail chase from professional intent.
Conclusion
The Wabi-Sabi Wyckoff Flow Structure Map is an elite market structure decoder for traders who operate on logic, not emotion. Grounded in Wyckoff’s time-tested methodology and enhanced with modern automation, it transforms the invisible structure of price action into a readable, tradeable roadmap.
“Structure precedes movement. Those who read structure, anticipate motion. Those who chase motion, miss the meaning .
”
- A Wyckoffian Principle
This tool is for traders who understand that preparation is where profits are born-not during the move, but before it."
Support Vs Reward RvCSupport Vs Reward RvC
The Support Vs Reward RvC indicator is a simple yet effective tool that analyzes candle strength relative to both price movement and trading volume. Highlights candles where both body size and volume expand or contract, helping traders spot momentum shifts and weakening moves.
📌 How it works:
- “C” expect a Continuation of Trend in the next one or two candles;
- “R” expect a Reverse of Trend in the next one or two candles.
Works well on bigger time candles like 10-15 minutes but also gives important info in day-trading or scalping.
Marks candles where both body size and volume increase or decrease, making momentum shifts easy to spot. This smart candle analyzer reveals momentum surges and fading moves through body size and volume dynamics.
It compares each candle’s body size (open-to-close range) and its volume against the previous candle.
If both the body and volume are greater than the previous candle, a green “C” from Continuation of Trend is displayed under the bar.
If both the body and volume are smaller than the previous candle, a red “R” from Reverse of Trend is displayed under the bar.
Custom filters allow users to ignore insignificant moves by setting a minimum body size (as % of price) and a minimum volume threshold.
📌 Use cases:
Spot momentum shifts when price and volume expand together.
Identify weakening moves when both price action and volume contract.
Can be combined with other strategies for confirmation of entries or exits.
⚙️ Inputs:
Minimum Body Size % (of price): Filters out small candles.
Minimum Volume: Ensures only significant moves are marked.
This indicator is best used as a confirmation tool within a larger trading strategy, rather than as a standalone buy/sell signal.
Market Outlook Score (MOS)Overview
The "Market Outlook Score (MOS)" is a custom technical indicator designed for TradingView, written in Pine Script version 6. It provides a quantitative assessment of market conditions by aggregating multiple factors, including trend strength across different timeframes, directional movement (via ADX), momentum (via RSI changes), volume dynamics, and volatility stability (via ATR). The MOS is calculated as a weighted score that ranges typically between -1 and +1 (though it can exceed these bounds in extreme conditions), where positive values suggest bullish (long) opportunities, negative values indicate bearish (short) setups, and values near zero imply neutral or indecisive markets.
This indicator is particularly useful for traders seeking a holistic "outlook" score to gauge potential entry points or market bias. It overlays on a separate pane (non-overlay mode) and visualizes the score through horizontal threshold lines and dynamic labels showing the numeric MOS value along with a simple trading decision ("Long", "Short", or "Neutral"). The script avoids using the plot function for compatibility reasons (e.g., potential TradingView bugs) and instead relies on hline for static lines and label.new for per-bar annotations.
Key features:
Multi-Timeframe Analysis: Incorporates slope data from 5-minute, 15-minute, and 30-minute charts to capture short-term trends.
Trend and Strength Integration: Uses ADX to weight trend bias, ensuring stronger signals in trending markets.
Momentum and Volume: Includes RSI momentum impulses and volume deviations for added confirmation.
Volatility Adjustment: Factors in ATR changes to assess market stability.
Customizable Inputs: Allows users to tweak periods for lookback, ADX, and ATR.
Decision Labels: Automatically classifies the MOS into actionable categories with visual labels.
This indicator is best suited for intraday or swing trading on volatile assets like stocks, forex, or cryptocurrencies. It does not generate buy/sell signals directly but can be combined with other tools (e.g., moving averages or oscillators) for comprehensive strategies.
Inputs
The script provides three user-configurable inputs via TradingView's input panel:
Lookback Period (lookback):
Type: Integer
Default: 20
Range: Minimum 10, Maximum 50
Purpose: Defines the number of bars used in slope calculations for trend analysis. A shorter lookback makes the indicator more sensitive to recent price action, while a longer one smooths out noise for longer-term trends.
ADX Period (adxPeriod):
Type: Integer
Default: 14
Range: Minimum 5, Maximum 30
Purpose: Sets the smoothing period for the Average Directional Index (ADX) and its components (DI+ and DI-). Standard value is 14, but shorter periods increase responsiveness, and longer ones reduce false signals.
ATR Period (atrPeriod):
Type: Integer
Default: 14
Range: Minimum 5, Maximum 30
Purpose: Determines the period for the Average True Range (ATR) calculation, which measures volatility. Adjust this to match your trading timeframe—shorter for scalping, longer for positional trading.
These inputs allow customization without editing the code, making the indicator adaptable to different market conditions or user preferences.
Core Calculations
The MOS is computed through a series of steps, blending trend, momentum, volume, and volatility metrics. Here's a breakdown:
Multi-Timeframe Slopes:
The script fetches data from higher timeframes (5m, 15m, 30m) using request.security.
Slope calculation: For each timeframe, it computes the linear regression slope of price over the lookback period using the formula:
textslope = correlation(close, bar_index, lookback) * stdev(close, lookback) / stdev(bar_index, lookback)
This measures the rate of price change, where positive slopes indicate uptrends and negative slopes indicate downtrends.
Variables: slope5m, slope15m, slope30m.
ATR (Average True Range):
Calculated using ta.atr(atrPeriod).
Represents average volatility over the specified period. Used later to derive volatility stability.
ADX (Average Directional Index):
A detailed, manual implementation (not using built-in ta.adx for customization):
Computes upward movement (upMove = high - high ) and downward movement (downMove = low - low).
Derives +DM (Plus Directional Movement) and -DM (Minus Directional Movement) by filtering non-relevant moves.
Smooths true range (trur = ta.rma(ta.tr(true), adxPeriod)).
Calculates +DI and -DI: plusDI = 100 * ta.rma(plusDM, adxPeriod) / trur, similarly for minusDI.
DX: dx = 100 * abs(plusDI - minusDI) / max(plusDI + minusDI, 0.0001).
ADX: adx = ta.rma(dx, adxPeriod).
ADX values above 25 typically indicate strong trends; here, it's normalized (divided by 50) to influence the trend bias.
Volume Delta (5m Timeframe):
Fetches 5m volume: volume_5m = request.security(syminfo.tickerid, "5", volume, lookahead=barmerge.lookahead_on).
Computes a 12-period SMA of volume: avgVolume = ta.sma(volume_5m, 12).
Delta: (volume_5m - avgVolume) / avgVolume (or 0 if avgVolume is zero).
This measures relative volume spikes, where positive deltas suggest increased interest (bullish) and negative suggest waning activity (bearish).
MOS Components and Final Calculation:
Trend Bias: Average of the three slopes, normalized by close price and scaled by 100, then weighted by ADX influence: (slope5m + slope15m + slope30m) / 3 / close * 100 * (adx / 50).
Emphasizes trends in strong ADX conditions.
Momentum Impulse: Change in 5m RSI(14) over 1 bar, divided by 50: ta.change(request.security(syminfo.tickerid, "5", ta.rsi(close, 14), lookahead=barmerge.lookahead_on), 1) / 50.
Captures short-term momentum shifts.
Volatility Clarity: 1 - ta.change(atr, 1) / max(atr, 0.0001).
Measures ATR stability; values near 1 indicate low volatility changes (clearer trends), while lower values suggest erratic markets.
MOS Formula: Weighted average:
textmos = (0.35 * trendBias + 0.25 * momentumImpulse + 0.2 * volumeDelta + 0.2 * volatilityClarity)
Weights prioritize trend (35%) and momentum (25%), with volume and volatility at 20% each. These can be adjusted in code for experimentation.
Trading Decision:
A variable mosDecision starts as "Neutral".
If mos > 0.15, set to "Long".
If mos < -0.15, set to "Short".
Thresholds (0.15 and -0.15) are hardcoded but can be modified.
Visualization and Outputs
Threshold Lines (using hline):
Long Threshold: Horizontal dashed green line at +0.15.
Short Threshold: Horizontal dashed red line at -0.15.
Neutral Line: Horizontal dashed gray line at 0.
These provide visual reference points for MOS interpretation.
Dynamic Labels (using label.new):
Placed at each bar's index and MOS value.
Text: Formatted MOS value (e.g., "0.2345") followed by a newline and the decision (e.g., "Long").
Style: Downward-pointing label with gray background and white text for readability.
This replaces a traditional plot line, showing exact values and decisions per bar without cluttering the chart.
The indicator appears in a separate pane below the main price chart, making it easy to monitor alongside price action.
Usage Instructions
Adding to TradingView:
Copy the script into TradingView's Pine Script editor.
Save and add to your chart via the "Indicators" menu.
Select a symbol and timeframe (e.g., 1-minute for intraday).
Interpretation:
Long Signal: MOS > 0.15 – Consider bullish positions if supported by other indicators.
Short Signal: MOS < -0.15 – Potential bearish setups.
Neutral: Between -0.15 and 0.15 – Avoid trades or wait for confirmation.
Watch for MOS crossings of thresholds for momentum shifts.
Combine with price patterns, support/resistance, or volume for better accuracy.
Limitations and Considerations:
Lookahead Bias: Uses barmerge.lookahead_on for multi-timeframe data, which may introduce minor forward-looking bias in backtesting (use with caution).
No Alerts Built-In: Add custom alerts via TradingView's alert system based on MOS conditions.
Performance: Tested for compatibility; may require adjustments for illiquid assets or extreme volatility.
Backtesting: Use TradingView's strategy tester to evaluate historical performance, but remember past results don't guarantee future outcomes.
Customization: Edit weights in the MOS formula or thresholds to fit your strategy.
This indicator distills complex market data into a single score, aiding decision-making while encouraging users to verify signals with additional analysis. If you need modifications, such as restoring plot functionality or adding features, provide details for further refinement.
HiddenRidder - Scalping - WVAP based on RSIHiddenRidder – VWAP + MA + Volume Detection (Intraday Setup)
This indicator is designed for intraday and scalping strategies, optimized for 15-minute charts and lower. While the author prefers longer-term trading, this tool was tested with real trades to validate its short-term performance.
🔍 Key Features
# VWAP (Volume Weighted Average Price):
Configurable anchor options: session-based, weekly, monthly, etc.
Helps identify price positioning relative to volume-weighted levels.
# Dynamic Moving Average (MA):
Directional coloring based on trend slope.
Offers visual cues for momentum shifts.
# Volume Detection:
Optional display of high, ultra-high, and low volume zones.
Useful for spotting breakout or exhaustion conditions.
# Session Markers:
Optional vertical dotted lines to mark hourly and daily sessions.
Enhances visibility of intraday structure.
# RSI (Inactive):
Included for future testing; not active in current version.
⚙️ Recommended Timeframes
Best suited for 15-minute and lower charts.
Designed for traders who prefer fast-paced setups with volume and trend overlays.
📌 Disclaimer
This indicator is provided for educational purposes only. It does not constitute financial advice or guarantees of performance. Use at your own discretion and risk.
Abeer SuperTrend + DEMAThis is sentimental indicator which can be useful for taking Long/Short Decisions .
Parameters :
ATR Length : 12
Factor : 3
Green Bullish
Red Bearish
DEMA 100 in Purple
Gap Runner v4.1 (Revised)1. What It Does?
- The Gap Runner is designed for intraday traders who love the Opening Range Breakout (ORB) concept but with a twist.
- This automatically detects gap up and gap down days.
- Provides visual alerts and position sizing guidance based on your chosen risk for faster execution.
Works on any timeframe, with the option to use 1-minute precision breakout detection for consistency.
2. Key Features
✅ Automatic Gap Detection – No manual drawing or marking levels.
✅ ORB High & Low Lines – Dynamic support/resistance for the day.
✅ Breakout Signals – Clear markers when price breaks out of the opening range.
✅ Customizable Colors – Control how ORB and signals appear on your chart.
✅ Risk-Based Position Sizing – Instantly see how many shares/contracts you can take for your chosen risk.
✅ Smart Table Display – View ORB High, ORB Low, Range, and Position Size in a compact on-chart table.
✅ Flexible Timeframes – Use on 1m, 5m, 15m, or higher; breakouts can always be confirmed on 1m for accuracy.
✅ Alerts Ready – Get notified instantly when a breakout occurs.
3. How to Use
i) Add the indicator to your chart (invite-only access).
ii) Watch for Gap Up/Down signals before market open.
iii) The indicator will draw the Opening Range automatically during the first few minutes.
iv) Once the ORB completes:
- On Gap Up days → focus on ORB High breakout setups.
- On Gap Down days → focus on ORB Low breakdown setups.
v) Check the table panel to quickly see the range size and your ideal position size.
vi) Use alerts to stay ahead without staring at the screen all day.
Best Practices
⚡ Use the 1m breakout confirmation option for precise signals.
⚡ Combine ORB breakouts with market trend bias (index, sector strength).
⚡ Avoid over-trading on non-gap days – this tool is built to shine on high-probability gap scenarios.
⚡ Always manage risk: the built-in position sizing tool is your friend.
⚠️ Disclaimer:
- This tool is meant to assist your trading decisions – it’s not financial advice. Always test thoroughly and use your own discretion.
🔥 This is a private beta launch. If you’re reading this, you’re among the first to access Gap Runner v4.
Please share your feedback so we can refine it before the public rollout.
Whole Number Levels & ZonesWhole Number Levels & Zones Indicator
This indicator is designed to automatically plot key psychological price levels on your chart. These are typically round numbers (e.g., 1.35000 on GBP/USD) where trading activity often clusters, creating potential support and resistance.
How It's Used:
Traders use these lines and zones to identify areas where the price might pause, reverse, or break out.
Support: If the price is falling, it may find support and bounce off one of these levels.
Resistance: If the price is rising, it may face resistance and stall at one of these levels.
Confirmation: It can be used alongside other indicators and analysis techniques to confirm trade entries or exits.
Key Features:
Automatic or Manual Levels: You can either let the indicator automatically adjust the lines based on the current price or anchor them to a specific starting price you choose.
Customizable Intervals: You can set the distance between each line (e.g., every 50 or 100 pips).
Shaded Zones: You can enable a shaded box around each line to better visualize the price zones. The height of this box is adjustable.
Full Styling Control: You have complete control over the color, style (dashed, solid, dotted), and thickness of the lines and zones to match your chart's theme.
Above/Below Snapshot TableThis script is conjunction with the Above/Below Status script and provides the Above/Below status for the current ticker plus 5 additional tickers.
This script evaluates current price in relation to 4 user-defined, time-based price points to give a indication as to whether price is above all 4 price levels or below all 4 price levels.
The idea behind this indicator is that when current price is stretched beyond all 4 price levels, it will have a tendency to revert back within the range or reverse completely.
This idea will not work well in times when the market is strongly trending in one direction.
Above all/Below all BiasThis script evaluates current price in relation to 4 user-defined, time-based price points to give a indication as to whether price is above all 4 price levels or below all 4 price levels.
The idea behind this indicator is that when current price is stretched beyond all 4 price levels, it will have a tendency to revert back within the range or reverse completely.
This idea will not work well in times when the market is strongly trending in one direction.
Order Blocks + Order-Flow ProxiesOrder Blocks + Order-Flow Proxies
This indicator combines structural analysis of order blocks with lightweight order-flow style proxies, providing a tool for chart annotation and contextual study. It is designed to help users visualize where significant structural shifts occur and how simple volume-based signals behave around those areas. The script does not guarantee profitable outcomes, nor does it issue financial advice. It is intended purely for research, learning, and discretionary use.
Conceptual Background
Order Blocks
An “order block” is a term often used to describe a zone on the chart where price left behind a significant reversal or imbalance before continuing strongly in the opposite direction. In practice, this can mean the last bullish or bearish candle before a strong breakout. Traders sometimes study these regions because they believe that unfilled resting orders may exist there, or simply because they mark important pivots in price structure. This indicator detects such moments by scanning for breaks of structure (BOS). When price pushes above or below recent swing levels with sufficient displacement, the script identifies the prior opposite candle as the potential order block.
Break of Structure
A break of structure in this context is defined when the closing price moves beyond the highest high or lowest low of a short lookback window. The script compares the magnitude of this break to an ATR-based displacement filter. This helps ensure that only meaningful moves are marked rather than small, random fluctuations.
Order-Flow Proxies
Traditional order flow analysis may use bid/ask data, footprint charts, or volume profiles. Because TradingView scripts cannot access true order-book data, this indicator instead uses proxy signals derived from standard chart data:
Delta (proxy): Estimated imbalance of buying vs. selling pressure, approximated using bar direction and volume.
Imbalance ratio: Normalizes delta by total volume, ranging between -1 and +1 in theory.
Cumulative Delta (CVD): Running sum of delta over time.
Effort vs. Result (EvR): A comparison between volume and actual bar movement, highlighting cases where large effort produced little result (or vice versa).
These are not real order-flow measurements, but rather simple mathematical constructs that mimic some of its logic.
How the Script Works
Detecting Break of Structure
The user specifies a swing length. When price closes above the recent high (for bullish BOS) or below the recent low (for bearish BOS), a potential shift is recorded.
To qualify, the breakout must exceed a displacement filter proportional to the ATR. This helps filter out weak moves.
Locating the Order Block Candle
Once a BOS is confirmed, the script looks back within a short window to find the last opposite-colored candle.
The high/low or open/close of that candle (depending on user settings) is marked as the potential order block zone.
Drawing and Maintaining Zones
Each order block is represented as a colored rectangle extending forward in time.
Bullish zones are teal by default, bearish zones are red.
Zones extend until invalidated (price closing or wicking beyond them, depending on user preference) or until a user-defined lifespan expires.
A pruning mechanism ensures that only the most recent set number of zones remain, preventing chart overload.
Monitoring Touches
The script checks whether the current bar’s range overlaps any existing order block.
If so, the “closest” zone is considered touched, and a label may appear on the chart.
Confirmation Filters
Touches can optionally be confirmed by order-flow proxies.
For a bullish confirmation, the following must align:
Imbalance ratio above threshold,
Delta EMA positive,
Effort vs. Result positive.
For a bearish confirmation, the opposite holds true.
Optionally, a higher-timeframe EMA slope filter can gate these confirmations. For example, a bullish confirmation may only be accepted if the higher-timeframe EMA is sloping upward.
Alerts
Users may create alerts based on conditions such as “bullish touch confirmed” or “bearish touch confirmed.”
Alerts can be gated to only fire after bar close, reducing intrabar noise.
Standard alertcondition calls are provided, and optional inline alert() calls can be enabled.
Inputs and Customization
Structure & OB
Swing length: Defines how many bars back to check for BOS.
ATR length & displacement factor: Adjust sensitivity for structural breaks.
Body vs. wick reference: Choose whether zones are based on candle bodies or full ranges.
Invalidation rule: Pick between wick breach or close beyond the level.
Lifespan (bars): Limit how long a zone remains active.
Max keep: Cap the number of zones stored to reduce clutter.
Order-Flow Proxies
Delta mode: Choose between “Close vs Previous Close” or “Body” for delta calculation.
EMA length: Smooths the delta/imbalance series.
Z-score lookback: Defines the averaging window for EvR.
Confirmation thresholds: Adjust the imbalance levels required for long/short confirmation.
Higher Timeframe Filter
Enable HTF gate: Optional filter requiring higher-timeframe EMA slope alignment.
HTF timeframe & EMA length: Configurable for context alignment.
Style
Colors and transparency for bullish and bearish zones.
Border color customization.
Alerts
Enable inline alerts: Optional direct calls to alert().
Alerts on bar close only: Helps avoid multiple firings during bar formation.
Practical Use
This tool is best seen as a way to annotate charts and to study how simple volume-derived signals behave near important structural levels. Some users may:
Observe whether order blocks line up with later price reactions.
Study how imbalance or cumulative delta conditions align with these zones.
Use it in a discretionary workflow to highlight areas of interest for deeper analysis.
Because the proxies are based only on candle OHLCV data, they are approximations. They cannot replace true depth-of-market analysis. Similarly, order block detection here is one specific algorithmic interpretation; other traders may define order blocks differently.
Limitations and Disclaimers
This indicator does not predict future price movement.
It does not access real order book or tick-by-tick data. All signals are derived from bar OHLCV.
Past performance of signals or zones does not guarantee future results.
The script is for educational and informational purposes only. It is not financial advice.
Users should test thoroughly, adjust parameters to their own instruments and timeframes, and use it in combination with broader analysis.
Summary
The Order Blocks + Order-Flow Proxies script is an experimental study tool that:
Detects potential order blocks using a displacement-filtered break of structure.
Marks these zones as boxes that persist until invalidation or expiry.
Provides lightweight order-flow-style proxies such as delta, imbalance, CVD, and effort vs. result.
Allows confirmation of zone touches through these proxies and optional higher-timeframe context.
Offers flexible customization, alerting, and chart-style options.
It is not a trading system by itself but rather a framework for studying price/volume behavior around structurally significant areas. With careful exploration, it can give users new ways to visualize market structure and to understand how simple flow-like measures behave in those contexts.
Order Blocks + Order-Flow ProxiesOrder Blocks + Order-Flow Proxies
This indicator combines structural analysis of order blocks with lightweight order-flow style proxies, providing a tool for chart annotation and contextual study. It is designed to help users visualize where significant structural shifts occur and how simple volume-based signals behave around those areas. The script does not guarantee profitable outcomes, nor does it issue financial advice. It is intended purely for research, learning, and discretionary use.
Conceptual Background
Order Blocks
An “order block” is a term often used to describe a zone on the chart where price left behind a significant reversal or imbalance before continuing strongly in the opposite direction. In practice, this can mean the last bullish or bearish candle before a strong breakout. Traders sometimes study these regions because they believe that unfilled resting orders may exist there, or simply because they mark important pivots in price structure. This indicator detects such moments by scanning for breaks of structure (BOS). When price pushes above or below recent swing levels with sufficient displacement, the script identifies the prior opposite candle as the potential order block.
Break of Structure
A break of structure in this context is defined when the closing price moves beyond the highest high or lowest low of a short lookback window. The script compares the magnitude of this break to an ATR-based displacement filter. This helps ensure that only meaningful moves are marked rather than small, random fluctuations.
Order-Flow Proxies
Traditional order flow analysis may use bid/ask data, footprint charts, or volume profiles. Because TradingView scripts cannot access true order-book data, this indicator instead uses proxy signals derived from standard chart data:
Delta (proxy): Estimated imbalance of buying vs. selling pressure, approximated using bar direction and volume.
Imbalance ratio: Normalizes delta by total volume, ranging between -1 and +1 in theory.
Cumulative Delta (CVD): Running sum of delta over time.
Effort vs. Result (EvR): A comparison between volume and actual bar movement, highlighting cases where large effort produced little result (or vice versa).
These are not real order-flow measurements, but rather simple mathematical constructs that mimic some of its logic.
How the Script Works
Detecting Break of Structure
The user specifies a swing length. When price closes above the recent high (for bullish BOS) or below the recent low (for bearish BOS), a potential shift is recorded.
To qualify, the breakout must exceed a displacement filter proportional to the ATR. This helps filter out weak moves.
Locating the Order Block Candle
Once a BOS is confirmed, the script looks back within a short window to find the last opposite-colored candle.
The high/low or open/close of that candle (depending on user settings) is marked as the potential order block zone.
Drawing and Maintaining Zones
Each order block is represented as a colored rectangle extending forward in time.
Bullish zones are teal by default, bearish zones are red.
Zones extend until invalidated (price closing or wicking beyond them, depending on user preference) or until a user-defined lifespan expires.
A pruning mechanism ensures that only the most recent set number of zones remain, preventing chart overload.
Monitoring Touches
The script checks whether the current bar’s range overlaps any existing order block.
If so, the “closest” zone is considered touched, and a label may appear on the chart.
Confirmation Filters
Touches can optionally be confirmed by order-flow proxies.
For a bullish confirmation, the following must align:
Imbalance ratio above threshold,
Delta EMA positive,
Effort vs. Result positive.
For a bearish confirmation, the opposite holds true.
Optionally, a higher-timeframe EMA slope filter can gate these confirmations. For example, a bullish confirmation may only be accepted if the higher-timeframe EMA is sloping upward.
Alerts
Users may create alerts based on conditions such as “bullish touch confirmed” or “bearish touch confirmed.”
Alerts can be gated to only fire after bar close, reducing intrabar noise.
Standard alertcondition calls are provided, and optional inline alert() calls can be enabled.
Inputs and Customization
Structure & OB
Swing length: Defines how many bars back to check for BOS.
ATR length & displacement factor: Adjust sensitivity for structural breaks.
Body vs. wick reference: Choose whether zones are based on candle bodies or full ranges.
Invalidation rule: Pick between wick breach or close beyond the level.
Lifespan (bars): Limit how long a zone remains active.
Max keep: Cap the number of zones stored to reduce clutter.
Order-Flow Proxies
Delta mode: Choose between “Close vs Previous Close” or “Body” for delta calculation.
EMA length: Smooths the delta/imbalance series.
Z-score lookback: Defines the averaging window for EvR.
Confirmation thresholds: Adjust the imbalance levels required for long/short confirmation.
Higher Timeframe Filter
Enable HTF gate: Optional filter requiring higher-timeframe EMA slope alignment.
HTF timeframe & EMA length: Configurable for context alignment.
Style
Colors and transparency for bullish and bearish zones.
Border color customization.
Alerts
Enable inline alerts: Optional direct calls to alert().
Alerts on bar close only: Helps avoid multiple firings during bar formation.
Practical Use
This tool is best seen as a way to annotate charts and to study how simple volume-derived signals behave near important structural levels. Some users may:
Observe whether order blocks line up with later price reactions.
Study how imbalance or cumulative delta conditions align with these zones.
Use it in a discretionary workflow to highlight areas of interest for deeper analysis.
Because the proxies are based only on candle OHLCV data, they are approximations. They cannot replace true depth-of-market analysis. Similarly, order block detection here is one specific algorithmic interpretation; other traders may define order blocks differently.
Limitations and Disclaimers
This indicator does not predict future price movement.
It does not access real order book or tick-by-tick data. All signals are derived from bar OHLCV.
Past performance of signals or zones does not guarantee future results.
The script is for educational and informational purposes only. It is not financial advice.
Users should test thoroughly, adjust parameters to their own instruments and timeframes, and use it in combination with broader analysis.
Summary
The Order Blocks + Order-Flow Proxies script is an experimental study tool that:
Detects potential order blocks using a displacement-filtered break of structure.
Marks these zones as boxes that persist until invalidation or expiry.
Provides lightweight order-flow-style proxies such as delta, imbalance, CVD, and effort vs. result.
Allows confirmation of zone touches through these proxies and optional higher-timeframe context.
Offers flexible customization, alerting, and chart-style options.
It is not a trading system by itself but rather a framework for studying price/volume behavior around structurally significant areas. With careful exploration, it can give users new ways to visualize market structure and to understand how simple flow-like measures behave in those contexts.
Nasdaq Sentiment DashboardBuilds a composite sentiment state — RISK-ON / NEUTRAL / RISK-OFF — using three legs:
Volatility: CBOE VXN vs its moving average and absolute thresholds (risk-on when low & below MA; risk-off when high & above MA).
Breadth (quality of participation): QQEW/QQQ ratio vs its MA (equal-weight beating cap-weight = healthier breadth).
Advance/Decline (intraday breadth): advdec.nq vs its MA, with a magnitude filter (ignores tiny A/D days).
How it works
Pulls each series on your chosen signal timeframe (default Daily).
Creates binary signals per leg:
Vol: volOn if VXN < MA and < vxnLower; volOff if VXN > MA and > vxnUpper.
Breadth: brOn if QQEW/QQQ is above its MA by a deadband; brOff if below.
A/D: adOn if A/D > MA and above adMin; adOff if below MA and < -adMin.
Scores each leg (+1 on, −1 off, 0 neutral) → sums to −3…+3.
State rule (default): RISK-ON if score ≥ +2, RISK-OFF if ≤ −2, else NEUTRAL (i.e., need 2 of 3 to agree).
Detects flips (changes in state) and provides alert conditions that fire only on the flip bar.
What you see
Lines for VXN & MA, QQEW/QQQ & MA, A/D & MA.
Background color shows current composite state.
Triangle markers on the flip bar (up for ON, down for OFF).
A top-right table summarizing state, each leg vs its MA, and the composite score.
How to tune
Vol thresholds: vxnLower / vxnUpper.
Breadth whipsaw control: deadbandBps around the ratio’s MA.
A/D sensitivity: adMin and adMaLen.
Stricter regime: require all 3 to agree by changing the state line to score == 3 / -3.