التقلب
Prime -Hub Prime -Hub is a comprehensive, all-in-one technical analysis toolkit designed for professional Intraday and Swing traders on Nifty, BankNifty, and Stocks. This script consolidates three powerful institutional logic systems into a single, clean interface, replacing the need for multiple indicators.
Disclaimer: This tool is for educational and analytical purposes only. Past performance does not guarantee future results. Trading involves substantial risk.
MADD Monkey Pro DMCx Directional Momentum and Confluence EngineMadd Monkey Pro DMCx is a bias and momentum indicator that helps intraday traders read short-term direction and the strength of current moves. It is designed to provide structured context so you can decide when conditions support your ideas and when they do not.
Purpose
DMCx is built to help you answer:
What is the current directional bias on this chart?
Is momentum supporting that direction or fading?
Does the current environment meet the confluence conditions you have defined?
Core components (high-level logic)
DMCx combines several elements:
Directional engine – evaluates recent price behavior to classify conditions as bullish, bearish or neutral.
Momentum and volatility engine – distinguishes between stronger impulsive moves and slower or less convincing movement.
Confluence layer – optional filters requiring agreement between direction, momentum and other conditions before highlighting a setup.
Signal quality tagging – internal tagging that lets you treat some conditions as higher or lower quality, depending on your configuration.
These components are presented through chart markers and a compact status panel summarizing the current bias and momentum state.
Key features
Clear bias / regime read to show whether price is trending up, trending down or in more neutral conditions.
Momentum and volatility context to help distinguish between strong pushes and weaker phases.
Optional confluence filters so only aligned conditions are highlighted.
A status panel that provides a high-level snapshot of bias, momentum and simple tallies based on how you interpret the output.
Modular controls allowing you to toggle key visuals (signals, labels, panel) on or off to match your preferred chart layout.
Suggested usage
Symbols and timeframes: Can be used on XAUUSD, FX pairs, indices and other liquid instruments. Intraday frames like 15m, 5m or 1h are common use cases, but you may explore higher or lower timeframes according to your own testing.
Define your higher timeframe bias and important price levels using your own methods.
Use DMCx to check:
Whether short-term direction is aligned with your idea.
Whether momentum supports that view or suggests caution.
Consider taking trades only when your setup and the DMCx context agree, and you have clear rules for entry, stop loss and target.
Treat the readings as context, not as standalone entry or exit signals.
Notes and limitations
DMCx does not repaint closed bars, but its bias and momentum states update as new data appears. This is normal for any real-time context tool.
Any performance-style interpretation of the output depends completely on how you choose to use it. The script does not guarantee results.
Risk disclaimer
This script is provided for informational and educational purposes only. It does not constitute financial advice, investment advice or a solicitation to buy or sell any financial instrument. Trading and investing in financial markets involve significant risk, and you can lose more than your initial investment. Past performance and historical behavior do not guarantee future results.
By using Madd Monkey Pro DMCx, you accept full responsibility for your own trading decisions and outcomes. The author is not liable for any loss or damage arising from the use of this script.
FxAST Trend Force [ALLDYN]Attribution
This indicator is based on the original Trend Speed Analyzer created by Zeiierman .
FxAST Trend Force is a modified and simplified derivative that preserves the core methodology while focusing on clarity, usability, and practical trend interpretation .
This indicator is intended for educational and analytical use. Derivative works must retain attribution and license terms.
__________________________________________________________________________________
FxAST Trend Force
Overview
FxAST Trend Force is a directional pressure indicator designed to show who is in control of the market and how strong that control is, in real time.
Instead of measuring raw price speed or traditional momentum, this tool focuses on trend force — the sustained push of price relative to a dynamic trend baseline. The result is a clean, intuitive view of trend direction, strength, and condition without complex math or hard-to-interpret ratios.
This indicator is best used as a trend confirmation and trade management tool , not a standalone signal generator.
_________________________________________________________________________________
How It Works
FxAST Trend Force uses a Dynamic Moving Average (DMA) that adapts to changing market conditions. Price behavior relative to this adaptive trend line determines the current trend regime.
While price remains on one side of the trend:
Directional pressure accumulates
Strength builds or weakens
The regime resets only when price decisively crosses the trend
This creates a clear visual representation of trend persistence vs exhaustion , rather than short-term noise.
__________________________________________________________________________________
Core Concepts (Plain English)
Trend
Shows the current directional bias:
Bull → price above the dynamic trend
Bear → price below the dynamic trend
This answers: “Which side is currently in control?”
__________________________________________________________________________________
Strength
Displays how strong the current trend pressure is on a 0–100 scale , normalized to recent market conditions.
Strength is shown both as:
A simple label: Weak / Normal / Strong
A visual meter for quick interpretation
This answers: “Is this move weak, average, or meaningful?”
__________________________________________________________________________________
State
Indicates whether trend force is:
Building → pressure increasing
Fading → pressure weakening
This answers: “Is the trend gaining energy or losing it?”
__________________________________________________________________________________
Visual Meter
A compact bar at the bottom of the table represents trend force intensity at a glance.
Longer bar → stronger sustained pressure
Shorter bar → weaker or stalling trend
No ratios. No multipliers. Just visual clarity.
__________________________________________________________________________________
How to Use
Trend Confirmation
Favor longs when Trend = Bull and Strength = Normal/Strong
Favor shorts when Trend = Bear and Strength = Normal/Strong
__________________________________________________________________________________
Trade Management
Building state supports continuation
Fading state warns of exhaustion, consolidation, or potential reversal
__________________________________________________________________________________
Filtering Noise
Weak strength often signals chop or low-quality conditions
Strong force helps filter false breakouts
__________________________________________________________________________________
Settings (Simplified)
Maximum Length
Controls how smooth or responsive the dynamic trend is.
Accelerator Multiplier
Adjusts how quickly the trend adapts to price changes.
Lookback Period
Defines the window used to normalize trend force.
Enable Candles
Colors price candles by trend force for visual clarity.
Show Simple Table
Toggles the Trend / Strength / State display.
__________________________________________________________________________________
Philosophy
FxAST Trend Force is intentionally not a signal-spamming indicator.
It is designed to reduce cognitive load , not increase it.
If you need:
exact entries → use price action
exact exits → use structure
context and confirmation → use Trend Force
__________________________________________________________________________________
Disclaimer
This indicator is provided for educational purposes only and does not constitute financial advice. Trading involves risk, and users are responsible for their own decisions.
Al-Bayan Pro [Visual Overlay] Beta Tester
Description:
Concept & Methodology Albayan Pro is a specialized mean-reversion system designed to clarify market noise and identify high-probability reversal points. Unlike standard indicators that merely lag behind price, Albayan Pro utilizes a dynamic central baseline—the Albayan Line—to determine the asset's "fair value" in real-time.
The strategy is built on the principle that price inevitably returns to its established equilibrium after identifying exhaustion points:
The Albayan Line: A volatility-adaptive baseline that anchors the trend.
Signal Logic:
Buy (Reversal): Generated when price deviates significantly below the Albayan Line (oversold zone), signaling that selling pressure has likely peaked.
Sell (Reversal): Generated when price extends significantly above the Albayan Line (overbought zone), indicating a potential pullback.
How to Use Albayan Pro This tool is optimized for the timeframe on .
Entry: Wait for the specific "Rev Buy" or "Rev Sell" labels. These signals often trigger during volatility spikes; ensure the candle closes to confirm the signal validity.
Risk Management: As this is a reversion strategy, stops should be placed below the recent swing low (for buys) or above the swing high (for sells).
Exit: The primary target is a return to the Albayan Line, capturing the "snap back" move.
Backtest Performance (Internal Data) Based on our analysis of Gold (XAUUSD) price action:
Buy Signals demonstrated high reliability, with an ~81% win rate over a 2–4 hour holding period in recent testing.
Sell Signals function best as quick scalps or exit warnings for existing long positions.
Originality Albayan Pro does not rely on standard RSI or Bollinger Band calculations. It uses a unique, absolute-distance calculation from the proprietary Albayan Line to filter false signals, ensuring you only see alerts when statistical deviation is significant.
SuperLazyTradeSuperLazyTrade transforms SuperTrend into a professional day-trading system with intelligent quality filtering.
Instead of showing every signal, it rates each setup on a 100-point scale analyzing:
- Signal Freshness - Catch moves early
- Volume Strength - Confirm momentum
- VWAP Alignment - Trade with institutions
- Volatility Regime - Optimal market conditions
- RSI Confirmation - Momentum validation
The system blocks 35-40% of low-quality signals automatically, enforcing discipline with clear verdicts:
✅ JUMP (80+) - Best setups
⚡ TRADE (65-79) - Strong entries
⚠️ CAUTION (55-64) - Proceed carefully
🟡 TREND (45-54) - Mid-trend opportunities
🔴 AVOID (0-44) - Skip it
Features live P&L tracking, professional 11-row dashboard, and anti-repainting architecture. Perfect for traders who value quality over quantity.
⚠️ DISCLAIMER
This indicator does not guarantee profits. Trading involves substantial risk of loss. Past performance is not indicative of future results. Use at your own risk.
CODEX OB + BBMA V1CODEX OB + BBMA is a multi-purpose Smart Money Concepts (SMC) indicator that automatically detects and visualizes key institutional trading elements such as Order Blocks, Fair Value Gaps, Rejection Blocks, Break of Structure, Pivots, High Volume Bars, and several qualitative SMC signals.
In addition to SMC tools, this indicator also incorporates multi-timeframe BBMA logic, allowing traders to view higher-timeframe momentum, trend direction, and volatility envelopes directly from the current chart. This makes it easier to align SMC setups—like OB, FVG, and BOS—with BBMA structure such as MA touches, re-entry zones, extreme candles, and volatility expansions.
This combination helps traders identify institutional footprints, multi-timeframe confluence, and displacement-based setups with high clarity.
Bollinger Bands Forecast [QuantAlgo]🟢 Overview
Bollinger Bands are widely recognized for mapping volatility boundaries around price action, but they inherently lag behind market movement since they calculate based on completed bars. The Bollinger Bands Forecast addresses this limitation by adding a predictive layer that attempts to project where the upper band, lower band, and basis line might position in the future. The indicator provides three unique analytical models for generating these projections: one examines swing structure and breakout patterns, another integrates volume flow and accumulation metrics, while the third applies statistical trend fitting. Traders can select whichever methodology aligns with their market view or trading style to gain visibility into potential future volatility zones that could inform position planning, risk management, and timing decisions across various asset classes and timeframes.
🟢 How It Works
The core calculation begins with traditional Bollinger Bands: a moving average basis line (configurable as SMA, EMA, SMMA/RMA, WMA, or VWMA) with upper and lower bands positioned at a specified number of standard deviations away. The forecasting extension works by first generating predicted price values for upcoming bars using the selected method. These projected prices then feed into a rolling calculation that simulates how the basis line would update bar by bar, respecting the mathematical properties of the chosen moving average type. As each new forecasted price enters the calculation window, the oldest historical price drops out, mimicking the natural progression of the moving average. The system recalculates standard deviation across this evolving price window and applies the multiplier to determine where upper and lower bands would theoretically sit. This process repeats for each of the forecasted bars, creating a connected chain of potential future band positions that render as dashed lines on the chart.
🟢 Key Features
1. Market Structure Model
This forecasting approach interprets price through the lens of swing analysis and structural patterns. The algorithm identifies pivot highs and lows across a definable lookback window, then tracks whether price is forming higher highs and higher lows (bullish structure) or lower highs and lower lows (bearish structure). The system looks for break of structure (BOS) when price pushes beyond a previous swing point in the trending direction, or change of character (CHoCH) when price starts creating opposing swing patterns.
When projecting future prices, the model considers current distance from recent swing levels and the strength of the established trend (measured by counting higher highs versus lower lows). If bullish structure dominates and price sits near a swing low, the forecast biases upward. Conversely, bearish structure near a swing high produces downward bias. ATR scaling ensures the projection magnitude relates to actual market volatility.
Practical Implications for Traders:
Useful when you trade based on swing points and structural breaks
The Structure Influence slider (0 to 1) lets you dial in how much weight structure analysis carries versus pure trend
Helps visualize where bands could form around key structural levels you're watching
Works better in trending conditions where structure patterns are clearer
Might be less effective in choppy, sideways markets without defined swings
2. Volume-Weighted Model
This method attempts to incorporate volume flow into the price forecast. It combines three volume-based metrics: On-Balance Volume (OBV) to track cumulative buying/selling pressure, the Accumulation/Distribution Line to measure money flow, and volume-weighted price changes to emphasize moves that occur on high volume. The algorithm calculates the slope of these indicators to determine if volume is confirming price direction or diverging from it.
Volume spikes above a configurable threshold are flagged as potentially significant, with the direction of the spike (whether it occurred on an up bar or down bar) influencing the forecast. When OBV, A/D Line, and volume momentum all align in the same direction, the model projects stronger moves. When they conflict or show weak volume support, the forecast becomes more conservative.
Practical Implications for Traders:
Relevant if you use volume analysis to confirm price moves
More meaningful in markets with reliable volume data
The Volume Influence parameter (0 to 1) controls how much volume factors into the projection
Volume Spike Threshold adjusts sensitivity to what constitutes unusual volume
Helps spot scenarios where volume doesn't support a move, suggesting possible consolidation
Might be less effective in low-liquidity instruments or markets where volume reporting is unreliable
3. Linear Regression Model
The simplest of the three methods, linear regression fits a straight line through recent price data using least-squares mathematics and extends that line forward. This creates a clean trend projection without conditional logic or interpretation of market characteristics. The forecast simply asks: if the recent trend continues at its current rate of change, where would price be in 10 or 20 bars?
Practical Implications for traders:
Provides a neutral, mathematical baseline for comparison
Works well when trends are steady and consistent
Can be useful for backtesting since results are deterministic
Requires minimal configuration beyond lookback period
Might not adapt to changing market conditions as dynamically as the other methods
Best suited for trending markets rather than ranging or volatile conditions
🟢 Universal Applications Across All Models
Regardless of which forecasting method you select, the indicator projects future Bollinger Band positions that may help with:
▶ Pre-planning entries and exits: See where potential support (lower band) or resistance (upper band) might develop before price gets there
▶ Volatility context: Observe whether forecasted bands are widening (suggesting potential volatility expansion) or narrowing (possible compression or squeeze setup)
▶ Target setting: Reference projected band levels when determining profit targets or stop placement
▶ Mean reversion scenarios: Visualize potential paths back toward the basis line when price extends to a band extreme
▶ Breakout anticipation: Consider where upper or lower bands might sit if price begins a strong directional move
▶ Strategy development: Build trading rules around forecasted band interactions, such as entering when price is projected to return to the basis or exit when forecasts show band expansion
▶ Method comparison: Switch between the three forecasting models to see if they agree or diverge, potentially using consensus as a confidence filter
It's critical to understand that these forecasts are projections based on recent market behavior. Markets are complex systems influenced by countless factors that cannot be captured in a technical calculation or predicted perfectly. The forecasted bands represent one possible scenario of how volatility might unfold, so actual price action may still diverge from these projections. Past performance and historical patterns provide no assurance of future results. Use these forecasts as one input within a broader trading framework that includes proper risk management, position sizing, and multiple forms of analysis. The value lies not in prediction accuracy but in helping you think probabilistically about potential market states and plan accordingly.
The Abramelin Protocol [MPL]"Any sufficiently advanced technology is indistinguishable from magic." — Arthur C. Clarke
🌑 SYSTEM OVERVIEW
The Abramelin Protocol is not a standard technical indicator; it is a "Technomantic" trading algorithm engineered to bridge the gap between 15th-century esoteric mathematics and modern high-frequency markets.
This script is the flagship implementation of the MPL (Magic Programming Language) project—an open-source experimental framework designed to compile metaphysical intent into executable Python and Pine Script algorithms.
Unlike traditional indicators that rely on arbitrary constants (like the 14-period RSI or 200 SMA), this protocol calculates its parameters using "Dynamic Entity Gematria." We utilize a custom Python backend to analyze the ASCII vibrational frequencies of specific metaphysical archetypes, reducing them via Tesla's 3-6-9 harmonic principles to derive market-responsive periods.
🧬 WHAT IS ?
MPL (Magic Programming Language) is a domain-specific language and research initiative created to explore Technomancy—the art of treating code as a spellbook and the market as a chaotic entity to be tamed.
By integrating the logic of ancient Grimoires (such as The Book of Abramelin) with modern Data Science, MPL aims to discover hidden correlations in price action that standard tools overlook.
🔗 CONNECT WITH THE PROJECT:
If you are a developer, a trader, or a seeker of hidden knowledge, examine the source code and join the order:
• 📂 Official Project Site: hakanovski.github.io
• 🐍 MPL Source Code (GitHub): github.com
• 👨💻 Developer Profile (LinkedIn): www.linkedin.com
🔢 THE ALGORITHM: 452 - 204 - 50
The inputs for this script are mathematically derived signatures of the intelligence governing the system:
1. THE PAIMON TREND (Gravity)
• Origin: Derived from the ASCII summation of the archetype PAIMON (King of Secret Knowledge).
• Function: This 452-period Baseline acts as the market's "Event Horizon." It represents the deep, structural direction of the asset.
• Price > Line: Bullish Domain.
• Price < Line: Bearish Void.
2. THE ASTAROTH SIGNAL (Trigger)
• Origin: Derived from the ASCII summation of ASTAROTH (Knower of Past & Future), reduced by Tesla’s 3rd Harmonic.
• Function: This is the active trigger line. It replaces standard moving averages with a precise, gematria-aligned trajectory.
3. THE VOLATILITY MATRIX (Scalp)
• Origin: Based on the 9th Harmonic reduction.
• Function: Creates a "Cloud" around the signal line to visualize market noise.
🛡️ THE MILON GATE (Matrix Filter)
Unique to this script is the "MILON Gate" toggle found in the settings.
• ☑️ Active (Default): The algorithm applies the logic of the MILON Magic Square. Signals are ONLY generated if Volume and Volatility align with the geometric structure of the move. This filters out ~80% of false signals (noise).
• ⬜ Inactive: The algorithm operates in "Raw Mode," showing every mathematical crossover without the volume filter.
⚠️ OPERATIONAL USAGE
• Timeframe: Optimized for 4H (The Builder) and Daily (The Architect) charts.
• Strategy: Use the Black/Grey Line (452) as your directional bias. Take entries only when the "EXECUTE" (Long) or "PURGE" (Short) sigils appear.
Use this tool wisely. Risk responsibly. Let the harmonics guide your entries.
— Hakan Yorganci
Technomancer & Full Stack Developer
Volume Crisis Created by Alphaomega18
🎯 What is the Crisis Detector Pro?
The Crisis Detector Pro is an advanced multi-component indicator that detects market crisis situations by simultaneously analyzing:
Volume: Anomalies and volume spikes
VIX: Volatility Index (S&P 500)
ATR: True volatility (all assets)
Open Interest: Estimated open interest (futures contracts)
The indicator calculates a Composite Crisis Score (0-100) that combines these elements to alert you to critical market moments.
📊 Indicator Components
1️⃣ Volume Analysis
Anomaly detection: Compares current volume to its moving average
Classification:
🟡 Moderate: 1.5x - 2x average
🟠 High: 2x - 3x average
🔴 Extreme: > 3x average
Bollinger Bands: Detects volume breakouts
Clusters: Identifies 3+ consecutive days of anomalies
2️⃣ VIX (Fear Index)
S&P 500 only
Default thresholds:
🟡 Moderate: VIX > 20
🟠 High: VIX > 30
🔴 Extreme: VIX > 40
3️⃣ ATR (Average True Range)
Measures true volatility
Compatible with all assets (stocks, futures, forex, crypto)
Compares current ATR to its average
4️⃣ Open Interest (OI)
Estimation based on Volume / 2
Detects changes > 25%
Inverted colors:
🔴 Red: OI increase (new positions)
🟢 Green: OI decrease (position closing)
⚙️ Main Parameters
Calculations:
Moving Average Period: 20 (default)
Standard Deviation Period: 20
ATR Period: 14
Volume Thresholds:
Moderate: 1.5x
High: 2.0x
Extreme: 3.0x
Composite Score (Weights):
Volume: 35%
VIX: 25%
ATR: 20%
Open Interest: 20%
📈 Visual Signals
Top of Chart:
🟡 Yellow triangle: Moderate alert (Score 50-70)
🟠 Orange triangle: High alert (Score 70-85)
🔴 Red triangle: EXTREME CRISIS (Score 85-100)
⚠️ Purple cross: Reinforced signal (Volume + Volatility simultaneous)
Bottom of Chart:
💎 Purple diamond: 50-day volume record
⬛ Fuchsia square: Cluster (3+ abnormal days)
Volume Bars:
Gray: Normal volume
🟡 Yellow: Moderate volume
🟠 Orange: High volume
🔴 Red: Extreme volume
Open Interest Curve:
🔵 Blue: Normal variation
🔴 Red: Increase > 25%
🟢 Green: Decrease > 25%
🎯 How to Use the Indicator
1. Initial Setup
For S&P 500 / US Indices:
Enable VIX ✅
Enable ATR ✅
Enable OI ✅
Composite Score ✅
For Other Assets (Forex, Crypto, Stocks):
Disable VIX ❌
Enable ATR ✅
Enable OI (optional)
Composite Score ✅
2. Crisis Score Interpretation
ScoreLevelMeaningAction0-50Normal ✅Calm marketNormal trading50-70Vigilance 🟡Volatility risingIncreased monitoring70-85Danger 🟠Critical situationReduce exposure85-100Crisis 🔴MAXIMUM ALERTCapital protection
3. Trading Strategies
Directional Trading:
Reinforced signal ⚠️ = Powerful move in progress
Enter in direction of movement with confirmation
Tight stops, quick targets
Risk Management:
Score > 70 → Reduce position size by 50%
Score > 85 → Stop trading or ultra-short positions
Cluster detected → Avoid new trades
Scalping/Day Trading:
Extreme volume 🔴 = Scalping opportunities
Wait for confirmation before entering
Exit quickly on spikes
Swing Trading:
Avoid opening swings during crises
Protect existing positions (trailing stops)
Wait for return to normal (Score < 50)
4. Open Interest (Futures):
OI Increase (🔴 Red):
New positions opened
Strong market conviction
Movement may intensify
OI Decrease (🟢 Green):
Position closing
Profit-taking or stop losses
Possible reversal
🔔 Configurable Alerts
The indicator includes 8 types of alerts:
🟡 Moderate Crisis Alert: Score 50-70
🟠 HIGH Crisis ALERT: Score 70-85
🔴 MAJOR CRISIS: Score 85-100
⚠️ REINFORCED SIGNAL: Extreme Volume + Volatility simultaneous
💎 RECORD Volume: Highest volume over 50 days
📊 Cluster DETECTED: 3+ consecutive abnormal days
📈 OI SPIKE >25%: Sharp Open Interest increase
📉 OI DECLINE >25%: Sharp Open Interest decrease
Setup: Right-click on chart → "Add Alert" → Select alert
💡 Optimization Tips
Scalping (1-5min):
MA Period: 10-15
Moderate Threshold: 1.3x
High Threshold: 1.8x
Volume Weight: 50%
Day Trading (15min-1H):
MA Period: 20 (default)
Thresholds: Default
Composite Score: Enabled
Swing Trading (4H-Daily):
MA Period: 30-50
StdDev Multiplier: 2.5
ATR Period: 20
Volatile Markets (Crypto):
Moderate Threshold: 1.8x
High Threshold: 2.5x
Extreme Threshold: 4.0x
ATR Weight: 30%
📊 Statistics Table
The real-time table displays:
Crisis Score: 0-100 with color coding
Current volume: Value and ratio
Volume Score: Contribution to total score
Open Interest: Estimated value and % change
VIX: Current value (if enabled)
ATR: Ratio to average
Global STATUS: Normal ✅ / Vigilance 🟡 / Danger 🟠 / Crisis 🔴
⚠️ Warnings and Limitations
❌ Limitations:
Open Interest is estimated (Volume / 2), not real value
VIX only works for S&P 500
False signals possible in very volatile markets
✅ Best Practices:
Always combine with classic technical analysis
Never trade solely on alerts
Adapt thresholds to your asset and timeframe
Backtest before using live
Respect your risk management plan
🎓 Real Use Cases
Example 1: Flash Crash
Extreme volume 🔴 + Extreme ATR 🔴 + Reinforced signal ⚠️
Composite score > 90
Action: No new trades, protect existing positions
Example 2: Fed Announcement
VIX > 35 + Moderate volume 🟡 + OI rising 🔴
Composite score: 65
Action: Reduce position size, widen stops
Example 3: Volatility Squeeze
Cluster detected + Volume record 💎 + OI declining 🟢
Action: Scalping opportunity in breakout direction
📈 Performance
Real-time detection (0 lag)
Compatible all markets and timeframes
Low resource consumption
Complete history preserved
VSA Visual RenkoWith this script you will be able to identify absorption, exhaustion, and a possible end of movement.
Goldfishuse these levels with context sfhkuhuahdhaskdhaskdshadhaskjdhasjkdhasjkdhaskdhasdhaskjdhaskjdhsakjdhasjkdhaskjdhsakjdhsahdaskhdsakdhasjkhdsajkhdaskhdsakjhdsakjhdasjkdhsajkdhsakjdhsakjdhsakdhsakhdsakdhsakdhaskjdhsakjdhsakdjhsakjdhsakjdhsakjdhsajk
RSI Median DeviationRSI Median Deviation – Adaptive Statistical RSI for High-Probability Extremes
The Relative Strength Index (RSI) is a momentum oscillator developed by J. Welles Wilder in 1978 to measure the magnitude of recent price changes and identify potential overbought or oversold conditions. It calculates the ratio of upward to downward price movements over a specified period, scaled to 0-100. However, standard RSI often relies on fixed thresholds like 70/30, which can produce unreliable signals in varying market regimes due to their lack of adaptability to the actual distribution of RSI values.
This indicator was developed because I needed a reliable tool for spotting intermediate high-probability bottoms and tops. Instead of arbitrary horizontal lines, it uses the RSI’s own historical median as a dynamic centerline and measures how far the current RSI deviates from that median over a chosen lookback period. The main signals are triggered only at 2 standard deviation (2σ) extremes — statistically rare events that occur roughly 5 % of the time under a normal distribution. I selected 2σ because it is extreme enough to be meaningful yet frequent enough for practical trading. For oversold signals I further require RSI to be below 42, a filter that significantly improved results in my mean-reversion tests (enter on oversold, exit on the first bar the condition is no longer true).
The combination of percentile median + standard deviation bands is deliberate: the median is far more robust to outliers than a simple average, while the SD bands automatically adjust to the current volatility of the RSI itself, producing adaptive envelopes that work equally well in ranging and trending markets.
Underlying Concepts and Calculations
Base RSI: RSI = 100 − (100 / (1 + RS)), RS = average gain / average loss (default length 10).
Percentile Median: 50th percentile of the last "N" RSI values (default 28 = 4 weeks)
→ dynamic, outlier-resistant centerline.
Standard Deviation Bands: rolling stdev of RSI (default length 27 = = 4 weeks (almost))
→ bands = median ± 1σ / 2σ.
Optional Dynamic MA Envelopes: user-selectable moving average (TEMA, WMA, etc., default WMA length 37) for additional momentum context.
Trend Bias Coloring
Independent of the statistical extremes, the RSI line itself is colored green when above the user-defined Long Threshold (default 60) and red when below the Short Threshold (default 47). This provides an instant bullish/bearish bias overlay similar to classic RSI usage, without interfering with the main 2σ extreme signals.
Extremes are highlighted with background color (green for oversold 2σ + RSI<42, magenta for overbought 2σ) and small diamond markers for ultra-extremes (RSI <25 or >85).
Originality and Development Rationale
The indicator was built and refined through extensive testing on dozens of assets including major cryptocurrencies:
(BTC, ETH, SOL, SUI, BNB, XRP, TRX, DOGE, LINK, PAXG, CVX, HYPE, VIRTUAL and many more),
the Magnificent 7 stocks,, QQQ, SPX, and gold.
Default parameters were chosen to deliver consistent profitability in simple mean-reversion setups while maximizing Sortino ratio and minimizing maximum drawdown across this broad universe — ensuring the settings are robust and not overfitted to any single instrument or timeframe.
How to Use It
Ideal for swing / position trading on the 1h to daily charts (the same defaults work).
Oversold (high-probability long): RSI crosses below lower 2σ band AND RSI < 42
→ green background
→ enter long, exit the first bar the condition disappears.
Overbought (high-probability short): RSI crosses above upper 2σ band
→ magenta background
→ enter short, exit on opposite signal or at median. (Shorts were not tested, it's only an idea)
Use the green/red RSI line coloring for quick trend context and to avoid fighting strong momentum.
Always confirm with price action and manage risk appropriately.
This indicator is not a standalone trading system.
Disclaimer: This is not financial advice. Backtests are based on past results and are not indicative of future performance.
Standard Deviation Levels with Settlement Price and VolatilityStandard Deviation Levels with Settlement Price and Volatility.
This indicator plots the standard deviation levels based on the settlement price and the implied volatility. It works for all Equity Stocks and Futures.
For Futures
Symbol Volatility Symbol (Implied Volatility)
NQ VXN
ES VIX
YM VXD
RTY RVX
CL OVX
GC GVZ
BTC DVOL
The plot gives you an ideas that the price has what probability staying in the range of 1SD,2SD,3SD ( In normal distribution method)
Please provide the feedback or comments if you find any improvements
ATR R-LevelsATR-R Levels is built for clarity of risk management.
The script takes your account size, chosen risk %, and the market’s volatility, then turns all of that into exact stop-loss, take-profit, and position size so there’s no guessing.
It’s inspired by key principles from NNFX, especially ATR-based stop placement and fixed-risk position sizing, but redesigned for fast intraday crypto trading. You get the same consistency and discipline NNFX is known for, adapted to a much shorter timeframe.
ATR-R Levels gives you:
A volatility-based stop using ATR
A clean 2R (or custom R-multiple) target
Automatic position sizing based on your risk rules
A simple HUD showing ATR, entry, stop, TP, size, and risk
Optional net profit estimates after fees
Let me know what you think or if you use it!
FF calculation Saptarshi ChatterjeeForward factor (in options contexts) measures implied volatility (IV) for a future period between two expirations, like from 30 DTE (days to expiry) front-month to 60 DTE back-month options.
This indicator calculates the FORWARD FACTOR(FF) using 2 IVs of 2 DTEs.
+ve value means front DTE is rich in premium and back expiry is cheap.
-ve value means front DTE IV is cheap and 2nd DTE is expensive
we can use this term structure disbalance to trade calendar spreads with edge.
Volatility Value BandsThis indicator is a modern adaptation of Mark Helweg's original Value Charts concept, focused on visually displaying volatility zones and "extreme value" areas directly on the price chart. It does not replicate the original work but draws inspiration from the logic of normalizing price by volatility to highlight statistically stretched regions.
1. Introduction
This study displays three lines directly on the chart:
- a central reference line (base),
- an upper overvaluation band,
- and a lower undervaluation band.
The bands are calculated from the relationship between price, moving average, and volatility (via true range/ATR), following Mark Helweg's Value Charts concept but with a custom implementation and adjustable parameters for different assets and timeframes. This allows objectively visualizing when price is in a statistically extended region relative to its recent behavior.
2. Key Features
- Volatility-normalized base
The indicator converts price deviation into "value units" using a combination of moving average and smoothed volatility (true range/ATR), making levels comparable across different assets and time horizons.
- Auto-adjusting limits (optional)
An automatic mode can calculate upper and lower limits from recent value unit extremes, using a configurable sampling window and percentile, allowing bands to adapt to the current volatility regime without manual recalibration.
- Direct plot on price chart
The three lines (central, upper, and lower) are drawn directly on the main asset chart (`overlay`), making it easy to read context: it's clear when price "touches" or breaks the volatility bands without switching to a separate pane.
- Flexible parameters
Users can control:
- base moving average period (length)
- volatility factor (manual or automatic)
- independent windows for volatility and limits calculation
- limits mode (auto or manual) and percentile used
This allows adapting behavior to different markets (stocks, indices, forex, crypto).
3. How to Use
- Basic interpretation
- When price approaches or exceeds the upper band, it indicates a statistically overvalued zone where the asset is stretched upward relative to recent volatility.
- When price approaches or exceeds the lower band, it indicates a statistically undervalued zone.
- The central line serves as a reference for recent "average value," derived from the base moving average.
- Recommended initial setup
- Choose the Value Chart period (e.g., 144 bars) for the base.
- Enable automatic limits mode for coherent bands matching the asset's volatility.
- Adjust the limits window and percentile for tighter bands (more signals) or wider bands (fewer but more extreme).
- Best practices
- Use bands as context filters, not standalone buy/sell signals. Combine with trend, market structure, or other confirmation indicators.
- Avoid decisions solely because price touched a band; in strong trends, price can "walk the edge" for extended periods.
- Always follow TradingView community rules when publishing: clearly state in the description that the study is "inspired by Mark Helweg's Value Charts concept," without claiming official status, reproducing proprietary code, or violating copyrights.
IV vs Realised Volatility (VIX/HV Comparator)VIX / HV Comparator – Implied vs Realised Volatility
This indicator compares Implied Volatility (IV) from a volatility index (VIX, India VIX, etc.) with the Realised / Historical Volatility (HV) of the current chart symbol.
It helps you see whether options are pricing volatility as rich or cheap relative to what the underlying is actually doing.
What it does
Pulls IV from any user-selected vol index symbol (e.g. CBOE:VIX for SPX, NSEINDIA:INDIAVIX for Nifty).
Calculates realised volatility from the chart’s price data using returns over a user-defined lookback.
Annualises HV so IV and HV are displayed on the same percentage scale, on any timeframe (intraday or higher).
Optionally shows an IV/HV ratio in a separate pane to highlight when options are rich or cheap relative to realised volatility.
How to read it
Main panel:
Orange line – Implied Volatility (IV) from your chosen vol index.
Aqua line – Realised / Historical Volatility (HV) of the current chart symbol.
Fill between lines:
Green shading -> IV > HV -> options are priced richer than what the underlying is currently realising.
Red shading -> HV > IV -> realised vol is higher than the options market is implying.
Sub-panel (optional):
IV / HV ratio
- Above 1 -> IV > HV (vol rich).
- Below 1 -> IV < HV (vol cheap).
- Horizontal guides (for example 1.2 / 0.8) help frame “significantly rich/cheap” zones.
A small label on the latest bar displays the current IV, HV and their difference in vol points.
Inputs (key ones)
IV Index Symbol – choose the volatility index that corresponds to your underlying (VIX, India VIX, etc.).
Realised Vol Lookback – number of bars used to compute HV (for example 20).
Trading Days per Year and Active Hours per Day – used for annualising HV so it stays consistent across timeframes.
IV Scale Factor – adjust if your IV index is quoted in decimals (0.15) instead of points (15).
Practical uses
Context for options trades – Quickly see if current IV is high or low relative to realised volatility when deciding on strategies (premium selling vs buying, spreads, hedges).
Vol regime analysis – Track shifts where HV starts to rise above IV (real stress building) or IV spikes far above HV (fear premium / insurance bid).
Cross-timeframe checks – Use on intraday charts for short-term trading context, or on daily/weekly charts for bigger picture vol regimes.
This tool is not a stand-alone signal generator. It is meant to be a volatility dashboard you combine with your usual price action, trend, and options strategy rules to understand how the options market is pricing risk vs what the underlying is actually delivering.
Institutional Equity DashboardAn overlay indicator with everything you need:
Trend Ribbon - 8/21/50/200 EMA cloud with bullish/bearish fill
VWAP + Bands - The institutional benchmark with deviation bands
Auto S/R Detection - Pivot-based support/resistance levels
ATR-Based Stops - Dynamic stop-loss levels that adjust to volatility
Confluence Signals - Multi-factor buy/sell signals (regular + strong)
Real-Time Dashboard showing:
Market regime (Strong Uptrend → Strong Downtrend)
Trend score (0-100)
RSI, MACD, Stochastic status
Volume ratio and VWAP position
Risk metrics (ATR%, Historical Vol, Risk Level)
Relative strength vs. benchmark
VCAI MACD LiteVCAI MACD Lite is a clean, modern version of the classic MACD oscillator, rebuilt with selectable EMA/SMA types and a 2-tone histogram using VCAI’s visual style.
It keeps the indicator lightweight and easy to read while giving clearer momentum shifts through rising/falling histogram colour changes.
What it does
Calculates MACD using your choice of EMA or SMA
Plots signal line and histogram with 2-tone VCAI colours
Highlights changes in momentum strength as histogram bars rise or fade
Works on any market and timeframe
How to use it
Expanding yellow bars reflect strengthening upside momentum; dim yellow shows fading strength.
Darker and lighter VCAI purple tones show momentum behaviour below zero, helping you see when bearish pressure is increasing or weakening.
Part of the VCAI Lite Series — clean, minimal tools.
Institutional MF-Vol Compression Scanner v4.0 [BIG]═══════════════════════════════════════════════════════════════════════════════
BIG COMPRESSION SCANNER v4.0
═══════════════════════════════════════════════════════════════════════════════
OVERVIEW
The BIG Compression Scanner v4.0 is a proprietary volatility regime detection system designed for systematic Daily options deployment. This framework identifies pre-expansion volatility compression zones through multi-dimensional market structure analysis, combining institutional positioning patterns with hierarchical timeframe confirmation and options market structure to generate high-conviction directional signals for premium strategies.
The methodology synthesizes volatility dynamics, liquidity flow patterns, and cross-timeframe regime alignment into a probabilistic scoring system that isolates asymmetric risk-reward setups characteristic of compression-to-expansion transitions. The framework is calibrated specifically for 30-45 DTE options strategies where timing precision and volatility environment assessment are critical to edge generation.
═══════════════════════════════════════════════════════════════════════════════
CORE METHODOLOGY
═══════════════════════════════════════════════════════════════════════════════
• Proprietary Compression Detection
The system employs a multi-factor compression identification framework that monitors volatility regime transitions across price dispersion metrics and range contraction patterns. Unlike single-indicator squeeze systems, this methodology uses weighted ensemble logic to distinguish true pre-expansion compression from random consolidation noise.
Compression strength is quantified through a proprietary scoring algorithm (0-100%) that evaluates:
- Statistical volatility contraction relative to historical norms
- Price range compression within dynamic envelope systems
- Institutional volume signature analysis during low-volatility periods
- Cross-timeframe compression alignment (Daily/Weekly/Monthly hierarchy)
The framework filters compression events based on minimum strength thresholds and multi-bar confirmation to eliminate premature signals characteristic of retail squeeze indicators.
• Hierarchical Multi-Timeframe Architecture
The indicator integrates a three-tier temporal analysis structure where higher timeframes constrain and validate lower timeframe signals:
Strategic Layer (Monthly) – Establishes macro directional bias and identifies structural market positioning. This layer determines whether intermediate trends align with or counter dominant regime dynamics.
Structural Layer (Weekly) – Provides tactical context through key price levels, momentum assessment, and volatility regime confirmation. Weekly analysis filters signals that would occur in unfavorable proximity to structural inflection zones.
Execution Layer (Daily) – Generates precise entry timing through intraday regime shift detection, momentum confluence analysis, and institutional flow pattern recognition.
Each layer contributes weighted influence to the composite directional probability model, with recalibration logic that adjusts timeframe importance based on current market regime characteristics. The exact weighting algorithm is proprietary and adapts to volatility environment dynamics.
• Options Market Structure Integration
Version 4.0 incorporates options-specific market intelligence not available in standard technical analysis frameworks:
Volatility Environment Assessment – The system continuously monitors implied volatility regime characteristics through proprietary estimation models. These models identify whether current premium levels favor buying or selling strategies, adjusting signal generation accordingly.
Temporal Decay Awareness – Built-in expiration cycle logic ensures signals only trigger when sufficient time value remains for thesis development. The framework approximates days-to-expiration and applies minimum threshold filters to prevent entries in high theta decay regimes.
Greeks-Aware Targeting – Price targets are dynamically calibrated based on volatility expansion expectations and estimated leverage characteristics. Target multipliers adjust to current options market structure rather than using fixed risk-reward ratios.
Premium Environment Classification – Signals are enhanced with real-time assessment of whether current volatility levels favor long premium, short premium, or spread strategies based on historical percentile analysis.
• Probabilistic Directional Scoring System
Rather than binary bullish/bearish classification, the framework generates probability-weighted directional bias through a proprietary multi-factor model. This model synthesizes trend alignment metrics, momentum characteristics, structural positioning, and institutional flow signatures into normalized probability distributions.
The scoring system evaluates dozens of market structure variables across multiple timeframes, applies regime-dependent weighting, and produces directional probabilities that reflect actual edge rather than arbitrary technical indicator thresholds. Signal generation occurs only when directional probability exceeds user-defined conviction thresholds (55-65% depending on sensitivity setting).
This probabilistic approach allows traders to calibrate position sizing and strategy selection (outright vs. spreads) to the strength of directional conviction rather than treating all signals as equal weight.
• Institutional Flow Detection
The framework monitors volume and price interaction patterns characteristic of institutional accumulation or distribution during compression phases. This analysis identifies whether compression zones contain building directional positions (high probability of sustained move post-breakout) versus thin, choppy consolidation (high false breakout risk).
Flow detection employs proprietary algorithms that distinguish genuine institutional activity from retail volume spikes, providing critical context for signal validation.
═══════════════════════════════════════════════════════════════════════════════
SIGNAL ARCHITECTURE
═══════════════════════════════════════════════════════════════════════════════
Call Option Signals trigger when compression strength, directional probability, timeframe alignment, options market structure, and institutional flow patterns simultaneously satisfy proprietary threshold criteria. Signals are filtered against weekly structural levels to avoid low-probability entries near major resistance zones.
Put Option Signals follow equivalent logic with inverse directional parameters, ensuring symmetrical framework application across bull and bear setups.
All signals include:
- Directional conviction probability (percentage)
- Current volatility environment assessment (IV Rank proxy)
- Dynamic price target based on expansion expectations
- Multi-timeframe alignment status
Signal cooldown logic prevents excessive signal generation during extended consolidation periods, maintaining signal quality over quantity.
═══════════════════════════════════════════════════════════════════════════════
VISUAL INTELLIGENCE
═══════════════════════════════════════════════════════════════════════════════
Real-Time Multi-Timeframe Dashboard
The top-right panel provides continuous visibility into:
- Trend alignment across Daily/Weekly/Monthly timeframes
- Current compression status at each temporal layer
- Momentum regime characteristics (RSI values)
- Options environment assessment (IV Rank, optimal strategy)
- Composite signal readiness (compression strength percentage)
This dashboard enables rapid regime assessment without manual multi-timeframe chart analysis.
Chart Integration
Visual overlays include:
- Volatility envelope systems (dynamic bands)
- Weekly structural price levels (pivot, resistance, support)
- Compression zone highlighting (background shading)
- Active squeeze indicators (Daily and Weekly differentiation)
Signal Labels
When setups trigger, comprehensive labels display:
📈 CALL OPTION
Prob: XX%
IV Rank: XX%
Target: $XXX.XX
Labels provide all critical execution information without requiring dashboard consultation.
═══════════════════════════════════════════════════════════════════════════════
KEY CAPABILITIES
═══════════════════════════════════════════════════════════════════════════════
- Proprietary multi-factor compression detection with adaptive thresholds
- Hierarchical multi-timeframe confirmation (Daily/Weekly/Monthly)
- Options-specific filters (IV regime, DTE requirements, Greeks awareness)
- Probabilistic directional scoring (0-100% conviction levels)
- Institutional flow pattern recognition during compression
- Weekly structural level integration with proximity filters
- Dynamic target calibration based on volatility expansion expectations
- Real-time multi-timeframe regime dashboard
- Customizable sensitivity and threshold parameters
- Non-repainting signal architecture (bar close confirmation)
- Comprehensive alert system for proactive monitoring
═══════════════════════════════════════════════════════════════════════════════
APPLICATION GUIDELINES
═══════════════════════════════════════════════════════════════════════════════
1. Timeframe Selection
Apply to Daily (D1) charts only. Framework calibration is timeframe-specific; other intervals produce suboptimal results.
2. Options Mode Activation
Enable Options Trading Mode for premium strategy optimization. This activates IV filtering, DTE thresholds, and Greeks-aware targeting.
3. Strategy Calibration
- Premium Buying: Set IV threshold to 50th percentile, DTE minimum 30+ days, target multiplier 2.5-3.0×
- Premium Selling: Set IV threshold to 70th+ percentile, DTE minimum 20-30 days, target multiplier 1.5-2.0×
4. MTF Dashboard Monitoring
Verify multi-timeframe alignment before execution:
- Ideal setup: Daily + Weekly compression both active
- Confirm trend alignment across timeframes
- Check IV Rank for premium environment assessment
- Wait for "READY" status (green) indicating threshold satisfaction
5. Signal Execution
When labels appear:
- Review directional probability (target >65% for high conviction)
- Assess IV environment (low IV favors buying, high IV favors selling)
- Use price target for strike selection and profit objectives
- Consider 30-45 DTE options for thesis development time
6. Risk Management
- Position size: 2-5% options capital per signal
- Stop loss: Exit if compression breaks opposite direction without follow-through
- Time stop: Reassess if position stagnant after 5-7 days
- Profit taking: Scale out at provided targets or weekly pivot levels
7. Sensitivity Adjustment
- High (55%): More signals, lower conviction, diversified approach
- Medium (60%): Balanced, default setting (2-4 signals/month typical)
- Low (65%): Fewer signals, higher conviction, concentrated positions
═══════════════════════════════════════════════════════════════════════════════
FRAMEWORK LIMITATIONS
═══════════════════════════════════════════════════════════════════════════════
- Optimized exclusively for Daily timeframe analysis
- Compression development requires patience (2-4 weeks typical)
- IV metrics are proprietary proxies, not direct exchange data
- Greeks estimations approximate actual options contract characteristics
- DTE calculations simplified vs. precise monthly expiration dates
- Multi-timeframe filtering reduces but cannot eliminate false breakouts
- Requires liquid options markets (tight spreads, adequate open interest)
- Not designed for earnings-driven volatility events (IV crush risk)
- Framework identifies timing, not specific strike or expiration selection
═══════════════════════════════════════════════════════════════════════════════
TECHNICAL SPECIFICATIONS
═══════════════════════════════════════════════════════════════════════════════
- Pine Script v5 architecture
- Non-repainting signal confirmation (bar close validation)
- Multi-security data integration (Weekly/Monthly via request.security)
- Real-time multi-timeframe analysis dashboard
- 4 alert conditions (Call/Put options, directional generic)
- Fully customizable parameters (compression, scoring, filters, visuals)
- Professional-grade visual hierarchy and information density
═══════════════════════════════════════════════════════════════════════════════
PROFESSIONAL CONTEXT
═══════════════════════════════════════════════════════════════════════════════
This framework is designed for systematic options traders with working knowledge of:
- Volatility regime dynamics and expansion/contraction cycles
- Options Greeks and their impact on P&L across various market conditions
- Implied Volatility Rank interpretation and premium pricing assessment
- Multi-timeframe analysis methodology and trend hierarchy
- Risk-adjusted position sizing and portfolio construction principles
The system identifies when market structure favors options deployment but does not prescribe how to construct positions. Strike selection, expiration choice, spread architecture, and position sizing require independent trader judgment based on account parameters and risk tolerance.
Optimal deployment combines this framework with:
- Options analytics platform (actual IV, Greeks, probability calculations)
- Earnings calendar awareness (pre-earnings IV inflation vs. post-earnings crush)
- Broader market regime context (VIX, correlation, sector rotation)
- Portfolio-level risk management (concentration limits, correlation analysis)
═══════════════════════════════════════════════════════════════════════════════
Proprietary compression-to-expansion framework for systematic Daily options deployment. Methodology incorporates multi-dimensional volatility analysis, hierarchical timeframe confirmation, and options market structure intelligence.
Majors FX-REER/NEER Suite [BIG]═══════════════════════════════════════════════════════════════════════════════
BIG MAJORS FX-REER/NEER SUITE
═══════════════════════════════════════════════════════════════════════════════
OVERVIEW
The BIG Majors FX-REER/NEER Suite is a multi-currency valuation framework designed for institutional FX traders, macro strategists, and systematic currency allocators. This indicator calculates Real Effective Exchange Rates (REER) and Nominal Effective Exchange Rates (NEER) for the seven major currency pairs (G7 FX), integrating macroeconomic fundamentals (CPI inflation differentials) with technical trend analysis to identify structural currency misvaluations and mean-reversion opportunities.
Unlike standard FX indicators that only analyze bilateral price action, this suite constructs trade-weighted basket indices that measure each currency's strength against a portfolio of its major trading partners, adjusted for inflation differentials. This approach mirrors central bank and sovereign wealth fund methodologies for assessing equilibrium exchange rate levels.
The framework combines:
- Fundamental valuation metrics – REER/NEER indices with Z-score normalization
- Technical trend filters – Ichimoku Cloud and Aroon oscillator confluence
- Signal classification system – Long/Short/Watch/Conflict regime identification
- Quantitative confidence scoring – 0-100% signal reliability weighting
═══════════════════════════════════════════════════════════════════════════════
CORE METHODOLOGY
═══════════════════════════════════════════════════════════════════════════════
• NEER Calculation (Nominal Effective Exchange Rate)
The NEER measures a currency's value against a trade-weighted basket of its seven major trading partners, geometrically averaged in log-space to ensure symmetry:
1. All seven G7 FX pairs are normalized to USD-pivot (A/USD format)
2. Each currency's log-normalized rate is compared to the arithmetic mean of the other six
3. Formula: NEER_i = (8/7) × log(CCY_i/USD) - mean(log(CCY_others/USD))
This construction ensures that:
- A rising NEER indicates currency appreciation against the basket
- The methodology is symmetric and avoids base-currency bias
- Changes reflect multilateral competitive dynamics, not just bilateral moves
• REER Calculation (Real Effective Exchange Rate)
The REER adjusts the NEER for inflation differentials using Consumer Price Index (CPI) data:
Formula: REER_i = NEER_i + log(CPI_i) - mean(log(CPI_others))
By incorporating CPI differentials, the REER provides a purchasing-power-parity-adjusted valuation metric that accounts for relative inflation rates. This is the institutional standard for assessing fundamental currency equilibrium levels.
Data Sources :
- FX rates: TradingView composite feed (FX:), OANDA, FXCM, FOREXCOM
- CPI data: ECONOMICS namespace (monthly frequency, official statistical releases)
- Supported currencies: USD, EUR, JPY, GBP, CHF, AUD, CAD, NZD
• Valuation Bias Detection
Each currency pair is classified as overvalued (bias = -1, "Short") or undervalued (bias = +1, "Long") based on two independent criteria:
1. Percentage Band Deviation – Relative Index distance from 100 baseline
• Overvalued: Index > 100 × (1 + deviation%), default +5%
• Undervalued: Index < 100 × (1 - deviation%), default -5%
2. Z-Score Threshold – Statistical extremes in rolling lookback window
• Overvalued: Z-Score > +1.5 (default)
• Undervalued: Z-Score < -1.5 (default)
Either condition triggers a bias classification. This dual-filter approach captures both absolute deviations and relative extremes within recent historical context.
• Trend Confirmation (Ichimoku + Aroon)
To avoid counter-trend entries in strong momentum regimes, the suite integrates two independent trend filters:
Ichimoku Cloud
- Bull: Price > Cloud AND Conversion > Base Line
- Bear: Price < Cloud AND Conversion < Base Line
- Parameters: Conv(9), Base(26), Span B(52), Displacement(26)
Aroon Oscillator
- Bull: Aroon Up > 70 AND Aroon Down < 30
- Bear: Aroon Down > 70 AND Aroon Up < 30
- Default lookback: 25 periods
Trend is confirmed only when both indicators agree (Ichimoku + Aroon ≥ +1 for bull, ≤ -1 for bear).
• Setup Classification Logic
The framework combines Bias (fundamental valuation) with Trend (technical momentum) to generate four distinct setup types:
- Long↗︎ (Setup = 1) – Undervalued + Bullish Trend
Context : Mean reversion opportunity with momentum confirmation. Currency trading at fundamental discount while technical trend supports upside.
- Short↘︎ (Setup = -1) – Overvalued + Bearish Trend
Context : Mean reversion opportunity with momentum confirmation. Currency trading at fundamental premium while technical trend supports downside.
- Watch (Setup = 2) – Valuation bias present, but no clear trend
Context : Fundamental mispricing without directional conviction. Monitor for trend emergence before entering.
- Conflict (Setup = 3) – Bias and trend pointing opposite directions
Context : Overvalued currency in uptrend OR undervalued currency in downtrend. Avoid—either trend continuation or valuation mean reversion, but unclear which dominates.
• Confidence Score (0-100%)
Each setup receives a quantitative confidence weighting based on three factors:
1. Band Distance (40%) – How far the Relative Index deviates from 100 baseline
2. Z-Score Magnitude (40%) – Statistical extremeness within lookback window
3. Trend Confluence (20%) – Agreement between Ichimoku and Aroon signals
Score interpretation:
- 70-100% = High confidence (both valuation and trend extremes aligned)
- 40-69% = Moderate confidence (one factor strong, others weak)
- 0-39% = Low confidence (marginal signals, questionable reliability)
═══════════════════════════════════════════════════════════════════════════════
VISUAL COMPONENTS
═══════════════════════════════════════════════════════════════════════════════
• Dashboard Table (Top-Right)
Displays real-time valuation metrics for all seven major pairs:
Column 1: Pair – Currency pair identifier
Column 2: RelIdx – Relative Index (100 = baseline at first valid bar)
Column 3: Z – Z-Score vs. rolling lookback window
Column 4: Bias – Long/Short/Neutral valuation classification
Column 5: Trend – ↑/↓/– trend direction (Ichimoku + Aroon)
Column 6: Setup – Long↗︎/Short↘︎/Watch/Conflict (color-coded)
Column 7: Conf – Confidence score 0-100% (color-coded)
Column 8: Quelle – REER (inflation-adjusted) or NEER (nominal only)
Color coding :
- Green = Long↗︎ setup
- Red = Short↘︎ setup
- Orange = Watch (no trend)
- Purple = Conflict (bias/trend divergence)
• Optional Chart Plot
Select any of the seven pairs to plot its Relative Index on the chart with:
- Baseline at 100 (horizontal gray line)
- +Band at 100 × (1 + deviation%), dashed red
- -Band at 100 × (1 - deviation%), dashed green
- Aqua line tracking the selected pair's Relative Index evolution
• Signal Labels
When a pair transitions into Long↗︎ or Short↘︎ setup:
- Green label below bar = Long↗︎ entry signal
- Red label above bar = Short↘︎ entry signal
- Positioned using ATR offset for visibility
═══════════════════════════════════════════════════════════════════════════════
KEY FEATURES
═══════════════════════════════════════════════════════════════════════════════
- Institutional valuation methodology – REER/NEER framework used by central banks and sovereign wealth funds
- Macro-fundamental integration – CPI inflation differentials adjust for purchasing power parity
- Multi-timeframe flexibility – Daily (D), Weekly (W), Monthly (M) resolution options
- Seven simultaneous pairs – Monitors all G7 FX majors in single unified dashboard
- No repainting – All signals confirm on bar close
- Automated alerts – TradingView notifications when setups transition (Long/Short triggers)
- Confidence weighting – Quantitative scoring allows position sizing calibration
- Fallback logic – Automatically switches to NEER if CPI data incomplete
═══════════════════════════════════════════════════════════════════════════════
HOW TO USE
═══════════════════════════════════════════════════════════════════════════════
1. Apply to any chart – The indicator pulls multi-security data; chart symbol does not matter (commonly applied to SPY or DXY for reference)
2. Select data feed – Default FX: (TradingView composite) is recommended; alternatives: OANDA, FXCM, FOREXCOM
3. Choose timeframe :
• Daily (D) = Swing trading, medium-term mean reversion (2-8 week horizons)
• Weekly (W) = Position trading, macro regime shifts (1-6 month horizons)
• Monthly (M) = Strategic allocation, long-term equilibrium analysis (6-24 month horizons)
4. Configure parameters :
• Z-Score Lookback : Default 252 (one trading year on Daily); adjust for timeframe (52 for Weekly, 36 for Monthly)
• Deviation Band : Default ±5%; tighten to ±3% for more signals, widen to ±7% for higher conviction
• Z-Threshold : Default ±1.5; increase to ±2.0 for extreme-only signals
5. Monitor dashboard table :
• Focus on pairs showing Long↗︎ or Short↘︎ setups with Conf ≥ 70%
• Watch for Watch setups transitioning to directional signals
• Avoid Conflict setups unless you have strong macro conviction
6. Execute mean-reversion trades :
• Long↗︎ = Buy undervalued currency (e.g., EURUSD Long if EUR undervalued)
• Short↘︎ = Sell overvalued currency (e.g., USDJPY Short if JPY overvalued)
• Target: Mean reversion toward 100 baseline or opposite band
7. Position sizing by confidence :
• High confidence (70-100%) → Standard position size
• Moderate confidence (40-69%) → Reduce size by 50%
• Low confidence (<40%) → Avoid or use minimal pilot size
8. Risk management :
• Stop loss: Place beyond recent swing high/low or 1.5× ATR
• Take profit: Opposite valuation band or 100 baseline
• Time stop: Exit if setup reverses (Long→Neutral→Short or vice versa)
═══════════════════════════════════════════════════════════════════════════════
LIMITATIONS
═══════════════════════════════════════════════════════════════════════════════
- CPI data lag – Consumer Price Index releases are monthly and report with 2-4 week delay. REER calculations may lag real-time inflation dynamics.
- Structural shifts ignored – The baseline (100) is set at first valid bar. Long-term structural appreciation/depreciation (e.g., 20-year USD bull market) is not accounted for. Suitable for cyclical mean reversion, not secular trend analysis.
- Equal-weighting assumption – All seven currencies are equally weighted in basket construction. Actual trade-weighted indices use GDP or trade volume weights, which this framework simplifies.
- No emerging market currencies – Limited to G7 majors (USD, EUR, JPY, GBP, CHF, AUD, CAD, NZD). Does not cover EM FX (e.g., CNY, BRL, MXN).
- Technical filter limitations – Ichimoku and Aroon are lagging indicators. In fast-moving markets (e.g., central bank interventions, geopolitical shocks), trend signals may arrive late.
- Mean reversion assumption – The framework assumes currencies revert to equilibrium. During regime changes (e.g., monetary policy divergence, crisis flows), deviations can persist or expand before eventual reversal.
═══════════════════════════════════════════════════════════════════════════════
TECHNICAL SPECIFICATIONS
═══════════════════════════════════════════════════════════════════════════════
- Pine Script v6
- Non-repainting (signals confirmed on bar close)
- Multi-security data feeds (7 FX pairs + 8 CPI series)
- Automated alert system (transitions to Long↗︎/Short↘︎)
- Real-time dashboard table (8 columns × 8 rows)
- Maximum 500 labels supported (100 per pair direction)
- Fallback logic: NEER used if CPI data unavailable
═══════════════════════════════════════════════════════════════════════════════
NOTES
═══════════════════════════════════════════════════════════════════════════════
This indicator is designed for experienced FX traders, macro strategists, and portfolio managers familiar with:
- Real and nominal effective exchange rate concepts
- Purchasing power parity theory and inflation differentials
- Multi-currency portfolio construction and basket hedging
- Carry trade and convergence strategies
- Central bank policy impacts on FX equilibrium levels
The framework provides objective valuation signals but does not account for:
- Interest rate differentials (carry)
- Capital flow dynamics (risk-on/risk-off)
- Central bank intervention zones
- Geopolitical risk premiums
Always combine REER/NEER valuation analysis with macro event calendars, positioning data (CFTC COT reports), and fundamental policy divergence assessments.
═══════════════════════════════════════════════════════════════════════════════
Developed for institutional FX valuation analysis based on central bank REER/NEER methodologies.






















