Bloomberg Financial Conditions Index (Proxy)The Bloomberg Financial Conditions Index (BFCI): A Proxy Implementation
Financial conditions indices (FCIs) have become essential tools for economists, policymakers, and market participants seeking to quantify and monitor the overall state of financial markets. Among these measures, the Bloomberg Financial Conditions Index (BFCI) has emerged as a particularly influential metric. Originally developed by Bloomberg L.P., the BFCI provides a comprehensive assessment of stress or ease in financial markets by aggregating various market-based indicators into a single, standardized value (Hatzius et al., 2010).
The original Bloomberg Financial Conditions Index synthesizes approximately 50 different financial market variables, including money market indicators, bond market spreads, equity market valuations, and volatility measures. These variables are normalized using a Z-score methodology, weighted according to their relative importance to overall financial conditions, and then aggregated to produce a composite index (Carlson et al., 2014). The resulting measure is centered around zero, with positive values indicating accommodative financial conditions and negative values representing tighter conditions relative to historical norms.
As Angelopoulou et al. (2014) note, financial conditions indices like the BFCI serve as forward-looking indicators that can signal potential economic developments before they manifest in traditional macroeconomic data. Research by Adrian et al. (2019) demonstrates that deteriorating financial conditions, as measured by indices such as the BFCI, often precede economic downturns by several months, making these indices valuable tools for predicting changes in economic activity.
Proxy Implementation Approach
The implementation presented in this Pine Script indicator represents a proxy of the original Bloomberg Financial Conditions Index, attempting to capture its essential features while acknowledging several significant constraints. Most critically, while the original BFCI incorporates approximately 50 financial variables, this proxy version utilizes only six key market components due to data accessibility limitations within the TradingView platform.
These components include:
Equity market performance (using SPY as a proxy for S&P 500)
Bond market yields (using TLT as a proxy for 20+ year Treasury yields)
Credit spreads (using the ratio between LQD and HYG as a proxy for investment-grade to high-yield spreads)
Market volatility (using VIX directly)
Short-term liquidity conditions (using SHY relative to equity prices as a proxy)
Each component is transformed into a Z-score based on log returns, weighted according to approximated importance (with weights derived from literature on financial conditions indices by Brave and Butters, 2011), and aggregated into a composite measure.
Differences from the Original BFCI
The methodology employed in this proxy differs from the original BFCI in several important ways. First, the variable selection is necessarily limited compared to Bloomberg's comprehensive approach. Second, the proxy relies on ETFs and publicly available indices rather than direct market rates and spreads used in the original. Third, the weighting scheme, while informed by academic literature, is simplified compared to Bloomberg's proprietary methodology, which may employ more sophisticated statistical techniques such as principal component analysis (Kliesen et al., 2012).
These differences mean that while the proxy BFCI captures the general direction and magnitude of financial conditions, it may not perfectly replicate the precision or sensitivity of the original index. As Aramonte et al. (2013) suggest, simplified proxies of financial conditions indices typically capture broad movements in financial conditions but may miss nuanced shifts in specific market segments that more comprehensive indices detect.
Practical Applications and Limitations
Despite these limitations, research by Arregui et al. (2018) indicates that even simplified financial conditions indices constructed from a limited set of variables can provide valuable signals about market stress and future economic activity. The proxy BFCI implemented here still offers significant insight into the relative ease or tightness of financial conditions, particularly during periods of market stress when correlations among financial variables tend to increase (Rey, 2015).
In practical applications, users should interpret this proxy BFCI as a directional indicator rather than an exact replication of Bloomberg's proprietary index. When the index moves substantially into negative territory, it suggests deteriorating financial conditions that may precede economic weakness. Conversely, strongly positive readings indicate unusually accommodative financial conditions that might support economic expansion but potentially also signal excessive risk-taking behavior in markets (López-Salido et al., 2017).
The visual implementation employs a color gradient system that enhances interpretation, with blue representing neutral conditions, green indicating accommodative conditions, and red signaling tightening conditions—a design choice informed by research on optimal data visualization in financial contexts (Few, 2009).
References
Adrian, T., Boyarchenko, N. and Giannone, D. (2019) 'Vulnerable Growth', American Economic Review, 109(4), pp. 1263-1289.
Angelopoulou, E., Balfoussia, H. and Gibson, H. (2014) 'Building a financial conditions index for the euro area and selected euro area countries: what does it tell us about the crisis?', Economic Modelling, 38, pp. 392-403.
Aramonte, S., Rosen, S. and Schindler, J. (2013) 'Assessing and Combining Financial Conditions Indexes', Finance and Economics Discussion Series, Federal Reserve Board, Washington, D.C.
Arregui, N., Elekdag, S., Gelos, G., Lafarguette, R. and Seneviratne, D. (2018) 'Can Countries Manage Their Financial Conditions Amid Globalization?', IMF Working Paper No. 18/15.
Brave, S. and Butters, R. (2011) 'Monitoring financial stability: A financial conditions index approach', Economic Perspectives, Federal Reserve Bank of Chicago, 35(1), pp. 22-43.
Carlson, M., Lewis, K. and Nelson, W. (2014) 'Using policy intervention to identify financial stress', International Journal of Finance & Economics, 19(1), pp. 59-72.
Few, S. (2009) Now You See It: Simple Visualization Techniques for Quantitative Analysis. Analytics Press, Oakland, CA.
Hatzius, J., Hooper, P., Mishkin, F., Schoenholtz, K. and Watson, M. (2010) 'Financial Conditions Indexes: A Fresh Look after the Financial Crisis', NBER Working Paper No. 16150.
Kliesen, K., Owyang, M. and Vermann, E. (2012) 'Disentangling Diverse Measures: A Survey of Financial Stress Indexes', Federal Reserve Bank of St. Louis Review, 94(5), pp. 369-397.
López-Salido, D., Stein, J. and Zakrajšek, E. (2017) 'Credit-Market Sentiment and the Business Cycle', The Quarterly Journal of Economics, 132(3), pp. 1373-1426.
Rey, H. (2015) 'Dilemma not Trilemma: The Global Financial Cycle and Monetary Policy Independence', NBER Working Paper No. 21162.
Indicators and strategies
ADR, ATR & VOL OverlayThis is a combined version of 2 of my other indicators:
ADR / ATR Overlay
VOL / AVG Overlay
This indicator will display the following as an overlay on your chart:
ADR
% of ADR
ADR % of Price
ATR
% of ATR
ATR % of Price
Custom Session Volume
Average For Selected Session
Volume Percentage Comparison
Description:
ADR : Average Day Range
% of ADR : Percentage that the current price move has covered its average.
ADR % of Price : The percentage move implied by the average range.
ATR : Average True Range
% of ATR : Percentage that the current price move has covered its average.
ATR % of Price : The percentage move implied by the average true range.
Custom Session Volume : User chosen time frame to monitor volume
Average For Selected Session : Average for the custom session volume
Volume Percentage Comparison : Current session compared to the average (calculated at session close)
Options:
ADR/ATR:
Time Frame
Length
Smoothing
Volume:
Set Custom Time Frame For Calculations
Set Custom Time Frame For Average Comparison
Set Custom Time Zone
Table:
Enable / Disable Each Value
Change Text Color
Change Background Color
Change Table location
Add/Remove extra row for placement
ADR / ATR Example:
The ADR and ATR can be used to provide information about average price moves to help set targets, stop losses, entries and exits based on the potential average moves.
Example: If the "% of ADR" is reading 100%, then 100% of the asset's average price range has been covered, suggesting that an additional move beyond the range has a lower probability.
Example: "ADR % of Price" provides potential price movement in percentage which can be used to asses R/R for asset.
Example: ADR (D) reading is 100% at market close but ATR (D) is at 70% at close. This suggests that there is a potential (coverage) move of 30% in Pre/Post market as suggested by averages.
Custom Volume Session Example:
Set indicator to 30 period average. Set custom time frame to 9:30am to 10:30am Eastern/New York.
When the time frame for the calculation is closed, the indicator will provide a comparison of the current days volume compared to the average of 30 previous days for that same time frame and display it as a percentage in the table.
In this example you could compare how the first hour of the trading day compares to the previous 30 day's average, aiding in evaluating the potential volume for the remainder of the day.
Notes:
Times must be entered in 24 hour format. (1pm = 13:00 etc.)
Volume indicator is for Intra-day time frames, not > Day.
How I use these values:
I use these calculations to determine if a ticker symbol has the necessary range to achieve target gains, to determine if the price oscillation is within "normal" ranges to determine if the trading day will be choppy, and to determine placement of stops and targets within average ranges in combination with support, resistance and retracement levels.
VWAP Adaptive (RelVol-Adjusted)This indicator provides an Adaptive VWAP that adjusts volume weighting using RelVol (Relative Volume at Time), offering a more accurate and context-aware price reference during sessions with irregular volume behavior.
Classic VWAP calculates the average price weighted by raw volume, without considering the time of day. This becomes a serious limitation during major market events such as CPI releases, FOMC announcements, NFP, or large-cap earnings. These events often trigger massive volume spikes within one or two candles. As a result, the classic VWAP gets pulled toward those extreme prices and becomes permanently skewed for the rest of the session.
In such conditions, classic VWAP becomes unreliable. It no longer reflects fair value and often misleads traders relying on it for dynamic support, resistance, or reversion signals.
This Adaptive VWAP improves on that by using RelVol, which compares the current volume to the average volume seen at the same time over previous sessions. It gives more weight to price when volume is typical for that moment, and adjusts the influence when volume is statistically abnormal. This reduces the impact of isolated volume spikes and stabilizes the VWAP path, even in high-volatility environments.
For example, on SPY 1-minute or 5-minute charts during a CPI release, a massive spike in volume and price can occur within a single candle. Classic VWAP will immediately anchor itself to that spike. Adaptive VWAP using RelVol softens that effect and maintains a more realistic trajectory.
Key features:
- Adaptive VWAP weighted by time-adjusted Relative Volume (RelVol)
- Designed to maintain VWAP reliability during macroeconomic events
- Flexible anchoring: Session, Week, Month, Quarter, Earnings, etc.
- Optional display of Classic VWAP for comparison
- Up to 3 customizable deviation bands (standard deviation or percentage)
This tool is ideal for intraday traders who need a VWAP that remains usable and unbiased, even in volatile sessions. It adds robustness to VWAP-based strategies by incorporating time-sensitive volume normalization.
BTC/ETH Lot Size for Dexin - V1.0
█ Overview - This tool is specifically tailored for Delta Exchange India’s users.
I use this interactive tool before taking a position in the BTC’s futures perpetual market . With only 3 mouse clicks, I see all the necessary information, whether a Long or Short position.
A visual of Liquidation Price Level, Stop Loss Price Level, Entry Price Level, Break-even Price Level, and Take Profit Price Level can be immediately seen.
On the top right corner of the chart, which Leverage is to be used, No. of Lots to be taken, expected Profit amount, Loss amount, Brokerage Fees, Risk to Reward Ratios, and Return on Investment are shown, excluding brokerage travel. To get the correct answer in the table that suits your account and risk-taking appetite, the user needs to enter the account balance and Risk per trade.
It also does live tracking of the position, and alerts can be configured too.
█ How to Use
Load the indicator on an active chart.
In the Trading View, ensure that the Magnets is enabled (on the left panel). This will precisely select the price levels you want to choose from OHLC for a candle.
When you first load the tool on the bottom of the chart, you will see a blue box with text in white color guiding you on what you need to do.
Before the first click, the box shall prompt “On the signal candle, set the entry level, where the position would be executed”.
Once the entry price level is selected, the next prompt in the blue box shall be “Set the stop loss level where the position would be exited”. Thus, you need to click the stop loss price level.
Now that the two clicks of Entry and Stop Loss are already done, the last remaining is for the take profit. The last prompt shall be “Set the profit level where the position would be exited”. Therefore, you need to select your take-profit level
Finally, when all three points are selected, the tool shall draw trade zones.
The tool automatically determines whether it is a Long Position or Short Position from the Stop loss and take-profit price levels concerning the entry price level
If the take profit level is above the entry price, the stop must be below, and vice versa; otherwise, an error occurs.
You can change levels by dragging the handles that appear when you select the indicator, or by entering new values in the settings.
Once the position tool is on a chart, it will appear at the same levels on all symbols you use.
If you select the position tool on your chart and delete it, this will also delete the indicator from the chart. You will need to re-add it if you want to draw another position tool. You can add multiple instances of the indicator if you need a position tool on more than one of your charts.
█ Features
Display
The tool displays the following information as graphical visuals
The Liquidation to Stop Loss, Stop Loss to Entry, Entry to Break-even, and Entry to Take Profit zones shall be initiated from the entry candle point.
If you want to be from the candle that crossed the level at a different time from the entry candle, you may go to the settings and adjust the time accordingly. Please note that the time interval is 15 minutes, so at times you may not be able to see the graphical display; however, once the 15-minute time interval is over, you will see the graphical display on the chart.
The tool displays the following information in a tabulated manner
The first row indicates the Leverage that is best suited. The leverage selection by default is greater than or equal to the risk distance.
The second row indicates the number of lots that is computed in relation to the account balance, Risk appetite, Entry price, and Stop Loss price.
The third row indicates estimated profit considering taker's fees and is computed in relation to the number of Lots, Entry price, and Take-Profit price.
The fourth row indicates estimated loss considering taker's fees and is computed in relation to the number of Lots, Entry price, and Stop Loss price.
The fifth row indicates the actual Risk to Reward Ratio, ignoring the travel that pertains to fees.
The sixth row indicates actual Return on Investment, ignoring the travel that pertains to fees.
The intent is to allow the user to make an informed decision prior to taking a position by seeing “$/Rs.” or “% of R O I” or “R : R”.
In case the user wants to know beforehand what the expected charges are that need to be borne before taking a position, that too is made available in the seventh and eighth rows. Both sides' charges are made available for ready reference, irrespective of the outcome of the trade, the user knows the consequences beforehand.
█ Settings
'Trade Sizing'
The tool's input menu is divided into various parts. The first part is 'Trade Sizing'. The user needs to key in the exact number that appears in the Delta Exchange India account against 'Account Balance ($)'. The second thing the user needs to do is key in the 'Risk per Trade'. By default,t it is set to 0.25 and has a default stop change of 0.25. Alternatively, the user can key in any number (Whole number or Rational number) within 100 if that suits their risk management criterion.
'Trade Levels'
Allows users to manually set the Entry, Time, Stop Loss, and Take Profit Price Levels.
'Aggressive Mode Selection'
As the Liquidation zone is shown on the chart, if the user feels that the liquidation price level is too far from the stop loss, this option of 'Use Aggressive Leverage?' allows to increase the leverage, thus reducing the investment amount and in return increasing the Return on Investment %.
The second option in this category is 'Compute Lots based on invested Margin?' itself is self-explanatory, and thus the tabulated data shall be populating the data based on the number entered by the user against 'Margin to be invested ($)'. It is for the user to ensure that the estimated outcomes are within their risk management criterion.
'Conversion & Charges'
If the user wants to see the Profit, Loss, and Fees amount in 'Rs.', all that needs to be done is simply enable the 'Show P&L in Rs.?' The conversion shall take place considering 1 USD = 85 Rs. Same as that carried out by Delta Exchange India.
If the user wants to see the Brokerage Fees, all that needs to be done is simply enable the 'Show Brokerage Fees?'. On enabling this, the table shall show Profitable Trade's (PT) Fees and Lost Trade's (LT) Fees irrespective of the outcome of the trade. The intent is to allow the user to make informed decisions to avoid regrets or surprises at the end of the trade.
'Table'
The division of the input section is related to table position, font size and colors for text and background.
█ Alerts
Alerts can be configured by clicking 'More' (the three dots that appear when you place the cursor on the indicator title that appears on the top left corner of the chart). Alternatively, one can configure alerts by right-clicking on either of the two price levels - Stop Loss price level or Take Profit Price level. Upon right clicking, a window shall appear and the topmost line on that window shall display 'Add alert on ……….' The user can thus put alerts on either of the key levels, such as Stop Loss, Take Profit, and Break Even, or on all of them one by one.
Impulse Zones | Flux Charts💎 GENERAL OVERVIEW
Introducing our new Impulse Zones indicator, a powerful tool designed to identify significant price movements accompanied by strong volume, highlighting potential areas of support and resistance. These Impulse Zones can offer valuable insights into market momentum and potential reversal or continuation points. For more information about the process, please check the "HOW DOES IT WORK ?" section.
Impulse Zones Features :
Dynamic Zone Creation : Automatically identifies and plots potential supply and demand zones based on significant price impulses and volume spikes.
Customizable Settings : Allows you to adjust the sensitivity of zone detection based on your trading style and market conditions.
Retests and Breakouts : Clearly marks instances where price retests or breaks through established Impulse Zones, providing potential entry or exit signals.
Alerts : You can set alerts for Bullish & Bearish Impulse Zone detection and their retests.
🚩 UNIQUENESS
Our Impulse Zones indicator stands out by combining both price action (impulsive moves) and volume confirmation to define significant zones. Unlike simple support and resistance indicators, it emphasizes the strength behind price movements, potentially filtering out less significant levels. The inclusion of retest and breakout visuals directly on the chart provides immediate context for potential trading opportunities. The user can also set up alerts for freshly detected Impulse Zones & the retests of them.
📌 HOW DOES IT WORK ?
The indicator identifies bars where the price range (high - low) is significantly larger than the average true range (ATR), indicating a strong price movement. The Size Sensitivity input allows you to control how large this impulse needs to be relative to the ATR.
Simultaneously, it checks if the volume on the impulse bar is significantly higher than the average volume. The Volume Sensitivity input governs this threshold.
When both the price impulse and volume confirmation criteria are met, an Impulse Zone is created in the corresponding direction. The high and low of the impulse bar define the initial boundaries of the zone. Zones are extended forward in time to remain relevant. The indicator manages the number of active zones to maintain chart clarity and can remove zones that haven't been touched for a specified period. The indicator monitors price action within and around established zones.
A retest is identified when the price touches a zone and then moves away. A break occurs when the price closes beyond the invalidation point of a zone. Keep in mind that if "Show Historic Zones" setting is disabled, you will not see break labels as their zones will be removed from the chart.
The detection of Impulse Zones are immediate signs of significant buying or selling pressure entering the market. These zones represent areas where a strong imbalance between buyers and sellers has led to a rapid price movement accompanied by high volume. Bullish Impulse Zones act as a possible future support zone, and Bearish Impulse Zones act as a possible future resistance zone. Retests of the zones suggest a strong potential movement in the corresponding direction.
⚙️ SETTINGS
1. General Configuration
Show Historic Zones: If enabled, invalidated or expired Impulse Zones will remain visible on the chart.
2. Impulse Zones
Invalidation Method: Determines which part of the candle (Wick or Close) is used to invalidate a zone break.
Size Sensitivity: Controls the required size of the impulse bar relative to the ATR for a zone to be detected. Higher values may identify fewer, larger zones. Lower values may detect more, smaller zones.
Volume Sensitivity: Controls the required volume of the impulse bar relative to the average volume for a zone to be detected. Higher values require more significant volume.
Labels: Toggles the display of "IZ" labels on the identified zones.
Retests: Enables the visual highlighting of retests on the zones.
Breaks: Enables the visual highlighting of zone breaks.
Aggregated Perpetual Futures Open InterestPurpose
Aggregates perpetual futures open interest across Binance, Bybit, and OKX for the base currency of the asset loaded in your tradingview window.
How It Works
Symbol detection: The script grabs syminfo.basecurrency (e.g., “BTC”) from whatever market is on screen.
Ticker mapping: It constructs the three perp-OI feeds that TradingView publishes in the form EXCHANGE:USDT.P_OI
Data request: For each feed it fetches the full OHLC candle (request.security) on the chart’s timeframe. If a venue doesn’t list that perp, the request simply returns na.
Aggregation: The script adds the opens, highs, lows, and closes of all non-na feeds to produce a single aggregated OI candle.
General Notes
The status line shows each venue’s individual OI close.
RSI - SECUNDARIO - mauricioofsousaSecondary RSI – MGO
Reading the rhythm behind the price action
The Secondary RSI is a specialized oscillator developed as part of the MGO (Matriz Gráficos ON) methodology. It works as a refined strength filter, designed to complement traditional RSI readings by isolating the true internal rhythm of price action and reducing the influence of market noise.
While the standard RSI measures price momentum, the Secondary RSI focuses on identifying breaks in oscillatory balance—the moments when the market shifts from accumulation to distribution or from compression to expansion.
🎯 What the Secondary RSI highlights:
Internal imbalances in energy between buyers and sellers
Micro-divergences not visible on standard RSI
Areas of price fatigue or overextension that often precede reversals
Confirmation zones for MGO oscillatory events (RPA, RPB, RBA, RBB)
📊 Recommended use:
Combine with the Primary RSI for dual-layer validation
Use as a noise-reduction tool before entering trends
Ideal in medium timeframes (12H / 4H) where oscillatory patterns form clearly
🧠 How it works:
The Secondary RSI recalculates the momentum signal using a block-based interpretation (aligned with the MGO structure) instead of simply following raw candle data. It adapts to the periodic nature of price behavior and provides the trader with a more stable and reliable measure of true market strength.
RSI - PRIMARIO -mauricioofsousa
MGO Primary – Matriz Gráficos ON
The Blockchain of Trading applied to price behavior
The MGO Primary is the foundation of Matriz Gráficos ON — an advanced graphical methodology that transforms market movement into a logical, predictable, and objective sequence, inspired by blockchain architecture and periodic oscillatory phenomena.
This indicator replaces emotional candlestick reading with a mathematical interpretation of price blocks, cycles, and frequency. Its mission is to eliminate noise, anticipate reversals, and clearly show where capital is entering or exiting the market.
What MGO Primary detects:
Oscillatory phenomena that reveal the true behavior of orders in the book:
RPA – Breakout of Bullish Pivot
RPB – Breakout of Bearish Pivot
RBA – Sharp Bullish Breakout
RBB – Sharp Bearish Breakout
Rhythmic patterns that repeat in medium timeframes (especially on 12H and 4H)
Wave and block frequency, highlighting critical entry and exit zones
Validation through Primary and Secondary RSI, measuring the real strength behind movements
Who is this indicator for:
Traders seeking statistical clarity and visual logic
Operators who want to escape the subjectivity of candlesticks
Anyone who values technical precision with operational discipline
Recommended use:
Ideal timeframes: 12H (high precision) and 4H (moderate intensity)
Recommended assets: indices (e.g., NASDAQ), liquid stocks, and futures
Combine with: structured risk management and macro context analysis
Real-world performance:
The MGO12H achieved a 92% accuracy rate in 2025 on the NASDAQ, outperforming the average performance of major global quantitative strategies, with a net score of over 6,200 points for the year.
(MVD) Meta-Volatility Divergence (DAFE) Meta-Volatility Divergence (MVD)
Reveal the Hidden Tension in Volatility.
The Meta-Volatility Divergence (MVD) indicator is a next-generation tool designed to expose the disagreement between multiple volatility measures—helping you spot when the market’s “volatility engines” are out of sync, and a regime shift or volatility event may be brewing.
What Makes MVD Unique?
Multi-Source Volatility Analysis:
Unlike traditional volatility indicators that rely on a single measure, MVD fuses four distinct volatility signals:
ATR (Average True Range): Captures the average range of price movement.
Stdev (Standard Deviation): Measures the dispersion of closing prices.
Range: The average difference between high and low.
VoVix: A proprietary “volatility of volatility” metric, quantifying the difference between fast and slow ATR, normalized by ATR’s own volatility.
Divergence Engine:
The core MVD line (yellow) represents the mean absolute deviation (MAD) of these volatility measures from their average. When the line is flat, all volatility measures are in agreement. When the line rises, it means the market’s volatility signals are diverging—often a precursor to regime shifts, volatility expansions, or hidden stress.
Dynamic Z-Score Normalization:
The MVD line is normalized as a Z-score, so you can easily spot when current divergence is rare or extreme compared to recent history.
Visual Clarity:
Yellow center line: Tracks the real-time divergence of volatility measures.
Green dashed thresholds: Mark the ±2.00 Z-score levels, highlighting when divergence is unusually high and action may be warranted.
Dashboard: Toggleable panel shows all key metrics (ATR, Stdev, VoVix, MVD Z) and your custom branding.
Compact Info Label : For mobile or minimalist users, a single-line summary keeps you informed without clutter.
What Makes The MVD line move?
- The MVD line rises when the included volatility measures (ATR, Stdev, Range, VoVix) are moving in different directions or at different magnitudes. For example, if ATR is rising but Stdev is falling, the line will move up, signaling disagreement.
- The line falls or flattens when all volatility measures are in sync, indicating a consensus in the market’s volatility regime.
- VoVix adds a unique dimension, making the indicator especially sensitive to sudden changes in volatility structure that most tools miss.
Inputs & Settings
ATR Length: Sets the lookback for ATR calculation. Shorter = more sensitive, longer = smoother.
Stdev Length: Sets the lookback for standard deviation. Adjust for your asset’s volatility.
Range Length: Sets the lookback for the average high-low range.
MVD Lookback: Controls the window for Z-score normalization. Higher values = more historical context, lower = more responsive.
Show Dashboard: Toggle the full dashboard panel on/off.
Show Compact Info Label: Toggle the mobile-friendly info line on/off.
Tip:
Adjust these settings to match your asset’s volatility and your trading timeframe. There is no “one size fits all”—tuning is key to extracting the most value from MVD.
How to make MVD work for you:
Threshold Crosses: When the MVD line crosses above or below the green dashed thresholds (±2.00), it signals that volatility measures are diverging more than usual. This is a heads-up that a volatility event, regime shift, or hidden market stress may be developing.
Not a Buy/Sell Signal: A threshold cross is not a direct buy or sell signal. It is an indication that the market’s volatility structure is changing. Use it as a filter, confirmation, or alert in combination with your own strategy and risk management.
Dashboard & Info Line: Use the dashboard for a full view of all metrics, or the info label for a quick glance—especially useful on mobile.
Chart: MNQ! on 5min frames
ATR: 14
StDev L: 11
Range L: 13
MDV LB: 13
Important Note
MVD is a market structure and volatility regime tool.
It is designed to alert you to potential changes in market conditions, not to provide direct trade entries or exits. Always combine with your own analysis and risk management.
Meta-Volatility Divergence:
See the market’s hidden tension. Anticipate the next wave.
For educational purposes only. Not financial advice. Always use proper risk management.
Use with discipline. Trade your edge.
— Dskyz, for DAFE Trading Systems
Kinetic Price Momentum Oscillator📈 Kinetic Price Momentum Oscillator (Sri-PMO)
Author's Note:
This script is an educational and custom-adapted visualization based on the concept of the Price Momentum Oscillator (PMO). It is not a direct clone of any proprietary implementation, and it introduces enhancements such as timeframe sensitivity, customizable smoothings, multi-timeframe analysis, and visual trend meters.
🔍 Overview:
The Kinetic Price Momentum Oscillator (Kinetic-PMO) is a dynamic momentum indicator that analyzes price rate of change smoothed with dual exponential moving averages. It offers a clear view of momentum trends across multiple timeframes—the chart's current timeframe, the 1-hour timeframe, and the 1-day timeframe. It includes optional visual cues for zero-line crossovers, trend ribbon fills, and a daily trend meter.
🧮 Calculation Logic:
At its core, Kinetic-PMO calculates momentum by:
Measuring Rate of Change (ROC) over 1 bar.
Applying double EMA smoothing:
The first smoothing (len1) smooths the ROC.
The second smoothing (len2) smooths the result further.
This produces the main KPMO Line.
A third EMA (sigLen) is applied to the KPMO line to produce the Signal Line.
The formula includes a multiplier of 10 to scale values.
pinescript
Copy
Edit
roc = ta.roc(source, 1)
kmo = ta.ema(10 * ta.ema(roc, len1), len2)
signal = ta.ema(kmo, sigLen)
To allow responsiveness across timeframes, the script provides sensitivity inputs (sensA, sensB, sensC) which dynamically scale the smoothing lengths for different contexts:
Intraday (current chart timeframe)
Hourly (1H)
Daily (1D)
🧭 Features:
✅ Multi-Timeframe Calculation:
Intraday: Based on current chart resolution
1H: PMO for the hourly trend
1D: Daily trend meter using KPMO structure
✅ Trend Identification:
Green if PMO is above Signal Line (bullish)
Red if PMO is below Signal Line (bearish)
Daily Trend Meter includes nuanced color mapping:
Lime = Bullish above zero
Orange = Bullish below zero
Red = Bearish below zero
Yellow = Bearish above zero
✅ Custom Visual Enhancements:
Optional filled ribbons between KPMO and Signal
Optional zero-line crossover background highlight
Compact daily trend meter displayed as a color-coded shape
🛠 Customization Parameters:
Input Description
Primary Smoothing Controls ROC smoothing depth (1st EMA)
Secondary Smoothing Controls final smoothing (2nd EMA)
Signal Smoothing Controls EMA of the PMO line
Input Source Default is close, but any price type can be selected
Sensitivity Factors Separate multipliers for intraday, 1H, and 1D
Visual Settings Toggle zero-line highlight and ribbon fill
🧠 Intended Use:
The Kinetic-PMO is suitable for trend confirmation, momentum divergence detection, and entry/exit refinement. The multi-timeframe aspect helps align short-term and long-term momentum trends, supporting better trade decision-making.
⚖️ Legal & Attribution Statement:
This script was independently created and modified for educational and analytical purposes. While the concept of the PMO is inspired by technical analysis literature, this implementation does not copy or reverse-engineer any proprietary code. It introduces custom parameters, visualization enhancements, and multi-timeframe logic. Posting this script complies with TradingView’s policy on derivative work and educational indicators.
Gap Detection [Gold_Zilla]📌 Gap Detection
Description:
The Gap Detection indicator is designed to identify and visually mark price gaps between consecutive candles on your chart. Gaps can occur when a financial instrument opens at a significantly different price from its previous close, which some traders interpret as signals of strong momentum, market inefficiency, or upcoming reversals.
This tool helps users track such gaps in real time and monitor whether they have been filled — meaning price has retraced to the gap level after the gap appeared.
🔍 Core Features:
Automatic Gap Detection
Detects upward gaps (when today's low is above the previous close) and downward gaps (when today's high is below the previous close).
Customizable Sensitivity
Set a minimum gap size (% threshold) to filter out small price differences.
Real-Time Monitoring
Gaps are drawn as horizontal lines and persist until they are filled. Once filled (price crosses the gap level), they are automatically removed from the chart.
Visual Customization Options
Choose your gap line colors for up/down gaps
Select the line style (solid, dashed, dotted)
Adjust line width
Control the maximum number of tracked gaps (to reduce clutter)
Optional label display (disabled by default for minimalism)
⚙️ Inputs:
Minimum Gap Size (%) – Threshold to qualify a price movement as a gap (default: 1%).
Up/Down Gap Color – Colors for visualizing up/down gaps.
Line Style & Width – Format the gap lines to your preference.
Maximum Gaps to Track – Avoid performance issues by limiting active gap lines.
Show Gap Labels (currently disabled in code) – Option to label gap levels with price and direction.
📈 How to Use:
Add this script to your chart on any timeframe or asset.
Gaps will appear automatically as horizontal lines, helping you spot unfilled gaps.
Can be used to identify potential support/resistance zones, or areas where price may return to fill a gap.
Note: Not all gaps get filled — always combine with other forms of analysis or confirmation tools.
⚠️ Disclaimer:
This script is for informational and educational purposes only and does not constitute financial advice. Past performance or price behavior does not guarantee future results. Always use proper risk management and consult a financial advisor before making trading decisions.
TVC:GOLD
EMA Retest Signal Indicator (Indicator)EMA Retest Signal Indicator (Strict + Loose)
Overview:
This indicator is designed for active traders who want to identify high-probability retraction (pullback) opportunities within confirmed EMA trends. It highlights two categories of signal candles—strict and loose—based on how price interacts with fast and slow EMAs, giving you clear, visually-coded signals for both trend continuation and optimal entries.
How It Works
EMA Trend Confirmation:
The script uses a fast EMA (default 13) and a slow EMA (default 48). Trend confirmation occurs only after a user-defined number of candles have closed beyond an EMA crossover, filtering out false or premature trend shifts.
Strict Retraction Signals:
These appear when a retraction candle pulls back and tests both the fast and slow EMAs before resuming in the direction of the main trend. These are typically higher-confidence signals.
Loose Retraction Signals:
Designed to catch “shallower” or more flexible pullbacks. These signal when the candle either:
Touches only the fast EMA (but stays above/below slow EMA), or
Comes within a configurable maximum number of ticks from the slow EMA (but does not need to touch either EMA).
Blue diamonds indicate fast EMA tests; yellow diamonds indicate pure distance-based signals.
Chop Filter:
The script automatically suppresses signals if it detects the trend has shifted more than once within a configurable recent bar window (default: last 10 candles). This helps you avoid signals during choppy or sideways markets.
Trading Window Highlighting:
Optionally highlights your preferred trading hours on the chart background for visual clarity.
Inputs & Settings
Fast EMA & Slow EMA lengths
Number of bars to confirm trend after EMA crossover
Toggle for displaying strict/loose retraction signals
Maximum allowed tick distance for loose signals (yellow diamonds)
“Chop filter” (bars to look back for trend shifts)
Optional: show/hide trend background highlights
Visual Signals
Green triangle up: Strict long entry candidate
Red triangle down: Strict short entry candidate
Blue diamond: Loose retraction signal, tested fast EMA
Yellow diamond: Loose retraction signal, within max distance from slow EMA
Who Is This For?
Day traders and scalpers seeking precise pullback entries in strong trends
Algo/system traders wanting robust, visually intuitive signal logic
Anyone who wants an advanced, trend-following indicator for futures, forex, crypto, or equities
Usage Tips
Use in combination with your risk management and other confirmation tools.
Tune the “max loose ticks” and trend confirmation bars for your preferred market/volatility.
Strict retractions are usually higher confidence; loose can help catch moves that don’t quite reach the EMAs.
Note: This indicator is not financial advice and should be tested in a demo or backtest environment before live use.
MK Multi-Timeframe MA RibbonThe MK Ribbon MTF is an overlay indicator that lets you plot up to eight independently configurable moving averages on any chart.
For each MA you can choose its length, type (EMA, SMA, WMA, or HMA), timeframe (current chart, Daily, Weekly, or Monthly), and easily toggle it on or off. Each MA line colors itself above, below, or equal to price—green, red, or gray by default—and you can freely customize those colors to suit your theme.
You also get optional semi-transparent “Golden Cross” and “Death Cross” labels for daily 50/200 SMA crossovers, which you can enable or disable separately, so you can tailor the ribbon and signals exactly to your workflow.
Prev-Day High-Low Box 09:30-15:30This indicator plots a visual range box for the previous day's regular trading session, based specifically on 09:30 AM to 3:30 PM market hours (Eastern Time by default).
Features:
Automatically detects each new trading day
Draws a box from the previous day’s high to low
Box extends into the current session for a set number of bars (default: 160)
Labels mark the previous high and previous low individually
Clean and minimal — only one box and label set is drawn at a time
Works on intraday timeframes (1min, 5min, 15min, etc.)
Use it to:
Identify zones of interest from the last session
Watch for breakouts, reversals, or mean reversion setups
Combine with VWAP, moving averages, or price action for added context
This tool is handy for day traders and scalpers who want to map out the structure of prior sessions during live trading hours.
Horizontal ATR LinesDisclaimer:
This script was generated using OpenAI’s ChatGPT. I take no responsibility for the correctness, performance, or financial impact of this indicator. Use it at your own risk and discretion.
This indicator draws horizontal ATR-based levels from the last closed candle on a user-selected timeframe. It is designed for traders who want to visualize realistic volatility zones for setting dynamic support/resistance, take-profit, or stop-loss levels.
What it does:
Calculates the Average True Range (ATR) using a customizable period and timeframe.
Plots four horizontal lines:
+1 ATR and –1 ATR from the last closed candle’s close
+X ATR and –X ATR, where X is a second custom multiplier
Each level includes a compact label showing:
The price of the level
The percentage distance from the close price
Use cases:
Identify realistic intraday or swing price movement boundaries
Build volatility-aware take-profit and stop-loss zones
Visually track market compression or expansion in context
Customization:
ATR period and timeframe
Two independent ATR multipliers
Custom color settings for each group of levels
A.K Dynamic EMA/SMA / MTF S&R Zones Toolkit with AlertsThe A.K Dynamic EMA/SMA / MTF Support & Resistance Zones Toolkit is a powerful all-in-one technical analysis tool designed for traders who want a clean yet comprehensive market view. Whether you're scalping lower timeframes or swing trading higher timeframes, this indicator gives you both the structure and signals to take action with confidence.
Key Features:
✅ Customizable EMA/SMA Suite
Display key Exponential and Simple Moving Averages including 5, 9, 20, 50, 100, and 200 EMAs, plus optional 50 SMA for trend filtering. Each line can be toggled individually and color-customized.
✅ Multi-Timeframe Support & Resistance Zones
Automatically detects dynamic S/R zones on key timeframes (5min, 15min, 30min, 1H, 4H, 1D) using swing highs/lows. Zones are color-coded by strength and whether they're broken or active, providing a clear visual roadmap for price reaction levels.
✅ Zone Strength & Break Detection
Distinguishes between strong and weak zones based on price proximity and reaction depth, with visual shading and automatic label updates when a level is broken.
✅ Price Action-Based Buy/Sell Signals
Generates BUY signals when bullish candles react to strong support (supply) zones, and SELL signals when bearish candles react to strong resistance (demand) zones. All logic is adjustable — including candle body vs wick detection, tolerance range, and strength thresholds.
✅ Alerts Engine
Built-in TradingView alerts for price touching support/resistance or triggering buy/sell signals. Perfect for automation or hands-free monitoring.
✅ Optional Candle & Trend Filters
Highlight bullish/bearish candles visually for additional confirmation.
Optional RSI display and 50-period SMA trend filter to guide directional bias.
🧠 Use Case Scenarios:
Identify dynamic supply & demand zones across multiple timeframes.
Confirm trend direction with EMAs and SMA filters.
React quickly to clean BUY/SELL signals based on actual price interaction with strong zones.
Customize it fully to suit scalping, day trading, or swing trading strategies.
📌 Recommended Settings:
Use default zone transparency (65%) and offset (250 bars) for optimal visual clarity.
Enable alerts to get notified when price enters key S/R levels or when a trade signal occurs.
Combine this tool with your entry/exit plan for better decision-making under pressure.
💡 Pro Tip: Add this indicator to a clean chart and let the zones + EMAs guide your directional bias. Use alerts to avoid screen-watching and improve discipline.
Created by:
Version: Pine Script v6
Platform: TradingView
Multi-Timeframe S&R Zones (Shaded)This indicator automatically plots support and resistance zones based on recent price action across multiple timeframes:
🟥 Daily
🟧 4-Hour
🟨 1-Hour
🟩 30-Minute
🟦 5-Minute
Each zone is color-coded by timeframe and represented as a shaded region instead of a hard line, giving you a clearer and more dynamic view of key market levels. The zones are calculated from recent swing highs (resistance) and swing lows (support), and each zone spans ±5 pips for precision.
Only the most recent levels are displayed—up to 3 per timeframe—and are limited to the last 48 hours to avoid chart clutter and keep your workspace clean.
✅ Key Benefits:
Price Action Based: Zones are drawn from actual market structure (swings), not arbitrary levels.
Multi-Timeframe Clarity: View confluence across major intraday and higher timeframes at a glance.
Color-Coded Zones: Instantly distinguish between timeframes using intuitive colour coordination.
Clean Charts: Only shows the latest relevant levels, automatically expires old zones beyond 48 hours.
Flexible & Lightweight: Built for Tradingview Essential; optimized for performance.
Adjustable Quad VWAPOverview
A powerful multi-timeframe VWAP indicator that displays four customizable rolling VWAPs with advanced features for comprehensive trend analysis and signal generation.
Key Features
🔧 Four Adjustable VWAPs
Fast VWAP: Default 7 days (1-365 adjustable)
Slow VWAP: Default 30 days (1-365 adjustable)
Medium VWAP: Default 90 days (1-365 adjustable)
Long VWAP: Default 365 days (1-365 adjustable)
Moving Average Candles**Moving Average Candles — MA-Based Smoothed Candlestick Overlay**
This script replaces traditional price candles with smoothed versions calculated using various types of moving averages. Instead of plotting raw price data, each OHLC component (Open, High, Low, Close) is independently smoothed using your selected moving average method.
---
### 📌 Features:
- Choose from 13 MA types: `SMA`, `EMA`, `RMA`, `WMA`, `VWMA`, `HMA`, `T3`, `DEMA`, `TEMA`, `KAMA`, `ZLEMA`, `McGinley`, `EPMA`
- Fully configurable moving average length (1–1000)
- Color-coded candles based on smoothed Open vs Close
- Works directly on price charts as an overlay
---
### 🎯 Use Cases:
- Visualize smoothed market structure more clearly
- Reduce noise in price action for better trend analysis
- Combine with other indicators or strategies for confluence
---
> ⚠️ **Note:** Since all OHLC values are based on moving averages, these candles do **not** represent actual market trades. Use them for trend and structure analysis, not trade entries based on precise levels.
---
*Created to support traders seeking a cleaner visual representation of price dynamics.*
Liqudation HeatMap [BigBeluga]🔵 OVERVIEW
An advanced liquidity visualization tool that plots horizontal heat zones to highlight where potential liquidations and volume clusters are most likely hiding beneath price action.
Liqudation HeatMap scans historical price movements for local highs and lows with elevated volume or candle range. It then draws dynamic heatmap boxes—shaded from lime (low interest) to yellow (high interest)—revealing potential zones of trapped positions or stop clusters. A vertical scale on the right shows you the relative strength of volume behind each level, from 0 to the highest detected.
🔵 CONCEPTS
Maps areas of potential liquidity using volume or candle range (if volume is unavailable).
Identifies swing highs/lows (pivots) and extends heatmap boxes outward from these levels. Colors each zone based on the relative strength of volume concentration.
Fades or removes zones once price crosses their midpoints, simulating the idea of liquidity being “consumed.”
Displays a live vertical scale that shows the volume range for quick reference.
🔵 FEATURES
Dynamic Heatmap Zones:
Draws few boxes above and after pivot highs and below pivot lows, each shaded based on volume concentration.
Smart Coloring System:
Uses a gradient from lime (low) to yellow (high) to visually distinguish between weak and strong liquidity zones.
Adaptive ATR Widths:
Automatically adjusts zone thickness based on volatility (ATR), scaling intelligently across timeframes.
Liquidity Consumption Logic:
Zones are stope extending once price interacts with them—mimicking the behavior of real liquidation sweeps.
Volume Scale Legend:
A real-time scale is plotted on the right side, showing the min-max range of volume used for heat calculations.
🔵 HOW TO USE
Look for thick yellow zones to identify areas of concentrated stop losses or liquidation triggers.
Use these levels to anticipate mean reversion points or high-volatility zones.
Combine with your trend or structure tools to trade into or fade these liquidity pools.
On lower timeframes, use this tool to confirm entries around sweeps or deviations.
Use the right-side scale to compare relative zone strength instantly.
🔵 CONCLUSION
Liqudation HeatMap is a powerful visualization tool that uncovers where liquidity likely resides on the chart. By highlighting hidden traps and reactive levels in real-time, it gives traders a significant edge when it comes to spotting stop hunts, mean reversions, and areas of institutional interest. Whether you’re scalping or swing trading, this heatmap provides unmatched context on the market’s hidden intent.
Trend Volatility Index (TVI)Trend Volatility Index (TVI)
A robust nonparametric oscillator for structural trend volatility detection
⸻
What is this?
TVI is a volatility oscillator designed to measure the strength and emergence of price trends using nonparametric statistics.
It calculates a U-statistic based on the Gini mean difference across multiple simple moving averages.
This allows for objective, robust, and unbiased quantification of trend volatility in tick-scale values.
⸻
What can it do?
• Quantify trend strength as a continuous value aligned with tick price scale
• Detect trend breakouts and volatility expansions
• Identify range-bound market states
• Detect early signs of new trends with minimal lag
⸻
What can’t it do?
• Predict future price levels
• Predict trend direction before confirmation
⸻
How it works
TVI computes a nonparametric dispersion metric (Gini mean difference) from multiple SMAs of different lengths.
As this metric shares the same dimension as price ticks, it can be directly interpreted on the chart as a volatility gauge.
The output is plotted using candlestick-style charts to enhance visibility of change rate and trend behavior.
⸻
Disclaimer
TVI does not predict price. It is a structural indicator designed to support discretionary judgment.
Trading carries inherent risk, and this tool does not guarantee profitability. Use at your own discretion.
⸻
Innovation
This indicator introduces a novel approach to trend volatility by applying U-statistics over time series
to produce a nonparametric, unbiased, and robust estimate of structural volatility.
日本語要約
Trend Volatility Index (TVI) は、ノンパラメトリックなU統計量(Gini平均差)を使ってトレンドの強度を客観的に測定することを目的に開発されたボラティリティ・オシレーターです。
ティック単位で連続的に変化し、トレンドのブレイク・レンジ・初動の予兆を定量的に検出します。
未来の価格や方向は予測せず、現在の構造的ばらつきだけをロバストに評価します。
FUMO Monday Pulse💓 FUMO Monday Pulse – Weekly Directional Strategy
FUMO Monday Pulse is a directional trading strategy designed to detect early-week momentum and breakout structure, based on Monday’s high and low levels. This tool combines smart breakout detection, retests, and volume filters — ideal for traders looking to systematize early trend entries.
🔍 How It Works
Each week, the indicator automatically tracks Monday’s High and Low, then evaluates how price reacts around those levels during the rest of the week.
It generates two types of signals:
RETEST signals (LONG / SHORT) – a confirmed breakout on a higher timeframe (e.g. 4H), followed by a retest with candle and volume confirmation.
TREND signals (UP / DOWN) – impulsive moves without confirmation, often indicating the start of a directional push.
⚙️ Key Features
Customizable line width, style, and label size
Volume confirmation (optional)
Higher timeframe breakout validation
Cooldown period between signals to avoid clutter
🔔 Alerts
This script supports 4 alert types:
FUMO: RETEST LONG
FUMO: RETEST SHORT
FUMO: TREND UP
FUMO: TREND DOWN
Each alert sends a structured JSON payload via webhook:
{
"event": "RETEST_LONG",
"source": "FUMO_Monday_Pulse",
"symbol": "{{ticker}}",
"time": "{{time}}",
"price": {{close}}
}
You can use this with Telegram bots, Discord webhooks, or execution scripts.
💡 Recommended Use
Use this tool on 15m–1H charts, especially for breakout traders looking to align with early-week momentum. Built to integrate with automated workflows — and powered by the FUMO mindset: focus, structure, clarity.
RSI Hybrid ProfileThis is a Hybrid Script designed on the basis of a well know Indicator RSI - Relative strength Index, ATR, Standard Deviations and Medians. Effort is being made to present RSI in a Profile based concept to leverage and elevate trading signals and identify potential trade while effectively managing the RISK.
Trend Colour Coding :-
Green = Bullish
Red = Bearish
Gray = Mean Reversion/ Rangebound Markets
The script includes the following Elements
1) Candlestick chart of RSI of current time frame in lower pane :-
It helps to effectively compare the price action with that of RSI to clearly identify early breakouts or breakdowns in RSI as compared to price chart and identify early trade opportunities as well as Divergences
2) Higher Time Frame RSI :-
The orange line in the lower pane to help take analysis of Higher Timeframe, to evaluate and assess trend in more refined manner.
3) Point of Control Zone :-
The middle horizontal band with colour coding to highlight the Point of Control of the price action based on its relative strength.
4) Black Circles - POC Change Markers - RSI profile Value area Shifts :-
All the Black Circles plotted on chart are RSI Point of Controls, which signal upcoming Trend and should be closely watched as it can help identify wonderful Entry/Exit Opportunities.
5) Value Area :-
The horizontal lines above and below the POC Zones are the Value areas, they are extremely useful to identify the potential support/resistance zones during the trending markets and potential target zones during the mean reverting markets. The width also helps assess the underlying volatility and risk and can help in determining the position size based on it. The setting can be adjusted based on Value area Range Multiplier. 1 is the ideal setting as it represents 1 Standard Deviation of Data.
6) Trailing Stops :-
The Green Trailing line helps as trailing stoploss in buying positions and Red Trailing Line helps as trailing SL in Selling Positions. These are especially useful when price is far away from the value area zones or when volatility is very high. The setting can be adjusted based on trail multiplier in the settings.
Here are the few examples of how to use the script on different asset classes
1) Gold Futures - Exhibiting the use of trend and SL and how to change positions based on retracement and RSI Interpretation.
2)Nifty 50 - Exhibiting the importance of POC , RSI Divergence and Breakout and SL Trail and POC Change Markers
3) Bitcoin/US Dollar - Showing the use of Value areas as support zones and using RSI overbought and oversold regions to manage pullbacks and retracement confirmations.
4) JSW Energy Limited - Stock - Showing the combined use of the scripts elements in trading environment.
Feel Free to use it on Charts and leverage the power of this wonderful Indicator.
Opening Range Retest█ OVERVIEW
This indicator shows the opening range as a box. It also draws markers and triggers alerts when the opening range is retested. The opening range time is configurable, as is the period of time that must elapse before each return to the opening range is considered a retest.
█ FEATURES
Opening range time configurable in bars or minutes
Configurable "resting" period between the end of the opening range or since the last retest before a new retest is considered valid
Configurable tolerance so that a retest can trigger sooner
Active time range can be used to filter alerts and markers to a specific time window
Visual box showing the opening range, which can be optionally limited to the above-mentioned active time window
Well-documented, high-quality, open-source code for those interested
█ CONCEPTS
This indicator can be used for an opening range retest trading strategy, where long or short positions are taken on the retest of the opening range.
The opening range can be user-configured, so it is suitable for use with any opening range time period (e.g., 1-min, 5-min, 15-min, etc.).
The markers and alerts are equivalent, in the sense that whenever a marker appears, an alert will also trigger (assuming the user has set an alert up).
The alert active time range is simply used as a filter for markers and alerts, meaning that these will not draw or trigger outside of the specified time range.
█ LIMITATIONS
The indicator is intended for equities that have a highly active regular market open. For other security types, it will draw the opening range box from whenever TradingView specifies the market open time.