Yesterday High LineYesterdays High Line Green Dotted Line. Just a line at the high point reached in yesterdays trading cycle
Indicadores e estratégias
Wick to Body Ratio TableHello, I'm Gomaa if don't know me and if you want to know more about me follow me on my social media accounts which my propose to teach people "How To Learn".
Use this link so you can find me: linktr.ee
Overview
The "Wick to Body Ratio Table" is a comprehensive analytical tool designed to provide traders with detailed insights into candle structure and price movement dynamics. This indicator breaks down each candle into its component parts and displays real-time statistics in an easy-to-read table format.
What It Does
This indicator analyzes the current candle and displays four key metrics for each component:
Ratio to Body - How large each wick is compared to the candle body
Percentage of Total - What portion of the entire candle each component represents
Move Percentage - The actual price movement as a percentage from the opening price
Component breakdown - Upper wick, body, lower wick, and totals
Key Features
Real-Time Analysis:
Updates automatically with every price tick on the current candle
Works seamlessly across ALL timeframes (1 second to monthly charts)
No lag or delay in calculations
Comprehensive Metrics:
Upper Wick: Shows rejection from higher prices and selling pressure
Closed Body: Displays the actual price change from open to close (bullish=green, bearish=red)
Lower Wick: Indicates rejection from lower prices and buying pressure
Total Wick: Combined wick analysis for overall volatility assessment
Whole Candle: Complete range from high to low with total movement percentage
Visual Design:
Color-coded rows for easy identification
Clear headers for each metric column
Positioned at top-right of chart (non-intrusive)
Professional table format with borders and proper spacing
How to Interpret the Data
Ratio to Body Column:
A ratio of 2.0x means that component is twice the size of the body
N/A appears for doji candles (when body = 0)
Higher ratios indicate stronger rejection or indecision
% of Total Column:
Shows what percentage each part contributes to the whole candle
All percentages always add up to 100%
Helps identify if price spent more time in wicks or body
Move % Column:
Calculated from the opening price
Shows actual volatility during the candle period
Example: 0.5% body with 3% total candle = high volatility but little net movement
Trading Applications
1. Rejection Analysis:
Long upper wicks at resistance = strong selling pressure
Long lower wicks at support = strong buying pressure
Wick-to-body ratios above 2:1 suggest significant rejection
2. Volatility Assessment:
Compare body move % to whole candle move %
Large difference indicates choppy price action
Small difference indicates trending movement
3. Candle Patterns:
Identify doji, hammer, shooting star patterns quantitatively
Measure strength of pin bars and rejection candles
Compare current candle structure to historical patterns
4. Market Sentiment:
Body % > 70% = strong directional movement
Wick % > 60% = indecision and rejection
Balanced distribution = consolidation
Settings & Customization
Table position can be modified in the code (top_right, top_left, bottom_right, bottom_left)
Colors can be adjusted for different components
Text size can be changed (size.small, size.normal, size.large)
Decimal precision can be modified in the str.tostring() functions
Best Practices
Use on higher timeframes (15m+) for more reliable signals
Combine with support/resistance levels for context
Look for extreme ratios (>3:1) for high-probability setups
Monitor the move % to gauge true volatility vs. net movement
Technical Details
Written in Pine Script v5
Zero division protection built-in
Handles all edge cases (gaps, doji, extreme wicks)
Lightweight and efficient (minimal CPU usage)
Gap Down (3% or more)Identify Gap Down (3% or more) from the previous day's close to the next day's high.
21D EMA STRUCTUREAs an intermediate-term swing trader, the 21-day moving average is the backbone of my system. Over time, I’ve simplified my approach to the point where this is really the only indicator I keep on my charts — aside from a few key lines to help define structure and pivots.
EMA/SMA Crossover Signals📊 EMA/SMA Crossover Signals
A professional trading indicator that identifies golden and death crosses between a customizable EMA and SMA with clear BUY/SELL labels displayed directly on your chart.
🎯 Key Features:
✅ Customizable Moving Averages - Adjust both EMA and SMA periods to match your trading strategy
✅ Clear Signal Labels - Large, color-coded "BUY" and "SELL" labels that are impossible to miss
✅ Adjustable Label Positioning - Control the vertical distance of signal labels from price action
✅ Professional Color Customization - Change colors for both moving averages and signals to match your theme
✅ Label Size Options - Choose from 4 different sizes (Tiny, Small, Normal, Large)
✅ Audio Alerts - Get notified instantly when crossovers occur
✅ Overlay Display - Signals appear directly on your price chart for better context
📈 How It Works:
🟢 BUY Signal: Triggered when the EMA crosses above the SMA (bullish crossover)
🔴 SELL Signal: Triggered when the EMA crosses below the SMA (bearish crossover)
⚙️ Customizable Settings:
Moving Averages:
- EMA Period (Default: 8)
- SMA Period (Default: 200)
Colors:
- EMA Color
- SMA Color
- Buy Signal Color
- Sell Signal Color
Signal Settings:
- Signal Vertical Offset
- Label Vertical Offset
- Label Size
💡 Best For:
- Day Trading (1-5 min timeframes)
- Swing Trading (4H-Daily)
- Trend Following Strategies
- Identifying momentum shifts
- Confirming market structure changes
🔔 Perfect for traders using ICT, Wyckoff, and institutional trading methodologies
Use this indicator as part of your complete trading system. Always combine with proper risk management and additional confluence factors.
TMT 1M HA Scalping INDICATOR - Hitesh Nimje📊 TMT 1 Minute HA Scalping Strategy - Hitesh Nimje
🎯 Strategy Overview
A 1-minute scalping strategy designed for high-frequency trading using Heikin Ashi-inspired crossover logic with multiple filters for precision entries.
🔧 Key Components
1. Moving Averages (Trend Detection)
LineTypePeriodColorPurposeFast SMASimple MA9🔵 BluePrimary signal lineSlow SMASimple MA21🔴 RedSecondary confirmationTrend SMASMA (1H)50⚫ BlackOverall market trend bias
2. Entry Signals (Crossover Logic)
🔥 BUY Signal: Fast SMA (9) crosses ABOVE Slow SMA (21)
🔥 SELL Signal: Fast SMA (9) crosses BELOW Slow SMA (21)
3. Entry Filters (4-Layer Confirmation)
✅ LONG Entry = Crossover + Trend Up + RSI Overbought + Bar Confirmed
✅ SHORT Entry = Crossunder + Trend Down + RSI Oversold + Bar Confirmed
longCond = sma_slope > 0 AND rsi >= 70 AND buySignal
shortCond = sma_slope < 0 AND rsi <= 30 AND sellSignal
FilterLongShortPurposeTrend Slopesma_slope > 0sma_slope < 0Market directionRSI FilterRSI >= 70RSI <= 30Momentum extremeCrossoverFast > SlowFast < SlowEntry triggerBar Statebarstate.isconfirmedbarstate.isconfirmedNo repaint
⚡ Risk Management
Stop Loss (Dynamic ATR-based)
Long SL = Lowest Low (7) - 1×ATR(14)
Short SL = Highest High (7) + 1×ATR(14)
Take Profit (1:1 Risk-Reward)
Long TP = Entry + (Entry - SL distance)
Short TP = Entry - (SL distance - Entry)
⏰ Trading Hours
📅 Active: 00:00 - 14:59 (3:00 PM cutoff)
🛑 Auto-close: All positions closed at 15:00
🎨 Visual Elements
📍 BUY Labels: 🟢 Green (below bar)
📍 SELL Labels: 🔴 Red (above bar)
📈 Fast SMA: 🔵 Blue line (9-period)
📉 Slow SMA: 🔴 Red line (21-period)
📊 Trend SMA: ⚫ Black line (50-period, 1H)
⚙️ Input Parameters
ParameterDefaultPurposeEnd of Day1500 (3 PM)Auto-close timeLot Size1Position size
🚀 How It Works (Step-by-Step)
1. Monitor Fast(9) vs Slow(21) SMA crossover
2. Check 1H Trend SMA slope (up/down bias)
3. Validate RSI extreme (70+/30-)
4. Wait for bar confirmation
5. Enter with ATR-based SL & 1:1 TP
6. Auto-exit at 3 PM or SL/TP hit
💡 Strategy Strengths
* ✅ Multi-timeframe trend filter
* ✅ RSI momentum confirmation
* ✅ Dynamic ATR stop losses
* ✅ No repaint signals
* ✅ End-of-day risk control
* ✅ 1:1 Risk-Reward consistency
Perfect for 1-minute scalping on volatile instruments! 🔥
© Hitesh Nimje | Thought Magic Trading
Contact: 8087192915
TRADING DISCLAIMER
RISK WARNING
Trading involves substantial risk of loss and is not suitable for all investors. Past performance is not indicative of future results. You should carefully consider whether trading is suitable for you in light of your circumstances, knowledge, and financial resources.
NO FINANCIAL ADVICE
This indicator is provided for educational and informational purposes only. It does not constitute:
* Financial advice or investment recommendations
* Buy/sell signals or trading signals
* Professional investment advice
* Legal, tax, or accounting guidance
LIMITATIONS AND DISCLAIMERS
Technical Analysis Limitations
* Pivot points are mathematical calculations based on historical price data
* No guarantee of accuracy of price levels or calculations
* Markets can and do behave irrationally for extended periods
* Past performance does not guarantee future results
* Technical analysis should be used in conjunction with fundamental analysis
Data and Calculation Disclaimers
* Calculations are based on available price data at the time of calculation
* Data quality and availability may affect accuracy
* Pivot levels may differ when calculated on different timeframes
* Gaps and irregular market conditions may cause level failures
* Extended hours trading may affect intraday pivot calculations
Market Risks
* Extreme market volatility can invalidate all technical levels
* News events, economic announcements, and market manipulation can cause gaps
* Liquidity issues may prevent execution at calculated levels
* Currency fluctuations, inflation, and interest rate changes affect all levels
* Black swan events and market crashes cannot be predicted by technical analysis
USER RESPONSIBILITIES
Due Diligence
* You are solely responsible for your trading decisions
* Conduct your own research before using this indicator
* Verify calculations with multiple sources before trading
* Consider multiple timeframes and confirm levels with other technical tools
* Never rely solely on one indicator for trading decisions
Risk Management
* Always use proper risk management and position sizing
* Set appropriate stop-losses for all positions
* Never risk more than you can afford to lose
* Consider the inherent risks of leverage and margin trading
* Diversify your portfolio and trading strategies
Professional Consultation
* Consult with qualified financial advisors before trading
* Consider your tax obligations and legal requirements
* Understand the regulations in your jurisdiction
* Seek professional advice for complex trading strategies
LIMITATION OF LIABILITY
Indemnification
The creator and distributor of this indicator shall not be liable for:
* Any trading losses, whether direct or indirect
* Inaccurate or delayed price data
* System failures or technical malfunctions
* Loss of data or profits
* Interruption of service or connectivity issues
No Warranty
This indicator is provided "as is" without warranties of any kind:
* No guarantee of accuracy or completeness
* No warranty of uninterrupted or error-free operation
* No warranty of merchantability or fitness for a particular purpose
* The software may contain bugs or errors
Maximum Liability
In no event shall the liability exceed the purchase price (if any) paid for this indicator. This limitation applies regardless of the theory of liability, whether contract, tort, negligence, or otherwise.
REGULATORY COMPLIANCE
Jurisdiction-Specific Risks
* Regulations vary by country and region
* Some jurisdictions prohibit or restrict certain trading strategies
* Tax implications differ based on your location and trading frequency
* Commodity futures and options trading may have additional requirements
* Currency trading may be regulated differently than stock trading
Professional Trading
* If you are a professional trader, ensure compliance with all applicable regulations
* Adhere to fiduciary duties and best execution requirements
* Maintain required records and reporting
* Follow market abuse regulations and insider trading laws
TECHNICAL SPECIFICATIONS
Data Sources
* Calculations based on TradingView data feeds
* Data accuracy depends on broker and exchange reporting
* Historical data may be subject to adjustments and corrections
* Real-time data may have delays depending on data providers
Software Limitations
* Internet connectivity required for proper operation
* Software updates may change calculations or functionality
* TradingView platform dependencies may affect performance
* Third-party integrations may introduce additional risks
MONEY MANAGEMENT RECOMMENDATIONS
Conservative Approach
* Risk only 1-2% of capital per trade
* Use position sizing based on volatility
* Maintain adequate cash reserves
* Avoid over-leveraging accounts
Portfolio Management
* Diversify across multiple strategies
* Don't put all capital into one approach
* Regularly review and adjust trading strategies
* Maintain detailed trading records
FINAL LEGAL NOTICES
Acceptance of Terms
* By using this indicator, you acknowledge that you have read and understood this disclaimer
* You agree to assume all risks associated with trading
* You confirm that you are legally permitted to trade in your jurisdiction
Updates and Changes
* This disclaimer may be updated without notice
* Continued use constitutes acceptance of any changes
* It is your responsibility to stay informed of updates
Governing Law
* This disclaimer shall be governed by the laws of the jurisdiction where the indicator was created
* Any disputes shall be resolved in the appropriate courts
* Severability clause: If any part of this disclaimer is invalid, the remainder remains enforceable
REMEMBER: THERE ARE NO GUARANTEES IN TRADING. THE MAJORITY OF RETAIL TRADERS LOSE MONEY. TRADE AT YOUR OWN RISK.
Contact Information:
* Creator: Hitesh_Nimje
* Phone: Contact@8087192915
* Source: Thought Magic Trading
© HiteshNimje - All Rights Reserved
This disclaimer should be prominently displayed whenever the indicator is shared, sold, or distributed to ensure users are fully aware of the risks and limitations involved in trading.
VWMA Deviation Band (Higher TF Anchor)helps spot price being far away from moving average signal possible returne
ATR/ADR MTF Projection ArrayATR/ADR MTF Projection Array
Overview
A powerful predictive tool that projects ATR (Average True Range) and ADR (Average Daily Range) levels as clean support and resistance arrays on your chart. Designed for traders who want to anticipate the high and low of the day using volatility-based projections with multi-timeframe confluence.
This indicator combines traditional ATR analysis with ICT-style ADR methodology, giving you institutional-grade level projections from a single, customizable tool.
Key Features
🎯 Dual Volatility Metrics
ATR Projections — Classic volatility-based levels with full multi-timeframe support
ADR Projections (ICT Style) — Average Daily Range levels using Inner Circle Trader methodology
Enable/disable each independently based on your trading preference
📊 Multi-Timeframe ATR Analysis
Plot ATR levels from up to 3 timeframes simultaneously (Daily, Weekly, Monthly or custom)
Each timeframe displays with distinct styling for easy identification
Perfect for confluence trading across multiple time horizons
⚡ ICT ADR Methodology
NY Midnight calculation mode (ICT standard) or Classic Daily
Key ICT levels built-in:
1/3 ADR (Judas Swing) — Critical manipulation level where fake moves often terminate
1/2 ADR — Mid-range reference
2/3 ADR — Trending day continuation target
100% ADR — Full daily range completion
150% ADR — Extension target for expansion days
Two projection modes: Static (from anchor) or Dynamic (from session high/low)
🔧 Flexible Anchor Points
Previous Close (default)
Daily Open
Weekly Open
Monthly Open
Session Open
📈 Range Completion Tracking
Real-time display of how much of the expected daily range has been consumed
Visual status indicator helps identify when the day's move may be exhausted
How To Use
For Bias Confirmation:
Establish your directional bias using your preferred method (trigger day, market structure, etc.)
Monitor the 1/3 ADR level during London/NY open for potential Judas Swing (manipulation move)
Target 2/3 to 100% ADR for your HOD/LOD objective
For Target Setting:
Use ATR levels as volatility-based profit targets
ADR 100% level often marks session extremes
When Range Used reaches 100%+, expect consolidation or reversal
For Multi-Timeframe Confluence:
Enable Weekly/Monthly ATR levels alongside Daily
Look for clustering of levels across timeframes for high-probability zones
Settings Guide
Master Controls — Toggle ATR/ADR systems and bull/bear levels independently
ATR Settings — Configure period, multiplier, anchor point, and select which timeframes to display
ATR Level Multipliers — Choose which projection levels to show (0.5x, 0.75x, 1.0x, 1.25x, 1.5x)
ADR Settings (ICT Style) — Select calculation mode (NY Midnight recommended), period (5 days is ICT standard), and projection mode
ADR Level Selection — Toggle individual ICT levels (1/3, 1/2, 2/3, 100%, 150%)
Visual Settings — Customize colors, line styles, labels, and info table position
Alerts Included
ATR 1.0x Bull/Bear Cross
ADR 1/3 Judas Swing Zone (Bull/Bear)
ADR 100% Range Completion (Bull/Bear)
Evergito HH/LL 3 Señales + ATR SLHow to trade with the Evergito HH/LL 3 Signals + ATR SL indicator? Brief and direct explanation: General system logic: The indicator looks for actual breakouts of the high/low of the last 20 bars (HH/LL) and combines them with the position relative to the 200 SMA to filter the underlying trend. You have 3 types of signals that you can activate/deactivate separately: Signal
When it appears
What it means in practice
Entry type
V1
HH breakout + the close crosses above the 200 SMA (or the opposite in a short position)
Very safe entry confirmed. The price has just validated the long/flat trend → safer and with a better ratio
The most reliable (the original)
V2
HH breakout but the price was already above the 200 SMA (or already below in a short position)
Entry in an already established trend. Fewer “surprises”, more continuity
Ideal for strong trends
V3
Only the breakout of the HH or LL, without looking at the 200 SMA
Aggressive entry/scalping on explosive breakouts. More signals, more noise.
For times of high volatility.
How to enter the market (simple rule): Wait for any of the 3 labels (V1, V2, or V3) to appear, depending on which ones you have activated.
Enter at the close of that candle (or at the open of the next one if you are conservative).
Automatic Stop Loss → the blue (long) or yellow (short) line that represents the ATR x2.
Take Profit → you decide, but the indicator already gives you the visual reference for the risk (ATR x2), so 1:2 or 1:3 is usually very convenient.
Practical example: You see a large green label “HH LONG V1” → you go long at the close of that candle. Stop right at the blue line (ATR x2 below the price).
Typical target: 2x or 3x the risk (very common to reach it in a trend).
Recommended use: Most traders leave only V1 activated → fewer signals but very high quality.
Those who trade intraday or crypto usually combine V1 + V2.
V3 only for news events or very volatile openings.
In summary:
Label = immediate entry
Blue/yellow line = automatic stop
And enjoy the move.
Evergito HH/LL 3 Señales + ATR SLHow to trade with the Evergito HH/LL 3 Signals + ATR SL indicator? Brief and direct explanation: General system logic: The indicator looks for actual breakouts of the high/low of the last 20 bars (HH/LL) and combines them with the position relative to the 200 SMA to filter the underlying trend. You have 3 types of signals that you can activate/deactivate separately: Signal
When it appears
What it means in practice
Entry type
V1
HH breakout + the close crosses above the 200 SMA (or the opposite in a short position)
Very safe entry confirmed. The price has just validated the long/flat trend → safer and with a better ratio
The most reliable (the original)
V2
HH breakout but the price was already above the 200 SMA (or already below in a short position)
Entry in an already established trend. Fewer “surprises”, more continuity
Ideal for strong trends
V3
Only the breakout of the HH or LL, without looking at the 200 SMA
Aggressive entry/scalping on explosive breakouts. More signals, more noise.
For times of high volatility.
How to enter the market (simple rule): Wait for any of the 3 labels (V1, V2, or V3) to appear, depending on which ones you have activated.
Enter at the close of that candle (or at the open of the next one if you are conservative).
Automatic Stop Loss → the blue (long) or yellow (short) line that represents the ATR x2.
Take Profit → you decide, but the indicator already gives you the visual reference for the risk (ATR x2), so 1:2 or 1:3 is usually very convenient.
Practical example: You see a large green label “HH LONG V1” → you go long at the close of that candle. Stop right at the blue line (ATR x2 below the price).
Typical target: 2x or 3x the risk (very common to reach it in a trend).
Recommended use: Most traders leave only V1 activated → fewer signals but very high quality.
Those who trade intraday or crypto usually combine V1 + V2.
V3 only for news events or very volatile openings.
In summary:
Label = immediate entry
Blue/yellow line = automatic stop
And enjoy the move.
RSL Screener Column//@version=5
indicator("RSL Screener Column", shorttitle="RSL", overlay=false)
sma26 = ta.sma(close, 26)
rsl = close / sma26
plot(rsl)
CharisGold FX Dashboard v2.8 (Signals + Alerts)this strategy is a trend line follower using EMA LOW (2 3 6 9) for scalping EMA LOW(25 34 89 110 355 and 480 )for trend direction
UM OBV with Signal (EMA/SMA/WMA/NWE)SUMMARY
A visual OBV trend tool that highlights bullish and bearish volume pressure using smart smoothing and intuitive color-coding.
⸻
WHY THIS INDICATOR?
There are only three variables you can adjust on a chart: price, volume, and time. I wanted a good volume indicator.
⸻
DESCRIPTION
This tool extends classic On-Balance Volume with selectable trend smoothing (EMA, SMA, WMA, or NWE) and visual directional coloring on both OBV and the Signal line. Green shows bullish volume flow, red shows bearish volume flow. Optional crossover markers help confirm shifts in buying pressure.
Nadaraya-Watson Regression (NWE) provides a smooth, non-MA alternative for filtering volume trend noise, and optional dual-NWE coloring helps reduce false flips in choppy markets.
⸻
THE CHART
The indicator is added twice at the bottom; once with a 21 EMA and again with a 55 SMA. The chart has text and illustrations to show where the OBV flipped colors. More red equals more selling pressure. More green equals more buying volume or pressure.
⸻
DEFAULTS
• OBV smoothing length = 3
• Signal = 21 EMA
• Crossover bubbles are hidden/off by default
⸻
SUGGESTED USES
• Combine with price structure, momentum, or volatility tools to confirm trend strength.
• Try switching between EMA and NWE on faster intraday charts to see volume trend earlier.
• Use crossover signals as secondary confirmation rather than standalone entries.
• Use this indicator with your other favorite indicators for confirmation.
• Select timeframes suitable to your style of trading.
• I use the 30-minute, 6-hour, and Daily timeframes.
• I question myself if I am buying something with this indicator being red.
• Experiment with various timeframes and settings.
⸻
AUTHOR OBSERVATIONS
OBV often turns before price—especially when volume surges ahead of breakout levels.
NWE tends to smooth choppy OBV much better than traditional moving averages in noisy markets.
Look for Signal color flips at key support/resistance or volatility inflection points.
⸻
ALERTS
Right-click the indicator and choose Add alert… – two presets are available:
• Bullish OBV Turning Up
• Bearish OBV Turning Down
Pious 3/8 EMA High-Low + 89 EMA Strategybuy signal when 3emah cross above 8emah, 3emal cross above 8emal,high cross above previous 3 high with volume and vice versa
Volatility-Dynamic Risk Manager MNQ [HERMAN]Title: Volatility-Dynamic Risk Manager MNQ
Description:
The Volatility-Dynamic Risk Manager is a dedicated risk management utility designed specifically for traders of Micro Nasdaq 100 Futures (MNQ).
Many traders struggle with position sizing because they use a fixed Stop Loss size regardless of market conditions. A 10-point stop might be safe in a slow market but easily stopped out in a high-volatility environment. This indicator solves that problem by monitoring real-time volatility (using ATR) and automatically suggesting the appropriate Stop Loss size and Position Size (Contracts) to keep your dollar risk constant.
Note: This tool is hardcoded for MNQ (Micro Nasdaq) with a tick value calculation of $2 per point.
📈 How It Works
-This script operates on a logical flow that adapts to market behavior:
-Volatility Measurement: It calculates the Average True Range (ATR) over a user-defined length (Default: 14) to gauge the current "speed" of the market.
-State Detection: Based on the current ATR, the script classifies the market into one of three states:
Low Volatility: The market is chopping or moving slowly.
Normal Volatility: Standard trading conditions.
High Volatility: The market is moving aggressively.
Dynamic Stop Loss Selection: Depending on the detected state, the script selects a pre-defined Stop Loss (in points) that you have configured for that specific environment.
Position Sizing Calculation: Finally, it calculates how many MNQ contracts you can trade so that if your Stop Loss is hit, you do not lose more than your defined "Max Risk per Trade."
🧮 Methodology & Calculations
Since this script handles risk management, transparency in calculation is vital.
Here is the exact math used:
ATR Calculation: Contracts = Max Risk / Risk Per Contract
⚙️ Settings
You can fully customize the behavior of the risk manager via the settings panel:
Risk Management
-Max Risk per Trade ($): The maximum amount of USD you are willing to lose on a single trade.
Volatility Thresholds (ATR)
-ATR Length: The lookback period for volatility calculation.
-Upper Limit for LOW Volatility: If ATR is below this number, the market is "Low Volatility."
-Lower Limit for HIGH Volatility: If ATR is above this number, the market is "High Volatility." (Anything between Low and High is considered "Normal").
Stop Loss Settings (Points)
-SL for Low/Normal/High: Define how wide your stop loss should be in points for each of the three market states.
Visual Settings
-Color Theme: Switch between Light and Dark modes.
-Panel Position: Move the dashboard to any corner or center of your chart.
-Panel Size: Adjust the scale (Tiny to Large) to fit your screen resolution.
📊 Dashboard Overview
-The on-screen panel provides a quick-glance summary for live execution:
-Market State: Color-coded status (Green = Low Vol, Orange = Normal, Red = High Vol).
-Current ATR: The live volatility reading.
-Suggested SL: The Stop Loss size you should enter in your execution platform.
-CONTRACTS: The calculated position size.
-Est. Loss: The actual dollar amount you will lose if the stop is hit (usually slightly less than your Max Risk due to rounding down).
Who is this for?
-Discretionary and systematic futures traders on MNQ (/MNQ or MES also works with small adjustments)
-Anyone who wants perfect risk consistency regardless of whether the market is asleep or exploding
-Traders who hate manual position-size calculations on every trade
No repainting
Works on any timeframe
Real-time updates on every bar
Overlay indicator (no signals, pure risk-management tool)
⚠️ Disclaimer
This tool is for informational and educational purposes only. It calculates mathematical position sizes based on user inputs. It does not execute trades, nor does it guarantee profits. Past performance (volatility) is not indicative of future results. Always manually verify your order size before executing trades on your broker platform.
Session Highs and Lows🔑 Key Levels: Session Liquidity & Structure Mapper
The Key Levels indicator is an essential tool for traders as it automatically plots and projects critical Highs and Lows established during key trading sessions. These levels represent major liquidity pools and define the current market structure, serving as high-probability targets, support, or resistance for the remainder of the trading day.
⚙️ Core Functionality
The indicator operates in two distinct modes, tailored for different asset classes:
1. Asset Class Mode (Toggle)
You can switch between two predefined setups depending on the asset you are trading:
Stock Mode (RTH/ETH): Designed for US stocks and futures (e.g., NQ, ES, YM). It tracks and projects levels for Regular Trading Hours (RTH) (09:30-16:00) and Extended Hours (ETH) (16:00-09:30).
Forex/Default Mode (Asia/London/NY): Designed for global markets (e.g., currency pairs). It tracks and projects levels for the three major liquidity sessions: Asia (19:00-03:00), London (03:00-09:30), and New York (09:30-16:00).
🗺️ Key Levels Mapped
The script continuously tracks and plots the most significant structural levels:
Current Session High/Low: The running high and low of the currently active session.
Previous Session High/Low: The confirmed high and low from the most recently completed session. These are often targeted by market makers.
Previous Day High/Low (PDH/PDL): The high and low of the prior 24-hour day, acting as major structural boundaries and a crucial macro market filter.
🎛️ Advanced Liquidity Management
The indicator is built with specific controls for high-level liquidity analysis:
Extend Through Sweeps (Critical Setting):
OFF (Recommended): The projected line is automatically stopped or deleted the moment the price candle wicks or closes past it. This visually confirms that the liquidity at that level has been "swept" or "mitigated."
ON: The line extends indefinitely, treating the level as simple support/resistance, regardless of interaction.
Previous vs. Current View: You can select a checkbox (e.g., Use PREVIOUS London Level) to hide the current session's running levels and only display the static, confirmed high/low from the prior completed session. This helps declutter the chart and focus only on the confirmed structural levels.
Show Older History: Toggle to keep lines from prior days visible, allowing you to track multi-day structural context.
🎯 Trading Application
The lines plotted by the Key Levels indicator provide immediate, actionable information:
Bias Filter: Use the PDH/PDL to determine the overall market context. Trading above the PDH suggests a bullish bias, while trading below the PDL suggests a bearish bias.
Manipulation/Entry: Wait for price to aggressively sweep a Previous Session High/Low (line stops extending). This often signals a liquidity grab or "manipulation" phase. Look for entries in the opposite direction for the main move (Distribution).
Targets: Key levels (especially unmitigated ones) serve as excellent, objective take-profit targets for active trades.
Trend Following ProTrend Following Pro is a trend-following strategy designed for volatile markets such as cryptocurrencies. It combines several technical indicators — EMA, Supertrend, ADX, MACD, and volume — to detect strong trends and enter the market at the optimal moment.
The approach relies on strict risk management, with adjustable position sizes, ATR-based stop losses, take profits according to a risk/reward ratio, and the option to use a trailing stop to protect gains.
Entry signals are triggered only when all indicators align and volume confirms the strength of the movement. The strategy also provides automatic exits in case of trend reversals.
It offers clear chart visualization with EMAs, Supertrend, LONG/SHORT signals, and stop/take profit zones, along with a real-time performance table to monitor gains, losses, win rate, and the current trend.
In summary: follow trends, enter with precision, limit losses, and maximize gains.
RenkoFlow PercentPercent-based Renko blocks: Prices are dynamically recalculated using real chart data.
Smart approximation: Each block displays an accurate, rounded Renko price for clarity.
Instant trend detection: Automatic UP/DOWN block identification.
Auto-start logic: Begins from the chart’s first available price.
Clean & fast: Ideal for scalping, intraday trading, and real-time decision-making.
XAUUSD 1m SMC Zones (BOS + Flexible TP Modes + Trailing Runner)//@version=6
strategy("XAUUSD 1m SMC Zones (BOS + Flexible TP Modes + Trailing Runner)",
overlay = true,
initial_capital = 10000,
pyramiding = 10,
process_orders_on_close = true)
//━━━━━━━━━━━━━━━━━━━
// 1. INPUTS
//━━━━━━━━━━━━━━━━━━━
// TP / SL
tp1Pips = input.int(10, "TP1 (pips)", minval = 1)
fixedSLpips = input.int(50, "Fixed SL (pips)", minval = 5)
runnerRR = input.float(3.0, "Runner RR (TP2 = SL * RR)", step = 0.1, minval = 1.0)
// Daily risk
maxDailyLossPct = input.float(5.0, "Max daily loss % (stop trading)", step = 0.5)
maxDailyProfitPct = input.float(20.0, "Max daily profit % (stop trading)", step = 1.0)
// HTF S/R (1H)
htfTF = input.string("60", "HTF timeframe (minutes) for S/R block")
// Profit strategy (Option C)
profitStrategy = input.string("Minimal Risk | Full BE after TP1", "Profit Strategy", options = )
// Runner stop mode (your option 4)
runnerStopMode = input.string( "BE only", "Runner Stop Mode", options = )
// ATR trail settings (only used if ATR mode selected)
atrTrailLen = input.int(14, "ATR Length (trail)", minval = 1)
atrTrailMult = input.float(1.0, "ATR Multiplier (trail)", step = 0.1, minval = 0.1)
// Pip size (for XAUUSD: 1 pip = 0.10 if tick = 0.01)
pipSize = syminfo.mintick * 10.0
tp1Points = tp1Pips * pipSize
slPoints = fixedSLpips * pipSize
baseQty = input.float (1.0, "Base order size" , step = 0.01, minval = 0.01)
//━━━━━━━━━━━━━━━━━━━
// 2. DAILY RISK MANAGEMENT
//━━━━━━━━━━━━━━━━━━━
isNewDay = ta.change(time("D")) != 0
var float dayStartEquity = na
var bool dailyStopped = false
equityNow = strategy.initial_capital + strategy.netprofit
if isNewDay or na(dayStartEquity)
dayStartEquity := equityNow
dailyStopped := false
dailyPnL = equityNow - dayStartEquity
dailyPnLPct = dayStartEquity != 0 ? (dailyPnL / dayStartEquity) * 100.0 : 0.0
if not dailyStopped
if dailyPnLPct <= -maxDailyLossPct
dailyStopped := true
if dailyPnLPct >= maxDailyProfitPct
dailyStopped := true
canTradeToday = not dailyStopped
//━━━━━━━━━━━━━━━━━━━
// 3. 1H S/R ZONES (for direction block)
//━━━━━━━━━━━━━━━━━━━
htOpen = request.security(syminfo.tickerid, htfTF, open)
htHigh = request.security(syminfo.tickerid, htfTF, high)
htLow = request.security(syminfo.tickerid, htfTF, low)
htClose = request.security(syminfo.tickerid, htfTF, close)
// Engulf logic on HTF
htBullPrev = htClose > htOpen
htBearPrev = htClose < htOpen
htBearEngulf = htClose < htOpen and htBullPrev and htOpen >= htClose and htClose <= htOpen
htBullEngulf = htClose > htOpen and htBearPrev and htOpen <= htClose and htClose >= htOpen
// Liquidity sweep on HTF previous candle
htSweepHigh = htHigh > ta.highest(htHigh, 5)
htSweepLow = htLow < ta.lowest(htLow, 5)
// Store last HTF zones
var float htResHigh = na
var float htResLow = na
var float htSupHigh = na
var float htSupLow = na
if htBearEngulf and htSweepHigh
htResHigh := htHigh
htResLow := htLow
if htBullEngulf and htSweepLow
htSupHigh := htHigh
htSupLow := htLow
// Are we inside HTF zones?
inHtfRes = not na(htResHigh) and close <= htResHigh and close >= htResLow
inHtfSup = not na(htSupLow) and close >= htSupLow and close <= htSupHigh
// Block direction against HTF zones
longBlockedByZone = inHtfRes // no buys in HTF resistance
shortBlockedByZone = inHtfSup // no sells in HTF support
//━━━━━━━━━━━━━━━━━━━
// 4. 1m LOCAL ZONES (LIQUIDITY SWEEP + ENGULF + QUALITY SCORE)
//━━━━━━━━━━━━━━━━━━━
// 1m engulf patterns
bullPrev1 = close > open
bearPrev1 = close < open
bearEngulfNow = close < open and bullPrev1 and open >= close and close <= open
bullEngulfNow = close > open and bearPrev1 and open <= close and close >= open
// Liquidity sweep by previous candle on 1m
sweepHighPrev = high > ta.highest(high, 5)
sweepLowPrev = low < ta.lowest(low, 5)
// Local zone storage (one active support + one active resistance)
// Quality score: 1 = engulf only, 2 = engulf + sweep (we only trade ≥2)
var float supLow = na
var float supHigh = na
var int supQ = 0
var bool supUsed = false
var float resLow = na
var float resHigh = na
var int resQ = 0
var bool resUsed = false
// New resistance zone: previous bullish candle -> bear engulf
if bearEngulfNow
resLow := low
resHigh := high
resQ := sweepHighPrev ? 2 : 1
resUsed := false
// New support zone: previous bearish candle -> bull engulf
if bullEngulfNow
supLow := low
supHigh := high
supQ := sweepLowPrev ? 2 : 1
supUsed := false
// Raw "inside zone" detection
inSupRaw = not na(supLow) and close >= supLow and close <= supHigh
inResRaw = not na(resHigh) and close <= resHigh and close >= resLow
// QUALITY FILTER: only trade zones with quality ≥ 2 (engulf + sweep)
highQualitySup = supQ >= 2
highQualityRes = resQ >= 2
inSupZone = inSupRaw and highQualitySup and not supUsed
inResZone = inResRaw and highQualityRes and not resUsed
// Plot zones
plot(supLow, "Sup Low", color = color.new(color.lime, 60), style = plot.style_linebr)
plot(supHigh, "Sup High", color = color.new(color.lime, 60), style = plot.style_linebr)
plot(resLow, "Res Low", color = color.new(color.red, 60), style = plot.style_linebr)
plot(resHigh, "Res High", color = color.new(color.red, 60), style = plot.style_linebr)
//━━━━━━━━━━━━━━━━━━━
// 5. MODERATE BOS (3-BAR FRACTAL STRUCTURE)
//━━━━━━━━━━━━━━━━━━━
// 3-bar swing highs/lows
swHigh = high > high and high > high
swLow = low < low and low < low
var float lastSwingHigh = na
var float lastSwingLow = na
if swHigh
lastSwingHigh := high
if swLow
lastSwingLow := low
// BOS conditions
bosUp = not na(lastSwingHigh) and close > lastSwingHigh
bosDown = not na(lastSwingLow) and close < lastSwingLow
// Zone “arming” and BOS validation
var bool supArmed = false
var bool resArmed = false
var bool supBosOK = false
var bool resBosOK = false
// Arm zones when first touched
if inSupZone
supArmed := true
if inResZone
resArmed := true
// BOS after arming → zone becomes valid for entries
if supArmed and bosUp
supBosOK := true
if resArmed and bosDown
resBosOK := true
// Reset BOS flags when new zones are created
if bullEngulfNow
supArmed := false
supBosOK := false
if bearEngulfNow
resArmed := false
resBosOK := false
//━━━━━━━━━━━━━━━━━━━
// 6. ENTRY CONDITIONS (ZONE + BOS + RISK STATE)
//━━━━━━━━━━━━━━━━━━━
flatOrShort = strategy.position_size <= 0
flatOrLong = strategy.position_size >= 0
longSignal = canTradeToday and not longBlockedByZone and inSupZone and supBosOK and flatOrShort
shortSignal = canTradeToday and not shortBlockedByZone and inResZone and resBosOK and flatOrLong
//━━━━━━━━━━━━━━━━━━━
// 7. ORDER LOGIC – TWO PROFIT STRATEGIES
//━━━━━━━━━━━━━━━━━━━
// Common metrics
atrTrail = ta.atr(atrTrailLen)
// MINIMAL MODE: single trade, BE after TP1, optional trailing
// HYBRID MODE: two trades (Scalp @ TP1, Runner @ TP2)
// Persistent tracking
var float longEntry = na
var float longTP1 = na
var float longTP2 = na
var float longSL = na
var bool longBE = false
var float longRunEntry = na
var float longRunTP1 = na
var float longRunTP2 = na
var float longRunSL = na
var bool longRunBE = false
var float shortEntry = na
var float shortTP1 = na
var float shortTP2 = na
var float shortSL = na
var bool shortBE = false
var float shortRunEntry = na
var float shortRunTP1 = na
var float shortRunTP2 = na
var float shortRunSL = na
var bool shortRunBE = false
isMinimal = profitStrategy == "Minimal Risk | Full BE after TP1"
isHybrid = profitStrategy == "Hybrid | Scalp TP + Runner TP"
//━━━━━━━━━━ LONG ENTRIES ━━━━━━━━━━
if longSignal
if isMinimal
longEntry := close
longSL := longEntry - slPoints
longTP1 := longEntry + tp1Points
longTP2 := longEntry + slPoints * runnerRR
longBE := false
strategy.entry("Long", strategy.long)
supUsed := true
supArmed := false
supBosOK := false
else if isHybrid
longRunEntry := close
longRunSL := longRunEntry - slPoints
longRunTP1 := longRunEntry + tp1Points
longRunTP2 := longRunEntry + slPoints * runnerRR
longRunBE := false
// Two separate entries, each 50% of baseQty (for backtest)
strategy.entry("LongScalp", strategy.long, qty = baseQty * 0.5)
strategy.entry("LongRun", strategy.long, qty = baseQty * 0.5)
supUsed := true
supArmed := false
supBosOK := false
//━━━━━━━━━━ SHORT ENTRIES ━━━━━━━━━━
if shortSignal
if isMinimal
shortEntry := close
shortSL := shortEntry + slPoints
shortTP1 := shortEntry - tp1Points
shortTP2 := shortEntry - slPoints * runnerRR
shortBE := false
strategy.entry("Short", strategy.short)
resUsed := true
resArmed := false
resBosOK := false
else if isHybrid
shortRunEntry := close
shortRunSL := shortRunEntry + slPoints
shortRunTP1 := shortRunEntry - tp1Points
shortRunTP2 := shortRunEntry - slPoints * runnerRR
shortRunBE := false
strategy.entry("ShortScalp", strategy.short, qty = baseQty * 50)
strategy.entry("ShortRun", strategy.short, qty = baseQty * 50)
resUsed := true
resArmed := false
resBosOK := false
//━━━━━━━━━━━━━━━━━━━
// 8. EXIT LOGIC – MINIMAL MODE
//━━━━━━━━━━━━━━━━━━━
// LONG – Minimal Risk: 1 trade, BE after TP1, runner to TP2
if isMinimal and strategy.position_size > 0 and not na(longEntry)
// Move to BE once TP1 is touched
if not longBE and high >= longTP1
longBE := true
// Base SL: BE or initial SL
float dynLongSL = longBE ? longEntry : longSL
// Optional trailing after BE
if longBE
if runnerStopMode == "Structure trail" and not na(lastSwingLow) and lastSwingLow > longEntry
dynLongSL := math.max(dynLongSL, lastSwingLow)
if runnerStopMode == "ATR trail"
trailSL = close - atrTrailMult * atrTrail
dynLongSL := math.max(dynLongSL, trailSL)
strategy.exit("Long Exit", "Long", stop = dynLongSL, limit = longTP2)
// SHORT – Minimal Risk: 1 trade, BE after TP1, runner to TP2
if isMinimal and strategy.position_size < 0 and not na(shortEntry)
if not shortBE and low <= shortTP1
shortBE := true
float dynShortSL = shortBE ? shortEntry : shortSL
if shortBE
if runnerStopMode == "Structure trail" and not na(lastSwingHigh) and lastSwingHigh < shortEntry
dynShortSL := math.min(dynShortSL, lastSwingHigh)
if runnerStopMode == "ATR trail"
trailSLs = close + atrTrailMult * atrTrail
dynShortSL := math.min(dynShortSL, trailSLs)
strategy.exit("Short Exit", "Short", stop = dynShortSL, limit = shortTP2)
//━━━━━━━━━━━━━━━━━━━
// 9. EXIT LOGIC – HYBRID MODE
//━━━━━━━━━━━━━━━━━━━
// LONG – Hybrid: Scalp + Runner
if isHybrid
// Scalp leg: full TP at TP1
if strategy.opentrades > 0
strategy.exit("LScalp TP", "LongScalp", stop = longRunSL, limit = longRunTP1)
// Runner leg
if strategy.position_size > 0 and not na(longRunEntry)
if not longRunBE and high >= longRunTP1
longRunBE := true
float dynLongRunSL = longRunBE ? longRunEntry : longRunSL
if longRunBE
if runnerStopMode == "Structure trail" and not na(lastSwingLow) and lastSwingLow > longRunEntry
dynLongRunSL := math.max(dynLongRunSL, lastSwingLow)
if runnerStopMode == "ATR trail"
trailRunSL = close - atrTrailMult * atrTrail
dynLongRunSL := math.max(dynLongRunSL, trailRunSL)
strategy.exit("LRun TP", "LongRun", stop = dynLongRunSL, limit = longRunTP2)
// SHORT – Hybrid: Scalp + Runner
if isHybrid
if strategy.opentrades > 0
strategy.exit("SScalp TP", "ShortScalp", stop = shortRunSL, limit = shortRunTP1)
if strategy.position_size < 0 and not na(shortRunEntry)
if not shortRunBE and low <= shortRunTP1
shortRunBE := true
float dynShortRunSL = shortRunBE ? shortRunEntry : shortRunSL
if shortRunBE
if runnerStopMode == "Structure trail" and not na(lastSwingHigh) and lastSwingHigh < shortRunEntry
dynShortRunSL := math.min(dynShortRunSL, lastSwingHigh)
if runnerStopMode == "ATR trail"
trailRunSLs = close + atrTrailMult * atrTrail
dynShortRunSL := math.min(dynShortRunSL, trailRunSLs)
strategy.exit("SRun TP", "ShortRun", stop = dynShortRunSL, limit = shortRunTP2)
//━━━━━━━━━━━━━━━━━━━
// 10. RESET STATE WHEN FLAT
//━━━━━━━━━━━━━━━━━━━
if strategy.position_size == 0
longEntry := na
shortEntry := na
longBE := false
shortBE := false
longRunEntry := na
shortRunEntry := na
longRunBE := false
shortRunBE := false
//━━━━━━━━━━━━━━━━━━━
// 11. VISUAL ENTRY MARKERS
//━━━━━━━━━━━━━━━━━━━
plotshape(longSignal, title = "Long Signal", style = shape.triangleup,
location = location.belowbar, color = color.lime, size = size.tiny, text = "L")
plotshape(shortSignal, title = "Short Signal", style = shape.triangledown,
location = location.abovebar, color = color.red, size = size.tiny, text = "S")
Absorption RatioThe Hidden Connections Between Markets
Financial markets are not isolated islands. When panic spreads, seemingly unrelated assets suddenly begin moving in lockstep. Stocks, bonds, commodities, and currencies that normally provide diversification benefits start falling together. This phenomenon, where correlations spike during crises, has devastated portfolios throughout history. The Absorption Ratio provides a quantitative measure of this hidden fragility.
The concept emerged from research at State Street Associates, where Mark Kritzman, Yuanzhen Li, Sebastien Page, and Roberto Rigobon developed a novel application of principal component analysis to measure systemic risk. Their 2011 paper in the Journal of Portfolio Management demonstrated that when markets become tightly coupled, the variance explained by the first few principal components increases dramatically. This concentration of variance signals elevated systemic risk.
What the Absorption Ratio Measures
Principal component analysis, or PCA, is a statistical technique that identifies the underlying factors driving a set of variables. When applied to asset returns, the first principal component typically captures broad market movements. The second might capture sector rotations or risk-on/risk-off dynamics. Additional components capture increasingly idiosyncratic patterns.
The Absorption Ratio measures the fraction of total variance absorbed or explained by a fixed number of principal components. In the original research, Kritzman and colleagues used the first fifth of the eigenvectors. When this fraction is high, it means a small number of factors are driving most of the market movements. Assets are moving together, and diversification provides less protection than usual.
Consider an analogy: imagine a room full of people having independent conversations. Each person speaks at different times about different topics. The total "variance" of sound in the room comes from many independent sources. Now imagine a fire alarm goes off. Suddenly everyone is talking about the same thing, moving in the same direction. The variance is now dominated by a single factor. The Absorption Ratio captures this transition from diverse, independent behavior to unified, correlated movement.
The Implementation Approach
TradingView does not support matrix algebra required for true principal component analysis. This implementation uses a closely related proxy: the average absolute correlation across a universe of major asset classes. This approach captures the same underlying phenomenon because when assets are highly correlated, the first principal component explains more variance by mathematical necessity.
The asset universe includes eight ETFs representing major investable categories: SPY and QQQ for large cap US equities, IWM for small caps, EFA for developed international markets, EEM for emerging markets, TLT for long-term treasuries, GLD for gold, and USO for oil. This selection provides exposure to equities across geographies and market caps, plus traditional diversifying assets.
From eight assets, there are twenty-eight unique pairwise correlations. The indicator calculates each using a rolling window, takes the absolute value to measure coupling strength regardless of direction, and averages across all pairs. This average correlation is then transformed to match the typical range of published Absorption Ratio values.
The transformation maps zero average correlation to an AR of 0.50 and perfect correlation to an AR of 1.00. This scaling aligns with empirical observations that the AR typically fluctuates between 0.60 and 0.95 in practice.
Interpreting the Regimes
The indicator classifies systemic risk into four regimes based on AR levels.
The Extreme regime occurs when the AR exceeds 0.90. At this level, nearly all asset classes are moving together. Diversification has largely failed. Historically, this regime has coincided with major market dislocations: the 2008 financial crisis, the 2020 COVID crash, and significant correction periods. Portfolios constructed under normal correlation assumptions will experience larger drawdowns than expected.
The High regime, between 0.80 and 0.90, indicates elevated systemic risk. Correlations across asset classes are above normal. This often occurs during the build-up to stress events or during volatile periods where fear is spreading but has not reached panic levels. Risk management should be more conservative.
The Normal regime covers AR values between 0.60 and 0.80. This represents typical market conditions where some correlation exists between assets but diversification still provides meaningful benefits. Standard portfolio construction assumptions are reasonable.
The Low regime, below 0.60, indicates that assets are behaving relatively independently. Diversification is working well. Idiosyncratic factors dominate returns rather than systematic risk. This environment is favorable for active management and security selection strategies.
The Relationship to Portfolio Construction
The implications for portfolio management are significant. Modern portfolio theory assumes correlations are stable and uses historical estimates to construct efficient portfolios. The Absorption Ratio reveals that this assumption is violated precisely when it matters most.
When AR is elevated, the effective number of independent bets in a diversified portfolio shrinks. A portfolio holding stocks, bonds, commodities, and real estate might behave as if it holds only one or two positions during high AR periods. Position sizing based on normal correlation estimates will underestimate portfolio risk.
Conversely, when AR is low, true diversification opportunities expand. The same nominal portfolio provides more independent return streams. Risk can be deployed more aggressively while maintaining the same effective exposure.
Component Analysis
The indicator separately tracks equity correlations and cross-asset correlations. These components tell different stories about market structure.
Equity correlations measure coupling within the stock market. High equity correlation indicates broad risk-on or risk-off behavior where all stocks move together. This is common during both rallies and selloffs driven by macroeconomic factors. Stock pickers face headwinds when equity correlations are elevated because individual company fundamentals matter less than market beta.
Cross-asset correlations measure coupling between different asset classes. When stocks, bonds, and commodities start moving together, traditional hedges fail. The classic 60/40 stock/bond portfolio, for example, assumes negative or low correlation between equities and treasuries. When cross-asset correlation spikes, this assumption breaks down.
During the 2022 market environment, for instance, both stocks and bonds fell significantly as inflation and rate hikes affected all assets simultaneously. High cross-asset correlation warned that the usual defensive allocations would not provide their expected protection.
Mean Reversion Characteristics
Like most risk metrics, the Absorption Ratio tends to mean-revert over time. Extremely high AR readings eventually normalize as panic subsides and assets return to more independent behavior. Extremely low readings tend to rise as some level of systematic risk always reasserts itself.
The indicator tracks AR in statistical terms by calculating its Z-score relative to the trailing distribution. When AR reaches extreme Z-scores, the probability of normalization increases. This creates potential opportunities for strategies that bet on mean reversion in systemic risk.
A buy signal triggers when AR recovers from extremely elevated levels, suggesting the worst of the correlation spike may be over. A sell signal triggers when AR rises from unusually low levels, warning that complacency about diversification benefits may be excessive.
Momentum and Trend
The rate of change in AR carries information beyond the absolute level. Rapidly rising AR suggests correlations are increasing and systemic risk is building. Even if AR has not yet reached the high regime, acceleration in coupling should prompt increased vigilance.
Falling AR momentum indicates normalizing conditions. Correlations are decreasing and assets are returning to more independent behavior. This often occurs in the recovery phase following stress events.
Practical Application
For asset allocators, the AR provides guidance on how much diversification benefit to expect from a given allocation. During high AR periods, reducing overall portfolio risk makes sense because the usual diversifiers provide less protection. During low AR periods, standard or even aggressive allocations are more appropriate.
For risk managers, the AR serves as an early warning indicator. Rising AR often precedes large market moves and volatility spikes. Tightening risk limits before correlations reach extreme levels can protect capital.
For systematic traders, the AR provides a regime filter. Mean reversion strategies may work better during high AR periods when panics create overshooting. Momentum strategies may work better during low AR periods when trends can develop independently across assets.
Limitations and Considerations
The proxy methodology introduces some approximation error relative to true PCA-based AR calculations. The asset universe, while representative, does not include all possible diversifiers. Correlation estimates are inherently backward-looking and can change rapidly.
The transformation from average correlation to AR scale is calibrated to match typical published ranges but is not mathematically equivalent to the eigenvalue ratio. Users should interpret levels directionally rather than as precise measurements.
Correlation regimes can persist longer than expected. Mean reversion signals indicate elevated probability of normalization but do not guarantee timing. High AR can remain elevated throughout extended crisis periods.
References
Kritzman, M., Li, Y., Page, S., and Rigobon, R. (2011). Principal Components as a Measure of Systemic Risk. Journal of Portfolio Management, 37(4), 112-126.
Kritzman, M., and Li, Y. (2010). Skulls, Financial Turbulence, and Risk Management. Financial Analysts Journal, 66(5), 30-41.
Billio, M., Getmansky, M., Lo, A., and Pelizzon, L. (2012). Econometric Measures of Connectedness and Systemic Risk in the Finance and Insurance Sectors. Journal of Financial Economics, 104(3), 535-559.
Setup Keltner Banda 3 e 5 - MMS + RSI + Distância Tabela
📊 Indicator Overview: Keltner Bands + RSI + Distance Table
This custom TradingView indicator combines three powerful tools into a single, visually intuitive setup:
Keltner Channels (Bands 3x and 5x ATR)
Relative Strength Index (RSI)
Dynamic Table Displaying RSI and Price Distance from Moving Average (MMS)
🔧 Components and Functions
1. Keltner Channels (3x and 5x ATR)
Based on a Simple Moving Average (MMS) and Average True Range (ATR).
Two sets of bands are plotted:
3x ATR Bands: Used for moderate volatility signals.
5x ATR Bands: Used for high volatility extremes.
Visual fills between bands help identify overextended price zones.
2. RSI (Relative Strength Index)
Measures momentum and potential reversal zones.
Customizable overbought (default 70) and oversold (default 30) levels.
RSI values are color-coded in the table:
Green for RSI ≤ 30 (oversold)
Blue for 30 < RSI ≤ 70 (neutral)
Red for RSI > 70 (overbought)
3. Distance Table (Price vs. MMS)
Displays the real-time distance between the current price and the MMS:
In points (absolute difference)
In percentage (relative to MMS)
Helps traders assess how far price has deviated from its mean.
📈 How to Use
Trend Reversal Signals
Look for price crossing back inside the 3x or 5x Keltner Bands.
Confirm with RSI:
RSI > 70 + price re-entering from above = potential short
RSI < 30 + price re-entering from below = potential long
Volatility Zones
Price outside the 5x band indicates extreme movement.
Use this to anticipate mean reversion or breakout continuation.
Table Insights
Monitor RSI and price distance in real time.
Use color cues to quickly assess momentum and stretch.
⚙️ Customization
Adjustable parameters for:
MMS period
ATR multipliers
RSI period and thresholds
Table position on chart
Fill colors between bands
This indicator is ideal for traders who want a clean, data-rich visual tool to track volatility, momentum, and price deviation in one place.





















