Institutional Levels (CNN) - [PhenLabs]📊Institutional Levels (Convolutional Neural Network-inspired)
Version : PineScript™v6
📌Description
The CNN-IL Institutional Levels indicator represents a breakthrough in automated zone detection technology, combining convolutional neural network principles with advanced statistical modeling. This sophisticated tool identifies high-probability institutional trading zones by analyzing pivot patterns, volume dynamics, and price behavior using machine learning algorithms.
The indicator employs a proprietary 9-factor logistic regression model that calculates real-time reaction probabilities for each detected zone. By incorporating CNN-inspired filtering techniques and dynamic zone management, it provides traders with unprecedented accuracy in identifying where institutional money is likely to react to price action.
🚀Points of Innovation
● CNN-Inspired Pivot Analysis - Advanced binning system using convolutional neural network principles for superior pattern recognition
● Real-Time Probability Engine - Live reaction probability calculations using 9-factor logistic regression model
● Dynamic Zone Intelligence - Automatic zone merging using Intersection over Union (IoU) algorithms
● Volume-Weighted Scoring - Time-of-day volume Z-score analysis for enhanced zone strength assessment
● Adaptive Decay System - Intelligent zone lifecycle management based on touch frequency and recency
● Multi-Filter Architecture - Optional gradient, smoothing, and Difference of Gaussians (DoG) convolution filters
🔧Core Components
● Pivot Detection Engine - Advanced pivot identification with configurable left/right bars and ATR-normalized strength calculations
● Neural Network Binning - Price level clustering using CNN-inspired algorithms with ATR-based bin sizing
● Logistic Regression Model - 9-factor probability calculation including distance, width, volume, VWAP deviation, and trend analysis
● Zone Management System - Intelligent creation, merging, and decay algorithms for optimal zone lifecycle control
● Visualization Layer - Dynamic line drawing with opacity-based scoring and optional zone fills
🔥Key Features
● High-Probability Zone Detection - Automatically identifies institutional levels with reaction probabilities above configurable thresholds
● Real-Time Probability Scoring - Live calculation of zone reaction likelihood using advanced statistical modeling
● Session-Aware Analysis - Optional filtering to specific trading sessions for enhanced accuracy during active market hours
● Customizable Parameters - Full control over lookback periods, zone sensitivity, merge thresholds, and probability models
● Performance Optimized - Efficient processing with controlled update frequencies and pivot processing limits
● Non-Repainting Mode - Strict mode available for backtesting accuracy and live trading reliability
🎨Visualization
● Dynamic Zone Lines - Color-coded support and resistance levels with opacity reflecting zone strength and confidence scores
● Probability Labels - Real-time display of reaction probabilities, touch counts, and historical hit rates for active zones
● Zone Fills - Optional semi-transparent zone highlighting for enhanced visual clarity and immediate pattern recognition
● Adaptive Styling - Automatic color and opacity adjustments based on zone scoring and statistical significance
📖Usage Guidelines
● Lookback Bars - Default 500, Range 100-1000, Controls the historical data window for pivot analysis and zone calculation
● Pivot Left/Right - Default 3, Range 1-10, Defines the pivot detection sensitivity and confirmation requirements
● Bin Size ATR units - Default 0.25, Range 0.1-2.0, Controls price level clustering granularity for zone creation
● Base Zone Half-Width ATR units - Default 0.25, Range 0.1-1.0, Sets the minimum zone width in ATR units for institutional level boundaries
● Zone Merge IoU Threshold - Default 0.5, Range 0.1-0.9, Intersection over Union threshold for automatic zone merging algorithms
● Max Active Zones - Default 5, Range 3-20, Maximum number of zones displayed simultaneously to prevent chart clutter
● Probability Threshold for Labels - Default 0.6, Range 0.3-0.9, Minimum reaction probability required for zone label display and alerts
● Distance Weight w1 - Controls influence of price distance from zone center on reaction probability
● Width Weight w2 - Adjusts impact of zone width on probability calculations
● Volume Weight w3 - Modifies volume Z-score influence on zone strength assessment
● VWAP Weight w4 - Controls VWAP deviation impact on institutional level significance
● Touch Count Weight w5 - Adjusts influence of historical zone interactions on probability scoring
● Hit Rate Weight w6 - Controls prior success rate impact on future reaction likelihood predictions
● Wick Penetration Weight w7 - Modifies wick penetration analysis influence on probability calculations
● Trend Weight w8 - Adjusts trend context impact using ADX analysis for directional bias assessment
✅Best Use Cases
● Swing Trading Entries - Enter positions at high-probability institutional zones with 60%+ reaction scores
● Scalping Opportunities - Quick entries and exits around frequently tested institutional levels
● Risk Management - Use zones as dynamic stop-loss and take-profit levels based on institutional behavior
● Market Structure Analysis - Identify key institutional levels that define current market structure and sentiment
● Confluence Trading - Combine with other technical indicators for high-probability trade setups
● Session-Based Strategies - Focus analysis during high-volume sessions for maximum effectiveness
⚠️Limitations
● Historical Pattern Dependency - Algorithm effectiveness relies on historical patterns that may not repeat in changing market conditions
● Computational Intensity - Complex calculations may impact chart performance on lower-end devices or with multiple indicators
● Probability Estimates - Reaction probabilities are statistical estimates and do not guarantee actual market outcomes
● Session Sensitivity - Performance may vary significantly between different market sessions and volatility regimes
● Parameter Sensitivity - Results can be highly dependent on input parameters requiring optimization for different instruments
💡What Makes This Unique
● CNN Architecture - First indicator to apply convolutional neural network principles to institutional-level detection
● Real-Time ML Scoring - Live machine learning probability calculations for each zone interaction
● Advanced Zone Management - Sophisticated algorithms for zone lifecycle management and automatic optimization
● Statistical Rigor - Comprehensive 9-factor logistic regression model with extensive backtesting validation
● Performance Optimization - Efficient processing algorithms designed for real-time trading applications
🔬How It Works
● Multi-timeframe pivot identification - Uses configurable sensitivity parameters for advanced pivot detection
● ATR-normalized strength calculations - Standardizes pivot significance across different volatility regimes
● Volume Z-score integration - Enhanced pivot weighting based on time-of-day volume patterns
● Price level clustering - Neural network binning algorithms with ATR-based sizing for zone creation
● Recency decay applications - Weights recent pivots more heavily than historical data for relevance
● Statistical filtering - Eliminates low-significance price levels and reduces market noise
● Dynamic zone generation - Creates zones from statistically significant pivot clusters with minimum support thresholds
● IoU-based merging algorithms - Combines overlapping zones while maintaining accuracy using Intersection over Union
● Adaptive decay systems - Automatic removal of outdated or low-performing zones for optimal performance
● 9-factor logistic regression - Incorporates distance, width, volume, VWAP, touch history, and trend analysis
● Real-time scoring updates - Zone interaction calculations with configurable threshold filtering
● Optional CNN filters - Gradient detection, smoothing, and Difference of Gaussians processing for enhanced accuracy
💡Note
This indicator represents advanced quantitative analysis and should be used by traders familiar with statistical modeling concepts. The probability scores are mathematical estimates based on historical patterns and should be combined with proper risk management and additional technical analysis for optimal trading decisions.
Volatilite
Irrationality Index by CRYPTO_ADA_BTC"The market can be irrational longer than you can stay solvent" ~ John Maynard Keynes
This indicator, the Irrationality Index, measures how far the current market price has deviated from a smoothed estimate of its "fair value," normalized for recent volatility. It provides traders with a visual sense of when the market may be behaving irrationally, without giving direct buy or sell signals.
How it works:
1. Fair Value Calculation
The indicator estimates a "fair value" for the asset using a combination of a long-term EMA (exponential moving average) and a linear regression trend over a configurable period. This fair value serves as a smoothed baseline for price, balancing trend-following and mean-reversion.
2. Volatility-Adjusted Z-Score
The deviation between price and fair value is measured in standard deviations of recent log returns:
Z = (log(price) - log(fairValue)) / volatility
This standardization accounts for different volatility environments, allowing comparison across assets.
3. Irrationality Score (0–100)
The Z-score is transformed using a logistic mapping into a 0–100 scale:
- 50 → price near fair value (rational zone)
- >75 → high irrationality, price stretched above fair value
- >90 → extreme irrationality, unsustainable extremes
- <25 → high irrationality, price stretched below fair value
- <10 → extreme bearish irrationality
4. Price vs Fair Value (% deviation)
The indicator plots the percentage difference between price and fair value:
pctDiff = (price - fairValue) / fairValue * 100
- Positive values → Percentage above fair value (optimistic / overvalued)
- Negative values → Percentage below fair value (pessimistic / undervalued)
Visuals:
- Irrationality (%) Line (0–100) shows irrationality level.
- Background Colors: Yellow= high bullish irrationality, Green= extreme bullish irrationality, Orange= high bearish irrationality, Red= extreme bearish irrationality.
- Price - FairValue (%) plot: price deviation vs fair value (%), Colored green above 0 and red below 0.
- Label: display actual price, estimated fair value, and Z-score for the latest bar.
- Alerts: configurable thresholds for high and extreme irrationality.
How to read it:
- 50 → Market trading near fair value.
- >75 / >90 → Price may be irrationally high; risk of pullback increases.
- <25 / <10 → Price may be irrationally low; potential rebound zones, but trends can continue.
- Price - FairValue (%) plot → visual guide for % price stretch relative to fair value.
Notes / Warnings:
- Measures relative deviation, not fundamental value!
- High irrationality scores do not automatically indicate trades; markets can remain can be irrational longer than you can stay solvent .
- Best used with other tools: momentum, volume, divergence, and multi-timeframe analysis.
Andean Oscillator (Version 3.0 Sr.K)Andean Oscillator (Version 3.0 Sr.K)
This indicator is a momentum-based oscillator that measures the balance between bullish and bearish pressure.
🔧 How it works:
It calculates two adaptive envelopes around price and derives a "bullish" and "bearish" component.
The oscillator value is simply Bull - Bear, showing which side dominates.
A signal line (EMA of the oscillator) smooths the raw value.
Optionally, ±1σ levels are plotted to highlight statistically strong moves.
📊 What you see:
Histogram: Positive bars = bullish momentum, negative bars = bearish.
Orange Line: Signal line (EMA) used to confirm or anticipate reversals.
Zero Line: The equilibrium point. Crosses of this level signal a shift in market bias.
Green / Red Triangles: Buy and sell signals, either when crossing zero or crossing the signal line (depending on selected mode).
⚡ Early Signal Mode:
When enabled, signals trigger earlier — at the crossover between the oscillator and its signal line — allowing traders to enter potential reversals before a full zero-cross confirmation.
✅ Use cases:
Identify momentum shifts before price reversals.
Spot potential long/short setups with reduced lag.
Combine with price action or support/resistance for confirmation.
⚠️ Note: This is a tool for discretionary/manual trading. It does not open or close trades automatically. Always confirm with your own analysis and risk management.
TTT v6 — Price Action, Structure & Info Box v.250919TTT v6 is a trade-readiness tool that fuses EMA trend, structure breaks, and an ATR trailing stop. It prints gated BUY/SELL labels, shows a clear “NO TRADE → TRADE (LONG/SHORT)” Info Box with risk/sizing, supports session filtering, and includes alertconditions for signals and trade-ready flips.
VWAP + Range Breakout (Pre-Signal for Manual Entry)WHAT IT DOES
This tool highlights potential breakout opportunities when price sweeps the previous day’s high or low and aligns with VWAP and short-term range levels. It provides both pre-signals (early warnings) and confirmed signals (breakout closed) so traders can prepare before momentum accelerates.
Works on all timeframes and across markets (indices, forex, crypto). Especially useful during active London and New York sessions.
---
KEY FEATURES
Daily sweep logic: previous day high/low as liquidity reference
VWAP with cumulative calculation
Adjustable range breakout levels
Optional SMA trend filter
Session filter (London / NY trading hours)
Pre-Signal markers (early alert before breakout)
Confirmed LONG/SHORT signals after breakout close
Alerts for Pre-Long, Pre-Short, and Confirmed entries
---
HOW TO USE
1. Wait for price to sweep the previous day high/low.
2. Look for alignment with VWAP and the defined range breakout levels.
3. Use trend/session filters for higher accuracy.
4. Combine with your own risk management rules.
---
SETTINGS TIPS
Adjust range lookback for different timeframes (shorter for fast intraday, longer for higher timeframes).
Enable/disable session filters depending on your market.
Use SMA trend filter to stay aligned with higher-timeframe bias.
---
WHO IT’S FOR
Scalpers, intraday, and swing traders who want early signals when liquidity is taken and price is preparing for a breakout.
---
NOTES
For educational purposes only. No financial advice.
This script is open-source; redistribution follows TradingView rules.
Chhatrapati Indicator by TradeNitiX (Nitin Hajare)⚔️ Chhatrapati Indicator by TradeNitiX
A precision-driven trading system built to capture strong trends and avoid market noise. It blends range filtering, momentum checks, and volatility-based risk control for clean, confident entries and exits.
🔍 Core Strategy Components
1. Range Filter – Trend Detection
2. RSI – Momentum Confirmation
3. ADX – Trend Strength Filter
4. ATR – Volatility-Based Risk Management
💎 Highlights – Chhatrapati Indicator
✔ Display Profit/Loss values above each candle
✅ Clear Buy/Sell Signals – No guesswork, just precision entries and exits
📊 High Accuracy – Filters out false signals using multi-layer confirmation
⚡ Beginner-Friendly – Simple logic, powerful results for all skill levels
🔥 Multi-Market Compatibility – Works seamlessly on Forex, crypto, indices, stocks
🎯 Volatility-Based Risk Control – ATR-driven SL/TP for realistic, dynamic targets
🧠 Smart Trend Detection – Combines range filtering with ADX for strong setups
💡 Live Trade Demos – Real-time examples to build trader confidence
📈 Momentum + Strength Filters – RSI + ADX combo avoids weak or choppy trades
🛡️ Risk-Reward Focused – Built-in 3:1 RR logic for disciplined growth
🚀 Tested & Trusted – Proven results across multiple market conditions
⚙️ Key Advantages of Chhatrapati Indicator
✅ Noise-Free Trend Detection – Filters weak moves, locks onto strong trends
📊 RSI + ADX Confirmation – Only trades with real momentum and strength
🎯 ATR-Based Risk Control – Smart SL/TP placement, adapts to volatility
⏱️ Multi-Timeframe Ready – Works for scalping, swing, and intraday setups
👁️ Visual Clarity – Clean signals, SL/TP zones, and trend markers
🎯 Ideal Users
✔ Trend Followers – Ride strong moves with confidence
✔ Swing Traders – Target medium-term setups with solid RR
✔ Scalpers – Quick, precise entries with minimal noise
✔ Algo Traders – Use alerts for automated execution
Pairs Trading Scanner [BackQuant]Pairs Trading Scanner
What it is
This scanner analyzes the relationship between your chart symbol and a chosen pair symbol in real time. It builds a normalized “spread” between them, tracks how tightly they move together (correlation), converts the spread into a Z-Score (how far from typical it is), and then prints clear LONG / SHORT / EXIT prompts plus an at-a-glance dashboard with the numbers that matter.
Why pairs at all?
Markets co-move. When two assets are statistically related, their relationship (the spread) tends to oscillate around a mean.
Pairs trading doesn’t require calling overall market direction you trade the relative mispricing between two instruments.
This scanner gives you a robust, visual way to find those dislocations, size their significance, and structure the trade.
How it works (plain English)
Step 1 Pick a partner: Select the Pair Symbol to compare against your chart symbol. The tool fetches synchronized prices for both.
Step 2 Build a spread: Choose a Spread Method that defines “relative value” (e.g., Log Spread, Price Ratio, Return Difference, Price Difference). Each lens highlights a different flavor of divergence.
Step 3 Validate relationship: A rolling Correlation checks if the pair is moving together enough to be tradable. If correlation is weak, the scanner stands down.
Step 4 Standardize & score: The spread is normalized (mean & variability over a lookback) to form a Z-Score . Large absolute Z means “stretched,” small means “near fair.”
Step 5 Signals: When the Z-Score crosses user-defined thresholds with sufficient correlation , entries print:
LONG = long chart symbol / short pair symbol,
SHORT = short chart symbol / long pair symbol,
EXIT = mean reversion into the exit zone or correlation failure.
Core concepts (the three pillars)
Spread Method Your definition of “distance” between the two series.
Guidance:
Log Spread: Focuses on proportional differences; robust when prices live on different scales.
Price Ratio: Classic relative value; good when you care about “X per Y.”
Return Difference: Emphasizes recent performance gaps; nimble for momentum-to-mean plays.
Price Difference: Straight subtraction; intuitive for similar-scale assets (e.g., two ETFs).
Correlation A rolling score of co-movement. The scanner requires it to be above your Min Correlation before acting, so you’re not trading random divergence.
Z-Score “How abnormal is today’s spread?” Positive = chart richer than pair; negative = cheaper. Thresholds define entries/exits with transparent, statistical context.
What you’ll see on the chart
Correlation plot (blue line) with a dashed Min Correlation guide. Above the line = green zone for signals; below = hands off.
Z-Score plot (white line) with colored, dashed Entry bands and dotted Exit bands. Zero line for mean.
Normalized spread (yellow) for a quick “shape read” of recent divergence swings.
Signal markers :
LONG (green label) when Z < –Entry and corr OK,
SHORT (red label) when Z > +Entry and corr OK,
EXIT (gray label) when Z returns inside the Exit band or correlation drops below the floor.
Background tint for active state (faint green for long-spread stance, faint red for short-spread stance).
The two built-in dashboards
Statistics Table (top-right)
Pair Symbol Your chosen partner.
Correlation Live value vs. your minimum.
Z-Score How stretched the spread is now.
Current / Pair Prices Real-time anchors.
Signal State NEUTRAL / LONG / SHORT.
Price Ratio Context for ratio-style setups.
Analysis Table (bottom-right)
Avg Correlation Typical co-movement level over your window.
Max |Z| The recent extremes of dislocation.
Spread Volatility How “lively” the spread has been.
Trade Signal A human-readable prompt (e.g., “LONG A / SHORT B” or “NO TRADE” / “LOW CORRELATION”).
Risk Level LOW / MEDIUM / HIGH based on current stretch (absolute Z).
Signals logic (plain English)
Entry (LONG): The spread is unusually negative (chart cheaper vs pair) and correlation is healthy. Expect mean reversion upward in the spread: long chart, short pair.
Entry (SHORT): The spread is unusually positive (chart richer vs pair) and correlation is healthy. Expect mean reversion downward in the spread: short chart, long pair.
Exit: The spread relaxes back toward normal (inside your exit band), or correlation deteriorates (relationship no longer trusted).
A quick, repeatable workflow
1) Choose your pair in context (same sector/theme or known macro link). Think: “Do these two plausibly co-move?”
2) Pick a spread lens that matches your narrative (ratio for relative value, returns for short-term performance gaps, etc.).
3) Confirm correlation is above your floor no corr, no trade.
4) Wait for a stretch (Z beyond Entry band) and a printed LONG / SHORT .
5) Manage to the mean (EXIT band) or correlation failure; let the scanners’ state/labels keep you honest.
Settings that matter (and why)
Spread Method Defines the “mispricing” you care about.
Correlation Period Longer = steadier regime read, shorter = snappier to regime change.
Z-Score Period The window that defines “normal” for the spread; it sets the yardstick.
Use Percentage Returns Normalizes series when using return-based logic; keep on for mixed-scale assets.
Entry / Exit Thresholds Set your stretch and your target reversion zone. Wider entries = rarer but stronger signals.
Minimum Correlation The gatekeeper. Raising it favors quality over quantity.
Choosing pairs (practical cheat sheet)
Same family: two index ETFs, two oil-linked names, two gold miners, two L1 tokens.
Hedge & proxy: stock vs. sector ETF, BTC vs. BTC index, WTI vs. energy ETF.
Cross-venue or cross-listing: instruments that are functionally the same exposure but price differently intraday.
Reading the cues like a pro
Divergence shape: The yellow normalized spread helps you see rhythm fast spike and snap-back versus slow grind.
Corr-first discipline: Don’t fight the “Min Correlation” line. Good pairs trading starts with a relationship you can trust.
Exit humility: When Z re-centers, let the EXIT do its job. The edge is the journey to the mean, not overstaying it.
Frequently asked (quick answers)
“Long/Short means what exactly?”
LONG = long the chart symbol and short the pair symbol.
SHORT = short the chart symbol and long the pair symbol.
“Do I need same price scales?” No. The spread methods normalize in different ways; choose the one that fits your use case (log/ratio are great for mixed scales).
“What if correlation falls mid-trade?” The scanner will neutralize the state and print EXIT . Relationship first; trade second.
Field notes & patterns
Snap-back days: After a one-sided session, return-difference spreads often flag cleaner intraday mean reversions.
Macro rotations: Ratio spreads shine during sector re-weights (e.g., value vs. growth ETFs); look for steady corr + elevated |Z|.
Event bleed-through: If one symbol reacts to news and its partner lags, Z often flags a high-quality, short-horizon re-centering.
Display controls at a glance
Show Statistics Table Live state & key numbers, top-right.
Show Analysis Table Context/risk read, bottom-right.
Show Correlation / Spread / Z-Score Toggle the sub-charts you want visible.
Show Entry/Exit Signals Turn markers on/off as needed.
Coloring Adjust Long/Short/Neutral and correlation line colors to match your theme.
Alerts (ready to route to your workflow)
Pairs Long Entry Z falls through the long threshold with correlation above minimum.
Pairs Short Entry Z rises through the short threshold with correlation above minimum.
Pairs Trade Exit Z returns to neutral or the relationship fails your correlation floor.
Correlation Breakdown Rolling correlation crosses your minimum; relationship caution.
Final notes
The scanner is designed to keep you systematic: require relationship (correlation), quantify dislocation (Z-Score), act when stretched, stand down when it normalizes or the relationship degrades. It’s a full, visual loop for relative-value trading that stays out of your way when it should and gets loud only when the numbers line up.
Smart Money LITE — Daily Sweep → HQ Signals (VWAP • FVG • CHoCH) 🔗 PRO VERSION (VWAP + FVG + CHoCH — full confirmations, all timeframes):
chartedgepro.gumroad.com/l/rmnbhw
Daily liquidity sweep → confluence signals with VWAP, FVG & CHoCH. Works on all timeframes & markets (Indices, Forex, Crypto).
WHAT IT DOES
Smart Money LITE+ highlights high-quality LONG/SHORT signals only after daily liquidity is swept (previous day high/low) with confluence from VWAP, FVG and structure (BOS/CHoCH).
Works on all timeframes and across markets: indices, forex, crypto.
KEY FEATURES (Lite)
• Daily sweep logic (PDH/PDL) + previous day zones
• VWAP + deviation bands (optional) and proximity filter
• 3-bar FVG boxes (visual) with adjustable extension
• ATR/volatility filter, optional HTF trend filter
• Anti-spam cooldown, clean LONG/SHORT labels
• Alerts: HQ LONG / HQ SHORT
HOW TO USE
1. Wait for price to sweep PDH/PDL → indicator opens “signal window”.
2. Look for confluence: VWAP touch/proximity + CHoCH or BOS in direction.
3. Enter with proper risk management (stop beyond swing/zone, partials).
SETTINGS TIPS
• Enable “Require VWAP Confluence?” for strictest setups.
• Use “HTF Trend Filter?” to align with higher-timeframe EMA trend.
• Adjust “After sweep (bars)” to define signal validity window.
• FVGs are visual in Lite — advanced filtering and confirmation are in Pro.
WHO IT'S FOR
Scalpers, intraday, and swing traders looking for objective, visual signals based on liquidity sweeps and VWAP/FVG confluence.
PRO VERSION (full confirmations)
Adds advanced FVG/iFVG logic, more confluence filters, dynamic risk tools and extended alert packages — optimized for all timeframes.
👉 chartedgepro.gumroad.com/l/rmnbhw
NOTES
• For educational purposes only. No financial advice.
• “Lite” is open-source; redistribution of code follows TradingView rules.
Transaction Value Alert (4Cr+)Transactions with a value of INR 4 crore or above on a one-minute candle indicate FII or DII activity and confirms momentum and is an excellent indicator for the intraday trading
Japan Yen Carry Trade to Risk Ratio Sharpe Ratio By UncleBFMStep-by-Step Calculation in the ScriptFetch Rates:Pulls rates dynamically using request.security() from user-specified symbols (e.g., TVC:JP10Y for yen, TVC:US10Y for target). If unavailable (NA), uses fallback inputs (e.g., 0.25% for yen, 4.50% for target).
Converts rates to decimals: (target_rate - yen_rate) / 100.
Calculate Carry:Carry = (Target Rate - Yen Rate) / 100
Example: If US 10Y yield is 4.50% and Japan 10Y is 0.25%, carry = (4.50 - 0.25) / 100 = 0.0425 (4.25% annual yield).
Calculate Daily Log Returns:Log Returns = ln(Close / Close ), where Close is the current price of the pair (e.g., USDJPY) and Close is the previous day's price.
This measures daily percentage changes in a way suitable for volatility calculations.
Calculate Annualized Volatility:Volatility = Standard Deviation of Log Returns over a lookback period (default 63 days, ~3 months) × √252.
Example: If the standard deviation of USDJPY log returns is 0.005 (0.5% daily), annualized volatility = 0.005 × √252 ≈ 0.0794 (7.94%).
Compute the Ratio:Ratio = Carry / Volatility
Example: Using above, 0.0425 / 0.0794 ≈ 0.535.
If volatility is zero, the ratio is set to NA to avoid division errors.
Plot:Plots the ratio as a line, with optional thresholds (e.g., 0.2 for "high attractiveness") to guide interpretation.
NotesDynamic Rates: Using bond yields (e.g., TVC:JP10Y) or policy rates (e.g., ECONOMICS:JPINTR) makes the indicator responsive to historical and current rate changes, unlike static inputs.
Context: BIS reports use similar ratios to assess carry trade viability. For USDJPY in 2025, with Fed rates around 4.5% and BoJ at 0.25–0.5%, the carry is positive but sensitive to volatility spikes (e.g., during 2024 unwind events).
Usage: Apply to a yen pair chart (e.g., USDJPY, AUDJPY). Adjust symbols for the target currency (e.g., TVC:AU10Y for AUD). The ratio helps compare carry trade profitability across pairs or over time.
Day Filter (Trend or Chop)Calculates multitude of things, (atr, vix, opening range, ETH, and gap) to help determine if RTH will be trend based/mixed/or choppy.
Trend <35
Mixed 35-65
Choppy >65
FlowSpike ES — BB • RSI • VWAP + AVWAP + News MuteThis indicator is purpose-built for E-mini S&P 500 (ES) futures traders, combining volatility bands, momentum filters, and session-anchored levels into a streamlined tool for intraday execution.
Key Features:
• ES-Tuned Presets
Automatically optimized settings for scalping (1–2m), daytrading (5m), and swing trading (15–60m) timeframes.
• Bollinger Band & RSI Signals
Entry signals trigger only at statistically significant extremes, with RSI filters to reduce false moves.
• VWAP & Anchored VWAPs
Session VWAP plus anchored VWAPs (RTH open, weekly, monthly, and custom) provide high-confidence reference levels used by professional order-flow traders.
• Volatility Filter (ATR in ticks)
Ensures signals are only shown when the ES is moving enough to offer tradable edges.
• News-Time Mute
Suppresses signals around scheduled economic releases (customizable windows in ET), helping traders avoid whipsaw conditions.
• Clean Alerts
Long/short alerts are generated only when all conditions align, with optional bar-close confirmation.
Why It’s Tailored for ES Futures:
• Designed around ES tick size (0.25) and volatility structure.
• Session settings respect RTH hours (09:30–16:00 ET), the period where most liquidity and institutional flows concentrate.
• ATR thresholds and RSI bands are pre-tuned for ES market behavior, reducing the need for manual optimization.
⸻
This is not a generic indicator—it’s a futures-focused tool created to align with the way ES trades day after day. Whether you scalp the open, manage intraday swings, or align to weekly/monthly anchored flows, FlowSpike ES gives you a clear, rules-based signal framework.
Simplified Wave Trend Overbought/OversoldThis is just a variation of the popular wave trend that I find to be nicer to look at.
Daniel.Yer BB EntryMy BB entry strategy.
need to improve a little the code, but for start, its look very good.
also need to check the statistic in 3 and 5 min range.
Great Job :)
SMC BOS - Structure Breaks & Median Continuation ProjectionsThis tool shows what usually happens after a Break of Structure (BOS).
It scans past BOS events on your chart, finds the ones most similar to the latest break (using ATR to filter by volatility), and then plots the median continuation path.
Optional percentile bands (P10–P90) display the possible range of outcomes around the median.
Key features:
• Automatic detection of bullish and bearish BOS events
• Library of past BOS with adjustable size and spacing
• ATR-based similarity and recency weighting
• Median continuation projections with optional percentile bands
• Customizable colors, signals, and stats table
• Works on any market and timeframe
Use cases:
• See how price typically behaves after a BOS
• Support SMC analysis with data-driven projections
• Improve trade planning by visualizing likely continuations
• Apply across crypto, forex, stocks, and futures
Originality:
Instead of only marking BOS, this script learns from history and projects forward the median path of the most similar past cases, adjusted for volatility. It turns BOS signals into practical continuation scenarios.
Instructions:
Add the indicator to your chart. When a BOS is detected, the projection is drawn automatically.
Use the settings to adjust the library, ATR weighting, projection style, percentile bands, and the display of signals or stats.
For questions or customization, contact Julien Eche (Julien_Eche) on TradingView.
Advanced Trend & Volatility Indicator (VWAP & EMA360)Bollinger band with adjustable NO TRADE tool. green buy and red sell signals for 20 moving average added 360 moving average for micro trading. Has VWAP and additional EMA defaulted to 9 (adjust to your style). For confluence use this along with an RSI over bought and over sold WMA with similar green buy and red sell signals.
Vol ForecastEGARCHVol ForecastEGARCH – Volatility Forecast Tool
Measuring volatility means not only predicting direction but also understanding the magnitude of risk. Vol ForecastEGARCH brings advanced GARCH-based models into TradingView, projecting volatility directly onto your chart.
Features
Model Selection: GARCH(1,1), EGARCH(1,1), GJR(1,1)
Dynamic Recalibration: Parameters recalibrated every 50 bars.
Z-Score Flexibility: Default Z=1.28 (~80% confidence) adjustable by user.
Multiple Horizons: 6, 12, 48, and 96 bars ahead forecasts.
Visualization: Upper/lower bands plotted with dynamic colors.
Mini Panel: Displays α, β, γ/ω parameters and 1-step volatility %.
Who Is It For?
Short-term traders: Define stop-loss / take-profit levels on a statistical basis.
Portfolio managers: Integrate volatility-based risk assessment into allocation decisions.
Technical analysts: Align momentum and price action with volatility dynamics.
Especially valuable for high-volatility markets like Borsa Istanbul, where understanding risk intensity is as critical as direction.
Dynamic Stop Loss Optimizer [BackQuant]Dynamic Stop Loss Optimizer
Overview
Stop placement decides expectancy. This tool gives you three professional-grade, adaptive stop engines, ATR, Volatility, and Hybrid. So your exits scale with current conditions instead of guessing fixed ticks. It trails intelligently, redraws as the market evolves, and annotates the chart with clean labels/lines and a compact stats table. Pick the engine that fits the trade, or switch on the fly.
What it does
Calculates three adaptive stops in real time (ATR-based, Volatility-based, and Hybrid) and keeps them trailed as price makes progress.
Shows exactly where your risk lives with on-chart levels, color-coded markers (long/short), and precise “Risk %” labels at the current bar.
Surfaces context you actually use - current ATR, daily volatility, selected method, and the live stop level—in a tidy, movable table.
Fires alerts on stop hits so you can automate exits or journal outcomes without staring at the screen.
Why it matters
Adaptive risk control: Stops expand in fast tape and tighten in quiet tape. You’re not punished for volatility; you’re aligned with it.
Consistency across assets: The same playbook works whether you’re trading indexes, FX, crypto, or equities, because the engine normalizes to each symbol’s behavior.
Cleaner decision-making: One chart shows your entry idea and its invalidation in the same breath. If price trespasses, you know it instantly.
The three methods (choose your engine)
1) ATR Based “Structure-aware” distance
This classic approach keys off Average True Range to set a stop just beyond typical bar-to-bar excursion. It adapts smoothly to changing ranges and respects swing structure.
Use when: you want a steady, intuitive buffer that tracks trend legs without hugging price.
See it in action:
2) Volatility Based “Behavior-aware” distance
This engine derives stop distance from current return volatility (annualized, then scaled back down to the session). It reacts to regime shifts quickly and normalizes risk across symbols with very different prices.
Use when: you want the stop to breathe with realized volatility and respond faster to heat-ups/cool-downs.
See it in action:
3) Hybrid “Best of both worlds”
The Hybrid blends the ATR and Volatility distances into one consensus level, then trails it intelligently. You get the structural common sense of ATR and the regime sensitivity of Vol.
Use when: you want robust, all-weather behavior without micromanaging inputs.
See it in action:
How it trails
Longs: The stop ratchets up with favorable movement and holds its ground on shallow pullbacks. If price closes back into the risk zone, the level refreshes to the newest valid distance.
Shorts: Mirror logic ratchets down with trend, resists noise, and refreshes if price reclaims the zone.
Hybrid trailing: Uses the blended distance and the same “no give-backs” principle to keep gains protected as structure builds.
Reading the chart
Markers: Circles = ATR stops, Crosses = Vol stops, Diamonds = Hybrid. Colors indicate long (red level under price) vs short (green level above price).
Lines: The latest active stop is extended with a dashed line so you can see it at a glance.
Labels: “Long SL / Short SL” shows the exact price and current risk % from the last close no math required.
Table: ATR value, Daily Vol %, your chosen Method, the Current SL, and Risk %—all in one compact block that you can pin top-left/right/center.
Quick workflow
Define the idea: Long or Short, and which engine fits the tape (ATR, Vol, or Hybrid).
Place and trail: Let the optimizer print the level; trail automatically as the move develops.
Manage outcomes: If the line is tagged, you’re out clean. If it holds, you’ve contained heat while giving the trade room to work.
Inputs you’ll actually touch
Calculation Settings
ATR Length / Multiplier: Controls the “structural” cushion.
Volatility Length / Multiplier: Controls the “behavioral” cushion.
Trading Days: 252 or 365 to keep the volatility math aligned with the asset’s trading calendar.
Stop Loss Method
ATR Based | Volatility Based | Hybrid : Switch engines instantly to fit the trade.
Position Type
Long | Short | Both : Show only what you need for the current strategy.
Visual Settings
Show ATR / Vol / Hybrid Stops: Toggle families on/off.
Show Labels: Print price + Risk % at the live stop.
Table Position: Park the metrics where you like.
Coloring
Long/Short/Hybrid colors: Set a palette that matches your theme and stands out on your background.
Practical patterns to watch
Trend-pullback continuation: The stop ratchets behind higher lows (long) or lower highs (short). If price tests the level and rejects, that’s your risk-defined continuation cue.
Break-and-run: After a clean break, the Hybrid will usually sit slightly wider than pure Vol, use it to avoid getting shaken on the first retest.
Range compression: When the ATR and Vol distances converge, the table will show small Risk %. That’s your green light to size up with the same dollar risk, or keep it conservative if you expect expansion.
Alerts
Long Stop Loss Hit : Notifies when price crosses below the live long stop.
Short Stop Loss Hit : Notifies when price crosses above the live short stop.
Why this feels “set-and-serious”
You get a single look that answers three questions in real time: “Where’s my line in the sand?”, “How much heat am I taking right now?”, and “Is this distance appropriate for current conditions?” With ATR, Vol, and Hybrid in one tool, you can run the exact same playbook across symbols and regimes while keeping your chart clean and your risk explicit.
SMR - Simple Market Recap📊 Simple Market Recap (SMR)
🎯 A comprehensive market overview tool displaying price changes, percentage movements, and status indicators for multiple financial instruments across customizable timeframes with intelligent data synchronization.
━━━━━━━━━━━━━━
📋 OVERVIEW
The Simple Market Recap indicator provides a professional market analysis dashboard that displays key performance metrics for major financial instruments. This educational tool features intelligent asset selection, automatic dark mode detection, comprehensive period analysis with bilingual support, and advanced data synchronization ensuring accurate price data regardless of the current chart symbol.
Perfect for:
Market overview analysis and educational study
Multi-asset performance comparison and research
Weekly, daily, and monthly market recap visualization
Educational purposes and market trend analysis
━━━━━━━━━━━━━━
🚀 KEY FEATURES & ENHANCEMENTS
🌙 Intelligent Dark Mode Detection
Automatic chart background color analysis and adaptation
Dynamic color scheme adjustment for optimal visibility
Enhanced contrast ratios for both light and dark themes
Professional appearance across all chart backgrounds
📊 Comprehensive Asset Coverage
Major Forex Pairs: EURUSD, GBPUSD, AUDUSD, NZDUSD, USDCHF, USDJPY, USDCAD
Indices & Dollar: DXY (US Dollar Index), SPX (S&P 500)
Commodities: XAUUSD (Gold), USOIL (Crude Oil)
Bonds: US10Y (10-Year Treasury)
Cryptocurrencies: BTCUSDT, ETHUSDT
Selective asset display with individual on/off controls
Fixed asset order: DXY, EURUSD, GBPUSD, AUDUSD, NZDUSD, USDCHF, USDCAD, USDJPY, XAUUSD, USOIL, SPX, US10Y, ETHUSDT, BTCUSDT
⏰ Flexible Timeframe Analysis
Multiple Periods: Daily (1D), Weekly (1W), Monthly (1M)
Time Selection: Current Period or Previous Period analysis
Dynamic Titles: Automatic report naming with dates and periods
Historical Comparison: Compare current vs previous period performance
📈 Enhanced Data Visualization
Professional table with adaptive row count based on selected assets
Color-coded price movements: Enhanced green for positive, bright red for negative
Status emojis: ↗️ Up, ↘️ Down, ↔️ Sideways, ❓ No data
Smart price formatting based on asset type and price level
Improved contrast colors for better visibility in all lighting conditions
🔄 Advanced Data Synchronization
Symbol-Independent Accuracy: Correct data display regardless of current chart symbol
Real-Time Security Requests: Direct data fetching from specific instrument sources
Cross-Asset Reliability: Accurate price data for all monitored assets simultaneously
Data Integrity: No cross-contamination between different financial instruments
━━━━━━━━━━━━━━
🎨 PROFESSIONAL TABLE LAYOUT
Adaptive Design Features:
Automatic dark mode detection and color adaptation
Enhanced contrast ratios for better readability
Professional color scheme with clear data separation
Responsive design for all screen sizes and themes
Comprehensive Data Display:
Dynamic Title Row: Period-specific report titles with dates
Asset Column: Selected financial instruments
Open/Close Prices: Period opening and closing values
Change Percentage: Color-coded performance indicators
Pips Movement: Precise pip calculations for each asset
Status Indicators: Visual emoji representations of trend direction
Visual Design Features:
Merged title cells for clean header presentation
Asset-specific price formatting for optimal readability
Color-coded positive/negative movements
Professional table borders and spacing
━━━━━━━━━━━━━━
⚙️ ADVANCED CUSTOMIZATION
Timeframe Controls:
Report Period selection: Daily, Weekly, or Monthly analysis
Time Selection toggle: Current vs Previous period comparison
Dynamic row count based on active asset selection
Automatic title generation with period-specific formatting
Asset Selection:
Individual toggle controls for each supported asset
Major forex pairs with complete coverage
Cryptocurrency and precious metals options
Index and commodity instrument support
Display Options:
9 table positioning options across the entire chart
5 text size levels from Tiny to Huge for optimal visibility
Language selection between English and Vietnamese
Automatic theme adaptation for all chart backgrounds
━━━━━━━━━━━━━━
⚠️ EDUCATIONAL & ANALYTICAL PURPOSE
This indicator is designed exclusively for educational market analysis and research purposes .
📚 Educational Applications:
Understanding multi-asset market performance correlation
Studying period-based price movements and trends
Analyzing market volatility across different timeframes
Learning to read and interpret market recap data
📊 Analysis Capabilities:
Market overview visualization for educational study
Multi-timeframe performance comparison research
Historical period analysis and trend identification
Cross-asset correlation studies and market research
🚨 Important Disclaimer: This tool provides educational market data visualization only and does NOT generate trading signals or investment advice. All data is for learning and analysis purposes. Users must conduct independent research and consult financial professionals before making any investment decisions.
━━━━━━━━━━━━━━
🛠️ SETUP & CONFIGURATION
Quick Start Guide:
Add the indicator to your chart from the indicators library
Select your preferred language (English or Vietnamese)
Choose your desired reporting timeframe (Daily, Weekly, or Monthly)
Select Current Period or Previous Period for analysis
Toggle on/off specific assets you want to monitor
Adjust table position and text size for optimal viewing
Advanced Configuration:
Customize asset selection based on your analysis needs
Configure timeframe settings for different market studies
Set up language preferences for your region
Fine-tune display options for your screen setup
Optimize table positioning for your chart layout
Theme Optimization:
Indicator automatically detects your chart theme
Colors adapt automatically for optimal contrast and readability
No manual adjustments required for theme changes
Professional appearance maintained across all backgrounds
━━━━━━━━━━━━━━
🔧 TECHNICAL SPECIFICATIONS
Performance & Reliability:
Pine Script v6 with optimized data retrieval
Real-time updates with minimal CPU and memory usage
No repainting or lookahead bias in calculations
Stable performance across all timeframes and instruments
Universal Compatibility:
Works with all TradingView chart types and instruments
Compatible with mobile and desktop platforms
Supports all timeframes with period-specific analysis
Cross-platform functionality with consistent behavior
Data Precision:
High-precision floating-point calculations
Asset-specific formatting and pip calculations
Real-time price data from multiple exchanges
Accurate percentage and movement calculations
Advanced Features:
Automatic chart background detection and color adaptation
Dynamic table sizing based on active asset selection
Intelligent price formatting for different asset classes
Professional status indicators with emoji visualization
━━━━━━━━━━━━━━
📋 VERSION HISTORY
v1.7 - Enhanced Data Synchronization & Color Improvements
Fixed critical data synchronization issue - accurate data regardless of current chart symbol
Enhanced data retrieval system with symbol-specific security requests
Improved color scheme: brighter red for negative values, enhanced contrast
Fixed asset order: DXY, EURUSD, GBPUSD, AUDUSD, NZDUSD, USDCHF, USDCAD, USDJPY, XAUUSD, USOIL, SPX, US10Y, ETHUSDT, BTCUSDT
Optimized price formatting with proper decimal display and leading zeros
Enhanced calendar-based time calculations for accurate period reporting
Improved pip calculations for different asset classes
Professional color coding with adaptive contrast for all themes
Previous Versions:
v1.6 - Data accuracy improvements and bug fixes
v1.5 - Enhanced market analysis with flexible timeframes
v1.4 - Professional table layout and bilingual support
Earlier versions - Core market data display functionality development
━━━━━━━━━━━━━━
Author: tohaitrieu
Version: 1.7
Category: Market Analysis / Educational Overview
Language Support: English, Vietnamese
License: Educational Use Only
This indicator is provided exclusively for educational and analytical purposes to help users understand market overview concepts and multi-asset analysis. It features automatic theme adaptation, flexible timeframe analysis, enhanced data synchronization, and comprehensive market data visualization for the most accurate and informative educational experience. It does not provide trading signals or investment advice. Always conduct thorough research and consider professional guidance before making financial decisions.
DashBoard 2.3.1📌 Indicator Name:
DashBoard 2.3 – Smart Visual Market Overlay
📋 Description:
DashBoard 2.3 is a clean, efficient, and highly informative market overlay, designed to give you real-time context directly on your chart — without distractions. Whether you're swing trading or investing long-term, this tool keeps critical market data at your fingertips.
🔍 Key Features:
Symbol + Timeframe + Market Cap
Shows the current ticker and timeframe, optionally with real-time market cap.
ATR 14 with Volatility Signal
Displays ATR with color-coded risk levels:
🟢 Low
🟡 Moderate
🔴 High
⚫️ Extreme
You can choose between Daily ATR or timeframe-based ATR (auto-adjusted to chart resolution).
Adaptive Labeling
The ATR label updates to reflect the resolution:
ATR 14d (daily)
ATR 14W (weekly)
ATR 14H (hourly), etc.
Moving Average Tracker
Instantly shows whether price is above or below your selected moving average (e.g., 150 MA), with green/red indication.
Earnings Countdown
Clearly shows how many days remain until the next earnings report.
Industry & Sector Info (optional)
Useful for thematic or sector-based trading strategies.
Fully Customizable UI
Choose positioning, padding, font size, and which data to show. Designed for minimalism and clarity.
✅ Smart Logic:
Color dots appear only in relevant conditions (e.g., ATR color signals shown only on daily when enabled).
ATR display automatically reflects your time frame, if selected.
Clean chart integration – the overlay sits quietly in a corner, enhancing your analysis without intruding.
🧠 Ideal for:
Swing traders, position traders, and investors who want fast, high-impact insights directly from the chart.
Anyone looking for a compact, beautiful, and informative dashboard while they trade.
EyeOn VolatilityEyeOn Volatility tracks how market volatility affects trading spreads. It adapts dynamically using recent price fluctuations and shows symmetric bid/ask bands around the chart. A live info box displays the current spread in percent, and an optional panel lets you review spread history over time.
RSI/Stochastic with overlays a moving average + Bollinger BandsCompact oscillator panel that lets you switch the base between RSI and Stochastic %K, then overlays a moving average + Bollinger Bands on the oscillator values (not on price) to read momentum strength and squeeze/expansion.
What’s added
Selectable base: RSI ↔ Stochastic %K (plots %D when Stoch is chosen).
MA + BB on oscillator to gauge momentum trend (MA) and volatility (bands).
Adjustable bands 70/50/30 with optional fill, plus optional regular divergence and alerts.
How to read
Bull bias: %K above osc-MA and pushing/closing near Upper BB; confirm with %K > %D.
Bear bias: %K below osc-MA and near Lower BB; confirm with %K < %D.
Squeeze: BB on oscillator tightens → expect momentum breakout.
Overextension: repeated touches of Upper/Lower BB in 70/30 zones → strong trend; watch for %K–%D recross.
Quick settings (start here)
Stoch: 14 / 3 / 3; Bands: 70/50/30.
Osc-MA: EMA 14.
BB on oscillator: StdDev 2.0 (tune 1.5–2.5).
Note
Analysis tool, not financial advice. Backtest across timeframes and use risk management.
Advanced Grid Trading System - [WOLONG X DBG]Overview
This sophisticated grid trading system combines Bollinger Bands breakout analysis with RSI filtering to create a comprehensive automated trading approach. The system implements advanced grid management with dynamic lot sizing, intelligent ATR-based spacing, and comprehensive risk management features including drawdown protection, time-based trading controls, and multi-level position management.
Methodology
The indicator employs a multi-layered analytical approach based on established technical analysis principles:
Core Signal Generation
Bollinger Bands Breakout Engine: Utilizes customizable period Bollinger Bands (default 35) with highest/lowest price detection over the calculation period to identify potential reversal points when price breaks below recent lows or above recent highs
RSI Confirmation Filter: Implements RSI-based signal filtering with customizable maximum RSI values to avoid entries during overbought/oversold conditions, requiring RSI below (50 - max_rsi_value) for buy signals and above (50 + max_rsi_value) for sell signals
Grid Management System: Advanced progressive grid system with configurable pip-based spacing, intelligent ATR-based distance calculation, and cumulative lot sizing with customizable multipliers
Advanced Features
Dynamic Lot Sizing: Eight calculation methods including Fixed Lot, Dynamic by Balance/Equity, and risk-based percentage approaches (Low Risk 20%, Medium Risk 40%, High Risk 80%, Extreme Risk 120%, Margin Loading)
Comprehensive Risk Management: Multi-layered drawdown protection with percentage and absolute value limits, automatic position closure options, and trading suspension features with time-based recovery
Time-Based Controls: Configurable GMT-based trading hours with start/stop times for session-specific trading and market condition adaptation
Key Components
Signal Types
Primary Entry Signals: Buy signals when price breaks below recent lowest values within Bollinger period with RSI confirmation; Sell signals when price breaks above recent highest values with RSI confirmation
Grid Expansion Logic: Automatic additional entries based on configurable pip distances from base price, triggered when price moves against initial position by specified intervals
Take Profit Systems: Dual-mode TP calculation using either weighted average across all positions or individual level TP with customizable pip values
Stop Loss Protection: Grid-wide SL with customizable pip distances or default 1000-pip protection
Visual Elements
Bollinger Bands Display: Three-line Bollinger Bands system with upper, middle (SMA), and lower bands for trend and volatility analysis
Grid Base Line: Yellow dashed line showing initial grid entry level with right extension for reference
Comprehensive TP/SL Lines: Dual-line system showing both first order reference levels (dotted, light colors) and official Martingale weighted average levels (solid, bold colors)
Entry Point Labels: Detailed entry markers showing BUY/SELL direction, grid level, and lot size information
Dual Dashboard System: Main control panel (top-right) and dark theme entry log (bottom-right) with real-time status updates
Usage Instructions
Basic Configuration
Capital Management: Select lot calculation method from dropdown (recommended: "Low Risk 20%" for conservative approach)
Grid Parameters: Configure trading distance (default 35 pips) and enable smart distance for ATR-based dynamic adjustments
Strategy Settings: Set Bollinger period (35), RSI period (20), and maximum RSI value (15) for signal filtering
Risk Controls: Configure maximum drawdown percentage and action when limits are exceeded
Signal Interpretation
Buy Entry Conditions: Generated when current close price breaks below the lowest price in the Bollinger calculation period, with RSI below (50 - max_rsi_value)
Sell Entry Conditions: Generated when current close price breaks above the highest price in the Bollinger calculation period, with RSI above (50 + max_rsi_value)
Grid Expansion: Automatic additional entries when price moves against position by configured pip distances, with progressive lot sizing using multipliers
Exit Conditions: Weighted average TP achievement, breakeven after specified grid levels, or manual cycle completion
Dashboard Analysis
Main Control Panel: Displays current grid level, trading direction, open orders count, total volume, next lot size, grid P&L, current balance, floating drawdown, RSI status, trading hours, and system locks
Dark Theme Entry Log: Shows recent entry history with timestamps, entry types (BUY/SELL), prices, lot sizes, and grid levels for trade tracking
Risk Monitoring: Real-time drawdown tracking with color-coded warnings and automatic protection activation
Risk Management Features
Automatic Protections
Drawdown Limits: Configurable percentage (default 100%) and absolute USD drawdown limits with four response options: Close Orders and Stop 24h/Until Restart, or Prevent New Grid/Until Restart
Position Sizing: Eight dynamic lot calculation methods based on account equity, balance, or risk tolerance with maximum lot size limits
Grid Limitations: Maximum number of grid levels (default 9) to prevent excessive exposure accumulation
Time Controls: GMT-based trading hour restrictions to avoid high-volatility periods or specific market sessions
Confirmation Requirements
Multi-Indicator Alignment: Requires both Bollinger Bands breakout and RSI confirmation before signal generation
Intelligent Spacing: ATR-based grid spacing adjustment using short-term (96-period) vs long-term (672-period) ATR ratio for market volatility adaptation
Progressive Sizing: Configurable lot multipliers for different grid levels (Order 2: 1.0x, Orders 3-5: 2.0x, Orders 6+: 1.5x default)
Optimal Settings
Timeframe Recommendations
Scalping: 1M-5M charts with reduced grid spacing (20-25 pips) and tighter RSI filters
Day Trading: 15M-1H charts with standard settings (35 pips) and default RSI parameters
Swing Trading: 4H-Daily charts with increased spacing (50+ pips) and relaxed RSI filters
Market Conditions
Trending Markets: Reduce RSI maximum value to 10-12, increase grid spacing to 40-50 pips, enable breakeven functionality
Ranging Markets: Standard settings with weighted TP enabled and moderate grid spacing
High Volatility: Enable smart distance, reduce maximum grid levels to 6-7, increase drawdown limits
Advanced Features
Customization Options
Lot Calculation Methods: Eight different approaches from fixed lot (0.01) to risk-based percentage calculations with margin loading options
Grid Multipliers: Separate multiplier settings for different grid levels (2nd order, 3rd-5th orders, 6th+ orders) with decimal precision
TP/SL Configuration: Individual or weighted average TP calculation with positive/negative pip values, breakeven after specified levels
Visual Controls: Toggle options for dashboard display, entry labels, TP/SL lines, lot information, and dark theme components
Technical Specifications
Grid Management: Up to 50 configurable grid levels with progressive lot sizing and cumulative position tracking
Risk Controls: Dual drawdown limits (percentage and absolute) with four different response actions and time-based recovery
Time Management: GMT-based trading hours with flexible start/end times supporting overnight sessions
Alert System: Five comprehensive alert conditions for new signals, drawdown warnings, maximum levels, and cycle completion
Important Limitations
Lagging Nature: Signals may appear after optimal entry points due to confirmation requirements and breakout validation
Grid Risk: Progressive lot sizing can lead to significant exposure accumulation during extended adverse price movements
Market Dependency: Performance varies significantly between trending and ranging market conditions, requiring parameter adjustments
Computational Load: Complex multi-array calculations and real-time dashboard updates may impact performance on slower devices
No Guarantee: All signals are suggestions based on technical analysis calculations and may be incorrect
Educational Disclaimers
This indicator is designed for educational and analytical purposes only. It represents a technical analysis tool based on mathematical calculations of historical price data and should not be considered as financial advice or trading recommendations.
Risk Warning: Grid trading involves substantial risk of loss and is not suitable for all investors. The progressive lot sizing methodology can lead to significant exposure accumulation during adverse market movements. Past performance of any trading system or methodology is not necessarily indicative of future results.
Important Notes:
Always conduct your own analysis before making trading decisions
Use appropriate position sizing and risk management strategies
Never risk more than you can afford to lose
Consider your investment objectives, experience level, and risk tolerance
Seek advice from qualified financial professionals when needed
Grid trading can result in multiple simultaneous positions with compounding risk exposure
Performance Disclaimer: Backtesting results do not guarantee future performance. Market conditions change constantly, and what worked in the past may not work in the future. The indicator's mathematical calculations are based on historical data patterns that may not repeat. Always paper trade new strategies before risking real capital.
System Limitations: The indicator relies on technical analysis principles and may produce false signals during unusual market conditions, news events, or periods of extreme volatility. Users should implement additional confirmation methods and maintain strict risk management protocols.