RMSE Bollinger Bands + Loop | Lyro RSRMSE Bollinger Bands + Loops
Overview
The RMSE Bollinger Bands + Loops is a sophisticated technical analysis tool designed to identify and quantify market trends by combining dynamic moving averages with statistical measures. This indicator employs a multi-model approach, integrating Bollinger-style RMSE bands, momentum scoring, and a hybrid signal system to provide traders with adaptive insights across varying market conditions.
Indicator Modes
Bollinger-style RMSE Bands: this mode calculates dynamic volatility bands around the price using the following formula:
Upper Band = Dynamic Moving Average + (RMSE × Multiplier)
Lower Band = Dynamic Moving Average - (RMSE × Multiplier)
These bands adjust to market volatility, helping identify potential breakout or breakdown points.
For-Loop Momentum Scoring, momentum is assessed by analyzing recent price behavior through a looping mechanism. A rising momentum score indicates increasing bullish strength, while a declining score suggests growing bearish momentum.
Hybrid Combined Signal: this mode assigns a directional score to the other two modes:
+1 for bullish (green)
–1 for bearish (red)
An average of these scores is computed to generate a combined signal, offering a consolidated market trend indication.
Practical Application
Signal Interpretation: A buy signal is generated when both the RMSE Bands and For-Loop Momentum Scoring align bullishly. Conversely, a sell signal is indicated when both are bearish.
Trend Confirmation: The Hybrid Combined Signal provides a consolidated view, assisting traders in confirming the prevailing market trend.
Note: Always consider additional technical analysis tools and risk management strategies when making trading decisions.
⚠️Disclaimer
This indicator is a tool for technical analysis and does not provide guaranteed results. It should be used in conjunction with other analysis methods and proper risk management practices. The creators of this indicator are not responsible for any financial decisions made based on its signals.
Volatilite
VWVI - Volume Weighted Volatility Index# 📊 Complete VWVI Indicator User Guide (Current Version)
## 🔍 **I. Core Principles**
### **VWVI's Unique Value**
VWVI isn't a simple volatility indicator, but a **volume-confirmed volatility strength indicator**:
- **Problems with traditional volatility indicators**: ATR, Bollinger Bands, etc. only look at price movements while ignoring volume
- **VWVI advantage**: Only fluctuations accompanied by high volume are considered "true volatility"
- **Core logic**: Fluctuations driven by large capital are more important than retail noise
---
## 🎨 **II. Detailed Explanation of Current Version Visual Elements**
### **1. Main Line Color System (Most Important Signal)**
```
🟢 Green main line (VWVI > 60):
├─ Meaning: High volatility + high volume = true trend
├─ Market state: One-way market, breakout market, trend acceleration
├─ Trading opportunity: Trend following, momentum trading
└─ Duration: Typically lasts several cycles
🟠 Orange main line (40 ≤ VWVI ≤ 60):
├─ Meaning: Medium volatility or mismatched volume
├─ Market state: Transition phase, direction pending
├─ Trading strategy: Wait-and-see, await clear signals
└─ Note: High probability of false breakouts
🔴 Red main line (VWVI < 40):
├─ Meaning: Low volatility + low volume = consolidation
├─ Market state: Sideways, range-bound, shrinking volume
├─ Trading opportunity: Range trading, mean reversion
└─ Feature: Price oscillates between support/resistance
```
### **2. Reference Line System (Auxiliary Judgment)**
```
🟢 Trend threshold line (default 60):
├─ Function: Watershed for trend confirmation
├─ Breakout upward: Trend begins confirmation
├─ Break downward: Trend weakening or ending
└─ Adjustment suggestion: Can adjust based on market characteristics (50-70)
🔴 Range threshold line (default 40):
├─ Function: Confirmation line for range-bound markets
├─ Break downward: Range-bound market confirmed
├─ Breakout upward: Range may be ending
└─ Adjustment suggestion: Can adjust based on volatility (30-50)
⚫ Center line (50):
├─ Function: Market neutral reference
├─ Above: Trend characteristics
├─ Below: Range characteristics
└─ Meaning: Long-term equilibrium position
```
### **3. Background Coloring System (State Identification)**
```
🟢 Light green background:
├─ Trigger: VWVI > trend threshold
├─ Meaning: Trend confirmation period
├─ Trading suggestion: Trend following strategy
└─ Risk: Possible reversal at trend end
🔴 Light red background:
├─ Trigger: VWVI < range threshold
├─ Meaning: Range-bound confirmation period
├─ Trading suggestion: Range trading strategy
└─ Opportunity: Look for support/resistance levels
🟩 Green background flashing:
├─ Trigger: VWVI breaks through trend threshold
├─ Meaning: Trend signal generated
├─ Action: Consider establishing trend positions
└─ Confirmation: Needs other indicators
🟥 Red background flashing:
├─ Trigger: VWVI breaks below range threshold
├─ Meaning: Range signal generated
├─ Action: Consider range trading strategy
└─ Confirmation: Observe persistence
```
### **4. Information Panel (Upper Right Corner)**
```
📊 Real-time data display:
├─ VWVI value: Current indicator reading
├─ Current state: Trend/Range/Neutral
├─ Volume status: Above/Below 20-day average
├─ Volatility strength: High/Low volatility
├─ Trend threshold: Current setting
└─ Range threshold: Current setting
```
---
## 📈 **III. Specific Usage Methods**
### **A. Trend Following Strategy**
```
🎯 Entry timing:
✅ VWVI breaks above 60 from below (green background flashing)
✅ Main line turns green and continues rising
✅ Volume status shows "above average"
✅ Volatility strength shows "high volatility"
📍 Position management:
- Continue holding: VWVI remains above 60
- Reduce position warning: VWVI starts declining but still >50
- Stop loss exit: VWVI breaks below 50 or turns orange
⚠️ Risk control:
- False breakout: VWVI quickly falls back after breaking 60
- Trend end: VWVI oscillates at high levels
```
### **B. Range Trading Strategy**
```
🎯 Confirm range:
✅ VWVI breaks below 40 (red background flashing)
✅ Main line turns red and lingers at low levels
✅ Volume status shows "below average"
✅ Volatility strength shows "low volatility"
📍 Trading strategy:
- Upper range: Look for resistance to short
- Lower range: Look for support to long
- Stop loss: Breakout beyond range boundaries
- Profit target: Near range midpoint
⚠️ Notes:
- False breakouts may occur at range end
- Abnormal volume spikes may signal trend change
```
### **C. State Transition Strategy**
```
🔄 Range→Trend transition:
- Observe: VWVI rises from <40 to 40-60 range
- Prepare: Orange main line phase preparation
- Confirm: Consider entry when breaking 60
- Verify: Whether volume expands simultaneously
🔄 Trend→Range transition:
- Warning: VWVI declines from >60 to 40-60 range
- Reduce position: Gradually reduce in orange phase
- Confirm: Switch to range strategy when breaking 40
- Observe: Whether it's a trend pullback
```
---
## ⚠️ **IV. Common Mistakes and Precautions**
### **❌ Common Mistakes**
1. **Mistake 1: Using VWVI alone**
- ❌ Wrong: Making trading decisions based solely on VWVI
- ✅ Correct: Combine with price action, support/resistance, other indicators
2. **Mistake 2: Ignoring volume confirmation**
- ❌ Wrong: Only looking at VWVI values, ignoring volume status
- ✅ Correct: VWVI signal + volume confirmation = more reliable signal
3. **Mistake 3: Overtrading**
- ❌ Wrong: Trading every color change
- ✅ Correct: Wait for clear state transition signals
4. **Mistake 4: Fixed thresholds**
- ❌ Wrong: Using 60/40 thresholds for all markets
- ✅ Correct: Adjust parameters for different products
5. **Mistake 5: Ignoring background information**
- ❌ Wrong: Not considering market environment and fundamentals
- ✅ Correct: Combine with market cycles and important events
### **⚡ Special Situation Handling**
```
🚨 Abnormal signal identification:
- VWVI spikes sharply >80: May indicate sudden events
- VWVI remains <20 long-term: Extreme market contraction
- Frequent oscillation near thresholds: Market indecision
- Volume-VWVI divergence: Requires caution
🎯 Optimal usage environment:
✅ Suitable: Actively traded mainstream products
✅ Suitable: Markets with sufficient historical data
✅ Suitable: Exchanges with accurate volume data
❌ Not suitable: Extremely low liquidity products
❌ Not suitable: Heavily manipulated small coins
❌ Not suitable: Newly listed products (insufficient data)
```
### **🔧 Parameter Optimization Suggestions**
```
📊 Parameter suggestions for different markets:
- BTC/ETH major coins: Keep default 14/60/40
- Altcoins: Can adjust to 10/65/35 (more sensitive)
- Stock market: Can adjust to 20/55/45 (more stable)
- Forex market: Can adjust to 21/58/42 (follow tradition)
⏱️ Different timeframes:
- 1-minute: Not recommended (too noisy)
- 5-15 minutes: Short-term trading, can adjust sensitivity
- 1-4 hours: Medium-term trading, keep defaults
- Daily: Long-term analysis, can be more conservative
```
**Summary: VWVI is a powerful market state identification tool, but requires correct understanding of its meaning, combination with other analysis methods, and avoidance of overtrading to maximize effectiveness.**
# 📊 VWVI指标完全使用指南(当前版本)
## 🔍 **一、指标核心原理**
### **VWVI的独特价值**
VWVI不是简单的波动率指标,而是**成交量确认的波动强度指标**:
- **传统波动率指标问题**:ATR、布林带等只看价格波动,忽略了成交量
- **VWVI的优势**:只有伴随大成交量的波动才被认为是"真实波动"
- **核心逻辑**:大资金推动的波动比散户噪音更重要
---
## 🎨 **二、当前版本视觉元素详解**
### **1. 主线颜色系统(最重要的信号)**
```
🟢 绿色主线 (VWVI > 60):
├─ 含义:高波动 + 高成交量 = 真实趋势
├─ 市场状态:单边行情、突破行情、趋势加速
├─ 交易机会:趋势跟随、动量交易
└─ 持续时间:通常持续数个周期
🟠 橙色主线 (40 ≤ VWVI ≤ 60):
├─ 含义:中等波动或成交量不匹配
├─ 市场状态:过渡阶段、方向待定
├─ 交易策略:观望、等待明确信号
└─ 注意:假突破高发区域
🔴 红色主线 (VWVI < 40):
├─ 含义:低波动 + 低成交量 = 震荡整理
├─ 市场状态:横盘、区间震荡、成交萎缩
├─ 交易机会:区间交易、均值回归
└─ 特征:价格在支撑阻力间反复
```
### **2. 参考线系统(辅助判断)**
```
🟢 趋势阈值线 (默认60):
├─ 作用:趋势确认的分水岭
├─ 突破向上:趋势行情开始确认
├─ 跌破向下:趋势减弱或结束
└─ 调整建议:可根据市场特性调整(50-70)
🔴 震荡阈值线 (默认40):
├─ 作用:震荡行情的确认线
├─ 跌破向下:震荡行情确认
├─ 突破向上:震荡可能结束
└─ 调整建议:可根据波动性调整(30-50)
⚫ 中线 (50):
├─ 作用:市场中性参考
├─ 上方:偏向趋势特征
├─ 下方:偏向震荡特征
└─ 意义:长期均衡位置
```
### **3. 背景着色系统(状态识别)**
```
🟢 淡绿色背景:
├─ 触发:VWVI > 趋势阈值
├─ 含义:趋势行情确认期
├─ 交易建议:趋势跟随策略
└─ 风险:趋势末期可能反转
🔴 淡红色背景:
├─ 触发:VWVI < 震荡阈值
├─ 含义:震荡行情确认期
├─ 交易建议:区间交易策略
└─ 机会:寻找支撑阻力位
🟩 绿色背景闪烁:
├─ 触发:VWVI突破趋势阈值瞬间
├─ 含义:趋势信号产生
├─ 行动:考虑建立趋势仓位
└─ 确认:需结合其他指标
🟥 红色背景闪烁:
├─ 触发:VWVI跌破震荡阈值瞬间
├─ 含义:震荡信号产生
├─ 行动:考虑区间交易策略
└─ 确认:观察是否持续
```
### **4. 信息面板(右上角)**
```
📊 实时数据显示:
├─ VWVI数值:当前指标读数
├─ 当前状态:趋势/震荡/中性
├─ 成交量状态:高于/低于20日均值
├─ 波动强度:高波动/低波动
├─ 趋势阈值:当前设置值
└─ 震荡阈值:当前设置值
```
---
## 📈 **三、具体使用方法**
### **A. 趋势跟随策略**
```
🎯 入场时机:
✅ VWVI从下方突破60(绿色背景闪烁)
✅ 主线变为绿色且持续上升
✅ 成交量状态显示"高于均值"
✅ 波动强度显示"高波动"
📍 持仓管理:
- 继续持有:VWVI保持在60以上
- 减仓警告:VWVI开始下降但仍>50
- 止损离场:VWVI跌破50或变为橙色
⚠️ 风险控制:
- 假突破:VWVI突破60后快速回落
- 趋势末期:VWVI在高位震荡
```
### **B. 震荡交易策略**
```
🎯 确认震荡:
✅ VWVI跌破40(红色背景闪烁)
✅ 主线变为红色且在低位徘徊
✅ 成交量状态显示"低于均值"
✅ 波动强度显示"低波动"
📍 操作策略:
- 区间上沿:寻找阻力位做空
- 区间下沿:寻找支撑位做多
- 止损设置:突破区间边界
- 利润目标:区间中轴附近
⚠️ 注意事项:
- 震荡末期可能出现假突破
- 成交量异常放大需警惕变盘
```
### **C. 状态转换策略**
```
🔄 震荡→趋势转换:
- 观察:VWVI从<40上升至40-60区间
- 准备:橙色主线阶段做好准备
- 确认:突破60时考虑入场
- 验证:成交量是否同步放大
🔄 趋势→震荡转换:
- 警告:VWVI从>60下降至40-60区间
- 减仓:橙色主线阶段逐步减仓
- 确认:跌破40时转为震荡策略
- 观察:是否为趋势中的回调
```
---
## ⚠️ **四、使用误区与注意事项**
### **❌ 常见误区**
1. **误区一:单独使用VWVI**
- ❌ 错误:仅凭VWVI做交易决策
- ✅ 正确:结合价格行为、支撑阻力、其他指标
2. **误区二:忽略成交量确认**
- ❌ 错误:只看VWVI数值,不看成交量状态
- ✅ 正确:VWVI信号+成交量确认=更可靠信号
3. **误区三:频繁交易**
- ❌ 错误:每次颜色变化都交易
- ✅ 正确:等待明确的状态转换信号
4. **误区四:固定阈值**
- ❌ 错误:所有市场都用60/40阈值
- ✅ 正确:根据不同品种调整参数
5. **误区五:忽略背景信息**
- ❌ 错误:不看市场环境和基本面
- ✅ 正确:结合市场周期和重要事件
### **⚡ 特殊情况处理**
```
🚨 异常信号识别:
- VWVI急剧飙升>80:可能是突发事件
- VWVI长期<20:市场极度萎缩
- 频繁在阈值附近震荡:市场犹豫不决
- 成交量与VWVI背离:需谨慎对待
🎯 最佳使用环境:
✅ 适用:活跃交易的主流品种
✅ 适用:有足够历史数据的市场
✅ 适用:成交量数据准确的交易所
❌ 不适用:极低流动性品种
❌ 不适用:操纵严重的小币种
❌ 不适用:新上市品种(数据不足)
```
### **🔧 参数调优建议**
```
📊 不同市场的参数建议:
- BTC/ETH主流币:保持默认14/60/40
- 山寨币:可调整为10/65/35(更敏感)
- 股票市场:可调整为20/55/45(更稳定)
- 外汇市场:可调整为21/58/42(跟随传统)
⏱️ 不同时间周期:
- 1分钟:不建议使用(噪音太大)
- 5-15分钟:短线交易,参数可调敏感
- 1-4小时:中线交易,保持默认
- 日线:长线分析,可调保守
```
**总结:VWVI是一个强大的市场状态识别工具,但需要正确理解其含义,结合其他分析方法,避免过度交易,才能发挥最大效用。**
VDR-PROVDR-PRO - Volume Weighted Average Price Dynamic Range
Advanced multi-timeframe VWAP indicator with intelligent range levels for precise trading decisions.
🎯 Key Features:
3 Independent Systems with configurable Average Daily/Weekly/Monthly Range calculations
VWAP Dismount Detection across multiple timeframes (Daily, Weekly, Monthly, Quarterly, Yearly)
Smart Level Synchronization - range levels automatically align with VWAP dismount points
Progressive Color System - automatic color coding for easy level identification
Intelligent Price Formatting - automatically adjusts decimal places based on symbol tick size
Dynamic Reference Points - use current price, manual price, or any VWAP dismount as central reference
📊 Perfect For:
Swing Trading - identify key support/resistance levels
Day Trading - precise entry/exit points based on volume-weighted levels
Range Trading - understand price distribution around volume-weighted averages
Multi-timeframe Analysis - combine different range calculations for comprehensive market view
⚙️ Customizable Settings:
Configure range periods (5-200 bars)
Adjust division factors (2-20x)
Set number of levels per system (2-15)
Choose from 12 different VWAP dismount references
Toggle progressive colors or use manual color schemes
🎨 Visual Excellence:
Clean, professional interface
Ghost-style labels with transparent backgrounds
Comprehensive range statistics table
Forex-friendly pip calculations
Transform your trading with precision VWAP-based range analysis. VDR-PRO combines volume analysis with dynamic range calculation for superior market insights.
ATR Screener with Labels and ShapesWeekly Daily ATR Pine Scanner
To find out tightness or contraction in a stock we needs to check if volatality is decreasing as well as compared to previous 14 or 10 bars volatility . we check this for weekly and then for Daily , so that we can enter in a stock which is tightest in recent times.
Condition is :
1. Weekly Candle ATR x 0.8 < 10 Week ATR
2. Daily Candle ATR x 0.6 < 14 Day ATR
When both of the conditions are met then they signifies that the stock has tightened in weekly and daily aswell . so now we can find ways to enter during max squeeze.
How to scan in Pine Scanner ?
FIrst add indicator as favourite and Go to pine scanner page in trading view and then scan your watchlist and there you will see 3 columns 1 with only Weekly conditions met , 2 with only Daily and 3rd with Both conditions met .
Select stocks and move to new watchlist and now you have those stocks which has contracted the most in recent times .
True Market Structure [Advanced Liquidity Hunter] v1True Market Structure v1
📌 Table of Contents
1. Introduction
2. Core Concepts
3. Indicator Components
4. Configuration
5. Signal Interpretation
6. Trading Strategies
7. Risk Management
8. FAQ
________________________________________
🎯 Introduction
What is True Market Structure?
True Market Structure is an advanced technical analysis indicator that reveals hidden market mechanisms. Based on Smart Money Concepts (SMC) and ICT (Inner Circle Trader) methodology, it identifies where large financial institutions hunt retail traders' stop losses.
Who is this indicator for?
• ✅ Beginners - Intuitive visualizations and clear signals
• ✅ Intermediate - Deeper market structure analysis
• ✅ Advanced - Full parameter control and advanced strategies
Key Benefits
• 🔍 Sees the invisible - Hidden liquidity levels
• 🎯 Precise signals - Based on real data
• ⚡ Real-time - Instant analysis
• 🛡️ Capital protection - Warns against traps
💡 Pro Tip: Start with 15M timeframe! That's where most action happens - stop hunts every few candles, retail traps, liquidity battles. It's the best "microscope" to understand how the market really works.
________________________________________
📚 Core Concepts
Smart Money vs Retail Money
Smart Money:
• Banks, hedge funds, large institutions
• Create market moves, don't follow them
• Exploit retail predictability
Retail Money:
• Individual traders
• Often act emotionally
• Place stop losses at predictable levels
Liquidity
Liquidity refers to areas where many orders are waiting:
• Stop losses above highs (shorts)
• Stop losses below lows (longs)
• Orders at round numbers
Key principle: Smart Money needs liquidity to enter/exit large positions. That's why they "hunt" stop losses first, then make the real move.
________________________________________
🔧 Indicator Components
1. 💧 Liquidity Pools
What is it?
• Price levels tested multiple times
• Stop loss accumulation areas
• Displayed as blue horizontal lines
How to read?
• LIQ HIGH x15 = Level tested 15 times from above
• LIQ LOW x8 = Level tested 8 times from below
• Higher number = stronger zone
Significance:
• Price magnet
• High probability of reaction
• Smart Money target
2. 🎣 Stop Hunts
What is it?
• Candles with long wicks
• Brief penetrations of important levels
• Marked with purple labels
Types:
• STOP HUNT ⬆ - Upward hunt (shorts' stop losses)
• STOP HUNT ⬇ - Downward hunt (longs' stop losses)
Characteristics:
• Long wick (minimum 2x larger than body)
• Wick must also be larger than 0.5 ATR (default)
• Breaks recent high/low from lookback period
• Quick price return
3. 🪤 Trapped Traders
What is it?
• Areas where retail got trapped
• Failed breakouts that didn't hold
• Colored rectangles on chart
Trap types:
• 🔴 TRAPPED LONGS - Buyers caught at top
• 🟢 TRAPPED SHORTS - Sellers caught at bottom
Mechanism:
1. Important level break
2. Retail enters breakout direction
3. Price returns leaving them at loss
4. Stop losses get activated
4. 🎪 Inducement Levels
What is it?
• "Too obvious" support/resistance
• Levels respected minimum 3 times
• Orange dashed lines
Why is it a trap?
• Look like perfect trading spots
• Attract retail traders' attention
• Smart Money uses them to collect liquidity
Example:
• 100,000 level on BTC - round number
• 3 bounces = "strong support"
• Retail buys, Smart Money sells to them
5. ⏰ Kill Zones
What is it?
• Highest Smart Money activity periods
• Red background on chart
• Maximum manipulation time
Default Kill Zones:
• 🌆 London Open (08:00-09:00 UTC)
• 🏙️ NY Open (13:00-14:00 UTC)
• 🌃 Midnight (00:00-01:00 UTC)
Trading Sessions (chart background):
• 🌏 Asian (00:00-08:00 UTC) - Gray background
• 🇬🇧 London (08:00-16:00 UTC) - Blue background
• 🇺🇸 New York (13:00-21:00 UTC) - Orange background
Note: London and New York sessions overlap (13:00-16:00 UTC) - this is the highest liquidity period!
6. 🎯 Smart Money Signals
What is it?
• Potential institutional entry points
• Large labels with 🎯 emoji
• Appear after stop hunts
Conditions:
1. Stop hunt in one direction
2. High volume (2x average)
3. In Kill Zone
4. Direction reversal
7. 📊 Market Analysis Table
The table displays 9 rows with key information:
1. Session - Current trading session (ASIA/LONDON/NEW YORK/CLOSED)
2. Kill Zone - Zone status (🔴 ACTIVE / ✅ SAFE)
3. Liquidity Pools - Number of liquidity zones found
4. Inducement Levels - Number of bait levels
5. Traps (50 bars) - Number of traps in last 50 bars
6. Market Bias - Market direction:
o BULLISH 📈 (close > SMA50 and EMA21)
o BEARISH 📉 (close < SMA50 and EMA21)
o NEUTRAL ➡️ (other cases)
7. Volume - Volume status:
o 🔥 EXTREME (>2x average)
o ⬆️ HIGH (>1.5x average)
o NORMAL (>average)
o ⬇️ LOW (3 traps)
o ⚠️ CHOPPY (>5 traps)
o 👀 WATCH LIQUIDITY (>3 liquidity zones)
o ✓ NORMAL (other)
________________________________________
⚙️ Configuration
Step 1: Basic Configuration
Where to find settings:
• Method 1: Click the ⚙️ (gear) icon next to indicator name on chart
• Method 2: Double-click any indicator line/label
• Method 3: Right-click → "Settings" on indicator name
🌍 Timezone Setting
UTC Offset: Your timezone
Examples:
- London: 0 (winter) or +1 (summer)
- New York: -5 (winter) or -4 (summer)
- Tokyo: +9
🎚️ Sensitivity Adjustment
For beginners - Default settings:
• Lookback Period: 30
• Detection Sensitivity: 0.3
• Min. Touches: 2
For different timeframes:
• 15M: Sensitivity 0.2-0.3, Lookback 20-30
• 1H: Sensitivity 0.3-0.4, Lookback 30-40
• 4H: Sensitivity 0.4-0.5, Lookback 40-50
For different instruments:
• Forex Majors (EUR/USD): Sensitivity 0.1-0.2
• Indices (S&P500;): Sensitivity 0.2-0.4
• Crypto (BTC): Sensitivity 0.4-0.8
• Stocks: Sensitivity 0.3-0.5
Step 2: Advanced Configuration
🔧 Liquidity Zones Parameters
• Min. Touches (1-5): Less = more signals
• Lookback (20-200): More = further levels
• Max Zones (1-10): Display quantity control
🎣 Stop Hunt Parameters
• Wick/Body Ratio (1-5): Lower = more signals
• Min. Wick Size (0.1-2 ATR): Filters small wicks
🎯 Smart Money Analysis
• Require Kill Zone: Enable for fewer signals
• Volume Multiplier: Higher = only big moves
________________________________________
📖 Signal Interpretation
Note: Most examples are shown on 15M timeframe, because that's where you can best see all market manipulations in action!
Signal Importance Hierarchy
1. 🎯 Smart Money Signal - Strongest signal
2. 🪤 Trapped Traders - High reliability
3. 🎣 Stop Hunt - Medium reliability
4. 💧 Liquidity Touch - Needs confirmation
Interpretation Examples
Scenario 1: "Liquidity Grab"
You see: LIQ HIGH x20 at 100,000
+ Stop Hunt ⬆
+ Volume spike
= Likely decline
Scenario 2: "Trap and Reverse"
You see: TRAPPED LONGS
+ Kill Zone Active
+ SM SHORT 🎯
= Strong short signal
Scenario 3: "Inducement Break"
You see: Inducement Level break
+ No volume
+ Status: NORMAL
= Likely trap, wait
Colors and Their Meaning
• 🔵 Blue - Liquidity (neutral)
• 🟠 Orange - Caution, possible trap
• 🔴 Red - Negative signal / long trap
• 🟢 Green - Positive signal / short trap
• 🟣 Purple - Stop hunt (neutral, wait for reaction)
________________________________________
💡 Trading Strategies
Strategy 1: "Liquidity Sweep" (For Beginners)
Assumptions:
• Trade only with trend
• Wait for liquidity collection
• Enter on return
Best timeframe for learning: 15M - you'll see all manipulation stages in real-time!
Steps:
1. Identify trend (Market Bias in table)
2. Find nearest liquidity zone aligned with trend
3. Wait for price to touch and bounce
4. Enter after confirming candle
5. Stop loss beyond liquidity zone
6. Take profit at next zone
Example:
• Trend: BULLISH
• Liquidity at 100,000 (support)
• Price drops to 99,950 (stop hunt)
• Returns above 100,000
• LONG with SL 99,900, TP 101,000
Strategy 2: "Kill Zone Hunter" (Intermediate)
Assumptions:
• Trade only in Kill Zones
• Exploit stop hunts
• Aggressive entries
Ideal timeframe: 15M - in Kill Zones on 15M you'll see exactly every Smart Money move!
Steps:
1. Wait for Kill Zone (red background)
2. Watch first 15-30 minutes
3. Look for stop hunt
4. Enter immediately after stop hunt
5. Tight stop loss (0.5 ATR)
6. Scale position with profit
Tips:
• London Open - often stop hunt down, then rise
• NY Open - often tests Asian High/Low
• Midnight - position resets, false moves
Strategy 3: "Smart Money Follow" (Advanced)
Assumptions:
• Ignore minor signals
• Wait only for SM signals
• Larger positions, fewer trades
Steps:
1. Status must show HIGH RISK or WATCH LIQUIDITY
2. Wait for stop hunt series (minimum 2)
3. Watch Trapped Traders
4. Enter only on SM signal 🎯
5. Stop loss beyond last extreme
6. Hold position until opposite SM signal
Position Management:
• 1/3 position at signal
• 1/3 after direction confirmation
• 1/3 after breaking last high/low
________________________________________
🛡️ Risk Management
Basic Rules
1. Never place stop loss at obvious level
o Add 5-10 pips buffer
o Avoid round numbers
o Check where Liquidity Pools are
2. Reduce position in Kill Zones
o 50% of normal size
o Or wait until they end
3. Avoid trading at HIGH RISK status
o Unless experienced
o Then reverse logic - look for traps
Stop Loss - Where to Place?
❌ Bad places:
• Exactly below/above candle
• At Inducement Levels
• At round numbers
• Where Liquidity Pools visible
✅ Good places:
• Beyond last stop hunt
• Behind Trapped Traders zone
• Minimum 1.5 ATR from entry
• Where SM would lose significantly
Position Sizing
Safe position formula:
Risk per trade = 1-2% of capital
Position size = Risk / (Stop Loss in pips × Pip value)
Modifiers:
• Kill Zone active: × 0.5
• After SM signal: × 1.5
• HIGH RISK status: × 0.3
• With trend: × 1.2
________________________________________
❓ FAQ
General Questions
Q: Indicator shows nothing, what to do? A: Check in settings:
1. Reduce "Min. Touches" to 1
2. Increase "Detection Sensitivity"
3. Enable "Debug Mode" to see statistics
4. Ensure proper timeframe (15M+)
5. On 15M sometimes wait a few candles for first signal
Tip for 15M: If you don't see signals on 15M, enable Debug Mode. If it shows Liq=0, reduce "Min. Touches" to 1 and increase "Liquidity Lookback" to 100.
Q: Too many signals, I'm lost A:
1. Increase requirements (min. touches, respects)
2. Disable some components
3. Trade only strongest signals (SM 🎯)
Q: Which timeframe is best? A:
• 15M - PERFECT FOR LEARNING! Many signals, shows all manipulations, great for beginners
• 30M - Good balance, less noise than 15M
• 1H - Medium-term trading, clear setups
• 4H - Fewer signals but bigger moves, for patient traders
• 1D - Only major levels, position trading
💡 For beginners: Start with 15M! That's where you'll see how the market really works - stop hunts, traps, false breakouts. Only after understanding the mechanics, move to higher timeframes.
Technical Questions
Q: What does "x15" mean at LIQ? A: Number of level touches. Higher = stronger level.
Q: Why are Kill Zones red? A: High risk periods - most manipulation.
Q: What does Debug Mode show? A: When "Show Debug Info" is enabled, a label appears above the last candle with:
• Liq=X - number of Liquidity Pools found
• Ind=X - number of Inducement Levels found
• HighLvl=X - number of highs stored in memory
• LowLvl=X - number of lows stored in memory
This helps understand why sometimes no signals appear (e.g., when Liq=0).
Trading Questions
Q: Can I use only this indicator? A: Yes, but better combined with:
• Trend analysis
• Support/resistance
• Volume
Q: Does it work on all markets? A: Best on liquid ones:
• ✅ Major Forex pairs
• ✅ Main indices
• ✅ BTC, ETH
• ⚠️ Less liquid altcoins
• ❌ Exotic pairs, small caps
Q: How to remove indicator from chart? A:
• Method 1: Click X next to indicator name
• Method 2: Right-click on name → "Remove"
• Method 3: In indicators panel (left side) find and click trash icon
Q: Can I use multiple copies of the indicator? A: Yes! You can add the indicator multiple times with different settings (e.g., one for liquidity, another for stop hunts only).
Q: How much can I earn? A: Indicator doesn't guarantee profit. It's an analysis tool, not a trading system. Your results depend on:
• Discipline
• Risk management
• Experience
• Market conditions
________________________________________
🎯 Quick Start - Checklist
Pro Tip: After adding the indicator, click the star ⭐ to add to favorites - you'll have quick access in the future!
For Beginners:
• After adding indicator, set your UTC offset in settings
• Start on 15M timeframe (where you'll see the most action!)
• Observe for a week without trading
• Learn to recognize each signal type
• Practice on 15M, then try 1H
• Start with "Liquidity Sweep" strategy
• Max 1% risk per trade
• Keep trading journal
First Steps:
1. Days 1-3: Observe and learn signals
2. Days 4-7: Mark potential entries (no trading)
3. Week 2: Demo trading with small positions
4. Week 3+: Real trading with strict risk management
________________________________________
💬 Support
• Questions & Suggestions: Comments section under the indicator
• Bug Reports: Describe issue in comments with timeframe and instrument
• Updates: Click "Follow" to receive notifications
• Examples: Regular trading idea publications with usage examples
💡 Community: Share your setups in comments - let's help each other!
________________________________________
⚖️ Disclaimer
This indicator is an educational and analytical tool. It does not constitute investment advice. Trading involves risk of capital loss. Always conduct your own analysis and apply appropriate risk management. Historical results do not guarantee future profits.
Quantum Market Intelligence (QMI)Quantum Market Intelligence (QMI) Indicator
The Quantum Market Intelligence (QMI) is a sophisticated multi-factor technical indicator that combines four key market analysis components into a single composite score. This indicator provides traders with a comprehensive market assessment tool that adapts to changing market conditions. The QMI score oscillates between -100 and +100, offering clear visual signals through color-coded plotting and an informative dashboard display.
The indicator analyzes markets through four distinct lenses: Trend Analysis (using EMAs and volatility-adjusted momentum), Momentum Analysis (combining RSI, Stochastic, and Williams %R), Volume Analysis (incorporating volume ratios and Accumulation/Distribution), and Volatility Analysis (utilizing ATR and Bollinger Bands). These components are intelligently weighted based on detected market regimes - whether trending, volatile, or range-bound. The adaptive mode feature continuously evaluates the indicator's recent performance and adjusts sensitivity accordingly, making it responsive to evolving market dynamics.
Traders can utilize the QMI's signal system which generates four types of alerts: Strong Buy (above 70 and rising), Buy (crossing above 30), Strong Sell (below -70 and falling), and Sell (crossing below -30). The visual presentation includes triangular markers for strong signals, circular markers for regular signals, and background shading that indicates the current market regime. The information table displays real-time metrics including the QMI score, individual component scores, detected market regime, and performance ratio, providing traders with a complete analytical dashboard for informed decision-making.
Important Notice:
The use of this technical indicator does not guarantee profitable results. This indicator should not be used as a standalone analysis tool. It is essential to combine it with other forms of analysis, such as fundamental analysis, risk management strategies, and awareness of current market conditions. Always conduct thorough research.
Note: The effectiveness of any technical indicator can vary based on market conditions and individual trading styles. It's crucial to test indicators thoroughly using historical data before applying them in live trading scenarios.
Disclaimer:
Trading financial instruments involves substantial risk and may not be suitable for all investors. Past performance is not indicative of future results. This indicator is provided for informational and educational purposes only and should not be considered investment advice. Always conduct your own research before making any trading decisions.
VIX Index Plot with LevelsPine Script Indicator: VIX Index Plot with Levels
This Pine Script indicator is designed for TradingView and is specifically created to plot the VIX (Volatility Index) on a separate panel below your main price chart. Its primary goal is to visually highlight periods of heightened market fear (and potential buying opportunities) by changing the VIX line color and filling the background based on specific VIX levels.
How It Works:
VIX Data Fetching:
The script fetches the VIX index data using the request.security() function. By default, it uses the "VIX" symbol, but you can change this in the indicator's settings (e.g., to "USI:VIX" if your data provider requires it). It retrieves the closing price of VIX for each bar.
Dynamic VIX Line Coloring:
The VIX line's color dynamically changes based on its current value, providing an immediate visual cue for different levels of market volatility/fear:
Red: When VIX is at or above 50. (Indicates extreme fear)
Orange: When VIX is at or above 40 (but below 50). (Indicates high fear)
Yellow: When VIX is at or above 30 (but below 40). (Indicates elevated fear)
Navy Blue: When VIX is below 30. (Indicates normal to low volatility)
Horizontal Level Lines:
Dotted horizontal lines are plotted at the 30, 40, and 50 VIX levels. These serve as clear visual markers, helping you quickly identify when VIX crosses these important thresholds. The color of these lines matches the corresponding emphasis color (yellow, orange, red).
Background Fill for Emphasis:
To further enhance visual clarity, the area below the VIX line (down to the 0-level of the VIX panel) is filled with a color corresponding to the current VIX level. This creates a prominent colored band that highlights periods of elevated fear:
Red Fill: When VIX is 50 or above.
Orange Fill: When VIX is 40 or above (but below 50).
Yellow Fill: When VIX is 30 or above (but below 40).
The fill has a slight transparency (90%) to remain subtle yet effective.
Customization:
You can easily adjust the parameters of this indicator by accessing its settings on your TradingView chart. Look for the gear icon next to the indicator name on your chart to modify:
VIX Symbol: Change the VIX symbol if needed (e.g., "VIX", "USI:VIX").
VIX Level 1 (Yellow): Adjust the threshold for the yellow emphasis (default: 30.0).
VIX Level 2 (Orange): Adjust the threshold for the orange emphasis (default: 40.0).
VIX Level 3 (Red): Adjust the threshold for the red emphasis (default: 50.0).
How to Use This Script in TradingView:
Open your TradingView chart.
Go to the "Pine Editor" tab at the bottom.
Delete any existing code in the editor (if you are replacing a previous VIX script).
Copy and paste the entire provided Pine Script code into the Pine Editor.
Click "Add to Chart" (or "Save" and then "Add to Chart").
This indicator will appear as a separate panel below your main price chart, providing you with a dynamic and intuitive visual representation of market volatility based on VIX levels. This can be a valuable tool for identifying potential market bottoms during periods of high fear.
Bear Market Defender [QuantraSystems]Bear Market Defender
A system to short Altcoins when BTC is ranging or falling - benefit from Altcoin bleed or collapse .
QuantraSystems guarantees that the information created and published within this document and on the TradingView platform is fully compliant with applicable regulations, does not constitute investment advice, and is not exclusively intended for qualified investors.
Important Note!
The system equity curve presented here has been generated as part of the process of testing and verifying the methodology behind this script.
Crucially, it was developed after the system was conceptualized, designed, and created, which helps to mitigate the risk of overfitting to historical data. In other words, the system was built for robustness, not for simply optimizing past performance.
This ensures that the system is less likely to degrade in performance over time, compared to hyper-optimized systems that are tailored to past data. No tweaks or optimizations were made to this system post-backtest.
Even More Important Note!!
The nature of markets is that they change quickly and unpredictably. Past performance does not guarantee future results - this is a fundamental rule in trading and investing.
While this system is designed with broad, flexible conditions to adapt quickly to a range of market environments, it is essential to understand that no assumptions should be made about future returns based on historical data. Markets are inherently uncertain, and this system - like all trading systems - cannot predict future outcomes.
INTRODUCTION TO THE STAR FRAMEWORK
The STAR Framework – an abbreviation for Strategic Trading with Adaptive Risk - is a bespoke portfolio-level infrastructure for dynamic, multi-asset crypto trading systems. It combines systematic position management, adaptive sizing, and “intra-system” diversification, all built on a rigorous foundation of Risk-based position sizing .
At its core, STAR is designed to facilitate:
Adaptive position sizing based on user-defined maximum portfolio risk
Capital allocation across multiple assets with dynamic weight adjustment
Execution-aware trading with robust fee and slippage adjustment
Realistic equity curve logic based on a compounding realized PnL and additive unrealized PnL
The STAR Framework is intended for use as both a standalone portfolio system or preferred as a modular component within a broader trading “global portfolio” - delivering a balance of robustness and scalability across strategy types, timeframes, and market regimes.
RISK ALLOCATION VIA "R" CALCULATIONS
The foundational concept behind STAR is the use of the R unit - a dynamic representation of risk per trade. R is defined by the distance between a trade's entry and its stoploss, making it an intuitive and universally adaptive sizing unit across any token, timeframe, or market.
Example: Suppose the entry price is $100, and the stoploss is $95. A $5 move against the position represents a 1R loss. A 15% price increase to $115 would equal a +3R gain.
This makes R-based systems highly flexible: the user defines the percentage of capital that is put at risk per R and all positions are scaled accordingly - whether the token is volatile, illiquid, or slow-moving.
R is an advantageous method for determine position sizing - instead of being tied to complex value at risk mechanisms with having layered exit criteria, or continuous volatility-based sizing criteria that need to be adjusted while in an open trade, R allows for very straightforward sizing, invalidation and especially risk control – which is the most fundamental.
REALIZED BALANCE, FEES & SLIPPAGE ACCOUNTING
All position sizing, risk metrics, and the base equity curve within STAR are calculated based on realized balance only .
This means:
No sizing adjustments are made based on unrealized profit and loss ✅
No active positions are included in the system's realized equity until fully closed ✅
Every trade is sized precisely according to current locked-in realized portfolio balance ✅
This creates the safest risk profile - especially when multiple trades are open. Unrealized gains are not used to inflate sizing, ensuring margin safety across all assets.
All calculations also incorporate slippage and fees, based on user-defined estimates – which can and should be based upon user-collected data - and updated frequently forwards in time. These are not cosmetic, or simply applied to the final equity curve - they are fully integrated into the dynamic position sizing and equity performance , ensuring:
Stoploss hits result in exactly a −1R loss, even after slippage and fees ✅
Winners are discounted based on realistic execution costs ✅
No trade is oversized due to unaccounted execution costs ✅
Example - Slippage in R Units:
Let R be defined as the distance from entry to stoploss.
Suppose that distance is $1, and the trade is closed at a win of +$2.
If execution slippage leads to a 50 cent worse entry and a 50 cent worse exit, you’ve lost $1 extra - which is an additional 1R in execution slippage. This makes the effective return 1.0R instead of the intended 2.0R.
This is equivalent to a slippage value of 50%.
Thus, slippage in STAR is tracked and modelled on an R-adjusted basis , enabling more accurate long-term performance modelling.
MULTI-ASSET, LONG/SHORT SUPPORT
STAR supports concurrent long and short positions across multiple tokens. This can sometimes result in partially hedged exposure - for example, being long one asset and short another.
This structure has key benefits:
Diversifies idiosyncratic risk by distributing exposure across multiple tokens
Allows simultaneous exploitation of relative strength and weakness
Reduces portfolio volatility via natural hedging during reduced trending periods
Even in a highly correlated market like crypto, short-term momentum behaviour often varies between tokens - making diversified, multi-directional exposure a strategic advantage .
EQUITY CURVE
The STAR framework only updates the underlying realized equity when a position is closed, and the trade outcome is known. This approach ensures:
True representation of actual capital available for trading
No exposure distortion due to unrealized gains
Risk remains tightly linked to realized results
This trade-to-trade basis for realized equity modelling eliminates the common pitfall of overallocation based on unrealized profits.
The visual equity curve represents an accurate visualization of the Total Equity however, which is equivalent to what would be the realized equity if all trades were closed on the prior bar close.
TIMEFRAME CONSIDERATIONS
Lower timeframes typically yield better performance for STAR due to:
Greater data density per day - more observations = better statistical inference
Faster compounding - more trades per week = faster capital rotation
However, lower timeframes also suffer from increased slippage and fees. STAR's execution-aware structure helps mitigate this, but users must still choose timeframes appropriate to their liquidity, costs, and operational availability.
INPUT OPTIONS
Fees (direct trading costs - the percentage of capital removed from the initial position size)
Slippage (execution delay, as a percentage. In practice, the fill price is often worse than the signal price. This directly affects R and hence position sizing)
Risk % ( Please note : this is the risk level if every position is opened at once. 5% risk for 5 assets is 1% risk per position)
System Start date
Float Precision value of displayed numbers
Table visualization - positioning and table sizes
Adjustable color options
VISUAL SIMPLICITY
To avoid usual unnecessary complexity and empower fast at-a-glance action taking, as well as enable mobile compatibility, only the most relevant information is presented.
This includes all information required to open positions in one table.
As well as a quick and straightforward overview for the system stats
Lastly, there is an optional table that can be enabled
displaying more detailed information if desired:
USAGE GUIDELINES
To use STAR effectively:
Input your average slippage and fees %
Input your maximum portfolio risk % (this controls overall leverage and is equivalent to the maximum loss that the allocation to STAR would bring if ALL positions are allocated AND hit their stop loss at the same time)
Wait for signal alerts with entry, stop, and size details
STAR will dynamically calculate sizing, risk exposure, and portfolio allocation on your behalf. Position multipliers, stop placement, and asset-specific risk are all embedded in the system logic.
Note: Leverage must be manually set to ISOLATED on your exchange platform to prevent unwanted position linking.
ABOUT THE BEAR MARKET DEFENDER STRATEGY
The first strategy to launch on the STAR Framework is the BEAR MARKET DEFENDER (BMD) - a fast-acting, trend following system based upon the Trend Titan NEUTRONSTAR. For the details of the logic behind NEUTRONSTAR, please refer to the methodology and trend aggregation section of the following indicator:
The BMD ’s short side exit calculation methodology is slightly improved compared to NEUTRONSTAR, to capture downtrends more consistently and also cut positions faster – which is crucial when considering general jump risk in the Crypto space.
Accordingly, the only focus of the BMD is to capture trends to the short side, providing the benefit of being in a spectrum from no correlation to being negatively correlated in risk and return behavior to classical Crypto long exposure.
More precisely, Crypto behavior showcases that when Bitcoin is in a ranging/mean reverting environment, most tokens that don’t fall into the “Blue-Chip” category tend to find themselves in a trend towards 0.
Typically during this period most Crypto portfolios suffer heavily due to a “Crypto-long” biased exposure.
The Bear Market Defender thrives in these chaotic, high volatility markets where most coins trend towards zero while the traditional Crypto long exposure is either flat or in a drawdown, therefore the BMD adds a source of uncorrelated risk and returns to hedge typical long exposure and bolster portfolio volatility.
Because of the BMD's short-only exposure, it will often suffer small losses during strong uptrends. During these periods, long exposure performs the best and the goal is to outperform the temporary underperformance in the BMD .
To take advantage of the abovementioned behavior of most tokens trending to zero, assets traded in the BMD are systematically updated on a quarterly basis with available liquidity being an important consideration for the tokens to be eligible for selection.
FINAL SUMMARY
The STAR Framework represents a new generation of portfolio grade trading infrastructure, built around disciplined execution, realized equity, and adaptive position sizing. It is designed to support any number of future methodologies - beginning with BMD .
The Bear Market Defender is here to hedge out commonly long biased portfolio allocations in the Crypto market, specializing in bringing uncorrelated returns during periods of sideways price action on Bitcoin, or whole-market downturns.
Together, STAR + BMD deliver a scalable, volatility tuned system that prioritizes capital preservation, signal accuracy, and adaptive risk allocation. Whether deployed standalone or within a broader portfolio, this framework is engineered for high performance, longevity, and adaptability in the ever-evolving crypto landscape.
Timeframe LoopThe Timeframe Loop publication aims to visualize intrabar price progression in a new, different way.
🔶 CONCEPTS and USAGE
I got inspiration from the Pressure/Volume loop, which is used in Mechanical Ventilation with Critical Care patients to visualize pressure/volume evolution during inhalation/exhalation.
The main idea is that intrabar prices are visualized by a loop, going to the right during the first half and returning to the left towards its closing point. Here, the main chart timeframe (CTF) is 4 hours, and we see the movements of eight 30-minute lower timeframe (LTF) periods, highlighted by four yellow dots/lines (first 2 hours -> "Right") and four blue dots/lines (last 2 hours <- "Left"):
🔹 BTF
If "Show Lowest TF" is enabled, the LTF is split into another lower TF (BTF - "Base TF"); in this case, the 30-minute LTF is split into 10 parts of 3 minutes (BTF):
Enabling "Loop Lowest TF" will enable the BTF to react similarly to the largest loop; from halfway, it will return to its startpoint:
Here is a more detailed example:
🔹 Mini-Candles
The included option "Mini-Candles" will bring even more detail, showing the LTF as Japanese candlesticks with user-defined colors and adjustable body width; in this example, the mini-candles associated with the first half (yellow lines/dots) are green/red, while blue/fuchsia in the second half (blue lines/dots):
CTF 10 minutes, LTF 1 minute, BTF 5 seconds
One can see the detailed intrabar price progression in one glance.
CTF 5 minutes, LTF 1 minute, BTF 5 seconds
If the LTF/BTF ratio, divided by two, results in a non-integer number, the right side will be a vertical line instead of just a turning point. In that case, the smaller, most right blue loop will be situated at the right of that line.
10 minutes / 1 minute = 10 -> 10 / 2 = 5 parts
5 minutes / 1 minute = 5 -> 5 / 2 = 2.5 parts
🔶 SETTINGS
🔹 Timeframes
Lower Timeframe 1
Lower Timeframe 2
No need to worry about the order of both timeframes; BTF will be the lowest TF of the 2, LTF the highest; both have to be lower than the main chart TF (CTF); otherwise, it will result in the error: "`Lower Timeframes` should be lower than current chart timeframe".
The ratio LTF / BTF should be equal or higher than 2; otherwise, this error will show: "`Lower Timeframe` should minimally be twice the `Base (smallest) Timeframe`"
Lastly, the ratio CTF / BTF should be lower than 500; otherwise, this error will pop up: "`Current Chart timeframe` / `Lower Timeframe` should be less than 500."
I have tried to capture runtime errors as best I could. If one should be triggered (red exclamation mark next to the title), it is best to increase the lowest TF.
🔹 Options
Show Lowest TF: Show BTF progression.
Loop Lowest TF: Enabling will let the BTF line return halfway.
Show Mini-Candles
Show Steps
"Show Steps" can be useful to see how the script works, where the location of the current price is compared against the position of the left (L) and right (R) labels:
🔹 Style
EWMA Volatility EstimatorThis script calculates EWMA Volatility (Exponentially Weighted Moving Average Volatility).
Commonly used model in financial risk management.
It estimates recent price volatility by applying more weight to the most recent returns, capturing volatility clustering while remaining responsive to fast market shifts.
The method uses a decay factor (λ) of 0.94, the standard value used in models like RiskMetrics, and converts the variance estimate into annualized volatility in percentage terms.
This is not a forecasting tool. It’s an estimator that reflects the magnitude of recent price moves in a statistically robust way.
It can be helpful for:
Understanding regime shifts in market behavior
Designing position sizing rules based on recent volatility
Filtering entries during high or low volatility phases
How It Works
Computes log returns of the closing price.
Squares the returns to get a proxy for variance.
Applies an exponential moving average to the squared returns using an equivalent EMA period based on λ = 0.94.
Converts the result to volatility by taking the square root and scaling to a percentage.
Key Characteristics
Backward-looking estimator
Reacts faster than standard rolling-window volatility
Smooths noise while still being sensitive to recent spikes
This script is educational and informational. It is not financial advice or a guarantee of performance. Always test any tool as part of a broader strategy before using it in live markets.
Percent Change of Range Candles - FullPercent Change of Range Candles – Full (PCR Full)
Description:
PCR Full is a custom momentum indicator that measures the percentage price change relative to a defined range, offering traders a unique way to evaluate strength, direction, and potential reversals in price movement.
How it works:
The main value (PCR) is calculated by comparing the price change over a selected number of candles (length) to the range between the highest high and lowest low in the same period.
This percentage change is normalized and visualized with dynamic candles on the subgraph.
Reference levels at +100, +50, 0, -50, and -100 serve as key zones to indicate potential overbought/oversold conditions, continuation, or neutrality.
How to read the indicator:
1. Trend continuation:
When PCR breaks above +50 and holds, it often confirms a strong bullish move.
Similarly, values below -50 and staying low signal a bearish continuation.
2. Wick behavior (volatility insight):
Long wicks on PCR candles suggest uncertainty or failed breakout attempts.
Short or no wicks with strong body color show stable momentum and conviction.
On the chart, multiple long wicks near -50 suggest bulls are attempting to push price upward, but lack the strength — until a confirmed breakout.
3. Polarity transition (Bearish to Bullish or vice versa):
A transition from negative PCR values to above zero shows that the market is possibly turning.
Especially if PCR climbs gradually and stabilizes above zero, it indicates a developing bullish phase.
Components:
Main PCR line: Color-coded (green for rising, red for falling).
Open Average (gray line): Smooths recent PCR values, indicating balance.
High/Low adaptive bands: Adjust dynamically to PCR polarity.
PCR Candles: Visualize OHLC of PCR data for enhanced interpretation.
Suggested use cases:
Enter trend trades when PCR crosses +50 or -50 with volume or price confirmation.
Watch for reversal signs near ±100 if PCR fails to break further.
Use 0 line as a neutral zone — markets hovering near 0 are often in consolidation.
Combine with price action or oscillators like RSI/MACD for additional signals.
Customization:
The length input allows users to define the range for PCR calculations, making it adjustable to various timeframes and strategies (scalping, intraday, swing).
Volatility Barometer (VB)Volatility Barometer (VB)
The Volatility Barometer (VB) is a comprehensive market sentiment indicator designed to measure aggregate stress and fear in the equity market. It consolidates three critical volatility metrics into a single, easy-to-interpret score, providing a broader view of market conditions than any single metric alone.
Core Components
The barometer synthesizes information from:
VIX Index (VIX): The standard measure of implied 30-day stock market volatility.
VVIX Index (VVIX): The volatility of the VIX itself, often seen as the "volatility of volatility." High VVIX readings can signal uncertainty about the VIX's future path.
VIX Futures Term Structure (VX1!−VX2!): The spread between the front-month and second-month VIX futures. A positive spread (contango) is typical, while a negative spread (backwardation) often signals imminent market stress.
How It Works
To create a unified view, the indicator normalizes each of these three components using a Z-score. The Z-score measures how many standard deviations a value is from its historical mean over a user-defined period (defaulting to 252 days, or one trading year).
These three standardized Z-scores are then combined into a final VB Score using a weighted average. Users can customize these weights in the indicator's settings to emphasize the components they find most important.
How to Interpret
The VB Score is plotted as a single line that oscillates around a zero level, with its color changing to reflect the prevailing market regime:
High Stress (Red Line): When the score rises above the "High stress threshold" (default: 1.5), it indicates heightened market fear and risk-off sentiment. This is a period of significant stress, often associated with market downturns.
Low Stress (Green Line): When the score falls below the "Low stress threshold" (default: -1.0), it signals complacency and low perceived risk in the market. Extreme low readings can sometimes precede volatility spikes.
Neutral (Blue Line): Scores between the high and low thresholds represent normal market conditions.
By providing a weighted, multi-faceted view of volatility, the Volatility Barometer helps traders and investors identify market regimes, confirm trading biases, and anticipate potential shifts in market sentiment.
ATR Stop Loss BandsATR Stop Loss Bands Indicator
Overview
The ATR Stop Loss Bands indicator creates dynamic support and resistance levels based on the Average True Range (ATR), providing traders with volatility-adjusted price bands that can be used for stop loss placement and trend analysis.
How It Works
This indicator calculates two bands around the current closing price using the ATR value:
Upper Band: Close price + ATR value
Lower Band: Close price - ATR value
The bands automatically adjust to market volatility, expanding during volatile periods and contracting during calmer market conditions.
Key Features
Customizable ATR Period: Default 14-period length (adjustable from 1 to any desired value)
Multiple Smoothing Options: Choose from RMA (default), SMA, EMA, or WMA for ATR calculation
Dynamic Volatility Adjustment: Bands automatically adapt to current market volatility
Clean Visual Design: Gray bands that don't clutter your chart
Trading Applications
Stop Loss Placement: Use the bands as dynamic stop loss levels - long positions might use the lower band as a stop, while short positions could use the upper band
Volatility Assessment: Wide bands indicate high volatility periods, narrow bands suggest low volatility
Breakout Identification: Price movements beyond the bands may signal potential breakouts or trend changes
Support/Resistance Levels: The bands can act as dynamic support and resistance zones
Settings
Length: ATR calculation period (default: 14)
Smoothing: Method for ATR smoothing (RMA, SMA, EMA, or WMA)
Best Practices
Use in conjunction with other technical analysis tools for confirmation
Consider the overall trend direction when interpreting band breaks
Adjust the length parameter based on your trading timeframe and strategy
Remember that ATR bands are reactive, not predictive - they respond to price movements rather than forecasting them
This indicator is particularly useful for traders who want to incorporate market volatility into their risk management and entry/exit decisions.
CM RSI-Stoch Hybrid D&K%CM RSI-Stoch Hybrid D&K% Indicator
The CM RSI-Stoch Hybrid D&K% Indicator is a sophisticated momentum and trend analysis tool that combines the Relative Strength Index (RSI), Stochastic %K, and %D into a single, cohesive signal, enhanced by dynamic volume weighting and customizable smoothing. Unlike standalone RSI or Stochastic indicators, this hybrid approach integrates multiple data points to reduce noise, filter false signals, and provide traders with a clearer, more actionable view of market dynamics. Designed for versatility, it’s suitable for day trading, swing trading, or long-term investing across stocks, forex, cryptocurrencies, and commodities.
Why This Indicator Is Unique
Traditional RSI measures momentum based on price changes, while Stochastic tracks price cycles relative to highs and lows. However, both can generate conflicting or noisy signals in volatile markets. The CM RSI-Stoch Hybrid D&K% addresses this by:
Merging Complementary Signals: It calculates a composite signal by averaging RSI, Stochastic %K, and %D, balancing momentum and cyclical insights to produce a smoother, more reliable indicator.
Volume-Weighted Context: A dynamic colour system adjusts the composite signal’s appearance based on volume surges, helping traders prioritize moves backed by strong market participation.
Customizable Smoothing: A user-defined moving average (SMA, EMA, or WMA) smooths the composite signal, allowing traders to adapt the indicator to their preferred timeframe or strategy. This unique combination reduces the lag and false positives common in individual indicators, offering a novel perspective on market momentum and reversals.
How It Works
The indicator operates through a multi-layered approach:
Composite Signal Calculation: The core feature is a composite line derived by averaging RSI (based on closing prices), Stochastic %K, and %D (calculated from price highs and lows). This fusion creates a balanced momentum signal that mitigates the limitations of each indicator, such as RSI’s sensitivity to price spikes or Stochastic’s tendency to oscillate in choppy markets.
Volume-Weighted Colouring: The composite line changes colour (navy for high volume, blue for normal) based on a comparison of current trading volume to a user-defined volume moving average. This highlights when momentum aligns with significant market activity, improving trade timing.
Customizable Moving Average: Traders can apply an SMA, EMA, or WMA to the composite signal, adjusting its sensitivity to suit scalping, swing trading, or trend-following strategies.
Overbought/Oversold Zones: User-defined thresholds for overbought and oversold conditions (based on RSI) are visually marked with semi-transparent red (overbought) and green (oversold) backgrounds, making it easy to spot potential reversals or continuation patterns.
Key Features
Hybrid Momentum Signal: Combines RSI, Stochastic %K, and %D into a single, noise-filtered line for enhanced clarity.
Volume-Driven Insights: Dynamically adjusts the composite line’s colour to reflect high-volume conditions, emphasizing significant market moves.
Flexible Smoothing: Choose from SMA, EMA, or WMA to tailor the indicator to your trading style.
Customizable Parameters: Adjust RSI length, Stochastic periods, volume MA length, and overbought/oversold thresholds to match any market or timeframe.
Clear Visuals: Displays RSI, Stochastic %K, %D, composite signal, and moving average in a single panel, with intuitive overbought/oversold zones.
How to Use It
Trend Confirmation: Monitor the composite signal relative to its moving average. A composite line above its MA suggests bullish momentum, while a line below indicates bearish momentum.
Reversal Opportunities: Use the overbought (red background) and oversold (green background) zones to identify potential reversals, especially when confirmed by high-volume signals (navy composite line).
Scalping and Swing Trading: Adjust RSI and Stochastic lengths for faster or slower signals, using the moving average to filter noise for precise entries and exits.
Cross-Market Application: Customize settings to suit the volatility of stocks, forex, crypto, or commodities, ensuring versatility across timeframes.
Hint - watch for the back ground to change colour to reflect oversold or overbought conditions and then watch for the composite signal line to cross the moving average and for the back ground colour to go. High volume (navy blue) would also then add to directional bias.
Why Traders Will Benefit
The CM RSI-Stoch Hybrid D&K% goes beyond traditional indicators by integrating RSI, Stochastic, and volume analysis into a unified system that reduces false signals and enhances decision-making. Its dynamic volume weighting and customizable options make it a powerful tool for traders seeking to navigate complex markets with confidence. Whether you’re scalping intraday moves or tracking long-term trends, this indicator provides a clear, actionable edge.
Note: Combine this indicator with proper risk management and complementary analysis tools. Past performance is not indicative of future results.
Full setup support will be given
Session Range ProjectionsSession Range Projections
Purpose & Concept:
Session Range Projections is a comprehensive trading tool that identifies and analyzes price ranges during user-defined time periods. The indicator visualizes high-probability reversal zones and profit targets by projecting Fibonacci levels from custom session ranges, making it ideal for traders who focus on time-based market structure analysis.
Key Features & Calculations:
1. Custom Time Range Analysis
- Define any time period for range calculation - from traditional sessions (Asian, London, NY) to custom periods like opening ranges, hourly ranges, or 4-hour blocks
- Automatically captures the highest and lowest prices within your specified timeframe
- Supports multiple timezone selections for global market analysis
- Flexible enough for intraday scalping ranges or longer-term swing trading setups
2. Premium & Discount Zones
- Automatically divides the range into premium (above 50%) and discount (below 50%) zones
- Visual differentiation helps identify institutional buying and selling areas
- Color-coded boxes clearly mark these critical price zones
3. Optimal Trade Entry (OTE) Zones
- Highlights the 79-89% retracement zone in premium territory
- Highlights the 11-21% retracement zone in discount territory
- These zones represent high-probability reversal areas based on institutional order flow concepts
4. Fibonacci Projections
- Projects 11 customizable Fibonacci extension levels from the range extremes
- Levels extend both above and below the range for symmetrical analysis
- Each level can be individually toggled and color-customized
- Default levels include common retracement ratios: -0.5, -1.0, -2.0, -2.33, -2.5, -3.0, -4.0, -4.5, -6.0, -7.0, -8.0
How to Use:
Set Your Time Range: Input your desired session start and end times (24-hour format)
Select Timezone: Choose the appropriate timezone for your trading session
Customize Display: Toggle various visual elements based on your preferences
Monitor Price Action: Watch for reactions at projected levels and OTE zones
Set Alerts: Configure sweep alerts for when price breaks above/below range extremes
Input Parameters Explained:
Time Range Settings
Range Start/End Hour & Minute: Define your analysis period
Time Zone: Ensure accurate session timing across different markets
Visual Settings
Range Box: Toggle the premium/discount zone visualization
Horizontal Lines: Customize high/low line appearance
Internal Range Levels: Show/hide equilibrium and OTE zones
Labels: Configure text display for key levels
Fibonacci Projections: Enable/disable extension levels
Display Settings
Historical Ranges: Show up to 10 previous session ranges
Alert Type: Choose between high sweep, low sweep, or both
Trading Applications:
Session-Based Trading: Analyze specific market sessions (Asian, London, New York, opening ranges, hourly ranges)
Reversal Trading: Identify high-probability reversal zones at OTE levels
Breakout/Reversal Trading: Monitor range breaks/reversals with built-in sweep alerts
Risk Management: Use Fibonacci projections as profit targets or rejection areas
Multi-Timeframe Analysis: Apply to any timeframe for various trading styles
Important Notes:
This indicator is for educational purposes only and should not be considered financial advice
Past performance does not guarantee future results
Always use proper risk management when trading
The indicator automatically manages historical data to maintain chart performance
ADR et %+Vol (ADR ou %)This indicator identifies breakout bars based on significant price movements combined with increased trading volume. It allows you to define breakout thresholds in two ways:
Key Features:
Threshold Method: Choose between:
Fixed Percentage (%): Specify an exact percentage move.
ADR-based (%): Utilize the Average Daily Range (ADR) multiplied by a factor of your choice.
ADR Calculation: Offers two distinct calculation methods to suit your trading style:
True Range (TR): Incorporates overnight gaps, making it ideal for swing trading.
High-Low (H-L): Purely intraday measure, suitable for day trading without gap consideration.
Timeframe Flexibility:
Select the desired timeframe for ADR calculation (e.g., Daily, Weekly, Hourly), providing flexibility to match your specific trading horizon.
Visual Signals:
Blue Bar Coloring: Highlights breakout candles clearly.
Blue Circle Markers: Signals bars with significant price movement accompanied by strong volume.
Information Display:
Shows the ADR percentage, selected timeframe, and calculation method directly on the chart (top-right), providing instant clarity about the current settings.
Usage Recommendations:
Use True Range ADR if you hold positions overnight or trade multi-day swings.
Opt for High-Low ADR if you're trading purely intraday and prefer simpler measures.
This versatile indicator is suited for both swing and intraday traders looking for reliable volatility measures combined with volume confirmation.
Daily ATR TrackerDaily ATR Tracker
The Daily ATR Tracker is a simple yet powerful tool designed to help traders monitor the daily price movement relative to the average daily range (ATR). This indicator provides an objective view of how much price has moved compared to its recent daily volatility.
🔎 Key Features:
Customizable ATR period (default 14 days)
Live calculation of the current day's price range
ATR value displayed in pips for clear reference
Percentage of ATR covered by the current day's range
Color-coded table for quick visual interpretation:
🟢 Green: less than 60% of ATR covered
🟠 Orange: 60% to 100% of ATR covered
🔴 Red: more than 100% of ATR covered
Alert condition when daily range exceeds 100% of the ATR average
Movable table position to fit your chart layout
🎯 Why use Daily ATR Tracker?
✅ Identify exhaustion zones: When price has already covered a large portion of its typical daily range, the odds of further strong movement may diminish, helping you to manage entries, exits, and risk.
✅ Objective daily bias: Get a quantitative sense of how "stretched" the market is in real time.
✅ Works with any timeframe: While designed for daily ranges, you can monitor intraday movements with this context in mind.
⚠️ Usage Note:
This tool does not provide buy or sell signals by itself. It is designed to complement your existing strategies by offering additional context regarding daily range exhaustion.
Rolling Z-Score Trend [QuantAlgo]🟢 Overview
The Rolling Z-Score Trend measures how far the current price deviates from its rolling mean in terms of standard deviations. It transforms price data into standardized scores to identify overbought and oversold conditions while tracking momentum shifts.
The indicator displays a Z-Score line showing price deviation from statistical norms, with background momentum columns showing the rate of change in these deviations. This helps traders and investors identify mean reversion opportunities and momentum shifts across different asset classes and timeframes.
🟢 How It Works
The indicator uses the Z-Score formula: Z = (X - μ) / σ, where X is the current closing price, μ is the rolling mean, and σ is the rolling standard deviation over a user-defined lookback period. This creates a dynamic baseline that adapts to changing market conditions and standardizes price movements for interpretation across different assets and volatility conditions. The raw Z-Score undergoes 3-period EMA smoothing to reduce noise while maintaining responsiveness to market signals.
Beyond the basic Z-Score calculation, the indicator measures the rate of change in Z-Score values between successive bars, displayed as background momentum columns. This momentum component shows acceleration and deceleration of statistical deviations. All calculations are processed through confirmation filters, displaying signals only on confirmed bars to reduce premature signals based on incomplete price action.
🟢 How to Use
1. Z-Score Interpretation and Threshold Zones
Positive Values (Above Zero) : Price trading above statistical mean, suggesting bullish momentum or potential overbought conditions
Negative Values (Below Zero) : Price trading below statistical mean, suggesting bearish momentum or potential oversold conditions
Zero Line Crosses : Signal transitions between statistical regimes and potential trend changes
Upper Threshold Zone : Area above entry threshold (default 1.5) indicating potential overbought conditions
Lower Threshold Zone : Area below negative entry threshold (default -1.5) indicating potential oversold conditions
Extreme Values (±2.0 or higher) : Statistically significant deviations that may indicate reversal opportunities
2. Momentum Background Analysis and Info Table
Green Columns : Accelerating positive momentum in Z-Score values
Red Columns : Accelerating negative momentum in Z-Score values
Column Height : Magnitude of momentum change between bars
Momentum Divergence : When columns contradict primary Z-Score direction, often signals impending reversals
Info Table : Displays real-time numerical values for both Z-Score and momentum, including trend direction indicators and bar-to-bar change calculations for position management
3. Preconfigured Settings
Default : Balanced performance across multiple timeframes and asset classes for general trading and medium-term position management.
Scalping : Responsive setup for ultra-short-term trading on 1-15 minute charts with frequent signals and increased sensitivity to quick price movements.
Swing Trading : Optimized for multi-day positions with noise filtering, focusing on larger price swings. Most effective on 1-4 hour and daily timeframes.
Trend Following : Maximum smoothing that prioritizes established trends over short-term volatility. Generates fewer signals for daily and weekly charts.
Bollinger Band Breakout With Volatility StoplossDetailed Explanation of the Bollinger Band Breakout With Volatility Stoploss System
Introduction
The "Bollinger Band Breakout With Volatility Stoploss" system is a trading strategy designed to exploit price volatility in financial markets using the Bollinger Bands indicator, a widely recognized tool developed by John Bollinger. This system adapts the traditional Bollinger Bands framework into a Volatility Breakout strategy, focusing on capturing significant price movements by leveraging customized parameters and precise trading rules. The system operates exclusively on long positions, employs a daily timeframe, and incorporates dynamic risk management techniques to optimize trade outcomes while preserving capital.
System Parameters
The system modifies the standard Bollinger Bands configuration to suit its breakout methodology:
Standard Deviation (SD): Set to 1x, determining the width of the bands relative to the central moving average. This tighter setting enhances sensitivity to price movements, making the system responsive to smaller volatility shifts compared to the conventional 2x SD.
Period: A 30-day (1-month) lookback period is used to calculate the bands, providing a balance between capturing medium-term price trends and avoiding excessive noise from shorter timeframes.
Moving Average Type: The system uses an Exponential Moving Average (EMA) instead of the Simple Moving Average (SMA). The EMA places greater weight on recent price data, making it more responsive to current market conditions and better suited for detecting breakout opportunities in dynamic markets.
Core Concept
The Bollinger Band Breakout system is built on the principle of Volatility Breakout, which seeks to capitalize on significant price movements when the price breaks out of a defined volatility range. The Bollinger Bands, consisting of an EMA as the central line and two bands (Upper and Lower) calculated as the EMA plus or minus 1x SD, define this range. The system operates on a Daily Chart (D) timeframe, making it suitable for traders who prefer analyzing and executing trades based on daily price action. By focusing solely on Long Positions (buying low and selling high), the system avoids short-selling, aligning with strategies that capitalize on upward price momentum.
The core idea is to use the 1x SD multiplier over a 30-day period to establish a dynamic price range that reflects recent market volatility. Breakouts above the Upper Band signal potential buying opportunities, while penetrations below the Lower Band indicate exits, ensuring trades are aligned with significant price movements.
Trading Signals
The system generates clear entry and exit signals based on price interactions with the Bollinger Bands:
Buy Signal: A buy signal is triggered when the closing price of a daily candle exceeds the Upper Bollinger Band (EMA + 1x SD over 30 days). The trade is entered at the opening price of the subsequent candle, ensuring the breakout is confirmed by the close of the prior day. This approach minimizes false signals by waiting for a definitive breach of the volatility threshold.
Sell Signal: A sell signal occurs when the closing price falls below the Lower Bollinger Band (EMA - 1x SD over 30 days). The position is exited at the opening price of the next candle, allowing the trader to lock in profits or limit losses when the price reverses or loses momentum.
Risk Management
Risk management is a cornerstone of the system, ensuring capital preservation and disciplined trade execution:
Initial Stoploss: The stoploss is set at the Lower Bollinger Band of the candle that triggered the buy signal. This level acts as a volatility-based threshold, below which the trade is deemed invalid, prompting an immediate exit to protect capital. Traders have two options for implementing the stoploss:
Pending Stoploss: A predefined stoploss order placed at the Lower Band level.
Conditional Exit: Using the sell signal condition (price closing below the Lower Band) as the exit trigger, effectively aligning the stoploss with the system’s exit rules.
Position Sizing: The system employs Fixed Fractional Position Sizing with a risk per trade capped at 3% of the account balance. The position size is calculated based on the distance between the entry price and the Initial Stoploss, incorporating Volatility Position Sizing. This method adjusts the trade size according to the market’s volatility, ensuring that risk remains consistent across varying market conditions. Two options are available for managing capital:
Gear Up Option: Profits from previous trades are reinvested into the account’s capital, increasing the base for calculating the next position size. This compounding approach can amplify returns but also increases risk exposure.
Fixed Equity Option: Profits from previous trades are withdrawn, and only the remaining capital is used for calculating the next position size. This conservative approach prioritizes capital preservation by not compounding gains.
Trailing Stop: The system uses the Lower Bollinger Band as a dynamic trailing stop, which adjusts with price movements and volatility. This ensures that profits are protected during favorable trends while allowing the trade to remain open as long as the price stays above the Lower Band. The trailing stop aligns with the sell signal condition, maintaining consistency in the system’s exit strategy.
Supporting Indicators
The system incorporates two additional indicators to enhance market analysis and decision-making:
Bollinger Band Width (BBW): BBW measures the distance between the Upper and Lower Bollinger Bands relative to the EMA, serving as a proxy for market volatility.
A high BBW indicates significant price volatility, often associated with strong trends or large price movements, which may confirm the strength of a breakout.
A low BBW suggests low volatility, potentially signaling a period of consolidation or "squeeze" that could precede a breakout. This can help traders anticipate potential trade setups.
The BBW calculation uses the EMA to maintain consistency with the system’s core parameters.
Bollinger Band Ratio (BBR) or %B: BBR measures the price’s position relative to the Bollinger Bands, providing insight into market conditions.
BBR > 1: The price is above the Upper Band, indicating potential overbought conditions or strong upward momentum, which aligns with the system’s buy signal.
BBR < 0: The price is below the Lower Band, suggesting oversold conditions or downward momentum, corresponding to the sell signal or stoploss trigger.
BBR between 0 and 1: The price is within the bands, indicating a neutral state where no immediate action is required.
Like BBW, BBR is calculated using the EMA for consistency.
Backtesting and Implementation
To evaluate the system’s performance, traders can utilize the Backtest Parameter function, which allows for testing the strategy across user-defined time periods. This feature enables traders to assess the system’s effectiveness under various market conditions, optimize parameters, and refine their approach based on historical data.
Conclusion
The Bollinger Band Breakout With Volatility Stoploss system is a robust, volatility-driven trading strategy that combines the predictive power of Bollinger Bands with disciplined risk management. By focusing on long positions, using a 1x SD multiplier, and incorporating EMA-based calculations, the system is designed to capture significant price breakouts while minimizing risk through dynamic stoplosses and volatility-adjusted position sizing. The inclusion of BBW and BBR indicators provides additional context for assessing market conditions, enhancing the trader’s ability to make informed decisions. With its structured approach and backtesting capabilities, this system is well-suited for traders seeking a systematic, data-driven method to trade in volatile markets.
Liquidity Hunter HeatmapLiquidity Hunter (GPS Companion Tool)
Liquidity Hunter is a specialized script designed to help traders visualize and track potential liquidation zones, clusters, and imbalance traps in real-time. It is particularly useful for scalpers and short-term traders who rely on liquidity sweeps, stop hunts, and reversion plays.
This tool does not replicate open-source liquidation trackers. Instead, it uses a proprietary combination of volume surges, candle displacement, VWAP deviation, and high-timeframe wicks to infer areas of trapped traders and display them with clear, color-coded markers.
Key Features:
• Real-Time Liquidation Estimates: Detects where major stop losses (and potential liquidations) may have occurred, based on proprietary volume + price action logic.
• Cluster Strength Bubbles: Visual bubbles (scaled by cluster size) show where liquidations are stacking. Purple for bearish, white for bullish — intensity reflects strength.
• Pre-Liquidation Warning Zones: Highlights areas where price is likely to sweep liquidity before reversing, helping traders avoid chasing moves.
• Dollar-Based Labels (Optional): Displays the estimated value liquidated, helping traders size the significance of a move (e.g., $8.4M).
• Minimal Clutter Mode: Designed for intraday clarity — hides excess lines and uses bubbles, not shapes, for cleaner visualization.
Consolidation Zones[RanaAlgo]Overview
This indicator helps traders identify price consolidation zones (ranges) and potential breakouts in the market. It is useful for spotting periods of low volatility before significant price movements.
How It Works
Detects Consolidation Zones
Uses the ADX (Average Directional Index) to determine when the market is in a consolidation phase .
When ADX is below the threshold , the indicator marks the start of a consolidation zone.
Draws a semi-transparent box around the price range, adjusting its height as new highs/lows form.
Tracks Breakouts
When price breaks above/below the consolidation box, it signals a potential trend continuation.
Displays breakout arrows/labels (configurable shape & style) when price exits the range.
Visual Features
Boxes highlight consolidation areas (customizable color, border, and style).
Labels show real-time status ("CONSOLIDATING" or "TRENDING").
Breakout signals appear as arrows or shapes (up/down).
Usefulness in Trading
Range Trading: Helps traders identify sideways markets for buying low and selling high.
Breakout Trading: Signals potential trend entries when price exits consolidation.
Trend Confirmation: Low ADX + consolidation box = weak trend; breakout = possible trend start.
Example: If price stays in a blue box (consolidation) and then breaks above with an arrow, it suggests a bullish move.
Adaptive Momentum Deviation Oscillator | QuantMACAdaptive Momentum Deviation Oscillator | QuantMAC 📊
Overview 🎯
The Adaptive Momentum Deviation Oscillator (AMDO) is an advanced technical analysis indicator that combines the power of Bollinger Bands with adaptive momentum calculations to identify optimal entry and exit points in financial markets. This sophisticated oscillator creates dynamic bands that adapt to market volatility while providing clear visual signals for both trending and ranging market conditions.
How It Works 🔧
Core Methodology
The AMDO employs a sophisticated multi-layered approach to market analysis through four distinct phases:
Bollinger Band Foundation : The indicator begins by establishing a volatility baseline using traditional Bollinger Bands. These bands are calculated using a simple moving average as the center line, with upper and lower bands positioned at a specific number of standard deviations away from this centerline. The distance between these bands expands and contracts based on market volatility, creating a dynamic envelope around price action.
BB% Normalization Process : The raw price data is then transformed into a normalized percentage format that represents where the current price sits within the Bollinger Band envelope. When price is at the lower band, this percentage reads 0%; at the upper band, it reads 100%. This normalization allows for consistent comparison across different timeframes and price levels, creating a standardized oscillator that oscillates between extreme values.
Adaptive Momentum Band Construction : The normalized BB% values undergo a secondary volatility analysis where their own standard deviation is calculated over a specified period. This creates "bands around the bands" - upper and lower boundaries that adapt to the volatility of the normalized price position itself. These adaptive bands expand during periods of high momentum volatility and contract during consolidation phases.
Intelligent Signal Synthesis : The final layer combines the adaptive momentum bands with user-defined threshold levels to create a sophisticated trigger system. The indicator monitors when the dynamic bands cross above or below these thresholds, filtering out noise while capturing significant momentum shifts. This creates a dual-confirmation system where both volatility adaptation and threshold breaches must align for signal generation.
Key Components 🛠️
Adaptive Momentum Bands 📈
Dynamic Volatility Response : These bands automatically widen during periods of high momentum volatility and narrow during consolidation phases. Unlike fixed oscillator boundaries, they continuously recalibrate based on recent price behavior within the Bollinger Band framework.
Dual-Layer Calculation : The bands are derived from the volatility of the normalized price position itself, creating a "volatility of volatility" measurement. This provides early warning signals when momentum characteristics are changing, even before price breakouts occur.
State-Aware Visualization : The bands employ intelligent color coding that transitions between active and neutral states based on their interaction with threshold levels. Active states indicate high-probability momentum conditions, while neutral states suggest consolidation or indecision.
Momentum Persistence Tracking : The bands maintain memory of recent momentum characteristics, allowing them to distinguish between genuine momentum shifts and temporary price spikes or dips.
Threshold Levels 🎚️
Statistical Significance Boundaries : The threshold levels (default 83 for long, 40 for short) are positioned to capture statistically significant momentum events while filtering out market noise. These levels represent points where momentum probability shifts meaningfully in favor of directional moves.
Asymmetric Design Philosophy : The intentional asymmetry between long and short thresholds (83 vs 40) reflects the natural upward bias of many financial markets and the different risk/reward profiles of long versus short positions.
Contextual Sensitivity : The thresholds work in conjunction with the adaptive bands to create context-sensitive triggers. A threshold breach is only meaningful when it occurs in the proper sequence with band interactions.
Risk-Adjusted Positioning : The threshold levels are calibrated to provide favorable risk-adjusted entry points, considering both the probability of success and the potential magnitude of subsequent moves.
Bollinger Bands Overlay 📊
Multi-Timeframe Context : The price chart overlay provides essential context by showing traditional Bollinger Bands alongside the oscillator. This dual perspective allows traders to see both the absolute price position and the momentum characteristics simultaneously.
Support/Resistance Identification : The filled band area creates a visual representation of dynamic support and resistance levels. Price interaction with these bands provides additional confirmation for oscillator signals.
Volatility Environment Assessment : The width and slope of the bands offer immediate visual feedback about the current volatility environment, helping traders adjust their expectations and risk management accordingly.
Confluence Analysis : The overlay enables traders to identify confluence between price action at Bollinger Band levels and oscillator signals, creating higher-probability trade setups.
Signal Generation ⚡
The AMDO generates signals through precise mathematical crossover events:
Long Signals 🟢
Momentum Accumulation Detection : Long signals are generated when the lower adaptive momentum band crosses above the 83 threshold, indicating that downside momentum has exhausted and bullish momentum is beginning to accumulate. This represents a shift from defensive to offensive market posture.
Statistical Edge Confirmation : The crossing event occurs only when momentum characteristics have shifted sufficiently to provide a statistical edge for long positions. The adaptive nature ensures the signal quality remains consistent across different market volatility regimes.
Visual State Synchronization : Upon signal generation, the entire indicator ecosystem shifts to a bullish state - bar colors change, band states update, and the visual hierarchy emphasizes the long bias until conditions change.
Momentum Persistence Validation : The signal incorporates momentum persistence analysis to distinguish between genuine trend starts and false breakouts, reducing whipsaw trades in choppy market conditions.
Short Signals 🔴
Momentum Exhaustion Recognition : Short signals trigger when the upper adaptive momentum band crosses below the 40 threshold, signaling that bullish momentum has peaked and bearish momentum is emerging. This asymmetric threshold reflects the different dynamics of bullish versus bearish market phases.
Volatility-Adjusted Timing : The adaptive band system ensures that short signals are generated with appropriate timing regardless of the underlying volatility environment, maintaining signal quality in both high and low volatility conditions.
Regime-Aware Activation : Short signals are only active in Long/Short trading mode, recognizing that not all trading strategies benefit from short positions. The indicator adapts its behavior based on the selected trading approach.
Risk-Calibrated Thresholds : The 40 threshold is specifically calibrated to capture meaningful bearish momentum shifts while accounting for the higher risk typically associated with short positions.
Cash Signals 💰
Defensive Positioning Logic : In Long/Cash mode, cash signals are generated when short conditions are met, allowing traders to move to a defensive cash position rather than taking on short exposure. This preserves capital during unfavorable market conditions.
Risk Mitigation Strategy : Cash signals represent a risk-off approach that removes market exposure when momentum conditions favor the short side, protecting long-biased portfolios from adverse market movements.
Opportunity Cost Optimization : The cash position allows traders to avoid negative returns while maintaining flexibility to re-enter long positions when momentum conditions improve, optimizing the risk-adjusted return profile.
Features & Customization ⚙️
Color Schemes 🎨
9 pre-built color schemes (Classic through Classic9)
Custom color override option
Dynamic color changes based on signal states
Trading Modes 📈
Long/Short : Full bidirectional trading capability
Long/Cash : Long-only strategy with cash positions
Performance Metrics 📊
The indicator includes a comprehensive suite of advanced performance analytics that provide deep insights into strategy effectiveness:
Risk-Adjusted Return Metrics
Sortino Ratio : Measures returns relative to downside deviation only, providing a more accurate assessment of risk-adjusted performance by focusing on harmful volatility rather than total volatility. This metric is particularly valuable for asymmetric return distributions.
Sharpe Ratio : Calculates excess return per unit of total risk, offering a standardized measure of risk-adjusted performance that allows for comparison across different strategies and timeframes.
Omega Ratio : Employs probability-weighted analysis to compare the likelihood and magnitude of gains versus losses, providing insights into the overall shape of the return distribution and tail risk characteristics.
Drawdown and Risk Analysis
Maximum Drawdown : Tracks the largest peak-to-trough equity decline, providing crucial information about the worst-case scenario and helping traders understand the emotional and financial stress they might encounter.
Dynamic Drawdown Monitoring : Continuously updates drawdown calculations in real-time, allowing traders to monitor current drawdown levels relative to historical maximums.
Trade Statistics and Profitability
Profit Factor Analysis : Compares gross profits to gross losses, revealing the efficiency of the trading approach and the relationship between winning and losing trades.
Win Rate Calculation : Provides the percentage of profitable trades, which must be interpreted in conjunction with profit factor and average trade size for meaningful analysis.
Trade Frequency Tracking : Monitors total trade count to assess strategy turnover and transaction cost implications.
Position Sizing Guidance
Half Kelly Percentage : Calculates optimal position sizing based on Kelly Criterion methodology, then applies a conservative 50% reduction to account for parameter uncertainty and reduce volatility. This provides mathematically-based position sizing guidance that balances growth with risk management.
Parameters & Settings 🔧
BMD Settings
- Base Length : Period for Bollinger Band calculation (default: 10)
- Source : Price data source (default: close)
- Standard Deviation Length : Period for volatility calculation (default: 35)
- SD Multiplier : Bollinger Band width multiplier (default: 1.0)
- BB% Multiplier : Scaling factor for BB% calculation (default: 100)
BMD Settings
Base Length : Period for Bollinger Band calculation (default: 10)
Source : Price data source (default: close)
Standard Deviation Length : Period for volatility calculation (default: 35)
SD Multiplier : Bollinger Band width multiplier (default: 1.0)
BB% Multiplier : Scaling factor for BB% calculation (default: 100)
Signal Thresholds 🎯
Long Threshold : Trigger level for long signals (default: 83)
Short Threshold : Trigger level for short signals (default: 40)
Display Options 🖥️
Toggleable metrics table with 6 position options
Customizable date range limiter
Multiple visual elements for comprehensive analysis
Use Cases & Applications 💡
Trend Following
Identifies momentum shifts in trending markets
Provides early entry signals during trend continuations
Adaptive bands adjust to changing volatility conditions
Mean Reversion
Detects oversold/overbought conditions
Signals potential reversal points
Works effectively in ranging markets
Risk Management
Built-in performance metrics for strategy evaluation
Half Kelly percentage for position sizing guidance
Maximum drawdown monitoring
Advantages ✅
Adaptive Nature : Automatically adjusts to market volatility
Dual Display : Oscillator and price chart components work together
Comprehensive Metrics : Built-in performance analysis
Flexible Trading Modes : Supports different trading strategies
Visual Clarity : Color-coded signals and states
Customizable : Extensive parameter adjustment options
Important Considerations ⚠️
This indicator is designed for educational and analysis purposes
Should be used in conjunction with other technical analysis tools
Proper risk management is essential when trading
Backtest thoroughly before implementing in live trading
Market conditions can change rapidly, affecting indicator performance
Disclaimer ⚠️
Past performance is not indicative of future results. Trading involves substantial risk of loss and is not suitable for all investors. The information provided by this indicator should not be considered as financial advice. Always conduct your own research.
No indicator guarantees profitable trades - Always use proper risk management! 🛡️
Daily Bias on 5 minutes Reversal StrategyThis strategy combines higher-timeframe bias (daily and 1-hour) with 5-minute reversal signals to identify intraday trades. It aims to capitalize on false breakouts of the previous day's high/low, with strict risk management (Strict position sizing, max risk cap, and R:R enforcement), Avoids Over-Trading (1 trade/day rule prevents chasing), SL buffer adapts to volatility.
#1. This strategy does not utilize indicators. We will use the daily (D) price range and look for breakout attempts and rejections at the extreme points on the lower time frame (1h). If rejection occurs, it establishes our bias (bullish or bearish). For final confirmation, we move to the 5-minute timeframe to observe attempts to retest that daily price range. If significant rejection occurs again, that becomes our entry point.
#2. When rejection occurs, the 1-hour candle may form a new extreme point (low/high). Therefore, we will no longer use the daily price range as our trade exit point but instead the new extreme level established after the breakout attempt and price rejection.
To prevent premature trade exits, we also add an SL buffer using ATR while still capping the maximum acceptable risk per trade (as a percentage). Take profit is calculated using a risk-to-reward ratio, with a default setting of 1.5x.
#3. Key Input Parameters
a. Timeframes :
1. Daily TF ((Anchor for daily high/low (default: D).)
2. 1H Bias TF (Bias confirmation timeframe (default: 60))
3. Execution TF (Entry signal timeframe (default: 5, should match chart).
b. Trade Management
1. SL Buffer ATR Multiplier (Buffer beyond swing low/high (default: 6.0))
2. Min ATR Threshold (Minimum buffer size (default: 1.0))
3. Risk Reward Ratio (TP distance multiplier (default: 1.5))
4. Max Risk Allowed (Max risk % of entry (default: 3.0%))
Lookback Bars for SL Bars for swing low/high (default: 60))
c. Break Thresholds
1. 1H Candle Break Threshold (ATR multiplier for 1H break (default: 0.75))
2. 5M Candle Break Threshold (ATR multiplier for 5M break (default: 0.5))