📱 EMA Stability Mobile + Pulse BG + Alerts (edegrano)User Manual: 📱 EMA Stability Mobile + Pulse BG + Alerts
Overview
This indicator monitors the stability of the market trend by analyzing the relative positions and gaps between the 50, 100, and 200 EMAs (Exponential Moving Averages) on a user-defined higher timeframe. It detects when the EMAs align bullishly or bearishly with a minimum gap tolerance and provides visual signals, background pulses, and alerts when such stable conditions start.
Key Features
Uses 3 EMAs (50, 100, 200) from a selectable timeframe.
Checks if EMAs are aligned in a stable bullish or bearish order with configurable minimum percentage gaps.
Confirms that price is not touching the EMA50 (to avoid instability).
Displays arrow, text status ("Bull", "Bear", or "Unst" for unstable).
Shows a strength score representing the average EMA gap relative to tolerance.
Pulses the chart background green or red when stability starts.
Sends alerts when a new bullish or bearish stability condition begins.
Displays a table summary at the top center of the chart.
Inputs
Parameter Description Default Value
EMA TF Timeframe to fetch EMA values from. "15" (15 min)
Min Gap (%) Minimum % gap required between EMAs for stability. 0.1%
Background Opacity Opacity level (0-100) for the pulse background color. 85
How It Works
The indicator fetches EMA50, EMA100, and EMA200 values from the chosen timeframe.
It calculates the percentage gap between EMA50 & EMA100 and EMA100 & EMA200.
It checks if:
For bullish stability: EMA50 > EMA100 by at least the tolerance and EMA100 > EMA200 by at least tolerance, AND current candle’s low is above EMA50.
For bearish stability: EMA50 < EMA100 by at least the tolerance and EMA100 < EMA200 by at least tolerance, AND current candle’s high is below EMA50.
When a stable bullish or bearish condition starts (i.e., it was not stable the previous bar), it triggers a pulse on the background and sends an alert.
The strength score reflects how strong the EMA gaps are relative to the minimum gap set.
A table displays key info: stability arrow, status, strength percentage, and gap percentages.
Visuals on Chart
Arrow:
▲ = Bullish Stability
▼ = Bearish Stability
• = Unstable (no stability detected)
Status Text: "Bull", "Bear", or "Unst"
Background Pulse: Green for bullish stability start, red for bearish stability start (fades based on opacity setting).
Table at top center shows:
EMA stability arrow and status
Strength score (%)
Percentage gaps between EMAs 50-100 and 100-200
Alerts
The indicator sends alerts when a new stable bullish or bearish trend begins.
Alert messages include:
📈 Bullish Stability detected on ( )
📉 Bearish Stability detected on ( )
Alerts are triggered only once per bar close on the condition's start.
Recommended Usage Tips
Adjust EMA TF to your preferred higher timeframe for trend confirmation.
Set Min Gap (%) depending on how strict you want the gap between EMAs for stability (smaller gap = more sensitive).
Use Background Opacity to make pulses subtle or prominent according to your preference.
Combine this indicator with price action or other tools for entry/exit timing.
Use alerts to be notified instantly when stable trends form.
Cerca negli script per "bear"
Volume Stack EmojisVolume Stack visualizes market bias and momentum for each candle using intuitive emojis in a dedicated bottom pane, keeping your main price chart clean and focused. The indicator analyzes where price closes within each bar’s range to estimate bullish or bearish pressure and highlights key momentum shifts.
Features:
Bullish and Bearish States:
🟩 Green square: Normal bullish candle
🟥 Red square: Normal bearish candle
Strong Bullish/Bearish:
🟢 Green circle: Strong bullish (close near high)
🔴 Red circle: Strong bearish (close near low)
Critical Transitions:
✅ Green checkmark: Bearish → strong bullish (momentum reversal up)
❌ Red cross: Bullish → strong bearish (momentum reversal down)
Easy Visual Scanning:
Emojis plotted in the indicator’s own pane for rapid pattern recognition and clean workflow.
No overlays:
Keeps all symbols off the main price pane.
How it works:
For each candle, the indicator calculates the percentage distance of the close price within the high/low range, then classifies and marks:
Normal bullish/bearish: Basic directional bias
Strong signals: Close is at least 75% toward the high (bullish) or low (bearish)
Transitions: Detects when the market suddenly flips from bullish to strong bearish (❌), or bearish to strong bullish (✅), pinpointing possible inflection points.
This indicator is ideal for traders who want a simple, non-intrusive visualization of intrabar momentum and key reversals—making trend reading and market sentiment effortless.
Nifty50 Swing Trading Super Indicator# 🚀 Nifty50 Swing Trading Super Indicator - Complete Guide
**Created by:** Gaurav
**Date:** August 8, 2025
**Version:** 1.0 - Optimized for Indian Markets
---
## 📋 Table of Contents
1. (#quick-start-guide)
2. (#indicator-overview)
3. (#installation-instructions)
4. (#parameter-settings)
5. (#signal-interpretation)
6. (#trading-strategy)
7. (#risk-management)
8. (#optimization-tips)
9. (#troubleshooting)
---
## 🎯 Quick Start Guide
### What You Get
✅ **2 Complete Pine Script Indicators:**
- `swing_trading_super_indicator.pine` - Universal version for all markets
- `nifty_optimized_super_indicator.pine` - Specifically optimized for Nifty50 & Indian stocks
✅ **Key Features:**
- Multi-component signal confirmation system
- Optimized for daily and 3-hour timeframes
- Built-in risk management with dynamic stops and targets
- Real-time signal strength monitoring
- Gap analysis for Indian market characteristics
### Immediate Setup
1. Copy the Pine Script code from `nifty_optimized_super_indicator.pine`
2. Paste into TradingView Pine Editor
3. Add to chart on daily or 3-hour timeframe
4. Look for 🚀BUY and 🔻SELL signals
5. Use the information table for signal confirmation
---
## 🔍 Indicator Overview
### Core Components Integration
**🎯 Range Filter (35% Weight)**
- Primary trend identification using adaptive volatility filtering
- Optimized sampling period: 21 bars for Indian market volatility
- Enhanced range multiplier: 3.0 to handle market gaps
- Provides trend direction and strength measurement
**⚡ PMAX (30% Weight)**
- Volatility-adjusted trend confirmation using ATR-based calculations
- Dynamic multiplier adjustment based on market volatility
- 14-period ATR with 2.5 multiplier for swing trading sensitivity
- Offers trailing stop functionality
**🏗️ Support/Resistance (20% Weight)**
- Dynamic level identification using pivot point analysis
- Tighter channel width (3%) for precise Indian market levels
- Enhanced strength calculation with historical interaction weighting
- Provides entry/exit timing and breakout signals
**📊 EMA Alignment (15% Weight)**
- Multi-timeframe moving average confirmation
- Key EMAs: 9, 21, 50, 200 (popular in Indian markets)
- Hierarchical alignment scoring for trend strength
- Additional trend validation layer
### Advanced Features
**🌅 Gap Analysis**
- Automatic detection of significant price gaps (>2%)
- Gap strength measurement and impact on signals
- Specific optimization for Indian market overnight gaps
- Visual gap markers on chart
**⏰ Multi-Timeframe Integration**
- Higher timeframe bias from daily/weekly data
- Configurable daily bias weight (default 70%)
- 3-hour confirmation for precise entry timing
- Prevents counter-trend trades against major timeframe
**🛡️ Risk Management**
- Dynamic stop-loss calculation using multiple methods
- Automatic profit target identification
- Position sizing guidance based on signal strength
- Anti-whipsaw logic to prevent false signals
---
## 📥 Installation Instructions
### Step 1: Access TradingView
1. Open TradingView.com
2. Navigate to Pine Editor (bottom panel)
3. Create a new indicator
### Step 2: Copy the Code
**For Nifty50 & Indian Stocks (Recommended):**
```pinescript
// Copy entire content from nifty_optimized_super_indicator.pine
```
**For Universal Use:**
```pinescript
// Copy entire content from swing_trading_super_indicator.pine
```
### Step 3: Configure and Apply
1. Click "Add to Chart"
2. Select daily or 3-hour timeframe
3. Adjust parameters if needed (defaults are optimized)
4. Enable alerts for signal notifications
### Step 4: Verify Installation
- Check that all components are visible
- Confirm information table appears in top-right
- Test with known trending stocks for signal validation
---
## ⚙️ Parameter Settings
### 🎯 Range Filter Settings
```
Sampling Period: 21 (optimized for Indian market volatility)
Range Multiplier: 3.0 (handles overnight gaps effectively)
Source: Close (most reliable for swing trading)
```
### ⚡ PMAX Settings
```
ATR Length: 14 (standard for daily/3H timeframes)
ATR Multiplier: 2.5 (balanced for swing trading sensitivity)
Moving Average Type: EMA (responsive to price changes)
MA Length: 14 (matches ATR period for consistency)
```
### 🏗️ Support/Resistance Settings
```
Pivot Period: 8 (shorter for Indian market dynamics)
Channel Width: 3% (tighter for precise levels)
Minimum Strength: 3 (higher quality levels only)
Maximum Levels: 4 (focus on strongest levels)
Lookback Period: 150 (sufficient historical data)
```
### 🚀 Super Indicator Settings
```
Signal Sensitivity: 0.65 (balanced for swing trading)
Trend Strength Requirement: 0.75 (high quality signals)
Gap Threshold: 2.0% (significant gap detection)
Daily Bias Weight: 0.7 (strong higher timeframe influence)
```
### 🎨 Display Options
```
Show Range Filter: ✅ (trend visualization)
Show PMAX: ✅ (trailing stops)
Show S/R Levels: ✅ (key price levels)
Show Key EMAs: ✅ (trend confirmation)
Show Signals: ✅ (buy/sell alerts)
Show Trend Background: ✅ (visual trend state)
Show Gap Markers: ✅ (gap identification)
```
---
## 📊 Signal Interpretation
### 🚀 BUY Signals
**Requirements for BUY Signal:**
- Price above Range Filter with upward trend
- PMAX showing bullish direction (MA > PMAX line)
- Support/resistance breakout or favorable positioning
- EMA alignment supporting upward movement
- Higher timeframe bias confirmation
- Overall signal strength > 75%
**Signal Strength Indicators:**
- **90-100%:** Extremely strong - Maximum position size
- **80-89%:** Very strong - Large position size
- **75-79%:** Strong - Standard position size
- **65-74%:** Moderate - Reduced position size
- **<65%:** Weak - Wait for better opportunity
### 🔻 SELL Signals
**Requirements for SELL Signal:**
- Price below Range Filter with downward trend
- PMAX showing bearish direction (MA < PMAX line)
- Resistance breakdown or unfavorable positioning
- EMA alignment supporting downward movement
- Higher timeframe bias confirmation
- Overall signal strength > 75%
### ⚖️ NEUTRAL Signals
**Characteristics:**
- Conflicting signals between components
- Low overall signal strength (<65%)
- Range-bound market conditions
- Wait for clearer directional bias
### 📈 Information Table Guide
**Component Status:**
- **BULL/BEAR:** Current signal direction
- **Strength %:** Component contribution strength
- **Status:** Additional context (STRONG/WEAK/ACTIVE/etc.)
**Overall Signal:**
- **🚀 STRONG BUY:** All systems aligned bullish
- **🔻 STRONG SELL:** All systems aligned bearish
- **⚖️ NEUTRAL:** Mixed or weak signals
---
## 💼 Trading Strategy
### Daily Timeframe Strategy
**Setup:**
1. Apply indicator to daily chart of Nifty50 or Indian stocks
2. Wait for 🚀BUY or 🔻SELL signal with >75% strength
3. Confirm higher timeframe bias alignment
4. Check for significant support/resistance levels
**Entry:**
- Enter on signal bar close or next bar open
- Use 3-hour chart for precise entry timing
- Avoid entries during major news events
- Consider gap analysis for overnight positions
**Position Sizing:**
- **>90% Strength:** 3-4% of portfolio
- **80-89% Strength:** 2-3% of portfolio
- **75-79% Strength:** 1-2% of portfolio
- **<75% Strength:** Avoid or minimal size
### 3-Hour Timeframe Strategy
**Setup:**
1. Confirm daily timeframe bias first
2. Apply indicator to 3-hour chart
3. Look for signals aligned with daily trend
4. Use for entry/exit timing optimization
**Entry Refinement:**
- Wait for 3H signal confirmation
- Enter on pullbacks to key levels
- Use tighter stops for better risk/reward
- Monitor intraday support/resistance
### Risk Management Rules
**Stop Loss Placement:**
1. **Primary:** Use indicator's dynamic stop level
2. **Secondary:** Below/above nearest support/resistance
3. **Maximum:** 2-3% of portfolio per trade
4. **Trailing:** Move stops with PMAX line
**Profit Taking:**
1. **Target 1:** First resistance/support level (50% position)
2. **Target 2:** Second resistance/support level (30% position)
3. **Runner:** Trail remaining 20% with PMAX
**Position Management:**
- Review positions at daily close
- Adjust stops based on new signals
- Exit if trend changes to opposite direction
- Reduce size during high volatility periods
---
## 🎯 Optimization Tips
### For Nifty50 Trading
- Use daily timeframe for primary signals
- Monitor sector rotation impact
- Consider index futures for better liquidity
- Watch for RBI policy and global cues impact
### For Individual Stocks
- Verify stock follows Nifty correlation
- Check sector-specific news and events
- Ensure adequate liquidity for position size
- Monitor earnings calendar for volatility
### Market Condition Adaptations
**Trending Markets:**
- Increase position sizes for strong signals
- Use wider stops to avoid whipsaws
- Focus on trend continuation signals
- Reduce counter-trend trading
**Range-Bound Markets:**
- Reduce position sizes
- Use tighter stops and quicker profits
- Focus on support/resistance bounces
- Increase signal strength requirements
**High Volatility Periods:**
- Reduce overall exposure
- Use smaller position sizes
- Increase stop-loss distances
- Wait for clearer signals
### Performance Monitoring
- Track win rate and average profit/loss
- Monitor signal quality over time
- Adjust parameters based on market changes
- Keep trading journal for pattern recognition
---
## 🔧 Troubleshooting
### Common Issues
**Q: Signals appear too frequently**
A: Increase "Trend Strength Requirement" to 0.8-0.9
**Q: Missing obvious trends**
A: Decrease "Signal Sensitivity" to 0.5-0.6
**Q: Too many false signals**
A: Enable "3H Confirmation" and increase strength requirements
**Q: Indicator not loading**
A: Check Pine Script version compatibility (requires v5)
### Parameter Adjustments
**For More Sensitive Signals:**
- Decrease Signal Sensitivity to 0.5-0.6
- Decrease Trend Strength Requirement to 0.6-0.7
- Increase Range Filter multiplier to 3.5-4.0
**For More Conservative Signals:**
- Increase Signal Sensitivity to 0.7-0.8
- Increase Trend Strength Requirement to 0.8-0.9
- Enable all confirmation features
### Performance Issues
- Reduce lookback periods if chart loads slowly
- Disable some visual elements for better performance
- Use on liquid stocks/indices for best results
---
## 📞 Support & Updates
This super indicator combines the best of Range Filter, PMAX, and Support/Resistance analysis specifically optimized for Indian market swing trading. The multi-component approach significantly improves signal quality while the built-in risk management features help protect capital.
**Remember:** No indicator is 100% accurate. Always combine with proper risk management, market analysis, and your trading experience for best results.
**Happy Trading! 🚀**
Supply & Demand & Backtest (M5-H4)// This Pine Script® code is subject to the terms of the Mozilla Public License 2.0 at mozilla.org
// © RoseZero
//@version=6
indicator('Vung Cung va Cau (M5-H4)', overlay = true)
//===Input===
length1 = input.int(5, 'Swing Loockback', minval = 1)
lengthM5 = input.int(10, title = 'Lookback (M5-M30)')
LengthH1 = input.int(20, title = 'Lookback (H1-H4)')
volMultiplier = input.float(1.5, title = 'Volume Threshold')
zoneHeight = input.float(0.4, title = 'Zone Height (%)')
rsiPeriod = input.int(14, title = 'RSI Period')
rsiOB = input.int(70, title = 'RSI Overbought')
rsiOS = input.int(30, title = 'RSI Oversold')
zoneDuration = input.int(20, title = 'ZOne Duration (bars)')
showEngulfing = input.bool(true, 'Highlight Engulfing Candles')
//boxLookback = input.int(10, title = 'Khoang cach toi da giua 2 liquidity Grab')
//===Auto-adjust by timeframe===
isLowerTF = timeframe.isminutes and timeframe.multiplier <= 30
length = isLowerTF ? lengthM5 : LengthH1
//===Calculation==
avgVol = ta.sma(volume, length)
rsi = ta.rsi(close, rsiPeriod)
highVol = volume > avgVol * volMultiplier
//===Supply Zone Conditions===
isSwingHigh = high == ta.highest(high, length)
bearish = close < open
supplyCond = highVol and isSwingHigh and bearish and rsi > rsiOB
//===Demand Zone Condition===
isSwingLow = low == ta.lowest(low, length)
bullish = close > open
demandCond = highVol and isSwingLow and bullish and rsi < rsiOS
//===Strength Classification===
zoneStrength = volume / avgVol
supplyColor = zoneStrength > 2 ? color.red : color.new(color.red, 60)
demandColor = zoneStrength > 2 ? color.green : color.new(color.green, 60)
supplyLabel = zoneStrength > 2 ? 'Supply(Strong)' : 'Supply(Week)'
demandLabel = zoneStrength > 2 ? 'Demand(Strong)' : 'Demand(Week)'
//===Draw Zone===
if supplyCond
box.new(left = bar_index, right = bar_index + zoneDuration, top = high, bottom = high * (1 - zoneHeight / 100), bgcolor = color.new(supplyColor, 80), border_color = supplyColor, text = supplyLabel, text_color = color.white)
alert('Vung cung moi xuat hien', alert.freq_once_per_bar_close)
if demandCond
box.new(left = bar_index, right = bar_index + zoneDuration, top = low * (1 + zoneHeight / 100), bottom = low, bgcolor = color.new(demandColor, 80), border_color = demandColor, text = demandLabel, text_color = color.white)
alert('Vung cau moi xuat hien', alert.freq_once_per_bar_close)
//===Alert=== alertc
alertcondition(supplyCond, title = 'New Supply Zone', message = 'Vung Cung moi xuat hien!')
alertcondition(demandCond, title = 'New Demand Zone', message = 'Vung Cau moi xuat hien!')
//============================================================================================
//===Khung thoi gian su ly===
timeframe = input.timeframe('30', 'Khung phan tich(vd:\'30\', \'60\')')
//===So nen truoc de do vung OB===
lookback = input.int(10, 'so nen truoc de do oder block')
//===Lay du lieu tu khung thoi gian lon hon===
= request.security(syminfo.tickerid, timeframe, [high , low , open , close ])
src = input.source(close, 'Nguon gia')
//===Logic phat hien OB ===
isBearishOB = closeHTF < openHTF
isBullishOB = closeHTF > openHTF
//===Vung OB===
obHigh = isBearishOB ? highHTF : na
obLow = isBullishOB ? lowHTF : na
//===Canh bao===
touchOB = close >= obLow and close <= obHigh
alertcondition(touchOB, title = 'Cham vung OB', message = 'Gia dang cham vung Smart Money Order Block!')
plotshape(touchOB, location = location.belowbar, color = color.orange, style = shape.triangleup, size = size.small)
if touchOB
alert('Cham vung OB: Gia dang cham vung Smart Money Order Block!', alert.freq_once_per_bar_close)
//===Vung thanh khoan===(Liquidity Sweep Zones)
swingHigh = ta.highest(high, length1)
swingLow = ta.lowest(low, length1)
liquidityHigh = high > swingHigh
liquidityLow = low < swingLow
//==========================================================================================
//===Volume filter===
avgVol2 = ta.sma(volume, 20)
highVol2 = volume > avgVol2 * volMultiplier
//===Candle Pattern===
bullishEngulfing = close > open and close < open and close > open and open < close
bearishEngulfing = close < open and close > open and close < open and open > close
isPinBarBull = close > open and (open - low) > 2 * (close - open)
isPinBarBear = close < open and (high - open) > 2 * (open - close)
isHammer = (high - low) > 3 * (open - close) and (close - low) / (high - low) > 0.6
isHangingMan = (high - low) > 3 * (open - close) and (high - open) / (high - low) > 0.6
isBullMarubozu = close > open and (high - close) < 0.1 * (high -low) and (open -low) < 0.1 * (high - low)
isBearMarubozu = close < open and (high - open) < 0.1 * (high - low) and (close -low) < 0.1 * (high -low)
//===Bien luu vung Cung / Cau da bi pha===
var float lastSupplyTop = na
var float lastSupplyBottom = na
var bool supplyBroken = false
var float lastDemandTop = na
var float lastDemandBottom = na
var bool demandBroken = false
//===Cap nhat vung moi khi co Cung/Cau moi ===
if supplyCond
lastSupplyTop := high
lastSupplyBottom := high * (1 - zoneHeight / 100)
supplyBroken := false
if demandCond
lastDemandBottom := low
lastDemandTop := low * (1 + zoneHeight / 100)
//===Kiem tra pha vo vung Cung/Cau===
if not supplyBroken and close > lastSupplyTop
supplyBroken := true
if not demandBroken and close < lastDemandBottom
demandBroken := true
//===Kiem tra backtest vung da bi pha===
backtestSupply = supplyBroken and close <= lastSupplyTop and close >= lastSupplyBottom
backtestDemand = demandBroken and close >= lastDemandBottom and close <= lastDemandTop
//===Kiem tra thung vung backtest (gia vuot qua vung luon)===
failBacktestSupply = supplyBroken and close < lastSupplyBottom
failBacktestDemand = demandBroken and close > lastDemandTop
//Hien thi canh bao tren bieu do===
plotshape(backtestSupply, title = 'Backtest Supply', location = location.abovebar, color = color.new(color.red, 50), style = shape.circle, size = size.small)
plotshape(backtestDemand, title = 'Backtest Demand', location = location.belowbar, color = color.new(color.green, 60), style = shape.circle, size = size.small)
volStrong = volume > ta.sma(volume, 20) * volMultiplier
validBull = bullishEngulfing and isPinBarBull and isHammer and isBullMarubozu and volStrong and demandCond
validBear = bearishEngulfing and isPinBarBear and isHangingMan and isBearMarubozu and volStrong and supplyCond
if validBull
alert("Tin hieu Buy: Mo hinh nen dao chieu tang + RSI + Volume lon", alert.freq_once_per_bar_close)
if validBear
alert("Tin hieu Sell: Mo hinh nen dao chieu giam + RSI + Volume lon", alert.freq_once_per_bar_close)
//plot(close)
//===============================================================================================
Mig Trade Model - Kill Zones
Key features:
Liquidity Hunt Detection: Spots aggressive moves that "hunt" stops beyond recent swing highs/lows.
Consolidation Filter: Requires 1-3 small-range candles after a hunt before confirming with a strong candle.
Bias Application: Uses daily open/close to auto-detect bias or allows manual override.
Kill Zone Restriction: Limits signals to London (default: 7-10 AM UTC) and NY (default: 12-3 PM UTC) sessions for better relevance in active markets.
This strategy is inspired by smart money concepts (SMC) and ICT (Inner Circle Trader) methodologies, aiming to capture venom-like "stings" in price action where liquidity is grabbed before reversals.
How It Works
ATR Calculation: Uses a user-defined ATR length (default: 14) to measure volatility, which scales candle body and range thresholds.
Bias Determination:
Auto: Compares daily close to open (bullish if close > open).
Manual: User selects "Bullish" or "Bearish."
Strong Candles:
Bullish: Green candle with body > 2x ATR (configurable).
Bearish: Red candle with body > 2x ATR.
Small Range Candles:
Candles where high-low < 0.5x ATR (configurable).
Liquidity Hunt:
Bullish Hunt: Strong bearish candle making a new low below the past swing low (default: 10 bars).
Bearish Hunt: Strong bullish candle making a new high above the past swing high.
Signal Generation:
After a hunt, counts 1-3 small-range candles.
Confirms with a strong candle in the opposite direction (e.g., strong bullish after bearish hunt).
Resets if >3 small candles or an opposing strong candle appears.
Kill Zone Filter:
Checks if the current bar's time (in UTC) falls within London or NY Kill Zones.
Only allows final "Buy" (bullish entry) or "Sell" (bearish entry) if bias matches and in Kill Zone.
Plots:
Yellow circle (below): Bullish liquidity hunt.
Orange circle (above): Bearish liquidity hunt.
Blue diamond (below): Raw bullish signal.
Purple diamond (above): Raw bearish signal.
Green triangle up ("Buy"): Filtered bullish entry.
Red triangle down ("Sell"): Filtered bearish entry.
Inputs
Bias: "Auto" (default), "Bullish", or "Bearish" – Controls signal direction based on daily trend.
ATR Length: 14 (default) – Period for ATR calculation.
Swing Length for Liquidity Hunt: 10 (default) – Bars to look back for swing highs/lows.
Strong Candle Body Multiplier (x ATR): 2.0 (default) – Threshold for strong candle bodies.
Small Range Multiplier (x ATR): 0.5 (default) – Threshold for small-range candles.
London Kill Zone Start/End Hour (UTC): 7/10 (default) – Customize London session hours.
NY Kill Zone Start/End Hour (UTC): 12/15 (default) – Customize New York session hours.
Usage Tips
Timeframe: Best on lower timeframes (e.g., 5-15 min) for intraday trading, especially forex pairs like EURUSD or GBPUSD.
Timezone Adjustment: Inputs are in UTC. If your chart is in a different timezone (e.g., EST = UTC-5), adjust hours accordingly (e.g., London: 2-5 AM EST → 7-10 UTC).
Risk Management: Use with stop-loss (e.g., beyond the hunt low/high) and take-profit based on ATR multiples. Not financial advice—backtest thoroughly.
Customization: Tweak multipliers for different assets; higher for volatile cryptos, lower for stocks.
Limitations: Relies on historical data; may generate false signals in ranging markets. Combine with other indicators like volume or support/resistance.
This indicator is for educational purposes. Always use discretion and proper risk management in live trading. If you find it useful, feel free to share feedback or suggestions!
MSTY-WNTR Rebalancing SignalMSTY-WNTR Rebalancing Signal
## Overview
The **MSTY-WNTR Rebalancing Signal** is a custom TradingView indicator designed to help investors dynamically allocate between two YieldMax ETFs: **MSTY** (YieldMax MSTR Option Income Strategy ETF) and **WNTR** (YieldMax Short MSTR Option Income Strategy ETF). These ETFs are tied to MicroStrategy (MSTR) stock, which is heavily influenced by Bitcoin's price due to MSTR's significant Bitcoin holdings.
MSTY benefits from upward movements in MSTR (and thus Bitcoin) through a covered call strategy that generates income but caps upside potential. WNTR, on the other hand, provides inverse exposure, profiting from MSTR declines but losing in rallies. This indicator uses Bitcoin's momentum and MSTR's relative strength to signal when to hold MSTY (bullish phases), WNTR (bearish phases), or stay neutral, aiming to optimize returns by switching allocations at key turning points.
Inspired by strategies discussed in crypto communities (e.g., X posts analyzing MSTR-linked ETFs), this indicator promotes an active rebalancing approach over a "set and forget" buy-and-hold strategy. In simulated backtests over the past 12 months (as of August 4, 2025), the optimized version has shown potential to outperform holding 100% MSTY or 100% WNTR alone, with an illustrative APY of ~125% vs. ~6% for MSTY and ~-15% for WNTR in one scenario.
**Important Disclaimer**: This is not financial advice. Past performance does not guarantee future results. Always consult a financial advisor. Trading involves risk, and you could lose money. The indicator is for educational and informational purposes only.
## Key Features
- **Momentum-Based Signals**: Uses a Simple Moving Average (SMA) on Bitcoin's price to detect bullish (price > SMA) or bearish (price < SMA) trends.
- **RSI Confirmation**: Incorporates MSTR's Relative Strength Index (RSI) to filter signals, avoiding overbought conditions for MSTY and oversold for WNTR.
- **Visual Cues**:
- Green upward triangle for "Hold MSTY".
- Red downward triangle for "Hold WNTR".
- Yellow cross for "Switch" signals.
- Background color: Green for MSTY, red for WNTR.
- **Information Panel**: A table in the top-right corner displays real-time data: BTC Price, SMA value, MSTR RSI, and current Allocation (MSTY, WNTR, or Neutral).
- **Alerts**: Configurable alerts for holding MSTY, holding WNTR, or switching.
- **Optimized Parameters**: Defaults are tuned (SMA: 10 days, RSI: 15 periods, Overbought: 80, Oversold: 20) based on simulations to reduce whipsaws and capture trends effectively.
## How It Works
The indicator's logic is straightforward yet effective for volatile assets like Bitcoin and MSTR:
1. **Primary Trigger (Bitcoin Momentum)**:
- Calculate the SMA of Bitcoin's closing price (default: 10-day).
- Bullish: Current BTC price > SMA → Potential MSTY hold.
- Bearish: Current BTC price < SMA → Potential WNTR hold.
2. **Secondary Filter (MSTR RSI Confirmation)**:
- Compute RSI on MSTR stock (default: 15-period).
- For bullish signals: If RSI > Overbought (80), signal Neutral (avoid overextended rallies).
- For bearish signals: If RSI < Oversold (20), signal Neutral (avoid capitulation bottoms).
3. **Allocation Rules**:
- Hold 100% MSTY if bullish and not overbought.
- Hold 100% WNTR if bearish and not oversold.
- Neutral otherwise (e.g., during choppy or extreme markets) – consider holding cash or avoiding trades.
4. **Rebalancing**:
- Switch signals trigger when the hold changes (e.g., from MSTY to WNTR).
- Recommended frequency: Weekly reviews or on 5% BTC moves to minimize trading costs (aim for 4-6 trades/year).
This approach leverages Bitcoin's influence on MSTR while mitigating the risks of MSTY's covered call drag during downtrends and WNTR's losses in uptrends.
## Setup and Usage
1. **Chart Requirements**:
- Apply this indicator to a Bitcoin chart (e.g., BTCUSD on Binance or Coinbase, daily timeframe recommended).
- Ensure MSTR stock data is accessible (TradingView supports it natively).
2. **Adding to TradingView**:
- Open the Pine Editor.
- Paste the script code.
- Save and add to your chart.
- Customize inputs if needed (e.g., adjust SMA/RSI lengths for different timeframes).
3. **Interpretation**:
- **Green Background/Triangle**: Allocate 100% to MSTY – Bitcoin is in an uptrend, MSTR not overbought.
- **Red Background/Triangle**: Allocate 100% to WNTR – Bitcoin in downtrend, MSTR not oversold.
- **Yellow Switch Cross**: Rebalance your portfolio immediately.
- **Neutral (No Signal)**: Panel shows "Neutral" – Hold cash or previous position; reassess weekly.
- Monitor the panel for key metrics to validate signals manually.
4. **Backtesting and Strategy Integration**:
- Convert to a strategy script by changing `indicator()` to `strategy()` and adding entry/exit logic for automated testing.
- In simulations (e.g., using Python or TradingView's backtester), it has outperformed buy-and-hold in volatile markets by ~100-200% relative APY, but results vary.
- Factor in fees: ETF expense ratios (~0.99%), trading commissions (~$0.40/trade), and slippage.
5. **Risk Management**:
- Use with a diversified portfolio; never allocate more than you can afford to lose.
- Add stop-losses (e.g., 10% trailing) to protect against extreme moves.
- Rebalance sparingly to avoid over-trading in sideways markets.
- Dividends: Reinvest MSTY/WNTR payouts into the current hold for compounding.
## Performance Insights (Simulated as of August 4, 2025)
Based on synthetic backtests modeling the last 12 months:
- **Optimized Strategy APY**: ~125% (by timing switches effectively).
- **Hold 100% MSTY APY**: ~6% (gains from BTC rallies offset by downtrends).
- **Hold 100% WNTR APY**: ~-15% (losses in bull phases outweigh bear gains).
In one scenario with stronger volatility, the strategy achieved ~4533% APY vs. 10% for MSTY and -34% for WNTR, highlighting its potential in dynamic markets. However, these are illustrative; real results depend on actual BTC/MSTR movements. Test thoroughly on historical data.
## Limitations and Considerations
- **Data Dependency**: Relies on accurate BTC and MSTR data; delays or gaps can affect signals.
- **Market Risks**: Bitcoin's volatility can lead to false signals (whipsaws); the RSI filter helps but isn't perfect.
- **No Guarantees**: This indicator doesn't predict the future. MSTR's correlation to BTC may change (e.g., due to regulatory events).
- **Not for All Users**: Best for intermediate/advanced traders familiar with ETFs and crypto. Beginners should paper trade first.
- **Updates**: As of August 4, 2025, this is version 1.0. Future updates may include volume filters or EMA options.
If you find this indicator useful, consider leaving a like or comment on TradingView. Feedback welcome for improvements!
LTPI Global Liquidity | JeffreyTimmermansLong-Term Probability Indicator (LTPI)
The "Long-Term Probability Indicator (LTPI)" on a generic liquidity ticker is a custom-built analytical tool designed to evaluate market conditions over a long-term horizon, with a strong focus on global liquidity trends. By combining six carefully selected input signals into a single probability score, this indicator helps traders and analysts identify prevailing long-term market states: Bullish, Bearish, or Neutral.
Where short-term systems/timeframes react quickly to price fluctuations, LTPI smooths out noise and focuses on the bigger picture, allowing for informed strategic decision-making rather than short-term speculation.
Key Features
Multi-Input Aggregation:
Uses six independent inputs, each based on long-term liquidity and macro-related data, to generate a composite market probability score.
Long-Term Focus:
Prioritizes medium-to-long-term trends, ignoring smaller fluctuations that often mislead traders in volatile markets.
Simplified Market States:
Classifies the global market into three primary states:
Bullish: Favorable liquidity and conditions for long-term risk-taking.
Bearish: Tightening liquidity and conditions that require caution.
Neutral: Transitional phases or uncertain conditions.
Background Coloring:
Visual cues on the chart help identify which regime is active at a glance.
Global Liquidity Perspective:
Designed for use on a generic liquidity ticker, based on M2 money supply, to track macroeconomic liquidity flows and risk appetite.
Dashboard Display:
A compact on-screen table summarizes all six inputs, their states, and the resulting LTPI score.
Dynamic Alerts:
Real-time alerts signal when the LTPI shifts from one regime to another.
Inputs & Settings
LTPI Inputs:
Input Sources (6): Each input is a carefully chosen trend following indicator.
Weighting: Each input contributes equally to the final score.
Score Calculation:
Bullish = +1
Bearish = -1
Neutral = 0
Color Settings:
Strong Bullish: Bright Green
Weak Bullish: Light Green
Neutral: Gray/Orange
Weak Bearish: Light Red
Strong Bearish: Bright Red
(Colors can be customized.)
Calculation Process
Collect Data:
Six long-term inputs are evaluated at each bar.
Scoring:
Each input’s state contributes +1 (bullish), -1 (bearish), or around 0 (neutral).
Aggregate Probability:
The LTPI Score is calculated as the sum of all six scores divided by 6, resulting in a value between -1 and +1.
Market Classification:
Score > 0.1: Bullish regime
Score < -0.1: Bearish regime
-0.1 ≤ Score ≤ 0.1: Neutral
Background Coloring:
Background colors are applied to highlight the current regime.
How to Use LTPI
Strategic Positioning:
Bullish: Favor holding or adding to long-term positions.
Bearish: Reduce risk, protect capital.
Neutral: Wait for confirmation before making significant moves.
Confirmation Tool:
LTPI works best when combined with shorter-term indicators like MTPI or trend-following tools to confirm alignment across multiple timeframes.
Dynamic Alerts:
Bullish Regime Entry: When the LTPI Score crosses above 0.1.
Bearish Regime Entry: When the LTPI Score crosses below -0.1.
Neutral Zone: When the score moves back between -0.1 and 0.1.
These alerts help identify significant macro-driven shifts in market conditions.
Conclusion
The Long-Term Probability Indicator (LTPI) is an advanced, liquidity-focused tool for identifying macro-driven market phases. By consolidating six inputs into a single probability score and presenting the results visually, LTPI helps long-term investors and analysts stay aligned with global liquidity trends and avoid being distracted by short-term volatility.
Market Energy – Trend vs Retest (with Saturation %)Market Energy – Trend vs Retest Indicator
This indicator measures the bullish and bearish energy in the market based on volume-weighted price changes.
It calculates two smoothed energy waves — bullish energy and bearish energy — using exponential moving averages of volume-adjusted price movements.
The indicator detects trend changes and retests by comparing the relative strength of these waves.
A saturation percentage quantifies the intensity of the current dominant side (bulls or bears) relative to recent highs.
- High saturation (>70%) indicates strong momentum and dominance by bulls or bears.
- Low saturation (<30%) suggests weak momentum and possible market indecision or consolidation.
The background color highlights the current control: green for bulls, red for bears, with transparency indicating the saturation level.
A label shows which side is currently in control along with the saturation percentage for quick interpretation.
Use this tool to identify strong trends, possible retests, and momentum strength to support your trading decisions.
MTPI TOTAL / BTC | JeffreyTimmermansMedium-Term Probability Indicator (MTPI)
The "Medium-Term Probability Indicator (MTPI)" is a multi-factor model designed to evaluate the medium-term state of a market. By aggregating signals from 20 underlying inputs, it generates a composite score that classifies the market as Bullish, Bearish, or Neutral. This helps traders understand the prevailing market regime and adapt strategies accordingly.
Key Features
Multi-Input Scoring: Combines up to 20 individual inputs (indicators, conditions, or models) into a single probability-based score.
Composite Market State: Translates raw input signals into three states: Bullish, Bearish, or Neutral.
Dynamic Background Coloring: Uses color-coded background shading to visually separate bullish, bearish, and neutral phases.
MTPI Score: Calculates a final numeric score (ranging from -1 to +1) to quantify the market’s directional bias.
Dashboard Display: Shows all input signals, their individual states, and the aggregated MTPI score at a glance.
Medium-Term Focus: Helps identify prevailing conditions that last from several weeks to several months.
Inputs & Settings
MTPI Settings:
Input Signals (1 to 20): Default: Predefined conditions. Each input evaluates the market from a unique perspective (trend, momentum, volatility, etc.).
Composite Score Calculation: Default weighting is equal across all inputs.
Color Settings:
Bullish: Bright green background
Neutral: Gray/orange background
Bearish: Bright red background
These colors can be customized as desired.
Calculation Process
Signal Aggregation:
Each input generates a state:
1 to 0.1 = Bullish
0.1 to -0.1 = Neutral
-0.1 to -1 = Bearish
Scoring:
The MTPI aggregates these values and calculates an average score.
Classification:
Bullish: Score > 0
Bearish: Score < 0
Neutral: Score ≈ 0
Visualization:
Background Coloring: Highlights the dominant phase on the chart.
Dashboard: Displays individual input states, the total MTPI score, and the resulting classification.
How to Use the MTPI
Identifying Market Regimes:
Bullish: Majority of inputs align positively. Favor long positions or trend-following strategies.
Bearish: Majority of inputs align negatively. Favor short positions or defensive strategies.
Neutral: Mixed signals. Caution or range-bound strategies may be preferable.
Transition Detection:
Changes in background color or the MTPI dashboard (score flipping from positive to negative, or vice versa) indicate potential regime shifts.
Dynamic Dashboard:
Score: Displays the net sum of all input signals (normalized).
State: Provides the classification (Bullish, Bearish, Neutral).
Trend: Visual cues for each input showing the current contribution to the MTPI.
Conclusion
The Medium-Term Probability Indicator (MTPI) consolidates multiple signals into a single, intuitive visualization that helps traders quickly assess the medium-term market environment. Its combination of a multi-input dashboard, composite scoring, and background coloring makes it a powerful decision-support tool.
This script is developed by Jeffrey Timmermans and is designed to complement other analysis methods.
ZigZag Based RSIDescription
ZigZag Trend RSI (ZZ-RSI) is an advanced momentum indicator that combines ZigZag-based trend detection with a trend-adjusted RSI to deliver smarter overbought and oversold signals. Unlike traditional RSI that reacts purely to price movement, this indicator adapts its sensitivity based on the prevailing trend structure identified via the ZigZag pattern.
By dynamically adjusting RSI thresholds according to market direction, ZZ-RSI helps filter out false signals and aligns RSI readings with broader trend context—crucial for trend-following strategies, counter-trend entries, and volatility-based timing.
Core Components
ZigZag Pattern Recognition:
Identifies significant swing highs and lows based on price deviation (%) and pivot sensitivity (length). The most recent pivot determines the prevailing trend direction:
🟢 Bullish: last swing is a higher high
🔴 Bearish: last swing is a lower low
⚪ Neutral: no recent significant movement
Trend-Weighted RSI:
Modifies traditional RSI input by emphasizing price changes in the direction of the trend:
In bull trends, upside moves are magnified.
In bear trends, downside moves are emphasized.
Dynamic RSI Zones:
Overbought and Oversold thresholds adapt to the trend:
In uptrends: higher OB and slightly raised OS → tolerate stronger rallies
In downtrends: lower OS and slightly reduced OB → accommodate stronger sell-offs
In neutral: default OB/OS values apply
How to Use
✅ Entries (Reversal or Mean Reversion Traders):
Look for oversold signals (green triangle) in downtrends or neutrals to catch potential reversals.
Look for overbought signals (red triangle) in uptrends or neutrals to fade momentum.
Confirm with price action or volume for higher conviction.
📈 Trend Continuation (Momentum or Trend-Followers):
Use the trend direction label (Bullish / Bearish / Neutral) to align your trades with the broader move.
Combine with moving averages or price structure for entry timing.
Avoid counter-trend signals unless confirmed by divergence or exhaustion.
🧠 Signal Interpretation Table (top right of chart):
Trend: Indicates the current market direction.
RSI: Real-time trend-adjusted RSI value.
Signal: OB/OS/Neutral classification.
Customization Options
ZigZag Length / Deviation %:
Adjust pivot sensitivity and filter out minor noise.
RSI Length:
Controls how fast RSI responds to trend-adjusted price.
Color Settings:
Personalize visual cues for trend direction and OB/OS backgrounds.
Alerts Included
📢 Overbought/oversold conditions
🔄 Trend reversals (bullish or bearish shift)
These alerts are ideal for automated strategies, mobile notifications, or algorithmic workflows.
Ideal For
Traders seeking smarter RSI signals filtered by market structure
Trend-followers and swing traders looking for reliable reversals
Those frustrated with false OB/OS signals in volatile or trending markets
Best Practices
Use in confluence with price structure, trendlines, or S/R levels.
For intraday: consider lowering ZigZag Length and RSI Length.
For higher timeframes: use higher deviation % and smoother RSI to reduce noise.
CBC Flip with Volume [Pt]█ CBC Flip with Volume
A price-action based indicator that detects real-time control flips between bulls and bears, enhanced with volume filtering and Pine Screener compatibility.
This tool tracks when the market shifts from bear control to bull control or vice versa, using candle structure and volume behavior. It highlights key reversal points, filters low-conviction moves, and provides two screener-ready outputs for directional monitoring.
█ What It Detects
This script identifies when control flips between buyers and sellers on a candle-by-candle basis. A flip is confirmed only when both price structure and volume meet strict criteria. The indicator uses an internal state to track who is in control and updates when a flip occurs.
█ Flip Conditions
Bull Flip
• Previous bar was under bear control
• Current candle closes above the previous high
• Candle is bullish (close is above open)
• Volume is greater than the previous bar
Bear Flip
• Previous bar was under bull control
• Current candle closes below the previous low
• Candle is bearish (close is below open)
• Volume is greater than the previous bar
When a flip occurs, the indicator updates the control state and records the open price of the flip candle.
█ Strong Flip Detection
A flip is considered strong when volume is also greater than the average volume over a set number of candles (default is 50). Strong flips are visually emphasized using larger markers and darker background shading. This helps filter out moves that lack follow-through volume.
█ Visual Elements on Chart
• Bull Flip (Normal): Small teal triangle below the candle
• Bull Flip (Strong): Larger green triangle below the candle
• Bear Flip (Normal): Small salmon triangle above the candle
• Bear Flip (Strong): Larger red triangle above the candle
• Background Color:
– Green shades for bull flips
– Red shades for bear flips
– Darker color when flip is strong
These visual elements appear only on the candle where a flip is detected. No markers are shown on continuation candles.
█ Inputs
• Volume MA Lookback : Sets the moving average length used for determining whether volume is high enough for a strong flip (default: 50)
█ Alerts
• Bull Flip – Notifies when bulls take control
• Bear Flip – Notifies when bears take control
Alerts are triggered at candle close.
█ Pine Screener Support
This script includes two output columns for TradingView’s Pine Screener:
• Bull in Control (% gain) : Shows the percentage gain from the bull flip’s open to the current close. Resets to 0 when bulls lose control.
• Bear in Control (% gain) : Shows the percentage drop from the bear flip’s open to the current close (as a positive number). Resets to 0 when bears lose control.
These outputs allow you to filter for active moves. For example:
• Bull in Control (% gain) > 2.0 to find strong uptrends
• Bear in Control (% gain) > 1.5 to find sharp breakdowns
█ Use Cases
• Confirm breakouts using volume-backed flips
• Spot short-term reversals at key zones
• Filter out low-volume chop
• Combine screener results with trend or volatility filters
• Build entries around control flips and follow-through strength
Inspired by MapleStax’s original CBC method.
Overheat Oscillator with DivergenceIndicator Description
The Overheat Oscillator with Divergence is an advanced technical indicator designed for the TradingView platform, assisting traders in identifying potential market reversal points by analyzing price momentum and volume, as well as detecting divergences. The indicator combines trend strength assessment with signal smoothing to provide clear indications of market overheat or oversold conditions. An optional divergence detection feature allows for the identification of discrepancies between price movement and the oscillator's value, which may signal upcoming trend changes.
The indicator is displayed in a separate panel below the price chart and offers visual cues through a color gradient, horizontal reference lines, and a dynamic market sentiment table. Users can customize numerous parameters, such as calculation periods, sentiment thresholds, line colors, and visualization styles, making the indicator a versatile tool for various trading strategies.
How the Indicator Works
The indicator is based on the following key components:
Oscillator Calculations
The indicator analyzes price candles, assigning a score based on their nature. A bullish candle (when the closing price is higher than the opening price) receives a score of +1.0, while a bearish candle (when the closing price is lower than the opening price) receives a score of -1.0. This scoring reflects the strength of price movement over a given period.
The score is modified by a volume multiplier (default: 2.0) if the candle's volume exceeds the volume's simple moving average (SMA, default: calculated over 20 candles). This ensures that candles with higher volume have a greater impact on the oscillator's value, better capturing significant market movements driven by increased trading activity. For example, a bullish candle with high volume may receive a score of +2.0 instead of +1.0, amplifying the bullish signal.
The scores are summed over a specified number of candles (default: 20), normalized to a 0–100 range, and then smoothed using a simple moving average (SMA, default: 5 periods) to reduce noise and improve signal clarity.
Color Gradient
The oscillator's values are visualized using a color gradient that changes based on the oscillator's level:
Green: Market cooldown (values below the Gradient Min threshold).
Yellow: Neutral sentiment (values between Gradient Min and Gradient Yellow).
Orange: Elevated activity (values between Gradient Yellow and Gradient Orange).
Red: Market overheat (values above Gradient Orange).
The color gradient is applied as the background in the oscillator panel, facilitating quick assessment of market sentiment.
Reference Levels
The indicator displays customizable horizontal lines for key thresholds (e.g., Overheat Threshold, Oversold Threshold, Gradient Min, Yellow, Orange, Max). These lines are visible only at the height of the last few oscillator candles, preventing chart clutter and helping users focus on current values.
Users can also define three custom horizontal lines with selectable styles (solid, dotted, dashed) and colors. These lines serve as auxiliary tools, e.g., for marking personal support/resistance levels, but do not affect the oscillator's signals or background colors.
Market Sentiment
The indicator displays sentiment labels in a table located in the top-right corner of the panel, dynamically updating based on the oscillator's value:
Cooled: Values below Gradient Yellow (default: 35).
Neutral: Values between Gradient Yellow and Gradient Orange (default: 60).
Excited: Values between Gradient Orange and Overheat Threshold (default: 70).
Overheated: Values above Overheat Threshold (default: 70).
The Overheat Threshold and Oversold Threshold are critical for displaying the "Overheated" and "Cooled" labels in the sentiment table, enabling users to quickly identify extreme market conditions. The labels update when key thresholds are crossed, and their colors match the oscillator's gradient.
Divergence Detection
The indicator offers optional detection of regular bullish and bearish divergences:
Bullish Divergence: Occurs when the price forms a lower low, but the oscillator forms a higher low, suggesting a weakening downtrend.
Bearish Divergence: Occurs when the price forms a higher high, but the oscillator forms a lower high, suggesting a weakening uptrend.
Divergences are marked on the chart with labels ("Bull" for bullish, "Bear" for bearish) and lines indicating pivot points. They are calculated with a delay equal to the Lookback Right setting (default: 5 candles), meaning signals appear after pivot confirmation in the specified lookback period. The indicator also generates alerts for users when a divergence is detected.
Indicator Settings
Main Settings (SETTINGS)
Period Length: Specifies the number of candles used for oscillator calculations (default: 20).
Volume SMA Period: The period for the volume's simple moving average (default: 20).
Volume Multiplier: Multiplier applied to candle scores when volume exceeds the average (default: 2.0).
SMA Length: The period for smoothing the oscillator with a simple moving average (default: 5).
Thresholds (THRESHOLDS)
Overheat Threshold: Level indicating market overheat (default: 70). This value determines when the sentiment table displays the "Overheated" label, signaling a potential peak in an uptrend.
Oversold Threshold: Level indicating market cooldown (default: 30). This value determines when the sentiment table displays the "Cooled" label, signaling a potential bottom in a downtrend.
Gradient Min (Green): Lower threshold for the green gradient (default: 20).
Gradient Yellow Threshold: Threshold for the yellow gradient (default: 35).
Gradient Orange Threshold: Threshold for the orange gradient (default: 60).
Gradient Max (Red): Upper threshold for the red gradient (default: 70).
Visualization (VISUALIZATION)
Signal Line Color: Color of the oscillator line (default: dark red, RGB(5, 0, 0)).
Show Reference Lines: Enables/disables the display of threshold lines (default: enabled).
Divergence Settings (DIVERGENCE SETTINGS)
Calculate Divergence: Enables/disables divergence detection (default: disabled).
Lookback Right: Number of candles back for pivot analysis (default: 5).
Lookback Left: Number of candles to the left for pivot analysis (default: 5).
Line Style (STYLE)
Custom Line 1, 2, 3 Value: Levels for custom horizontal lines (default: 70, 50, 30).
Custom Line 1, 2, 3 Color: Colors for custom lines (default: black, RGB(0, 0, 0)).
Custom Line 1, 2, 3 Style: Line styles (solid, dotted, dashed; default: dashed, dotted, dashed).
How to Use the Indicator
Adding to the Chart
Add the indicator to your TradingView chart by searching for "Overheat Oscillator with Divergence."
Configure the settings according to your trading strategy.
Signal Interpretation
Overheated: Values above the Overheat Threshold (default: 70) in the sentiment table may indicate a potential uptrend peak.
Cooled: Values below the Oversold Threshold (default: 30) in the sentiment table may suggest a potential downtrend bottom.
Divergences:
Bullish: Look for "Bull" labels on the chart, indicating potential upward reversals (calculated with a Lookback Right delay).
Bearish: Look for "Bear" labels, indicating potential downward reversals (calculated with a Lookback Right delay).
Customization
Experiment with settings such as period length, volume multiplier, or gradient thresholds to tailor the indicator to your trading style (e.g., scalping, medium-term trading).
Usage Examples
Scalping: Set a shorter period (e.g., Period Length = 10, SMA Length = 3) and monitor rapid sentiment changes and divergences on lower timeframes (e.g., 5-minute charts).
Medium-Term Trading: Use default settings or increase Period Length (e.g., 30) and SMA Length (e.g., 7) for more stable signals on hourly or daily charts.
Reversal Detection: Enable divergence detection and observe "Bull" or "Bear" labels in conjunction with overheat/cooled levels in the sentiment table.
Notes
The indicator performs best when used in conjunction with other technical analysis tools, such as support/resistance lines, moving averages, or Fibonacci levels.
Divergences may serve as early signals but do not always guarantee immediate trend reversals—confirmation with other indicators is recommended.
Test different settings on historical data to find the optimal configuration for your chosen market and timeframe.
Multi SMA AnalyzerMulti SMA Analyzer with Custom SMA Table & Advanced Session Logic
A feature-rich SMA analysis suite for traders, offering up to 7 configurable SMAs, in-depth trend detection, real-time table, and true session-aware calculations.
Ideal for those who want to combine intraday, swing, and higher-timeframe trend analysis with maximum chart flexibility.
Key Features
📊 Multi-SMA Overlay
- 7 SMAs (default: 5, 20, 50, 100, 200, 21, 34)—individually configurable (period, source, color, line style)
- Show/hide each SMA, custom line style (solid, stepline, circles), and color logic
- Dynamic color: full opacity above SMA, reduced when below
⏰ Session-Aware SMAs
- Each SMA can be calculated using only user-defined session hours/days/timezone
- “Ignore extended hours” option for accurate intraday trend
📋 Smart Data Table
- Live SMA values, % distance from price, and directional arrows (↑/↓/→)
- Bull/Bear/Sideways trend classification
- Custom table position, size, colors, transparency
- Table can run on chart or custom (higher) timeframe for multi-TF analysis
🎯 Golden/Death Cross Detection
- Flexible crossover engine: select any two from (5, 10, 20, 50, 100, 200) for fast/slow SMA cross signals
- Plots icons (★ Golden, 💀 Death), optional crossover labels with custom size/colors
🏷️ SMA Labels
- Optional on-chart SMA period labels
- Custom placement (above/below/on line), size, color, offset
🚨 Signal & Trend Engine
- Bull/Bear/Sideways logic: price vs. multiple SMAs (not just one pair)
- Volume spike detection (2x 20-period SMA)
- Bullish engulfing candlestick detection
- All signals can use chart or custom table timeframe
🎨 Visual Customization
- Dynamic background color (Bull: green, Bear: red, Neutral: gray)
- Every visual aspect is customizable: label/table colors, transparency, size, position
🔔 Built-in Alerts
- Crossovers (SMA20/50, Golden/Death)
- Bull trend, volume spikes, engulfing pattern—all alert-ready
How It Works
- Session Filtering:
- SMAs can be set to count only bars from your chosen market session, for true intraday/trading-hour signals
Dynamic Table & Signals:
- Table and all signal logic run on your selected chart or custom timeframe
Flexible Crossover:
- Choose any pair (5, 10, 20, 50, 100, 200) for cross detection—SMA 10 is available for crossover even if not shown as an SMA line
Everything is modular:
- Toggle features, set visuals, and alerts to your workflow
🚨 How to Use Alerts
- All key signals (crossovers, trend shifts, volume spikes, engulfing patterns) are available as alert conditions.
To enable:
- Click the “Alerts” (clock) icon at the top of TradingView.
- Select your desired signal (e.g., “Golden Cross”) from the condition dropdown.
- Set your alert preferences and create the alert.
- Now, you’ll get notified automatically whenever a signal occurs!
Perfect For
- Multi-timeframe and swing traders seeking higher timeframe SMA confirmation
- Intraday traders who want to ignore pre/post-market data
- Anyone wanting a modern, powerful, fully customizable multi-SMA overlay
// P.S: Experiment with Golden Cross where Fast SMA is 5 and Slow SMA is 20.
// Set custom timeframe for 4 hr while monitoring your chart on 15 min time frame.
// Enable Background Color and Use Table Timeframe for Background.
// Uncheck Pine labels in Style tab.
Clean, open-source, and loaded with pro features—enjoy!
Like, share, and let me know if you'd like any new features added.
Visual ProwessVisual Prowess: Ultimate Visual of Price Action Indicator
Overview
Visual Prowess is a Pine Script indicator that integrates Trend, Momentum, Strength/Weakness, Money Flow, and Volatility into a single, intuitive interface. Scaled from 0 to 100, it provides traders with clear bullish (>50) and bearish (<50) zones. Visual Prowess is made up of several data components which will be explained below. All these components have custom thresholds that lead to Green Dot Buy Signals and Red Dot sell signals. Designed for multi-timeframe analysis, it helps traders anticipate market moves with precision seeing behind the scenes of price action.
The fundamental inputs of price action are made up of different variables -- the components of Trend Strength, Volatility, Momentum, Money Flow/Volume and Overbought/Oversold. These are very important inputs market makers use. From what I've learned in my trading journey (always still learning), this is the data I value most important. This is why I combined all these components into one indicator.....to be an ultimate visual—this extrapolation of different pieces of data is the Visual Prowess.
What It Does
Visual Prowess combines five key market factors into a unified score (0-100) to assess market conditions by examining the price action like an x-ray aka Visual Prowess:
• Trend Direction & Strength (Green and Red Wave) : Identifies bullish (green clouds) or bearish (red clouds) trend. This data is designed to illustrate the trend by the color, and its strength by the height (score).
How it is Calculated = Data is derived from price action-- comparing the current and previous price highs and lows to measure the strength of upward (+) or downward (-) price movements, smoothed over a period and expressed as a percentage of the price range.
• Momentum (Blue and White Wave): Tracks price acceleration via a custom momentum oscillator, displayed as blue (positive) or white (negative) waves.
How it is Calculated = Data is calculated by subtracting a longer-term exponential moving average from a shorter-term exponential moving average to measure momentum and trend direction. Momentum strength is measured by height on 0-100 score, and color dictates the trend-- Blue up, White down.
• Strength Index (Purple Line): Measures overbought/oversold conditions with a normalized index, derived from price deviation.
How it is Calculated = Strength Index is calculated by comparing the average of price gains to the average of price losses over a specified period, expressed as a value between 0 and 100 to measure momentum and identify overbought or oversold conditions.
• Money Flow: Monitors capital inflows and outflows using a modified Money Flow Index, shown as green (buying) or red (selling) circles.
How it is Calculated = The Money Flow is calculated by using price and volume data to measure buying and selling pressure, comparing positive and negative money flow over a specified period to produce a value between 0 and 100, indicating overbought or oversold conditions and more importantly where the money is moving, + or -.
• Volatility: Gauges market volatility, marked by colored crosses (blue for low, red for high). Blue illustrates low volatility which is key for big moves either + or -; red to illustrate when price action is extremely overheated either + or -.
How it is Calculated = The volatility is calculated by the creator of the BBWP The_Caretaker. This excellent work is calculated using the width of the iconic indicator the Bollinger Bands (the difference between the upper and lower bands divided by the middle band (the moving average), expressed as a percentage to show how volatile the price is relative to its recent average.
Originality
Unlike traditional multi-indicator dashboards, Visual Prowess uses a combination of specific open-source indicators which I believe to be the most important inputs in price action-- trend, momentum, strength, money flow, and volatility into an all-in-one visual ratioed on a 0-100 scale. This unique synthesis of data reduces noise, prioritizes signal alignment, and a look behind the scenes of price action to see deeper into the movement – This combination of indicators has custom thresholds, when these components in alignment with each other hit certain parameters; it leads to key custom price action signals -- Green Dot Buy and Red Dot Sell signals.
There is also a bonus indicator….. a Yellow Triangle. When you see this, it is rare and strong. It only prints when strength index reaches extreme lows at the same time volatility reaches extreme highs…. It then waits to print the yellow triangle upon a third condition= which is price action is back in bullish/positive zone. This Yellow triangle is meant to be strong reversals of Macro Trend lows.
How to Use the Visual Prowess Components:
• Add to Chart: Apply Visual Prowess to any timeframe (recommended: higher timeframes 12H, 1D, 2D, 3D for optimal signals).
• Interpret Zones: Values >50 indicate bullish conditions (green background); <50 signal bearish conditions (red background).
Wait for Green Dot Buy signal for buys and Red Dot Sell signals for sells. One can read each component individually to gauge the price action and predict before the buy signal prints; all of those components merged together is what leads to the buy and sell signals. The story of what’s to come can be seen at lower timeframes before the higher timeframes print, that is a key way to gauge projections of bull or bear prints to come.
HOW TO READ EACH DATA COMPONENT
TREND CLOUDS: Green/red clouds show trend direction; vivid colors tied to number/ score on the 0-100 scale indicate strength of the trend.
Bull Conditions
Green cloud illustrates the trend is bullish. The height is correlated to the trend’s strength—this height is also aligned with colors, more transparent green is weak, then it gets more opaque being medium strength, and the most vibrant is the strongest. How to ride the bull condition is by seeing this transformation of trend get from weak to strong, until it tops out and the wave points down losing strength which alludes to the bear condition.
Bear Conditions
Vice versa with the bear condition. Different shades of red tie into the strength of the bear trend. How to read when things are about to get bearish, is by seeing bull trend shift levels of strength (Example- medium to weak). This transition of bull strength getting weaker is the start, once it gets to weak bear it has commenced until bearish strength tops out before it begins to get weaker leading to the next bull phase.
MOMENTUM WAVES: Blue waves above 50 suggest bullish momentum; white waves below 50 warn of bearish shifts.
Bull Conditions
Good to look at flips of white wave to blue in bearish zones to see the tide turning= guaranteed bullish when safely gets above and holds above 50 zone.
Bear Conditions
Vice versa for Bearish side of this momentum wave being blue wave turning white in bullish zone aiming down to break below 50 zone to confirm bearish descent.
STRENGTH INDEX: Values >80 indicate overbought; <20 suggest oversold. Look for “Bull” or “Bear” labels for divergences.
Bull Conditions
Above 50 level is key, so seeing price action break from below 50 to above 50 is strong buy condition until it gets overbought.
Bear Conditions
Once conditions are too overbought and falling making lower lows (especially when price action is climbing or staying sideways) it is indicating strength is getting weaker. When this indicator fights 50 level and breaks down below 50 level bearish conditions are coming until it gets to an oversold level.
MONEYFLOW: Green circles signal buying pressure; red circles indicate selling.
Bull Conditions
Green circles show money flow is positive so that’s a good sign of upward price action to come, and again above 50 level is bullish conditions
Bear Conditions
Red circles show money flow is negative so that’s a bad sign of price action to come, pointing down and breaking below 50 level is no good. It can have corrections in bullish scenario keep in mind seeing red doesn’t mean trend is over z9could be in higher low scenario).
VOLATILITY: Blue crosses (<25% volatility) suggest breakout potential; red crosses (>75%) warn of overheated markets.
Bull Conditions
This is a very important indication. Big volatile moves can move either direction + or -. When all other components look positive/bullish and this is signalling blue crosses it means a big move is coming and will most likely be in the upward direction –If all other components align/lean bullish.
Another bullish scenario is when price action is down large and red crosses are forming. This indicates that the downward move is overheated (red x’s are rare). This extremely oversold condition can be great buying opportunities when volatility is hot printing red x’s.
Bear Conditions
When all other components look negative/bearish and this is signalling blue crosses it means a big move is coming and will most likely be in the downward direction –If all other components align/lean bearish.
Another bearish scenario is when price action is up large and red crosses are forming. This indicates that the upward move is overheated (red x’s are rare). This extremely overbought condition can be great selling opportunities when volatility is hot printing red x’s.
*****All these components in alignment of hitting each pertaining important threshold--is what prints the green dot and sell signals to trade by. It is not black and white; each component has a sweet spot fine tuned to be triggered through analysis of what is happening individually to each component and how it is reacting to the price action data.
EXAMPLE= Taking a look at the screenshot (Perfect Scenario)
Bullish Examination
- Taking a look at the 2-D timeframe on BTC
x>50
x= all components traveling to the bullish zone. Blue wave, Strength Index with bullish divergence accumulation, Money Flow Positive with Green Trend Wave starting, with teal low volatility cross→→→ leads to Green Dot Buy Signal print…. And the big rise speaks for itself with price action and the big mountain wave of the Green Trend Wave.
This rise leads to
↓↓↓↓
Bearish Examination
Strength Index gets really high at 80 scale, Red X’s showing extremely heated Volatility, Money Flow turning red and sloping down, Trend Wave peaking starting to roll over, Blue Momentum Wave transitioning to white, bearish divergence of price action related to Strength Index→→→ leads to Red Dot Sell Signal print… and the flush speaks for itself when all components fall below 50 level with Trend wave turning red
All this is forecasted in the data, showing weakness before weakness and showing strength before strength. It works because every single piece of important elements in data of price action is incorporated in this all-in-one indicator…. Which leads to the reasoning of me calling this indicator the Visual Prowess, for its unprecedent sharpness of visual observation.
****This is a passion script incorporating every piece of data I value important when reading a chart — to see current perspective of a chart and to help foresee future projection of direction Up or Down. Any community feedback is greatly appreciated. Ongoing work will be done on this script as new thoughts and fine tuning will continuously be done for infinity, as this is my personal go to model for data on the markets.
MestreDoFOMO Future Projection BoxMestreDoFOMO Future Projection Box - Description & How to Use
Description
The "MestreDoFOMO Future Projection Box" is a TradingView indicator tailored for crypto traders (e.g., BTC/USDT on 1H, 4H, or 1D timeframes). It visualizes current price ranges, projects future levels, and confirms trends using semi-transparent boxes. With labeled price levels and built-in alerts, it’s a simple yet powerful tool for identifying support, resistance, and potential price targets.
How It Works
Blue Box (Current Channel): Shows the recent price range over the last 10 bars (adjustable). The top is the highest high plus an ATR buffer, and the bottom is the lowest low minus the buffer. Labels display exact levels (e.g., "Top: 114000", "Bottom: 102600").
Green Box (Future Projection): Projects the price range 10 bars ahead (adjustable) based on the trend slope of the moving average. Labels show "Proj Top" and "Proj Bottom" for future targets.
Orange Box (Moving Average): Traces a 50-period EMA (adjustable) to confirm the trend. An upward slope signals a bullish trend; a downward slope signals a bearish trend. A label shows the current MA value (e.g., "MA: 105000").
Alerts: Triggers when the price nears the projected top or bottom, helping you catch breakouts or retracements.
How to Use
Add the Indicator: Apply "MestreDoFOMO Future Projection Box" to your chart in TradingView.
Interpret the Trend: Check the orange box’s slope—upward for bullish, downward for bearish.
Identify Key Levels: Use the blue box’s top as resistance and bottom as support. On a 4H chart, if the top is 114,000, expect resistance; if the bottom is 102,600, expect support.
Plan Targets: Use the green box for future targets—top for profit-taking (e.g., 114,000), bottom for stop-loss or buying (e.g., 102,600).
Set Alerts: Enable alerts for "Near Upper Projection" or "Near Lower Projection" to get notified when the price hits key levels.
Trade Examples:
Bullish: If the price breaks above the blue box top (e.g., 114,000), buy with a target at the green box top. Set a stop-loss below the green box bottom.
Bearish: If the price rejects at the blue box top and drops below the orange MA, short with a target at the blue box bottom.
Customize: Adjust the lookback period, projection bars, ATR multiplier, and MA length in the settings to fit your trading style.
Tips
Use on 1H for short-term trades, 4H for swing trades, or 1D for long-term trends.
Combine with volume or RSI to confirm signals.
Validate levels with market structure (e.g., candlestick patterns).
Adaptive Strength MACD [UM]Indicator Description
Adaptive Strength MACD is an adaptive variant of the classic MACD that uses a customized Strength Momentum moving average for both its oscillator and signal lines. This makes the indicator more responsive in trending conditions and more stable in sideways markets.
Key Features
1. Adaptive Strength Momentum MA
Leverages the Adaptive Momentum Oscillator to scale smoothing coefficients dynamically.
2. Trend-Validity Filters
Optional ADX filter ensures signals only fire when trend strength (ADX) exceeds a user threshold.
3. Directional Filter (DI+) confirms bullish or bearish momentum.
4. Color-Coded Histogram
5. Bars turn bright when momentum accelerates, faded when slowing.
6. Grayed out when trend filters disqualify signals.
7. Alerts
Bullish crossover (histogram from negative to positive) and bearish crossover (positive to negative) only when filters validate trend.
Comparison with Regular MACD
1. Moving Averages
Classic MACD uses fixed exponential moving averages (EMAs) for its fast and slow lines, so the smoothing factor is constant regardless of how strong or weak price momentum is.
Adaptive Strength MACD replaces those EMAs with a dynamic “Strength Momentum” MA that speeds up when momentum is strong and slows down in quiet or choppy markets.
2. Signal Line Smoothing
In the classic MACD, the signal is simply an EMA of the MACD line, with one user-selected period.
In the Adaptive Strength MACD , the signal line also uses the Strength Momentum MA on the MACD series—so both oscillator and signal adapt together to the underlying momentum strength.
3. Responsiveness to Momentum
A static EMA reacts the same way whether momentum is surging or fading; you either get too-slow entries when momentum spikes or too-fast whipsaws in noise.
The adaptive MA in your indicator automatically gives you quicker crossovers when there’s a trending burst, while damping down during low-momentum chop.
4. Trend Validation Filters
The classic MACD has no built-in mechanism to know whether price is actually trending versus ranging—you’ll see crossovers in both regimes.
Adaptive Strength MACD includes optional ADX filtering (to require a minimum trend strength) and a DI filter (to confirm bullish vs. bearish directional pressure). When those filters aren’t met, the histogram grays out to warn you.
5. Histogram Coloring & Clarity
Typical MACD histograms often use two colors (above/below zero) or a simple ramp but don’t distinguish accelerating vs. decelerating moves.
Your version employs four distinct states—accelerating bulls, decelerating bulls, accelerating bears, decelerating bears—plus a gray “no-signal” state when filters fail. This makes it easy at a glance to see not just direction but the quality of the move.
6. False-Signal Reduction
Because the classic MACD fires on every crossover, it can generate whipsaws in ranging markets.
The adaptive MA smoothing combined with ADX/DI gating in your script helps suppress those false breaks and keeps you focused on higher-quality entries.
7. Ideal Use Cases
Use the classic MACD when you need a reliable, well-understood trend-following oscillator and you’re comfortable manually filtering choppy signals.
Choose Adaptive Strength MACD \ when you want an all-in-one, automated way to speed up in strong trends, filter out noise, and receive clearer visual cues and alerts only when conditions align.
How to Use
1. Setup
- Adjust Fast and Slow Length to tune sensitivity.
- Change Signal Smoothing to smooth the histogram reaction.
- Enable ADX/DI filters and set ADX Threshold to suit your preferred trend strength (default = 20).
2. Interpretation
- Histogram > 0: Short‐term momentum above long‐term → bullish.
- Histogram < 0: Short‐term below long‐term → bearish.
- Faded greyed bars indicate a weakening move; gray bars show filter invalidation.
How to Trade
Buy Setup:
- Histogram crosses from negative to positive.
- ADX ≥ threshold and DI+ > DI–.
- Look for confirmation (bullish candlestick patterns or support zone).
Sell Setup:
- Histogram crosses from positive to negative.
- ADX ≥ threshold and DI– > DI+.
- Confirm with bearish price action (resistance test or bearish pattern).
Stop & Target
- Place stop just below recent swing low (long) or above recent swing high (short).
- Target risk–reward of at least 1:2, or trail with a shorter‐period adaptive MA.
MMPD @MaxMaserati 2.0The MMPD @MaxMaserati 2.0 is a powerful TradingView indicator (Pine Script v6) designed to reveal institutional price action when paired with MMM 2.0 and MMPB 2.0 as part of the Max Maserati Method (MMM) System. It analyzes momentum across multiple timeframes, helping you understand whether the market is overbought (premium) or oversold (discount). With vibrant candle colors, a consistency table, momentum dots, and renamed lines for clarity, it provides an intuitive way to read market dynamics.
Key Features
Multi-Timeframe Analysis: Evaluates six user-defined timeframes to ensure signal consistency.
Candle Classifications: Colors candles to reflect momentum and institutional activity (e.g., Strong Bullish, Bearish Reversal).
Consistency Table: Displays candle types and market conditions across timeframes with a summary bias.
Momentum Dots: Visual dots indicate alignment strength across momentum, balance, and trend direction.
Premium/Discount Zones: Highlights overbought (red fill) and oversold (green fill) areas.
Renamed Lines: Clear labels like "Momentum Line," "Balance Line," and "Trend Direction Line" for better usability.
Input Parameters
Timeframe Settings: Six timeframes (htf1 to htf6, default: 45s, 1m, 5m, 15m, 60m, daily) for multi-timeframe analysis.
Display Settings:
Use Closed Candle Data: Default true, ensures reliability by using closed candles.
Show Momentum Line: Default true, displays the momentum indicator.
Show Balance Line: Default true, shows the market’s directional balance.
Show Trend Direction Line: Default false, optional trend slope.
Trend Direction Length: Default 10, range 3-50, adjusts trend slope sensitivity.
Show Premium/Discount Fill: Default true, highlights overbought/oversold zones.
Visual Settings: Customize colors (e.g., Bullish Color, Bearish Color) and candle opacity (default 20, range 0-100).
Threshold Settings:
Percentage Threshold: Default 60%, sets minimum strength for bullish/bearish classifications.
Premium Threshold: Default 65, defines overbought zone.
Discount Threshold: Default 35, defines oversold zone.
Core Components
1. Candle Types
MMPD classifies candles based on price action, syncing with MMM 2.0’s structure and MMPB 2.0’s blocks:
Strong Bullish: Institutional buying, often at MMPB eBreaks.
Bullish Resumption: Buyers continuing after a pause, tied to MMM’s C3/C4.
Bullish Reversal: Buyers flipping bearish moves, great at MMPB discount zones.
Weak Bullish: Mild bullishness, confirm with MMM’s PO4.
Bullish Pullback: Buyers resting, a setup for MMM’s resumption.
Strong Bearish: Heavy selling, often at MMPB premium eBlocks.
Bearish Resumption: Sellers pushing on, aligned with MMM’s bearish PO4.
Bearish Reversal: Sellers dominating, great at MMPB premium zones.
Weak Bearish: Soft selling, check MMM’s MC2.
Bearish Pullback: Sellers pausing, potential MMPB short entries.
Neutral: No clear direction, use MMM’s structure.
Trap: Warning of a fake-out, cross-check with MMM.
HVC Bullish: Explosive up-move, align with MMM’s C4.
HVC Bearish: Sharp drop, confirm with MMPB’s bearish blocks.
2. Candle Colors
Colors enhance readability, tying to MMM and MMPB:
Bright Green: Strong Bullish/Resumption—big buying.
Cyan: Bullish Reversal—buyers flipping bearish moves.
Green: Weak Bullish/standard bullish close.
Light Green: Bullish Pullback—buyers pausing.
Magenta: Strong Bearish/Resumption—big selling.
Bright Red: Bearish Reversal—sellers taking over.
Red: Weak Bearish/standard bearish close.
Light Red: Bearish Pullback—sellers resting.
Teal: HVC Bullish—high-energy surge.
Dark Red: HVC Bearish—sharp drop.
Orange: Trap—potential fake-out.
Gray: Neutral—no clear bias.
3. Market Conditions
MMPD flags pricing levels:
Extreme Premium (>90): Overbought, likely reversal.
Premium (65-90): Pricey, cautious longs.
Neutral (35-65): Balanced market.
Discount (10-35): Bargain, buying opportunity.
Extreme Discount (<10): Deeply undervalued.
4. Consistency Table
A top-right table summarizes:
Timeframes: Your six chosen timeframes.
MMPD Type: Candle type, colored to match.
MMPD Level: Premium/discount/neutral, with red/green backgrounds.
Summary: Bias (Bullish, Bearish, Premium, Discount) and action (Cheap, Expensive, Neutral).
5. Visual Elements
Momentum Line: Tracks momentum, colored per candle type
Balance Line: Green (bullish) or magenta (bearish), shows market direction.
Trend Direction Line: Optional, green up, magenta down.
Momentum Dots: Green (bullish) or magenta (bearish) circles:
3 dots (Normal, at 0/100): Strong alignment of momentum, balance, and trend.
2 dots (Small, at 1/99): Moderate alignment.
1 dot (Tiny, at 2/98): Weak alignment.
Premium/Discount Fills: Red (>65), green (<35).
Candles: Custom candles, colored to reflect momentum.
How to Use It
Setup: Add to TradingView with MMM 2.0 and MMPB 2.0. Set timeframes (e.g., 45s to daily), tweak thresholds, and enable visuals.
Read the Table: Look for alignment (5+ timeframes Bullish/Discount or Bearish/Premium).
Summary guides bias and action
Interpret Candles: Bright Green/Cyan for bullish setups, Magenta/Bright Red for bearish, Orange for traps.
Use Dots: Three green dots signal strong bullish alignment; three magenta dots signal bearish alignment.
Combine with MMM/MMPB: MMM for structure, MMPB for entries—MMPD confirms momentum and pricing.
Why It’s Special
Institutional Insight: Spots big-player moves with MMM and MMPB.
Clear Visuals: Dots and renamed lines make momentum easy to read.
Versatile: Works for scalping or swings, across markets.
Protective: Trap signals and premium/discount zones keep you sharp.
Notes
Lag: Uses closed candles by default—pair with MMM for real-time.
Best in Trends: Shines in moving markets, less clear in chop.
Learning Curve: Takes time to sync with MMM and MMPB.
Customize: Adjust inputs for your market.
Final Thought
“Analyze, wait, repeat.” MMPD @MaxMaserati 2.0, with MMM 2.0 and MMPB 2.0, helps you master price action. It’s your guide to seeing the market like the pros.
Built on the Max Maserati Method for educational and trading purposes.
Precision Trend Shot | JeffreyTimmermansPrecision Trend Shot
The "Precision Trend Shot" Indicator is an advanced technical tool designed to provide a dynamic and adaptive view of market trends. By combining three core components—RSI Oscillator, LSMA ATR, and Adaptable Trend—this indicator delivers precise signals that help traders identify market direction, volatility, and potential trend reversals. The calculated total score, derived from these components, provides a clear, actionable view of market conditions.
Key Features
Multi-Component Analysis: Integrates three key indicators (RSI, LSMA ATR, and Adaptable Trend) for a comprehensive view of market trends.
Dynamic Trend Classification: Categorizes market states as "Bullish" or "Bearish", based on a combined score.
Standard Deviation Bands: Displays standard deviation bands around the score line for enhanced volatility visualization.
Gradient Background Coloring: Visually highlights market phases with gradient colors, aiding quick interpretation.
Customizable Visuals: Offers extensive settings for coloring, background gradients, and signal visibility.
Real-Time Alerts: Generates alerts for significant trend changes or transitions between market states.
Inputs & Settings
RSI Settings:
RSI Source: Default: Close price. Defines the data source for RSI calculation.
RSI Length: Default: 10. Sets the period for calculating RSI.
LSMA ATR Settings:
LSMA Source: Default: Close price. Defines the data source for LSMA calculation.
LSMA Length: Default: 21. Sets the period for calculating the Least Squares Moving Average.
ATR Length: Default: 12. Sets the period for calculating the Average True Range.
Adaptable Trend Settings:
Trend Length: Default: 5. Sets the period for calculating the trend.
Smoothing Length: Default: 5. Controls the smoothing of trend volatility.
Sensitivity: Default: 1.5. Adjusts the sensitivity of trend bands.
Standard Deviation Settings:
Enable Standard Deviation Bands: Default: True. Toggles the display of standard deviation bands.
Standard Deviation Length: Default: 20. Sets the period for standard deviation calculation.
Standard Deviation Multiplier: Default: 2.0. Adjusts the width of the bands.
Smoothing Length: Default: 5. Controls the smoothing of standard deviation bands.
Visual Settings:
Enable Candle Coloring: Default: True. Colors candles based on market state (Bullish or Bearish).
Enable Background Gradient: Default: True. Applies gradient coloring to the background based on trend direction.
Score Line Colors: Customize colors for bullish or bearish score lines.
Calculation Process
RSI Calculation:
Computes the Relative Strength Index (RSI) of the selected source data.
Signals bullish (RSI > 50) or bearish (RSI < 50) conditions.
LSMA ATR Calculation:
Computes LSMA for trend direction and ATR for volatility measurement.
Generates buy and sell signals based on crossover and crossunder of ATR bands.
Adaptable Trend Calculation:
Calculates dynamic trend levels using EMA and standard deviation bands.
Classifies trend states as Bullish or Bearish.
Combined Signal Calculation:
Averages the signals from RSI, LSMA ATR, and Adaptable Trend to generate a total score.
Classifies the market as "Bullish" or "Bearish" based on this score.
Standard Deviation Bands:
Plots standard deviation bands around the combined signal for enhanced volatility analysis.
Gradient Background Coloring:
Colors the chart background based on the identified market state (Bullish or Bearish).
How to Use the Precision Trend Shot Indicator
Identifying Market States:
Bullish Market: Total score > 0, gradient background green.
Bearish Market: Total score < 0, gradient background red.
Confirming Signals:
Use RSI and LSMA ATR signals for early indications.
Use Trend Recon for confirming longer-term trend direction.
Visualizing Volatility:
Standard deviation bands highlight potential reversal zones.
Dynamic Alerts
The Precision Trend Shot Indicator includes a robust alert system for real-time market transitions:
Bullish to Bearish: Market shifts from a bullish to bearish trend.
Bearish to Bullish: Market shifts from a bearish to bullish trend.
Conclusion
The Precision Trend Shot Indicator is an advanced, versatile tool for identifying market trends, visualizing volatility, and generating actionable signals. With customizable settings, dynamic alerts, and clear visual representation, it is an essential addition to any trader’s toolkit.
-Jeffrey
Stochastic Overlay - Regression Channel (Zeiierman)█ Overview
The Stochastic Overlay – Regression Channel (Zeiierman) is a next-generation visualization tool that transforms the traditional Stochastic Oscillator into a dynamic price-based overlay.
Instead of leaving momentum trapped in a lower subwindow, this indicator projects the Stochastic oscialltor directly onto price itself — allowing traders to visually interpret momentum, overbought/oversold conditions, and market strength without ever taking their eyes off price action.
⚪ In simple terms:
▸ The Bands = The Stochastic Oscillator — but on price.
▸ The Midline = Stochastic 50 level
▸ Upper Band = Stochastic Overbought Threshold
▸ Lower Band = Stochastic Oversold Threshold
When the price moves above the midline → it’s the same as the oscillator moving above 50
When the price breaks above the upper band → it’s the same as Stochastic entering overbought.
When the price reaches the lower band →, think of it like Stochastic being oversold.
This makes market conditions visually intuitive. You’re literally watching the oscillator live on the price chart.
█ How It Works
The indicator layers 3 distinct technical elements into one clean view:
⚪ Stochastic Momentum Engine
Tracks overbought/oversold conditions and directional strength using:
%K Line → Momentum of price
%D Line → Smoothing filter of %K
Overbought/Oversold Bands → Highlight potential reversal zones
⚪ Volatility Adaptive Bands
Dynamic bands plotted above and below price using:
ATR * Stochastic Scaling → Creates wider bands during volatile periods & tighter bands in calm conditions
Basis → Moving average centerline (EMA, SMA, WMA, HMA, RMA selectable)
This means:
→ In strong trends: Bands expand
→ In consolidations: Bands contract
⚪ Regression Channel
Projects trend direction with different models:
Logarithmic → Captures non-linear growth (perfect for crypto or exponential stocks)
Linear → Classic regression fit
Adaptive → Dynamically adjusts sensitivity
Leading → Projects trend further ahead (aggressive mode)
Channels include:
Midline → Fair value trend
Upper/Lower Bounds → Deviation-based support/resistance
⚪ Heatmap - Bull & Bear Power Strength
Visual heatmeter showing:
% dominance of bulls vs bears (based on close > or < Band Basis)
Automatic normalization regardless of timeframe
Table display on-chart for quick visual insight
Dynamic highlighting when extreme levels are reached
⚪ Trend Candlestick Coloring
Bars auto-color based on trend filter:
Above Basis → Bullish Color
Below Basis → Bearish Color
█ How to Use
⚪ Trend Trading
→ Use Band direction + Regression Channel to identify trend alignment
→ Longs favored when price holds above the Basis
→ Shorts favored when price stays below the Basis
→ Use the Bull & Bear heatmap to asses if the bulls or the bears are in control.
⚪ Mean Reversion
→ Look for price to interact with Upper or Lower Band extremes
→ Stochastic reaching OB/OS zones further supports reversals
⚪ Momentum Confirmation
→ Crossovers between %K and %D can confirm continuation or divergence signals
→ Especially powerful when happening at band boundaries
⚪ Strength Heatmap
→ Quickly visualize current buyer vs seller control
→ Sharp spikes in Bull Power = Aggressive buying
→ Sharp spikes in Bear Power = Heavy selling pressure
█ Why It Useful
This is not a typical Stochastic or regression tool. The tool is designed for traders who want to:
React dynamically to price volatility
Map momentum into volatility context
Use adaptive regression channels across trend styles
Visualize bull vs bear power in real-time
Follow trends with built-in reversal logic
█ Settings
Stochastic Settings
Stochastic Length → Period of calculation. Higher = smoother, Lower = faster signals.
%K Smoothing → Smooths the Stochastic line itself.
%D Smoothing → Smooths the moving average of %K for slower signals.
Stochastic Band
Band Length → Length of the Moving Average Basis.
Volatility Multiplier → Controls band width via ATR scaling.
Band Type → Choose MA type (EMA, SMA, WMA, HMA, RMA).
Regression Channel
Regression Type → Logarithmic / Linear / Adaptive / Leading.
Regression Length → Number of bars for regression calculation.
Heatmap Settings
Heatmap Length → Number of bars to calculate bull/bear dominance.
-----------------
Disclaimer
The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
zone trading stratThis only works for DOGEUSD , I made it for the 8cap chart so only use it for that.
If you want this for other symbols/charts you need to comment below or msg me.
# Price Zone Trading System: Technical Explanation
## Core Concept
The Price Zone Tracker is built on the concept that price tends to respect certain key levels or "zones" on the chart. These zones act as support and resistance areas where price may bounce or break through. The system combines zone analysis with multiple technical indicators to generate high-probability trading signals.
## Zone Analysis
The system tracks 9 predefined price zones. Each zone has both a high and low boundary, except for Zone 5 which is represented by a single line. When price enters a zone, the system monitors whether it stays within the zone, breaks above it (bullish), or breaks below it (bearish).
This zone behavior establishes the foundational bias of the system:
- When price closes above its previous zone: Zone State = Bullish
- When price closes below its previous zone: Zone State = Bearish
- When price remains within a zone: Zone State = Neutral
## Trend Analysis Components
The system performs multi-timeframe analysis using several technical components:
1. **Higher Timeframe Analysis** (±3 points in scoring)
- Uses 15-minute charts for sub-5-minute timeframes
- Uses 30-minute charts for 5-minute timeframes
- Uses 60-minute charts for timeframes above 5 minutes
- Evaluates candlestick patterns and EMA crossovers on the higher timeframe
2. **EMA Direction** (±1 point in scoring)
- Compares 12-period and 26-period EMAs
- Bullish when fast EMA > slow EMA
- Bearish when fast EMA < slow EMA
3. **MACD Analysis** (±1 point in scoring)
- Uses standard 12/26/9 MACD settings
- Bullish when MACD line crosses above signal line with positive histogram
- Bearish when MACD line crosses below signal line with negative histogram
4. **Price Action** (±2 points in scoring)
- Evaluates whether price is making higher highs/higher lows (uptrend)
- Or lower highs/lower lows (downtrend)
- Also considers ATR-based volatility and strength of movements
## Trend Score Calculation
All these components are weighted and combined into a trend score:
- Higher timeframe components have stronger weights (±2-3 points)
- Current timeframe components have moderate weights (±1 point)
- Price action components have varied weights (±0.5-2 points)
The final trend state is determined by thresholds:
- Score > +3: Trend Analysis State = Bullish
- Score < -3: Trend Analysis State = Bearish
- Score between -3 and +3: Trend Analysis State = Neutral
## Signal Generation Logic
The system combines the Zone State with the Trend Analysis State:
1. If Zone State and Trend Analysis State are both bullish:
- Combined State = Bullish
- Line Color = Green
2. If Zone State and Trend Analysis State are both bearish:
- Combined State = Bearish
- Line Color = Red
3. If Zone State and Trend Analysis State contradict each other:
- Combined State = Neutral
- Line Color = Black
This implements a safety mechanism requiring both zone analysis and technical indicators to agree before generating a directional signal.
## Trading Signals
Trading signals are generated based on changes in the Combined State:
- When Combined State changes from neutral/bearish to bullish:
- Trading Signal = LONG (green triangle appears on chart)
- When Combined State changes from neutral/bullish to bearish:
- Trading Signal = SHORT (red triangle appears on chart)
- When Combined State changes from bullish/bearish to neutral:
- Trading Signal = EXIT (yellow X appears on chart)
- When Combined State remains unchanged:
- Trading Signal = NONE (no new marker appears)
## Reversal Warning
The system also monitors for potential reversal conditions:
- When Combined State is bullish but both RSI and MFI are overbought (>70)
- When Combined State is bearish but both RSI and MFI are oversold (<30)
In these cases, a yellow diamond appears on the chart as a warning that a reversal might be imminent.
## Visual Elements
The indicator provides multiple visual elements:
1. Zone boundaries as translucent orange areas
2. A single colored line below price (green/red/black) showing the current signal
3. Trading signals as shapes on the chart
4. An information panel showing all relevant indicator values and signals
## Usage Limitations
The indicator is designed to work optimally on timeframes below 30 minutes. On higher timeframes, a warning appears and analysis is disabled.
Ripster Trend Labels LT INTRODUCTION
Ripster Trend Labels are Extension of Ripster Clouds on Daily & Hourly & Weekly Timeframe for Long Term Analysis for Swing Traders and Investors
Key Components of the Code:
Initialization:
The script starts with the study function, which sets up the overlay on the chart and titles it "Ripster Trend Labels LT".
Users can customize the position of the trend table on the chart via an input option that allows selection among various placements like top_right, top_center, etc.
EMA Calculations:
Daily EMAs: The script calculates two daily EMAs (21-day and 55-day) using the security function to fetch the daily closing prices, ensuring no lookahead bias.
Weekly EMAs: Similarly, it calculates two weekly EMAs (12-week and 50-week) using weekly closing prices.
1-Hour EMA: A 50-period EMA is calculated based on 1-hour closing prices
Trend Label Determination:
For each timeframe (1-hour, daily, and weekly), the script compares the closing prices with their respective EMAs to determine if the trend is bullish or bearish.
Labels like "Bullish" or "Bearish" are dynamically generated based on these comparisons and are updated in real-time as new data becomes available.
Table Creation and Display:
A table is dynamically generated at the user-specified position on the chart.
The table has rows corresponding to each analyzed timeframe, displaying trend labels which are color-coded (green for bullish, red for bearish) to provide visual cues about the market condition.
Explanation of the Clouds & How to Use:
The strategy employs a multi-timeframe analysis using EMA-based "clouds" to evaluate stock trends from short-term fluctuations to long-term movements. This method allows traders to systematically identify potential bullish reversals or signs of a bearish trend weakening, and to make informed decisions based on the overall alignment of these clouds.
Sequence of Cloud Shifts for Trend Analysis:
Ripster 1-Hour Cloud (34/50 1HR): The first indicator to respond, a bullish shift here signals the initial potential for upward momentum. It serves as an early alert for traders to monitor subsequent clouds for confirmation of trend reversal.
MTF1 20/21 Daily Cloud: A bullish turn following the Ripster 1-Hour Cloud strengthens the reversal signal on a daily timeframe. This cloud's shift adds reliability to the initial bullish signal by confirming sustained daily trend strength.
MTF2 50/55 Daily Cloud: Further confirmation comes from this cloud turning bullish, which underscores a robust daily bullish trend. It solidifies the market's bullish sentiment, indicating a sustainable upward trend.
Weekly 5/12 Cloud: This intermediate-term indicator turning bullish consolidates the bullish signals from shorter timeframes, indicating broader market acceptance and strength of the bullish trend.
Weekly 34/50 Cloud: The bullish shift in this cloud confirms a long-term bullish trend. This is a critical confirmation for long-term traders, indicating that the stock might be entering a strong and sustained upward trajectory.
Overall Cloud Alignment and Strategic Implication ns:
All Clouds Are Bullish: When every cloud from the 1-Hour to the Weekly 34/50 is bullish, it signals a strong, unified bullish market sentiment.
Strategy for Bullish Alignment: Traders should view this as an optimal condition for buying dips. The unanimous bullish signal across all timeframes suggests that any pullbacks are temporary, offering buying opportunities.
Using Other Analysis: Enhance this strategy by confirming dips with other bullish indicators like rebounding from key support resistance levels or any other technical analysis
All Clouds Are Bearish: A bearish alignment across all clouds indicates a pervasive downtrend.
Strategy for Bearish Alignment: Traders are advised to avoid long positions and consider risk management strategies, such as tightening stop-losses or taking short positions.
Complementary Analysis: Confirm bearish trends with additional indicators like breakdowns below key support levels etc
Conclusion:
This cloud-based trend analysis provides a structured way to track market dynamics across multiple timeframes, offering clear signals for entry and exit strategies. By observing the sequential shifts in these clouds, traders can align their trading strategies with both short-term and long-term market trends, enhancing their decision-making process. The integration of other technical tools with this cloud-based analysis not only validates the trend signals but also helps in managing trades more effectively, capitalizing on the comprehensive view of market conditions provided by the clouds.
Price-Aligned Trend Indicator - Saerthak AnandThis is a Pine Script (version 6) for TradingView that creates a "Price-Aligned Trend Indicator" with three different T3 moving averages (Fast, Medium, and Slow). The indicator colors the lines based on the trend (bullish, bearish, or neutral) and adds "BREAKOUT" or "BREAKDOWN" labels when the fast moving average crosses the medium moving average.
Explanation:
T3 Moving Average Calculation: The function calculates the T3 moving average by recursively applying the exponential moving average (EMA) multiple times.
Trend Conditions:
Bullish: Fast > Medium > Slow.
Bearish: Fast < Medium < Slow.
Neutral: Any other condition.
Plotting:
The three T3 moving averages are plotted with different levels of opacity based on the trend.
A colored cloud is filled between the fast and medium lines, indicating the current trend.
Breakout and Breakdown Labels:
A "BREAKOUT" label is displayed when the fast T3 crosses above the medium T3 and the overall trend is bullish.
A "BREAKDOWN" label is displayed when the fast T3 crosses below the medium T3 and the overall trend is bearish.
Suggestions for Improvement:
Performance Optimization: You may want to experiment with higher T3 lengths for smoother trend visualization.
Customization: Consider adding options for users to customize colors and label display.
Alert Conditions: You can add alertcondition for breakouts and breakdowns for real-time alerts in TradingView.
Signal Confirmation: Add further trend confirmation (e.g., volume analysis or RSI) to reduce false signals.
Donchian Reversal Scanner by Hitesh2603How It Works:
Bearish Side Logic:
If the price is falling with bearish candles and touching the lower Donchian Channel, the bearishCondition flag is set to true.
When a bullish candle appears afterward, the flag is reset, and the bullishReversalSquare condition becomes true.
Bullish Side Logic:
If the price is rising with bullish candles and touching the upper Donchian Channel, the bullishCondition flag is set to true.
When a bearish candle appears afterward, the flag is reset, and the bearishReversalSquare condition becomes true.
Plotting Squares:
A green square is plotted below the candle when bullishReversalSquare is true.
A red square is plotted above the candle when bearishReversalSquare is true.
Scanner Output:
The scanCondition variable is true when either bullishReversalSquare or bearishReversalSquare is true.
How to Use the Script:
On the Chart:
Add the script to your chart.
You will see squares plotted on the chart when the conditions are met:
Green squares below the candle for bullish reversals.
Red squares above the candle for bearish reversals.
In the Scanner:
Open the Scanner tab in TradingView.
Click on "Create New Scanner".
In the "Condition" field, select the script you just created.
Choose the market or watchlist you want to scan (e.g., "NYSE", "NASDAQ", or a custom watchlist).
Run the scan. The Scanner will return a list of instruments where the scanCondition is true.
Why This Works:
The scanCondition variable is now properly declared and used.
The plotchar function explicitly outputs the scanCondition variable as a plot, which the Scanner can recognize.