ChronoFlow## ChronoFlow Sentinel
ChronoFlow Sentinel is a regime console that blends normalized fast/mid/slow regression slopes, phases them against a dual-speed EMA spread, and grades alignment so you instantly know whether the time stack is trending, rotating, or fighting itself.
HOW IT WORKS
Multi-Timeframe Slopes – Linear regression slopes are fetched via request.security() for your chosen fast, mid, and slow frames.
Normalized Weighting – User weights are rescaled so the composite chrono score is always on a consistent scale, regardless of configuration.
Phase Differential – The indicator subtracts a slow EMA from a fast EMA to detect whether price impulse confirms the slope mix.
Alignment Score – Signs of the three slopes are compared to compute a 0-1 alignment metric; backgrounds and alerts use this to signal confidence vs. chop.
Diagnostics Console – A bottom-right table streams each slope, the blended score, and which timeframe currently dominates.
HOW TO USE IT
Trend Qualification : Only push multi-contract positions when chrono score is positive, phase is positive, and alignment stays above your alert threshold (default 0.66).
Chop Defense : When alignment dips and conflict markers appear, immediately switch into mean-reversion tactics or sit flat.
Swing + Intraday Bridge : Pair ChronoFlow with other structure tools; require both aligned backgrounds and price confirmation before committing to swing entries.
CRYPTOCAP:SOL | CRYPTOCAP:XRP side by side view with ChronoFlow
VISUAL FEATURES
Optional flow curves: Enable Plot Raw Flows to audit each timeframe's slope when troubleshooting a signal.
Background intensity: Opacity auto-adjusts with alignment, so weak trends look faded while strong regimes glow vividly.
Signal/Conflict toggles: Long/short and chop markers are opt-in, keeping the panel pristine until you need annotations.
Conflict alerts: Built-in alert condition fires whenever alignment falls below your threshold, warning execution layers to scale down risk.
PARAMETERS
Fast Frame (default: 30): Fast timeframe for regression slope calculation.
Mid Frame (default: 120): Mid timeframe for regression slope calculation.
Slow Frame (default: D): Slow timeframe for regression slope calculation.
Fast Regression (default: 21): Regression length for fast timeframe.
Mid Regression (default: 34): Regression length for mid timeframe.
Slow Regression (default: 55): Regression length for slow timeframe.
Phase Length (default: 13): EMA period for phase differential calculation.
Fast Weight (default: 0.45): Influence of the fast timeframe in the composite score.
Mid Weight (default: 0.35): Influence of the mid timeframe in the composite score.
Slow Weight (default: 0.20): Influence of the slow timeframe in the composite score.
Plot Raw Flows (default: disabled): Enable to audit each timeframe's slope when troubleshooting.
Show Signal Labels (default: disabled): Toggle long/short signal markers.
Show Conflict Labels (default: disabled): Toggle conflict/chop markers.
Conflict Alert Level (default: 0.66): Set the alignment threshold that should trigger reduced size or flat positioning.
ALERTS
The indicator includes three alert conditions:
ChronoFlow Bullish: Detected a bullish regime shift
ChronoFlow Bearish: Detected a bearish regime shift
ChronoFlow Conflict: Flagged a low-alignment regime
LIMITATIONS
This indicator requires access to multiple timeframes via request.security() , which may consume additional resources. The alignment score is a simplified metric—real market conditions are more complex than a 0-1 scale can capture. The phase differential calculation assumes EMA spreads are meaningful proxies for momentum, which may not hold in all market regimes. Users should test parameter combinations on their specific instruments and timeframes, as default values are optimized for typical index futures trading.
---
Chỉ báo và chiến lược
TF7 Option vs Index Change RatioOverview
This indicator helps traders visualise the strength and direction of an option's price movement compared to its underlying index (NIFTY or SENSEX).
It calculates a Change Ratio, which is the percentage move in the option compared to the index movement during the same bar. This is especially useful for intraday traders looking for signs of momentum, divergence, or unusual strength/weakness in option pricing.
How It Works
The ratio is calculated as:
(Option LTP − Option Open) / (Index Close − Index Open)
The value is capped between −10 and +10 to filter out extreme or invalid spikes.
The ratio is displayed as a color-coded column chart:
🟩 Green bars: Option is moving in the same direction as the index.
🟥 Red bars: Option is underperforming or moving opposite to the index.
A compact table shows the last 5 bars of:
Option price change (with +/− sign)
Index price change
Calculated ratio (also color-coded)
You can toggle the table visibility in the settings.
Inputs & Features
Select underlying index: NIFTY or SENSEX
Toggle the data table display
Clean formatting with signed values and conditional color highlights
⚠️ Disclaimer
This is a visual analysis tool, not a buy/sell signal. Always validate with your trading strategy and risk management
#OptionsTrading, #NIFTY, #SENSEX, #ChangeRatio, #IndexAnalysis, #Momentum, #Divergence, #Intraday
Bifurcation Early WarningBifurcation Early Warning (BEW) — Chaos Theory Regime Detection
OVERVIEW
The Bifurcation Early Warning indicator applies principles from chaos theory and complex systems research to detect when markets are approaching critical transition points — moments where the current regime is likely to break down and shift to a new state.
Unlike momentum or trend indicators that tell you what is happening, BEW tells you when something is about to change. It provides early warning of regime shifts before they occur, giving traders time to prepare for increased volatility or trend reversals.
THE SCIENCE BEHIND IT
In complex systems (weather, ecosystems, financial markets), major transitions don't happen randomly. Research has identified three universal warning signals that precede critical transitions:
1. Critical Slowing Down
As a system approaches a tipping point, it becomes "sluggish" — small perturbations take longer to decay. In markets, this manifests as rising autocorrelation in returns.
2. Variance Amplification
Short-term volatility begins expanding relative to longer-term baselines as the system destabilizes.
3. Flickering
The system oscillates between two potential states before committing to one — visible as increased crossing of mean levels.
BEW combines all three signals into a single composite score.
COMPONENTS
AR(1) Coefficient — Critical Slowing Down (Blue)
Measures lag-1 autocorrelation of returns over a rolling window.
• Rising toward 1.0: Market becoming "sticky," slow to mean-revert — transition approaching
• Low values (<0.3): Normal mean-reverting behavior, stable regime
Variance Ratio (Purple)
Compares short-term variance to long-term variance.
• Above 1.5: Short-term volatility expanding — energy building before a move
• Near 1.0: Volatility stable, no unusual pressure
Flicker Count (Yellow/Teal)
Counts state changes (crossings of the dynamic mean) within the lookback period.
• High count: Market oscillating between states — indecision before commitment
• Low count: Price firmly in one regime
INTERPRETING THE BEW SCORE
0–50 (STABLE): Normal market conditions. Existing strategies should perform as expected.
50–70 (WARNING): Elevated instability detected. Consider reducing exposure or tightening risk parameters.
70–85 (DANGER): High probability of regime change. Avoid initiating new positions; widen stops on existing ones.
85+ (CRITICAL): Bifurcation likely imminent or in progress. Expect large, potentially unpredictable moves.
HOW TO USE
As a Regime Filter
• BEW < 50: Normal trading conditions — apply your standard strategies
• BEW > 60: Elevated caution — reduce position sizes, avoid mean-reversion plays
• BEW > 80: High alert — consider staying flat or hedging existing positions
As a Preparation Signal
BEW tells you when to pay attention, not which direction. When readings elevate:
• Watch for confirmation from volume, order flow, or other directional indicators
• Prepare for breakout scenarios in either direction
• Adjust take-profit and stop-loss distances for larger moves
For Volatility Adjustment
High BEW periods correlate with larger candles. Use this to:
• Widen stops during elevated readings
• Adjust position sizing inversely to BEW score
• Set more ambitious profit targets when entering during high-BEW breakouts
Divergence Analysis
• Price making new highs/lows while BEW stays low: Trend likely to continue smoothly
• Price consolidating while BEW rises: Breakout incoming — direction uncertain but move will be significant
SETTINGS GUIDE
Core Settings
• Lookback Period: General reference period (default: 50)
• Source: Price source for calculations (default: close)
Critical Slowing Down (AR1)
• AR(1) Calculation Period: Bars used for autocorrelation (default: 100). Higher = smoother, slower.
• AR(1) Warning Threshold: Level at which AR(1) is considered elevated (default: 0.85)
Variance Growth
• Variance Short Period: Fast variance window (default: 20)
• Variance Long Period: Slow variance window (default: 100)
• Variance Ratio Threshold: Level for maximum score contribution (default: 1.5)
Regime Flickering
• Flicker Detection Period: Window for counting state changes (default: 20)
• Flicker Bandwidth: ATR multiplier for state detection — lower = more sensitive (default: 0.5)
• Flicker Count Threshold: Number of crossings for maximum score (default: 4)
TIMEFRAME RECOMMENDATIONS
• 5m–15m: Use shorter periods (AR: 30–50, Var: 10/50). Expect more noise.
• 1H: Balanced performance with default or slightly extended settings (AR: 100, Var: 20/100).
• 4H–Daily: Extend periods further (AR: 100–150, Var: 30/150). Cleaner signals, less frequent.
ALERTS
Three alert conditions are included:
• BEW Warning: Score crosses above 50
• BEW Danger: Score crosses above 70
• BEW Critical: Score crosses above 85
LIMITATIONS
• No directional bias: BEW detects instability, not direction. Combine with trend or momentum indicators.
• Not a timing tool: Elevated readings may persist for several bars before the actual move.
• Parameter sensitive: Optimal settings vary by asset and timeframe. Backtest before live use.
• Leading indicator trade-off: Early warning means some false positives are inevitable.
CREDITS
Inspired by research on early warning signals in complex systems:
• Dakos et al. (2012) — "Methods for detecting early warnings of critical transitions"
DISCLAIMER
This indicator is for educational and informational purposes only. It does not constitute financial advice. Past performance is not indicative of future results. Always conduct your own analysis and risk management. Use at your own risk.
First Session Candle (Transparent Label) Change timezone & more"Global First Candle Rule: Session Refinement Tool"
"This tool/template is designed to apply the First Candle Rule across the world's three major trading sessions: New York (NYO), Asia (AO), and London (LO).
It uses New York Time (NY) as the default reference, but the timezone can be easily adjusted to UTC or UTC+7 (Vietnam Time).
🎁 Free for the community!"
Long Only EMA Strategy (9/20 with 200 EMA Filter)Details:
This strategy is built around a very simple idea: follow the primary trend and enter only when momentum supports it.
It uses three EMAs on a standard candlestick chart:
1. 9‑period EMA – short‑term momentum
2. 20‑period EMA – medium‑term structure
3. 200‑period EMA – long‑term trend filter
The strategy is ** long‑only ** and is mainly designed for swing trading and positional trading.
It avoids counter‑trend trades by taking entries only when price is trading ** above the 200 EMA **, which is commonly used as a long‑term trend reference.
The rules are deliberately kept simple so that they are easy to understand, modify, and test on different markets and timeframes.
---
Key Features
1. **Trend‑Filtered Entries**
- Fresh long positions are considered only when:
- The 9 EMA crosses above the 20 EMA
- The closing price is **above** the 200 EMA
- This attempts to combine short‑term momentum with a higher‑timeframe trend filter.
2. **Clean Exit Logic**
- The long position is exited when the closing price crosses **below** the 20 EMA.
- This creates an objective, rule‑based way to trail the trade as long as the medium‑term structure remains intact.
3. **Long‑Only, No Short Selling**
- The script intentionally ignores short setups.
- This makes it suitable for markets or accounts where short selling is restricted, or for traders who prefer to participate only on the long side of the market.
4. **Simple Visuals**
- All three EMAs are plotted directly on the chart:
- 9 EMA (fast)
- 20 EMA (medium)
- 200 EMA (trend)
- Trade entries and exits are handled by TradingView’s strategy engine, so users can see results in the Strategy Tester as well as directly on the chart.
5. **Backtest‑Friendly Structure**
- Uses TradingView’s built‑in `strategy()` framework.
- Can be applied to different symbols, timeframes, and markets (equities, indices, crypto, etc.).
- Works on standard candlestick charts, which are supported by TradingView’s backtesting engine.
6. **Configurable in Code**
- The EMA periods are defined in the code and can be easily adjusted.
- Users can tailor the parameters to fit their own style (for example, faster EMAs for intraday trading, slower EMAs for positional trades).
---
How to Use
1. **Add the Strategy to Your Chart**
1. Open any symbol and select a **standard candlestick chart**.
2. Apply the strategy from your “My Scripts” section.
3. Make sure it is enabled so that the trades and results appear.
2. **Select Timeframe**
- The logic can be tested on various timeframes:
- Higher timeframes (1H, 4H, 1D) for swing and positional setups.
- Lower timeframes (5m, 15m) for more active trading, if desired.
- Users should experiment and see where the strategy behaves more consistently for their chosen market.
3. **Read the Signals**
- **Entry:**
- A long trade is opened when the 9 EMA crosses above the 20 EMA while the closing price is above the 200 EMA.
- **Exit:**
- The open long position is closed when the closing price crosses below the 20 EMA.
- All orders are generated automatically once the strategy is attached to the chart.
4. **Use the Strategy Tester**
- Go to the **Strategy Tester** tab in TradingView.
- Check:
- Net profit / drawdown
- Win rate and average trade
- List of trades and the equity curve
- Change the date range and timeframe to see how stable the results are over different periods.
5. **Adjust Parameters if Needed**
- Advanced users can open the code and experiment with:
- EMA lengths (for example 8/21 with 200, or 10/30 with 200)
- Risk sizing and capital settings within the `strategy()` call
- Any changes should be thoroughly re‑tested before considering real‑world application.
---
Practical Applications
1. **Swing Trading on Daily Charts**
- Can be applied to stocks, indices, or ETFs on the daily timeframe.
- The 200 EMA acts as a trend filter to stay aligned with the broad direction, while the 9/20 crossover helps catch medium‑term swings inside that trend.
2. **Positional Trades on Higher Timeframes**
- On 4H or 1D charts, this approach can help in holding trades for several days to weeks.
- The exit rule based on the 20 EMA crossing helps avoid emotional decisions and provides a rules‑based way to trail the trend.
3. **Trend‑Following Filter**
- Even if used purely as a filter, the 200 EMA condition can help traders:
- Avoid taking long trades when the market is in a clear downtrend.
- Focus only on instruments that are trading above their long‑term average.
4. **Educational Use**
- The script is intentionally kept straightforward so that newer users can:
- Learn how a moving average crossover strategy works.
- See how to combine a short‑term signal with a long‑term filter.
- Understand how TradingView’s strategy engine handles entries and exits.
5. **Basis for Further Development**
- This can serve as a starting point for more advanced systems.
- Traders can extend it by adding:
- Additional filters (RSI, volume, volatility filters, time‑of‑day filters, etc.)
- Risk management rules (fixed stop loss, take profit, trailing stops).
- The current version is kept minimal on purpose, so modifications are easy to implement and test.
---
Important Notes & Disclaimer
1. This strategy is provided **for testing, research, and educational purposes only**.
2. It is ** not ** a recommendation to buy or sell any financial instrument.
3. Past performance on historical data does not guarantee similar results in live markets.
4. Markets are risky and trading can lead to financial loss; users should always do their own research, manage risk appropriately, and consult a qualified financial professional if needed.
5. Before using any strategy with real capital, it is strongly advised to:
- Forward test it on a demo / paper trading account.
- Check how it behaves during different market phases (trending, sideways, high‑volatility conditions).
You are free to modify the parameters and logic to better align it with your own trading style and risk tolerance.
Ultimate Squeeze & BreakoutTitle: Ultimate Squeeze & Breakout
Description: This professional volatility indicator utilizes the power of Bollinger Bands and Keltner Channels to identify high-probability consolidation zones and explosive breakouts. It is designed to help traders spot "The Squeeze"—a critical period of low volatility where the market builds potential energy before a significant directional move.
How It Works:
1. The Energy (The Squeeze): Using the classic TTM Squeeze logic, the indicator monitors the relationship between price volatility (Bollinger Bands) and average range (Keltner Channels).
Red Cloud: Volatility is compressed. The Bollinger Bands have contracted inside the Keltner Channels. The market is coiling like a spring. This is the Setup Phase.
2. The Breakout (The Release): When price expands and closes outside the bands, the energy is released.
Momentum Filter: A unique filter checks the slope of the 20-period Basis Line (SMA). Breakout colors only trigger if the momentum slope agrees with the breakout direction, helping to filter out weak "fakeouts."
Visual Guide:
☁️ Cloud Colors (Volatility State):
🟥 Red: Squeeze ON (Consolidation/No Trade).
🟣 Fuchsia: Bullish Momentum Breakout.
🔵 Blue: Bearish Momentum Breakout.
⬜ Gray/Green: Normal Trending (Neutral).
Features:
Smart Filters: Breakouts are validated by the underlying momentum slope.
Trend Coloring: Option to switch the neutral trending cloud between Gray and Green.
Precision Tuning: Decimal inputs allow for fine-tuning of Standard Deviation and ATR multipliers.
Alerts: Full alert support for Squeeze Start, Bullish Breakouts, and Bearish Breakouts.
Credits: This script is built upon the foundational TTM Squeeze concept popularized by John Carter, enhanced with dynamic coloring and momentum filtering.
Volumetric Inverse Fair Value Gap (IFVG) [Kodexius]The Volumetric Inverse Fair Value Gap (IFVG) indicator detects and visualizes inverse fair value gaps (IFVGs) zones where previous inefficiencies in price (fair value gaps) are later invalidated or “inverted.”
Unlike traditional FVG indicators, this tool integrates volume-based analysis to quantify the bullish, bearish, and overall strength of each inversion. It visually represents these metrics within a dynamically updating box on the chart, giving traders deeper insight into market reactions when liquidity imbalances are filled and reversed.
Features
Inverse fair value gap detection
The script identifies bullish and bearish fair value gaps, stores them as pending zones, and turns them into inverse fair value gaps when price trades back through the gap in the opposite direction. Each valid inversion becomes an active IFVG zone on the chart.
Sensitivity control with ATR filter and strict mode
A minimum gap size based on ATR is used to filter out small and noisy gaps. Strict mode can be enabled so that any wick contact between the relevant candles prevents the gap from being accepted as a fair value gap. This lets you decide how clean and selective the zones should be.
Show Last N Boxes control
The indicator can keep only the most recent N IFVG zones visible. Older zones are removed from the chart once the number of active objects exceeds the user setting. This prevents clutter on higher timeframes or long histories and keeps attention on the most relevant recent zones.
Ghost box for the original gap
When the ghost option is enabled, the script draws a faint box that marks the original fair value gap from which the inverse zone came. This makes it easy to see where the initial imbalance appeared and how price later inverted that area.
Volumetric bull, bear and strength metrics
For each IFVG, the script estimates how much of the bar volume is associated with buying and how much with selling, then computes bull percentage, bear percentage and a strength score that uses a percentile rank of volume. These values are stored with the IFVG object and drive the visualization inside the zone.
Three band visual layout inside each IFVG
Each active IFVG is drawn as a container with three horizontal sections. The top band represents the bull percentage, the middle band the bear percentage and the bottom band the strength metric. The width of each bar reflects its respective value so you can read the structure of the zone at a glance.
Customizable colors and label text
Colors for bull, bear, strength, the empty background area, the ghost box and label text can be adjusted in the inputs. This allows you to match the indicator to different chart themes or highlight specific aspects such as strength or direction.
Automatic invalidation and cleanup
When price clearly closes beyond the IFVG in a way that breaks the logic of that zone, the script marks it as inactive and deletes all boxes and labels linked to it. Only valid and active IFVGs remain on the chart, which keeps the display clean and focused.
Calculations
1. Detecting Fair Value Gaps (FVGs)
A fair value gap is identified when price action leaves an imbalance between candle wicks. Depending on the mode:
Bullish FVG: When low > high
Bearish FVG: When high < low
Optionally, the strict mode ensures wicks do not touch.
The gap’s significance is filtered using the ATR multiplier input to exclude minor noise.
Once detected, FVGs are stored as pending zones until inverted by opposite movement (price crossing through).
bool bull_cond = strict_mode ? (low > high ) : (close > high )
bool bear_cond = strict_mode ? (high < low ) : (close < low )
float gap_size = 0.0
if bull_cond and close > open
gap_size := low - high
if bear_cond and close < open
gap_size := low - high
2. Creating IFVGs (Inversions)
When price later moves through a previous FVG in the opposite direction, an Inverse FVG (IFVG) is created.
For example:
A previous bearish FVG becomes bullish IFVG if price moves upward through it.
A previous bullish FVG becomes bearish IFVG if price moves downward through it.
The IFVG is initialized with structural boundaries (top, bottom) and timestamp metadata to anchor visualization.
if not p.is_bull_gap and close > p.top
inverted := true
to_bull := true
if p.is_bull_gap and close < p.btm
inverted := true
to_bull := false
3. Volume Metrics (Bull, Bear, Strength)
Each IFVG calculates buy and sell volumes from the current bar’s price spread and total volume.
Bull % = proportion of upward (buy) volume
Bear % = proportion of downward (sell) volume
Strength % = normalized percentile rank of total volume
These are obtained through a custom function that estimates directional volume contribution:
calc_metrics(float o, float h, float l, float c, float v) =>
float rng = h - l
float buy_v = 0.0
if rng == 0
buy_v := v * 0.5
else
if c >= o
buy_v := v * ((math.abs(c - o) + (math.min(o, c) - l)) / rng)
else
buy_v := v * ((h - math.max(o, c)) / rng)
float sell_v = v - buy_v
float total = buy_v + sell_v
float p_bull = total > 0 ? buy_v / total : 0
float p_bear = total > 0 ? sell_v / total : 0
float p_str = ta.percentrank(v, 100) / 100.0
BTC 50/200 EMA Trend Meter by FlyingOceanTigerBTC 50/200 EMA Trend Meter
This indicator plots a classic 50/200 EMA trend filter on any chart, with clear visual cues for the major “golden cross” and “death cross” events.
Features
• Plots the 50 EMA (fast) and 200 EMA (slow) on price
• Highlights “trend-on” zones in the background when 50 EMA > 200 EMA
• Prints BUY labels on golden crosses (50 EMA crossing ABOVE 200 EMA)
• Prints SELL labels on death crosses (50 EMA crossing BELOW 200 EMA)
• Alert conditions for both BUY and SELL signals
Designed primarily for BTCUSD on the 1D timeframe as a long-only trend meter, but it works on any symbol or timeframe. Use it to stay aligned with the bigger trend and avoid overtrading chop.
For educational purposes only. This is not financial advice and does not guarantee future performance.
MM Wash Detector (Discreet)MM Wash Detector identifies weekly liquidity sweeps created by market makers.
It highlights two conditions:
Bull Wash – price wicks above the weekly range to grab liquidity, then reverses
Bear Wash – price wicks below the weekly range to grab liquidity, then reverses
This tool is designed for traders who want to spot engineered stop-hunts, liquidity grabs, and manipulation pockets where reversals often begin.
Labels are intentionally discreet for minimal chart clutter.
✅ 2. Short & Simple
Shows when market makers sweep liquidity above or below the weekly range.
Bull Wash = liquidity grab above
Bear Wash = liquidity grab below
Discreet labels. No clutter.
✅ 3. Aggressive / Smart-Money Style
Tracks weekly stop-hunts engineered by smart money.
A “Wash” prints when price creates an exaggerated wick outside the weekly range with a small body and volume confirmation.
These zones often mark liquidity collection before a reversal or displacement move.
✅ 4. Beginner-Friendly
This indicator helps you see when the price makes a long wick above or below the weekly candle — a sign that big players might be triggering stops and collecting liquidity.
These liquidity grabs are often followed by a reversal.
Bull Wash = sweep above
Bear Wash = sweep below
GCM MACD based Range OscillatorGCM MACD based Range Oscillator (MRO)
Introduction
The GCM MACD based Range Oscillator (MRO) is a hybrid technical indicator that combines the momentum-tracking capabilities of the classic MACD (Moving Average Convergence Divergence) with a custom Range Oscillator.
The core problem this script solves is normalization. Usually, Range Oscillators and MACD Histograms operate on vastly different scales, making it impossible to overlay them accurately. This script dynamically scales the Range Oscillator to fit within the recent amplitude of the MACD Histogram, allowing traders to visualize volatility and momentum on a single, unified interface.
How It Works (The Math)
1. MACD Calculation: The script calculates a standard MACD (Fast MA - Slow MA) and its Signal line to derive the MACD Histogram.
2. Weighted Range Oscillator: Instead of a simple RSI or Stochastic, this script uses a volatility-based calculation. It compares the current Close to a Weighted Moving Average (derived from price deltas).
3. Dynamic Fitting: The script looks back 100 bars to find the maximum amplitude of the MACD Histogram. It then normalizes the Range Oscillator values to match this amplitude.
4. Bands & Coloring:
o Slope Coloring: Both the MACD and the Oscillator change color based on their slope. Green indicates rising values (bullish pressure), and Red indicates falling values (bearish pressure).
o Fixed Bands: Horizontal bands are placed at +0.75 and -0.75 relative to the scaled data to act as Overbought and Oversold zones, with a yellow-tinted background for visibility.
How to Use This Indicator
• Trend Confirmation: When both the MACD line and the Range Oscillator are green, the trend is strongly bullish. When both are red, the trend is bearish.
• Contraction & Expansion: The yellow zone (between -0.75 and +0.75) represents the "equilibrium" or ranging area. Breakouts above the Upper Band (+0.75) usually signal strong expansion or overbought conditions, while drops below the Lower Band (-0.75) signal oversold conditions.
• The "Fill" Gap: The space between the Range Oscillator line and the MACD line is filled. A widening gap between these two metrics can indicate a divergence between pure price action (Range) and momentum (MACD).
• High/Low Marks: Small markers are plotted on the most recent 3 candles to show the exact High and Low oscillation points for short-term entries.
Settings Included
• Range Length & Multiplier: Adjust the sensitivity of the Range Oscillator.
• MACD Inputs: Customizable Fast, Slow, and Signal lengths, with options for SMA or EMA types.
• Visuals: Fully customizable colors for Rising/Falling trends, band opacity, and line thickness.
How this follows House Rules
1. Originality:
o Rule: You cannot simply upload a generic MACD.
o Compliance: This is not a standard MACD. It is a complex script that performs mathematical normalization to fit two different indicator types onto one scale. The "Dynamic Fitting" logic makes it unique.
2. Description Quality:
o Rule: You must explain the math and how to read the signals.
o Compliance: The description above details the "Weighted MA logic" and the "Dynamic Fitting" process. It avoids saying "Buy when Green" (which is low effort) and instead explains why it turns green (slope analysis).
3. Visuals:
o Rule: Plots must be clear and not cluttered.
o Compliance: The script uses overlay=false (separate pane). The specific colors you requested (#37ff0c, #ff0014, and the Yellow tint) are high-contrast and distinct, making the chart easy to read.
4. No "Holy Grail" Claims:
o Rule: Do not promise guaranteed profits.
o Compliance: The description uses terms like "Trend Confirmation" and "Signal," avoiding words like "Guaranteed," "Win-rate," or "No Repaint."
MTF Bollinger Swing Table (TF bg light grey)Indicator colour Meaning :
State rules & color mapping (priority order applies):
* If upper is challenged → Light Red.
* Else if upper not challenged AND upper curved down → Dark Red.
* If lower is challenged → Light Green.
* Else if lower not challenged AND lower curved up → Dark Green.
* Otherwise → Neutral (gray).
Smart Money Concept with CPR Hariss 369The Central Pivot Range (CPR) is a price-based intraday support–resistance indicator used to identify market trend, strength, and breakout levels. It is calculated using the previous day’s High, Low, and Close. CPR consists of three levels:
PP (Pivot Point) = (High + Low + Close) / 3
BC (Bottom Central) = (High + Low) / 2
TC (Top Central) = 2 × PP – BC
Together, BC–PP–TC form the CPR zone.
How traders use CPR
Narrow CPR → Indicates high probability of trending or volatile moves.
Wide CPR → Suggests range-bound or sideways market.
Price above CPR → Bullish bias.
Price below CPR → Bearish bias.
Breakouts of TC/BC are often used for intraday trades with momentum confirmation (like volume or moving averages).
Why CPR is popular
CPR helps traders quickly judge the market tone, identify key levels, and plan trades around breakout, reversal, or trending conditions. It is widely used in index and stock intraday trading.
To strengthen the trade, RSI, RVOL and DMI/ADX have been added to this strategy with optional filter. One can change these values based on one's trading style and risk appetite.
On bullish trend BC is often used as stop loss and on bearish trend TC is often used as stop loss.
Daily Key Levels (Staggered Start)Daily Key Levels (Staggered Start)
Tên chỉ báo đã nói lên mọi thứ rồi. Dùng thử nhé
Diganta Trend MTF 10 MIn / 2 MinThe Script does the following :
Buy Condition - Blue Dot gets plotted
1. On both 10 mins and 2 Mins TF
2. Close above 33 ema high
3. RSI > 55
4. +di > -Di & +di > 25
Sell Conditions - Red Dot gets plotted
1. On both 10 mins and 2 Mins TF
2. Close below 33 ema low
3. RSI < 45
4. -di > +Di & -di > 25
Per Bak Self-Organized CriticalityTL;DR: This indicator measures market fragility. It measures the system's vulnerability to cascade failures and phase transitions. I've added four independent stress vectors: tail risk, volatility regime, credit stress, and positioning extremes. This allows us to quantify how susceptible markets are to disproportionate moves from small shocks, similar to how a steep sandpile is primed for avalanches.
Avalanches, forest fires, earthquakes, pandemic outbreaks, and market crashes. What do they all have in common? They are not random.
These events follow power laws - stable systems that naturally evolve toward critical states where small triggers can unleash catastrophic cascades.
For example, if you are building a sandpile, there will be a point with a little bit additional sand will cause a landslide.
Markets build fragility grain by grain, like a sandpile approaching avalanche.
The Per Bak Self-Organized Criticality (SOC) indicator detects when the markets are a few grains away from collapse.
This indicator is highly inspired by the work of Per Bak related to the science of self-organized criticality .
As Bak said:
"The earthquake does not 'know how large it will become'. Thus, any precursor state of a large event is essentially identical to a precursor state of a small event."
For markets, this means:
We cannot predict individual crash size from initial conditions
We can predict statistical distribution of crashes
We can identify periods of increased systemic risk (proximity to critical state)
BTW, this is a forwarding looking indicator and doesn't reprint. :)
The Story of Per Bak
In 1987, Danish physicist Per Bak and his colleagues discovered an important pattern in nature: self-organized criticality.
Their sandpile experiment revealed something: drop grains of sand one by one onto a pile, and the system naturally evolves toward a critical state. Most grains cause nothing. Some trigger small slides. But occasionally a single grain triggers a massive avalanche.
The key insight is that we cannot predict which grain will trigger the avalanche, but you can measure when the pile has reached a critical state.
Why Markets Are the Ultimate SOC System?
Financial markets exhibit all the hallmarks of self-organized criticality:
Interconnected agents (traders, institutions, algorithms) with feedback loops
Non-linear interactions where small events can cascade through the system
Power-law distributions of returns (fat tails, not normal distributions)
Natural evolution toward fragility as leverage builds, correlations tighten, and positioning crowds
Phase transitions where calm markets suddenly shift to crisis regimes
Mathematical Foundation
Power Law Distributions
Traditional finance assumes returns follow a normal distribution. "Markets return 10% on average." But I disagree. Markets follow power laws:
P(x) ∝ x^(-α)
Where P(x) is the probability of an event of size x, and α is the power law exponent (typically 3-4 for financial markets).
What this means: Small moves happen constantly. Medium moves are less frequent. Catastrophic moves are rare but follow predictable probability distributions. The "fat tails" are features of critical systems.
Critical Slowing Down
As systems approach phase transitions, they exhibit critical slowing down—reduced ability to absorb shocks. Mathematically, this appears as:
τ ∝ |T - T_c|^(-ν)
Where τ is the relaxation time, T is the current state, T_c is the critical threshold, and ν is the critical exponent.
Translation: Near criticality, markets take longer to recover from perturbations. Fragility compounds.
Component Aggregation & Non-Linear Emergence
The Per Bak SOC our index aggregates four normalized components (each scaled 0-100) with tunable weights:
SOC = w₁·C_tail + w₂·C_vol + w₃·C_credit + w₄·C_position
Default weights (you can change this):
w₁ = 0.34 (Tail Risk via SKEW)
w₂ = 0.26 (Volatility Regime via VIX term structure)
w₃ = 0.18 (Credit Stress via HYG/LQD + TED spread)
w₄ = 0.22 (Positioning Extremes via Put/Call ratio)
Each component uses percentile ranking over a 252-day lookback combined with absolute thresholds to capture both relative regime shifts and extreme absolute levels.
The Four Pillars Explained
1. Tail Risk (SKEW Index)
Measures options market pricing of fat-tail events. High SKEW indicates elevated outlier probability.
C_tail = 0.7·percentrank(SKEW, 252) + 0.3·((SKEW - 115)/0.5)
2. Volatility Regime (VIX Term Structure)
Combines VIX level with term structure slope. Backwardation signals acute stress.
C_vol = 0.4·VIX_level + 0.35·VIX_slope + 0.25·VIX_ratio
3. Credit Stress (HYG/LQD + TED Spread)
Tracks high-yield deterioration versus investment-grade and interbank lending stress.
C_credit = 0.65·percentrank(LQD/HYG, 252) + 0.35·(TED/0.75)·100
4. Positioning Extremes (Put/Call Ratio)
Detects extreme hedging demand through percentile ranking and z-score analysis.
C_position = 0.6·percentrank(P/C, 252) + 0.4·zscore_normalized
What the Indicator Really Measures?
Not Volatility but Fragility
Markets Going Down ≠ Fragility Building (actually when markets go down, risk and fragility are released)
The 0-100 Scale & Regime Thresholds
The indicator outputs a 0-100 fragility score with four regimes:
🟢 Safe (0-39): System resilient, can absorb normal shocks
🟡 Building (40-54): Early fragility signs, watch for deterioration
🟠 Elevated (55-69): System vulnerable
🔴 Critical (70-100): Highly susceptible to cascade failures
Further Reading for Nerds
Bak, P., Tang, C., & Wiesenfeld, K. (1987). "Self-organized criticality: An explanation of 1/f noise." Physical Review Letters.
Bak, P. & Chen, K. (1991). "Self-organized criticality." Scientific American.
Bak, P. (1996). How Nature Works: The Science of Self-Organized Criticality. Copernicus.
Feedback is appreciated :)
Industry Group Strength (Custom ETFs)This script is a modified version of the 'Industry Group Strength' indicator. It enhances the 'Investment Trusts/Mutual Funds' category by incorporating a curated list of key Sector and Thematic ETFs (e.g., SMH, XBI, BLOK) for top-down market analysis. This allows traders to track broad sector rotation while retaining the original functionality of ranking individual stocks within their specific industries based on Relative Strength.
Diganta ATR LevelsThis Script Plots the ATR levels based on the following logic
1. The Open price of 9.15 is considered.
2. Then based on the Open Price the ATR levels are plotted.
3. The ATR length is 180
4. ATR multiplier is 1 ( extended by 25% on both sides)
Diganta Straddle PlotThis Script Plots the ATM Straddle .
The Straddle strike can be selected
The Straddle expiry can be selected
This works on all Time Frame.
A blue signal line gets plotted from 9.15 Close of straddle price as a reference line
🚀 Enhanced BUY & SELL Pullback Scanner🚀 Enhanced BUY & SELL Pullback Scanner🚀 Enhanced BUY & SELL Pullback Scanner🚀 Enhanced BUY & SELL Pullback Scanner🚀 Enhanced BUY & SELL Pullback Scanner🚀 Enhanced BUY & SELL Pullback Scanner🚀 Enhanced BUY & SELL Pullback Scanner🚀 Enhanced BUY & SELL Pullback Scanner🚀 Enhanced BUY & SELL Pullback Scanner🚀 Enhanced BUY & SELL Pullback Scanner🚀 Enhanced BUY & SELL Pullback Scanner🚀 Enhanced BUY & SELL Pullback Scanner🚀 Enhanced BUY & SELL Pullback Scanner
🚀 Enhanced BUY & SELL Pullback ScannerThis script help to find the scan the script. this sis dor testing






















