Volume Divergence 11192It calculates a custom volume-weighted moving average using the pine_wma() function which takes into account whether each candle is bullish or bearish
It processes volume data through multiple layers of this custom moving average
It detects four types of divergences:
Regular Bullish Divergence: When price makes a lower low but volume makes a higher low (potential bullish reversal)
Hidden Bullish Divergence: When price makes a higher low but volume makes a lower low (potential bullish continuation)
Regular Bearish Divergence: When price makes a higher high but volume makes a lower high (potential bearish reversal)
Hidden Bearish Divergence: When price makes a lower high but volume makes a higher high (potential bearish continuation)
It visualizes these divergences on the chart with colored markers and labels
Indicators and strategies
Enhanced Volume Trend Indicator with BB SqueezeEnhanced Volume Trend Indicator with BB Squeeze: Comprehensive Explanation
The visualization system allows traders to quickly scan multiple securities to identify high-probability setups without detailed analysis of each chart. The progression from squeeze to breakout, supported by volume trend confirmation, offers a systematic approach to identifying trading opportunities.
The script combines multiple technical analysis approaches into a comprehensive dashboard that helps traders make informed decisions by identifying high-probability setups while filtering out noise through its sophisticated confirmation requirements. It combines multiple technical analysis approaches into an integrated visual system that helps traders identify potential trading opportunities while filtering out false signals.
Core Features
1. Volume Analysis Dashboard
The indicator displays various volume-related metrics in customizable tables:
AVOL (After Hours + Pre-Market Volume): Shows extended hours volume as a percentage of the 21-day average volume with color coding for buying/selling pressure. Green indicates buying pressure and red indicates selling pressure.
Volume Metrics: Includes regular volume (VOL), dollar volume ($VOL), relative volume compared to 21-day average (RVOL), and relative volume compared to 90-day average (RVOL90D).
Pre-Market Data: Optional display of pre-market volume (PVOL), pre-market dollar volume (P$VOL), pre-market relative volume (PRVOL), and pre-market price change percentage (PCHG%).
2. Enhanced Volume Trend (VTR) Analysis
The Volume Trend indicator uses adaptive analysis to evaluate buying and selling pressure, combining multiple factors:
MACD (Moving Average Convergence Divergence) components
Volume-to-SMA (Simple Moving Average) ratio
Price direction and market conditions
Volume change rates and momentum
EMA (Exponential Moving Average) alignment and crossovers
Volatility filtering
VTR Visual Indicators
The VTR score ranges from 0-100, with values above 50 indicating bullish conditions and below 50 indicating bearish conditions. This is visually represented by colored circles:
"●" (Filled Circle):
Green: Strong bullish trend (VTR ≥ 80)
Red: Strong bearish trend (VTR ≤ 20)
"◯" (Hollow Circle):
Green: Moderate bullish trend (VTR 65-79)
Red: Moderate bearish trend (VTR 21-35)
"·" (Small Dot):
Green: Weak bullish trend (VTR 55-64)
Red: Weak bearish trend (VTR 36-45)
"○" (Medium Hollow Circle): Neutral conditions (VTR 46-54), shown in gray
In "Both" display mode, the VTR shows both the numerical score (0-100) alongside the appropriate circle symbol.
Enhanced VTR Settings
The Enhanced Volume Trend component offers several advanced customization options:
Adaptive Volume Analysis (volTrendAdaptive):
When enabled, dynamically adjusts volume thresholds based on recent market volatility
Higher volatility periods require proportionally higher volume to generate significant signals
Helps prevent false signals during highly volatile markets
Keep enabled for most trading conditions, especially in volatile markets
Speed of Change Weight (volTrendSpeedWeight, range 0-1):
Controls emphasis on volume acceleration/deceleration rather than absolute levels
Higher values (0.7-1.0): More responsive to new volume trends, better for momentum trading
Lower values (0.2-0.5): Less responsive, better for trend following
Helps identify early volume trends before they fully develop
Momentum Period (volTrendMomentumPeriod, range 2-10):
Defines lookback period for volume change rate calculations
Lower values (2-3): More responsive to recent changes, better for short timeframes
Higher values (7-10): Smoother, better for daily/weekly charts
Directly affects how quickly the indicator responds to new volume patterns
Volatility Filter (volTrendVolatilityFilter):
Adjusts significance of volume by factoring in current price volatility
High volume during high volatility receives less weight
High volume during low volatility receives more weight
Helps distinguish between genuine volume-driven moves and volatility-driven moves
EMA Alignment Weight (volTrendEmaWeight, range 0-1):
Controls importance of EMA alignments in final VTR calculation
Analyzes multiple EMA relationships (5, 10, 21 period)
Higher values (0.7-1.0): Greater emphasis on trend structure
Lower values (0.2-0.5): More focus on pure volume patterns
Display Mode (volTrendDisplayMode):
"Value": Shows only numerical score (0-100)
"Strength": Shows only symbolic representation
"Both": Shows numerical score and symbol together
3. Bollinger Band Squeeze Detection (SQZ)
The BB Squeeze indicator identifies periods of low volatility when Bollinger Bands contract inside Keltner Channels, often preceding significant price movements.
SQZ Visual Indicators
"●" (Filled Circle): Strong squeeze - high probability setup for an impending breakout
Green: Strong squeeze with bullish bias (likely upward breakout)
Red: Strong squeeze with bearish bias (likely downward breakout)
Orange: Strong squeeze with unclear direction
"◯" (Hollow Circle): Moderate squeeze - medium probability setup
Green: With bullish EMA alignment
Red: With bearish EMA alignment
Orange: Without clear directional bias
"-" (Dash): Gray dash indicates no squeeze condition (normal volatility)
The script identifies squeeze conditions through multiple methods:
Bollinger Bands contracting inside Keltner Channels
BB width falling to bottom 20% of recent range (BB width percentile)
Very narrow Keltner Channel (less than 5% of basis price)
Tracking squeeze duration in consecutive bars
Different squeeze strengths are detected:
Strong Squeeze: BB inside KC with tight BB width and narrow KC
Moderate Squeeze: BB inside KC with either tight BB width or narrow KC
No Squeeze: Normal market conditions
4. Breakout Detection System
The script includes two breakout indicators working in sequence:
4.1 Pre-Breakout (PBK) Indicator
Detects potential upcoming breakouts by analyzing multiple factors:
Squeeze conditions lasting 2-3 bars or more
Significant price ranges
Strong volume confirmation
EMA/MACD crossovers
Consistent price direction
PBK Visual Indicators
"●" (Filled Circle): Detected pre-breakout condition
Green: Likely upward breakout (bullish)
Red: Likely downward breakout (bearish)
Orange: Direction not yet clear, but breakout likely
"-" (Dash): Gray dash indicates no pre-breakout condition
The PBK uses sophisticated conditions to reduce false signals including minimum squeeze length, significant price movement, and technical confirmations.
4.2 Breakout (BK) Indicator
Confirms actual breakouts in progress by identifying:
End of squeeze or strong expansion of Bollinger Bands
Volume expansion
Price moving outside Bollinger Bands
EMA crossovers with volume confirmation
MACD crossovers with significant price range
BK Visual Indicators
"●" (Filled Circle): Confirmed breakout in progress
Green: Upward breakout (bullish)
Red: Downward breakout (bearish)
Orange: Unusual breakout pattern without clear direction
"◆" (Diamond): Special breakout conditions (meets some but not all criteria)
"-" (Dash): Gray dash indicates no breakout detected
The BK indicator uses advanced filters for confirmation:
Requires consecutive breakout signals to reduce false positives
Strong volume confirmation requirements (40% above average)
Significant price movement thresholds
Consistency checks between price action and indicators
5. Market Metrics and Analysis
Price Change Percentage (CHG%)
Displays the current percentage change relative to the previous day's close, color-coded green for positive changes and red for negative changes.
Average Daily Range (ADR%)
Calculates the average daily percentage range over a specified period (default 20 days), helping traders gauge volatility and set appropriate price targets.
Average True Range (ATR)
Shows the Average True Range value, a volatility indicator developed by J. Welles Wilder that measures market volatility by decomposing the entire range of an asset price for that period.
Relative Strength Index (RSI)
Displays the standard 14-period RSI, a momentum oscillator that measures the speed and change of price movements on a scale from 0 to 100.
6. External Market Indicators
QQQ Change
Shows the percentage change in the Invesco QQQ Trust (tracking the Nasdaq-100 Index), useful for understanding broader tech market trends.
UVIX Change
Displays the percentage change in UVIX, a volatility index, providing insight into market fear and potential hedging activity.
BTC-USD
Shows the current Bitcoin price from Coinbase, useful for traders monitoring crypto correlation with equities.
Market Breadth (BRD)
Calculates the percentage difference between ATHI.US and ATLO.US (high vs. low securities), indicating overall market direction and strength.
7. Session Analysis and Volume Direction
Session Detection
The script accurately identifies different market sessions:
Pre-market: 4:00 AM to 9:30 AM
Regular market: 9:30 AM to 4:00 PM
After-hours: 4:00 PM to 8:00 PM
Closed: Outside trading hours
This detection works on any timeframe through careful calculation of current time in seconds.
Buy/Sell Volume Direction
The script analyzes buying and selling pressure by:
Counting up volume when close > open
Counting down volume when close < open
Tracking accumulated volume within the day
Calculating intraday pressure (up volume minus down volume)
Enhanced AVOL Calculation
The improved AVOL calculation works in all timeframes by:
Estimating typical pre-market and after-hours volume percentages
Combining yesterday's after-hours with today's pre-market volume
Calculating this as a percentage of the 21-day average volume
Determining buying/selling pressure by analyzing after-hours and pre-market price changes
Color-coding results: green for buying pressure, red for selling pressure
This calculation is particularly valuable because it works consistently across any timeframe.
Customization Options
Display Settings
The dashboard has two customizable tables: Volume Table and Metrics Table, with positions selectable as bottom_left or bottom_right.
All metrics can be individually toggled on/off:
Pre-market data (PVOL, P$VOL, PRVOL, PCHG%)
Volume data (AVOL, RVOL Day, RVOL 90D, Volume, SEED_YASHALGO_NSE_BREADTH:VOLUME )
Price metrics (ADR%, ATR, RSI, Price Change%)
Market indicators (QQQ, UVIX, Breadth, BTC-USD)
Analysis indicators (Volume Trend, BB Squeeze, Pre-Breakout, Breakout)
These toggle options allow traders to customize the dashboard to show only the metrics they find most valuable for their trading style.
Table and Text Customization
The dashboard's appearance can be customized:
Table background color via tableBgColor
Text color (White or Black) via textColorOption
The indicator uses smart formatting for volume and price values, automatically adding appropriate suffixes (K, M, B) for readability.
MACD Configuration for VTR
The Volume Trend calculation incorporates MACD with customizable parameters:
Fast Length: Controls the period for the fast EMA (default 3)
Slow Length: Controls the period for the slow EMA (default 9)
Signal Length: Controls the period for the signal line EMA (default 5)
MACD Weight: Controls how much influence MACD has on the volume trend score (default 0.3)
These settings allow traders to fine-tune how momentum is factored into the volume trend analysis.
Bollinger Bands and Keltner Channel Settings
The Bollinger Bands and Keltner Channels used for squeeze detection have preset (hidden) parameters:
BB Length: 20 periods
BB Multiplier: 2.0 standard deviations
Keltner Length: 20 periods
Keltner Multiplier: 1.5 ATR
These settings follow standard practice for squeeze detection while maintaining simplicity in the user interface.
Practical Trading Applications
Complete Trading Strategies
1. Squeeze Breakout Strategy
This strategy combines multiple components of the indicator:
Wait for a strong squeeze (SQZ showing ●)
Look for pre-breakout confirmation (PBK showing ● in green or red)
Enter when breakout is confirmed (BK showing ● in same direction)
Use VTR to confirm volume supports the move (VTR ≥ 65 for bullish or ≤ 35 for bearish)
Set profit targets based on ADR (Average Daily Range)
Exit when VTR begins to weaken or changes direction
2. Volume Divergence Strategy
This strategy focuses on the volume trend relative to price:
Identify when price makes a new high but VTR fails to confirm (divergence)
Look for VTR to show weakening trend (● changing to ◯ or ·)
Prepare for potential reversal when SQZ begins to form
Enter counter-trend position when PBK confirms reversal direction
Use external indicators (QQQ, BTC, Breadth) to confirm broader market support
3. Pre-Market Edge Strategy
This strategy leverages pre-market data:
Monitor AVOL for unusual pre-market activity (significantly above 100%)
Check pre-market price change direction (PCHG%)
Enter position at market open if VTR confirms direction
Use SQZ to determine if volatility is likely to expand
Exit based on RVOL declining or price reaching +/- ADR for the day
Market Context Integration
The indicator provides valuable context for trading decisions:
QQQ change shows tech market direction
BTC price shows crypto market correlation
UVIX change indicates volatility expectations
Breadth measurement shows market internals
This context helps traders avoid fighting the broader market and align trades with overall market direction.
Timeframe Optimization
The indicator is designed to work across different timeframes:
For day trading: Focus on AVOL, VTR, PBK/BK, and use shorter momentum periods
For swing trading: Focus on SQZ duration, VTR strength, and broader market indicators
For position trading: Focus on larger VTR trends and use EMA alignment weight
Advanced Analytical Components
Enhanced Volume Trend Score Calculation
The VTR score calculation is sophisticated, with the base score starting at 50 and adjusting for:
Price direction (up/down)
Volume relative to average (high/normal/low)
Volume acceleration/deceleration
Market conditions (bull/bear)
Additional factors are then applied, including:
MACD influence weighted by strength and direction
Volume change rate influence (speed)
Price/volume divergence effects
EMA alignment scores
Volatility adjustments
Breakout strength factors
Price action confirmations
The final score is clamped between 0-100, with values above 50 indicating bullish conditions and below 50 indicating bearish conditions.
Anti-False Signal Filters
The indicator employs multiple techniques to reduce false signals:
Requiring significant price range (minimum percentage movement)
Demanding strong volume confirmation (significantly above average)
Checking for consistent direction across multiple indicators
Requiring prior bar consistency (consecutive bars moving in same direction)
Counting consecutive signals to filter out noise
These filters help eliminate noise and focus on high-probability setups.
MACD Enhancement and Integration
The indicator enhances standard MACD analysis:
Calculating MACD relative strength compared to recent history
Normalizing MACD slope relative to volatility
Detecting MACD acceleration for stronger signals
Integrating MACD crossovers with other confirmation factors
EMA Analysis System
The indicator uses a comprehensive EMA analysis system:
Calculating multiple EMAs (5, 10, 21 periods)
Detecting golden cross (10 EMA crosses above 21 EMA)
Detecting death cross (10 EMA crosses below 21 EMA)
Assessing price position relative to EMAs
Measuring EMA separation percentage
Recent Enhancements and Evolution
Version 5.2 includes several improvements:
Enhanced AVOL to show buying/selling direction through color coding
Improved VTR with adaptive analysis based on market conditions
AVOL display now works in all timeframes through sophisticated estimation
Removed animal symbols and streamlined code with bright colors for better visibility
Improved anti-false signal filters throughout the system
Optimizing Indicator Settings
For Different Market Types
Range-Bound Markets:
Lower EMA Alignment Weight (0.2-0.4)
Higher Speed of Change Weight (0.8-1.0)
Focus on SQZ and PBK signals for breakout potential
Trending Markets:
Higher EMA Alignment Weight (0.7-1.0)
Moderate Speed of Change Weight (0.4-0.6)
Focus on VTR strength and BK confirmations
Volatile Markets:
Enable Volatility Filter
Enable Adaptive Volume Analysis
Lower Momentum Period (2-3)
Focus on strong volume confirmation (VTR ≥ 80 or ≤ 20)
For Different Asset Classes
Equities:
Standard settings work well
Pay attention to AVOL for gap potential
Monitor QQQ correlation
Futures:
Consider higher Volume/RVOL weight
Reduce MACD weight slightly
Pay close attention to SQZ duration
Crypto:
Higher volatility thresholds may be needed
Monitor BTC price for correlation
Focus on stronger confirmation signals
Integrated Visual System for Trading Decisions
The colored circle indicators create an intuitive visual system for quick market assessment:
Progression Sequence: SQZ (Squeeze) → PBK (Pre-Breakout) → BK (Breakout)
This sequence often occurs in order, with the squeeze leading to pre-breakout conditions, followed by an actual breakout.
VTR (Volume Trend): Provides context about the volume supporting these movements.
Color Coding: Green for bullish conditions, red for bearish conditions, and orange/gray for neutral or undefined conditions.
Candlestick Patterns Zh# CandlePatternsZh
**CandlePatternsZh** aims to translate All Patterns indicators in TradingView into Chinese, combining educational content with TradingView's PineScript code tool to help traders better understand and apply technical analysis.
## 專案介紹 (Project Overview)
**CandlePatternsZh** 旨在將TradingView裡的All Patterns指標翻譯成中文,結合教育內容和TradingView的PineScript程式碼工具,幫助交易者更好地理解和應用技術分析。
- **中文化**:提供K線形態的中文名稱、解釋和交易策略。
- **PineScript工具**:自動檢測並視覺化K線形態,支援TradingView平台。
- **教育資源**:詳細的形態說明、圖表範例和中英對照表。
## 功能 (Features)
- Localized candlestick patterns with Chinese translations.
- PineScript scripts for detecting and visualizing patterns on TradingView.
- Educational guides with examples and trading strategies.
## 目前支援的K線形態 (Supported Patterns)
| 英文名稱 (English) | 中文名稱 (Chinese) | 說明 (Description) |
|--------------------------|--------------------|---------------------------------------------|
| Doji | 十字星 | 開盤價與收盤價接近,反映市場猶豫。 |
| Hammer | 錘形線 | 長下影線,短實體,可能預示底部反轉。 |
| Bullish Engulfing | 看漲吞沒 | 大陽線吞沒前一根陰線,表明買方力量增強。 |
| Bearish Engulfing | 看跌吞沒 | 大陰線吞沒前一根陽線,表明賣方力量增強。 |
更多形態請參閱 (docs/)。
## 快速開始 (Getting Started)
1. 複製專案:
```bash
git clone github.com
```
2. 瀏覽 `docs/` 資料夾,查看K線形態的教育內容。
3. 將 `scripts/` 資料夾中的PineScript程式碼複製到TradingView的Pine Editor以應用。
## 專案結構 (Project Structure)
```
CandlePatternsZh/
├── docs/ # 教育內容 (Educational content)
├── scripts/ # PineScript程式碼 (PineScript scripts)
├── examples/ # 圖表範例 (Chart examples)
├── translations/ # 中英對照翻譯 (Translations)
├── README.md # 專案介紹 (Project overview)
├── CONTRIBUTING.md # 貢獻指南 (Contribution guidelines)
├── LICENSE # MPL 2.0許可證 (MPL 2.0 License)
└── .gitignore # Git忽略檔案 (Git ignore file)
```
## 貢獻 (Contributing)
歡迎參與貢獻!請閱讀 (CONTRIBUTING.md) 了解如何提交翻譯、程式碼或範例。
## 許可證 (License)
This project is licensed under the Mozilla Public License 2.0 - see the (LICENSE) file for details.
## 聯繫 (Contact)
有任何問題或建議?請在GitHub上開啟 (github.com) 或聯繫我們!
ATR Volatility giua64ATR Volatility giua64 – Smart Signal + VIX Filter
📘 Script Explanation (in English)
Title: ATR Volatility giua64 – Smart Signal + VIX Filter
This script analyzes market volatility using the Average True Range (ATR) and compares it to its moving average to determine whether volatility is HIGH, MEDIUM, or LOW.
It includes:
✅ Custom or preset configurations for different asset classes (Forex, Indices, Gold, etc.).
✅ An optional external volatility index input (like the VIX) to refine directional bias.
✅ A directional signal (LONG, SHORT, FLAT) based on ATR strength, direction, and external volatility conditions.
✅ A clean visual table showing key values such as ATR, ATR average, ATR %, VIX level, current range, extended range, and final signal.
This tool is ideal for traders looking to:
Monitor the intensity of price movements
Filter trading strategies based on volatility conditions
Identify momentum acceleration or exhaustion
⚙️ Settings Guide
Here’s a breakdown of the user inputs:
🔹 ATR Settings
Setting Description
ATR Length Number of periods for ATR calculation (default: 14)
ATR Smoothing Type of moving average used (RMA, SMA, EMA, WMA)
ATR Average Length Period for the ATR moving average baseline
🔹 Asset Class Preset
Choose between:
Manual – Define your own point multiplier and thresholds
Forex (Pips) – Auto-set for FX markets (high precision)
Indices (0.1 Points) – For index instruments like DAX or S&P
Gold (USD) – Preset suitable for XAU/USD
If Manual is selected, configure:
Setting Description
Points Multiplier Multiplies raw price ranges into useful units (e.g., 10 for Gold)
Low Volatility Threshold Threshold to define "LOW" volatility
High Volatility Threshold Threshold to define "HIGH" volatility
🔹 Extended Range and VIX
Setting Description
Timeframe for Extended High/Low Used to compare larger price ranges (e.g., Daily or Weekly)
External Volatility Index (VIX) Symbol for a volatility index like "VIX" or "EUVI"
Low VIX Threshold Below this level, VIX is considered "low" (default: 20)
High VIX Threshold Above this level, VIX is considered "high" (default: 30)
🔹 Table Display
Setting Description
Table Position Where the visual table appears on the chart (e.g., bottom_center, top_left)
Show ATR Line on Chart Whether to display the ATR line directly on the chart
✅ Signal Logic Summary
The script determines the final signal based on:
ATR being above or below its average
ATR rising or falling
ATR percentage being significant (>2%)
VIX being high or low
Conditions Signal
ATR rising + high volatility + low VIX LONG
ATR falling + high volatility + high VIX SHORT
ATR flat or low volatility or low %ATR FLAT
3MA Signal Flow📘【概要 / Overview】
3本の移動平均線(短期・中期・長期)の「並び順」と「方向」が同時に揃ったとき、シグナル(▲)を表示するシンプルなトレンド補助インジケーターです。
- 上昇シグナル:短期 > 中期 > 長期 & すべて上向き
- 下降シグナル:短期 < 中期 < 長期 & すべて下向き
- それ以外:ノーシグナル
This indicator shows a triangle signal (▲) **only when both the correct order and direction** of short/mid/long moving averages align:
- Bullish: short > mid > long **AND** all sloping upward
- Bearish: short < mid < long **AND** all sloping downward
- Otherwise: no signal
---
🔧【用途 / Use Cases】
- トレンド初動の検出
- 押し目・戻り目後の再加速ポイント確認
- MACDなど他インジとの併用で精度向上
- マルチタイム分析にも対応(1分足〜日足OK)
- Detect early trends
- Confirm trend continuation after pullbacks
- Combine with indicators like MACD
- Works on all timeframes (1min to daily)
---
🤝【他のインジケーターや裁量との併用例 / Example Combinations】
このインジケーター単体でもシンプルに使えますが、以下のような併用例が実戦的に役立ちます:
▶ **MACDヒストグラムとの組み合わせ**
シグナル出現時にMACDが拡大傾向であれば、モメンタムが伴っていると判断しやすいです。
弱ければロット調整やスルーの判断材料に。
▶ **トレンドラインブレイクとの併用(裁量)**
自分で引いたトレンドラインを明確に抜けた直後に▲シグナルが出現するケースでは、初動キャッチの根拠となりやすく、エントリー検討の優先度が高まります。
This tool works best when combined with other context:
▶ **With MACD histogram**
A strong expanding histogram reinforces the signal.
Weak or flat? Consider skipping or reducing size.
▶ **With manual trendline breaks**
If a signal appears just after your own trendline is broken, it may indicate a trend initiation zone with high reliability.
---
⚙️【カスタマイズ可能な設定 / Adjustable Settings】
- MAの期間(デフォルト:25, 75, 200)
- シグナルの色やサイズ
- ラベル表示ON/OFFなど
- MA periods (default: 25 / 75 / 200)
- Signal colors & size
- Toggle label display
---
💬【メッセージ / Final Note】
このインジケーターは私自身の経験をもとに設計していますが、手法や使い方は人それぞれです。
ご自身の視点で活用した結果などをコメント欄で共有いただけたら嬉しいです。
お互いの知見を深めるきっかけになれば幸いです。
This indicator reflects my personal trading logic, but I welcome others to explore it in their own way.
If you find a unique or effective use case, I’d be happy to hear it.
Let’s grow together as traders.
Position Size Calculatorusing the settings you can edit your portfolio balance and desired risk, helps you calculate everything required about position sizing and helps you NOT lose more than intended + 10% deviation on top of that.
EasyE Trading Visualizer [v1.2+]This indicator is a comprehensive trading assistant designed for scalpers and intraday traders who prioritize structure, liquidity, and real-time narrative detection. It combines multi-confirmation logic into a clean visual system that helps traders anticipate price behavior before major moves.
The system evaluates several strategic concepts, including:
Commander Collapse / Reclaim: Detects structural breaks using higher-timeframe logic to identify failed or confirmed directional momentum.
Trap Rejection: Identifies potential reversal setups based on liquidity grabs followed by engulfing confirmations.
VWAP Reject Reload: Flags potential fade setups against volume-weighted average price, especially during retests.
Liquidity Sweeps: Differentiates between high and low liquidity grabs (sweeps), helping spot traps or continuation patterns.
FVG + Fib Confluence: Integrates smart fib zones (based on large candles) with fair value logic to confirm high-quality zones.
Flip Zones: Detects support/resistance flips and auto-clears broken levels while leaving label trails to track behavior.
Entry signals (Buy/Sell) are accompanied by a dynamic grading system:
Grade A: Strong institutional-quality moves (confluence + structural break).
Grade B: Confluence without full structure shift.
Grade C: Weak setups that lack follow-through or require confirmation.
All logic is toggleable. Users can choose compact display, emoji-only labeling, left/right justification, or predictive label plotting for next-bar anticipation.
The logic does not repaint and is built to help traders read the tape clearly and act with confidence—not just react.
Daol Islamic Trend cloudBasic Trend analysis with ema cloud Identify Market Trends with a High-Accuracy Trading Indicator
For investors looking to analyze market direction, our trading indicator helps identify basic trends, distinguishing between bullish and bearish markets – though it may be slightly less accurate during sideways movements.
หากต้องการใช้ indicator ระบบเทรด ที่มีความแม่นยำสูงและคอร์สฟรีสอนสูตรสแกนและเทรดหุ้น wave 3 พร้อมแสดง Winrate ลูกค้า Daol islamic สามารถ ติดต่อขอใช้งานฟรีได้ที่
Daol Islamic trend confirm
Daol Islamic Stock trade
Daol islamic Gold etf trade
ได้ที่ m.me/DAOL.islamic
Session VolumeThis script tracks and displays 30-minute volume segments during the Regular Trading Hours (RTH) session. It allows traders to visually compare each time block’s volume today vs. the same block from the previous day, helping spot early signs of strength, weakness, or divergence.
Features:
Tracks 13 blocks from 9:30 AM to 4:15 PM ET.
Compares today's volume against historical volume from the same time block yesterday.
Highlights percentage changes per block.
Summary row totals show overall volume trend today vs. yesterday.
This tool is useful for discretionary traders, auction market theorists, and anyone who incorporates market-generated information into their decision-making.
9:30 & 9:50 EST Markers with LabelsMarks out 9:30 New york session open and the 9;50 macro to prepare for the daily movement. saves time instead of manually marking out every day.
Funding Rate + Z-Score SkynetVisualize funding‐rate dynamics across major BTC markets and gauge their extremeness in context.
What it shows,
Smoothed Funding Rate (columns):
• Calculates the difference between the average TWAP of perpetual futures across your selected exchanges.
• Smooths that series with a simple moving average (customizable via “MA Length”).
• Plotted as a histogram (scaled for visibility), colored green when positive (bullish funding) and red when negative (bearish funding).
Z-Score of Funding Rate (lines):
• Computes how many standard deviations the current smoothed funding is from its moving average over the last “Z-Score Length” bars.
• The yellow line is the real-time Z-Score; white lines at ± 1 σ and ± 2 σ provide quick visual thresholds.
• A gray horizontal line at zero marks the long‐term average.
Why it matters
Funding rate reflects how traders in perpetual futures pay or receive funding to keep contract prices tethered to spot. Extreme values (high positive or negative funding) often precede short‐term reversals as one side of the market becomes over‐leveraged.
Z-Score helps you see when funding has stretched beyond its normal range—e.g., Z > 2 could signal overheated long positions, while Z < –2 points to extreme bearish funding.
How to use it
Select your data source: choose the price used to compute the funding rate (default is ohlc4).
Toggle exchanges on/off: include Binance, Bybit, Kraken, OKX, BitMEX, Coinbase for perp averages.
Adjust smoothing: set “MA Length” to smooth more or less (set to 1 to disable smoothing entirely).
Fine-tune Z-Score sensitivity: change “Z-Score Length” to shorten or lengthen the lookback window for volatility normalization.
By combining the smoothed, annualized funding rate with its statistically normalized Z-Score, this tool helps you both monitor ongoing funding trends and spot when those trends have gone unusually far. Use it as part of your broader toolkit for timing entries, exits, or simply staying aware of market leverage conditions.
Range Progress TrackerRANGE PROGRESS TRACKER(RPT)
PURPOSE
This indicator helps traders visually and statistically understand how much of the typical price range (measured by ATR) has already been covered in the current period (Daily, Weekly, or Monthly). It includes key features to assist in trend exhaustion analysis, reversal spotting, and smart alerting.
CORE LOGIC
The indicator calculates the current range of the selected time frame (e.g., Daily), which is:
Current Range = High - Low
This is then compared to the ATR (Average True Range) of the same time frame, which represents the average price movement range over a defined period (default is 14).
The comparison is expressed as a percentage, calculated with this formula:
Range % = (Current Range / ATR) × 100
This percentage shows how much of the “average expected move” has already occurred.
WHY IT MATTERS
When the current range approaches or exceeds 100% of ATR, it means the price has already moved as much as it typically does in a full session.
This indicates a lower probability of continuing the trend with a new high or low, especially when the price is already near the session's high or low.
This setup can signal:
A possible consolidation phase
A reversal in trend
The market entering a corrective phase
SMART ALERTS
The indicator can alert you when:
A new high is made after the range percentage exceeds your set threshold.
A new low is made after the range percentage exceeds your set threshold.
You can adjust the Range % Alert Threshold in the settings to tailor it to your trading style.
Risk Calculator Manual Only### Indicator Name: Risk Calculator Manual Only
Description:
This indicator is designed for manual risk and position size calculation. It helps traders manage risk per trade by clearly displaying key trade parameters on the chart in an easy-to-read table format. The indicator does not auto-calculate entry, stop, or target prices—all values must be entered manually, giving full control to the trader.
Key Features:
- Manual input only: Users manually enter the entry price, stop-loss, and take-profit levels.
- On-chart data table: Displays all calculated metrics in a compact, color-coded table:
- Trade Type: Long or Short, selectable in settings.
- Entry Price, Stop-Loss, Take-Profit: Entered by the user.
- Position Size ($): Automatically calculated based on your risk amount and stop-loss distance.
- Profit ($): Potential profit based on take-profit level.
- Loss ($): Potential loss based on stop-loss level.
- Color coding:
- Profit row is highlighted in green.
- Loss row is highlighted in red.
- Alerts: Optional alerts when price hits the stop-loss or take-profit levels.
How to Use:
1. Enter your planned entry price, stop-loss, and take-profit in the indicator settings.
2. Set your risk amount per trade (in USD).
3. The indicator will calculate the appropriate position size, potential profit, and loss, and display them in a visual table.
4. Enable alerts if you want to be notified when price reaches your stop-loss or take-profit.
Benefits:
- Helps enforce disciplined risk management.
- Visual feedback on key trade metrics, directly on the chart.
- Fast, manual trade planning with no automation—ideal for discretionary traders.
- Supports both long and short trade types.
Notes:
- This tool assumes accurate manual input. It does not auto-detect price levels.
- Best used by traders who prefer full control over their risk setup and calculations.
---------------------------------------------------------
Pump Detector - EMA 4H + Retest H1 (Valid 10x4H bars)📈 Pump Detector – EMA 12/21 on 4H + Retest on H1
This indicator is designed to detect sudden bullish moves ("pumps") on the 4-hour timeframe, and alert traders of potential retest entry points on the 1-hour timeframe.
🔍 Pump activation conditions (on 4H):
EMA 12 crosses above EMA 21
Current volume exceeds the 20-period SMA of volume (on 4H)
When both conditions are met, a pump alert is triggered and a time window opens.
📉 Retest detection logic (on H1):
For the next 10 bars on the 4H chart (~40 hours), the indicator monitors price behavior on the 1H timeframe
If the LOW of any H1 candle touches or drops below EMA 12 or 21 (on H1), a second alert is triggered
✅ Key Features:
Draws EMA 12/21 from the 4H timeframe directly on the chart
Enforces 4H and H1 timeframes, regardless of the chart the script is applied to
One-time detection per pump window: once the 10-bar window expires, the retest alert is disabled until a new pump is detected
Ideal for capturing momentum breakouts followed by technical pullbacks
⚠️ Recommended for:
Traders looking for scalping or swing trading setups on crypto, forex, or stocks. Helps identify post-breakout entry opportunities using a structured and disciplined approach.
Volume EfficiencyThis indicator displays each candle's volume in an enhanced visual form, combining the amount of volume with the efficiency of the price movement.
Each volume bar changes its color intensity based on:
Higher efficiency (large price movement with low volume) → stronger color.
Lower efficiency (high volume with little price movement) → weaker color.
Additionally:
Green: Bullish candles (close > open).
Red: Bearish candles (close < open).
The color reflects not only the volume but also how "easily" the price moved.
The efficiency calculation is based on the actual body movement of the candle (abs(close - open)) divided by the total volume, dynamically adjusted to the maximum efficiency over the last N candles (configurable).
Interpretation:
Intensely green or red volume bars: clean and efficient movements (low resistance).
Pale bars: market absorption or indecision (high volume but little price movement).
Configurable parameter:
Efficiency period: number of candles used to normalise the maximum efficiency.
IU Mean Reversion SystemDESCRIPTION
The IU Mean Reversion System is a dynamic mean reversion-based trading framework designed to identify optimal reversal zones using a smoothed mean and a volatility-adjusted band. This system captures price extremes by combining exponential and running moving averages with the Average True Range (ATR), effectively identifying overextended price action that is likely to revert back to its mean. It provides precise long and short entries with corresponding exit conditions, making it ideal for range-bound markets or phases of low volatility.
USER INPUTS :
Mean Length – Controls the smoothness of the mean; default is 9.
ATR Length – Defines the lookback period for ATR-based band calculation; default is 100.
Multiplier – Determines how wide the upper and lower bands are from the mean; default is 3.
LONG CONDITION :
A long entry is triggered when the closing price crosses above the lower band, indicating a potential upward mean reversion.
A position is taken only if there is no active long position already.
SHORT CONDITION :
A short entry is triggered when the closing price crosses below the upper band, signaling a potential downward mean reversion.
A position is taken only if there is no active short position already.
LONG EXIT :
A long position exits when the high price crosses above the mean, implying that price has reverted back to its average and may no longer offer favorable long risk-reward.
SHORT EXIT :
A short position exits when the low price crosses below the mean, indicating the mean reversion has occurred and the downside opportunity has likely played out.
WHY IT IS UNIQUE:
Uses a double smoothing approach (EMA + RMA) to define a stable mean, reducing noise and false signals.
Adapts dynamically to volatility using ATR-based bands, allowing it to handle different market conditions effectively.
Implements a state-aware entry system using persistent variables, avoiding redundant entries and improving clarity.
The logic is clear, concise, and modular, making it easy to modify or integrate with other systems.
HOW USER CAN BENEFIT FROM IT :
Traders can easily identify reversion opportunities in sideways or mean-reverting environments.
Entry and exit points are visually labeled on the chart, aiding in clarity and trade review.
Helps maintain discipline and consistency by using a rule-based framework instead of subjective judgment.
Can be combined with other trend filters, momentum indicators, or higher time frame context for enhanced results.
Statistical Reliability Index (SRI)Statistical Reliability Index (SRI)
The Statistical Reliability Index (SRI) is a professional financial analysis tool designed to assess the statistical stability and reliability of market conditions. It combines advanced statistical methods to gauge whether current market trends are statistically consistent or prone to erratic behavior. This allows traders to make more informed decisions when navigating trending and choppy markets.
Key Concepts:
1. Extrapolation of Cumulative Distribution Functions (CDF)
What is CDF?
A Cumulative Distribution Function (CDF) is a statistical tool that models the probability of a random variable falling below a certain value.
How it’s used in SRI:
The SRI utilizes the 95th percentile CDF of recent returns to estimate the likelihood of extreme price movements. This helps identify when a market is experiencing statistically significant changes, crucial for forecasting potential breakouts or breakdowns.
Weight in SRI:
The weight of the CDF extrapolation can be adjusted to emphasize its impact on the overall reliability index, allowing customization based on the trader's preference for tail risk analysis.
2. Bias Factor (BF)
What is the Bias Factor?
The Bias Factor measures the ratio of the current market price to the expected mean price calculated over a defined period. It represents the deviation from the typical price level.
How it’s used in SRI:
A higher bias factor indicates that the current price significantly deviates from the historical average, suggesting a potential mean reversion or trend exhaustion.
Weight in SRI:
Adjusting the Bias Factor weight lets users control how much this deviation influences the SRI, balancing between momentum trading and mean reversion strategies.
3. Coefficient of Variation (CV)
What is CV?
The Coefficient of Variation (CV) is a statistical measure that expresses the ratio of the standard deviation to the mean. It indicates the relative variability of asset returns, helping gauge the risk-to-return consistency.
How it’s used in SRI:
A lower CV indicates more stable and predictable price behavior, while a higher CV signals increased volatility. The SRI incorporates the inverse of the normalized CV to reflect price stability positively.
Weight in SRI:
By adjusting the CV weight, users can prioritize consistent price movements over erratic volatility, aligning the indicator with risk tolerance and strategy preferences.
Interpreting the SRI:
1. SRI Plot:
The SRI plot dynamically changes color to reflect market conditions:
Aqua Line: Indicates uptrend stability, signaling statistically consistent upward movements.
Fuchsia Line: Indicates downtrend stability, where statistically reliable downward movements are present.
The overlay background shifts between colors:
Aqua Background: Signifies statistical stability, where trends are historically consistent.
Fuchsia Background: Indicates statistical instability, often associated with trend uncertainty.
Yellow Background: Marks choppy periods, where statistical data suggests that market conditions are not conducive to reliable trading.
2. SRI Volatility Plot:
Displays the volatility of the SRI itself to detect when the indicator is stable or unstable:
Blue Area Fill: Signifies that the SRI is stable, indicating trending conditions.
Yellow Area Fill: Represents choppy or unstable SRI movements, suggesting sideways or unreliable market conditions.
A Chop Threshold Line (dotted yellow) highlights the maximum acceptable SRI volatility before the market is considered too unpredictable.
3. Stability Assessment:
Stable Trend (No Chop):
The SRI is smooth and consistent, often accompanied by aqua or fuchsia lines.
Volatility remains below the chop threshold, indicating a low-risk, trend-following environment.
Chop Mode:
The SRI becomes erratic, and the volatility plot spikes above the threshold.
Marked by a yellow shaded background, indicating uncertain and non-trending conditions.
[Trend Identification:
Use the color-coded SRI line and background to determine uptrend or downtrend reliability.
Be cautious when the SRI volatility plot shows yellow, as this signals trading conditions may not be reliable.
Practical Use Cases:
Trend Confirmation:
Utilize the SRI plot color and background to confirm whether a detected trend is statistically reliable.
Chop Mode Filtering:
During yellow chop periods, it is advisable to reduce trading activity or adopt range-bound strategies.
Strategy Filter:
Combine the SRI with trend-following indicators (like moving averages) to enhance entry and exit accuracy.
Volatility Monitoring:
Pay attention to the SRI volatility plot, as spikes often precede erratic price movements or trend reversals.
Disclaimer:
The Statistical Reliability Index (SRI) is a technical analysis tool designed to aid in market stability assessment and trend validation. It is not intended as a standalone trading signal generator. While the SRI can help identify statistically reliable trends, it is essential to incorporate additional technical and fundamental analysis to make well-informed trading decisions.
Trading and investing involve substantial risk, and past performance does not guarantee future results. Always use risk management practices and consult with a financial advisor to tailor strategies to your individual risk profile and objectives.
Balanced Price Range | Flux Charts💎 GENERAL OVERVIEW
Introducing our new Balanced Price Range (BPR) indicator! A Balanced Price Range is a trading concept used by price action traders. It is detected by finding overlapping area between two contrary Fair Value Gaps (FVGs). These areas can be used as entry points during market pullbacks. For more information about the process, please check the "HOW DOES IT WORK ?" section.
Balanced Price Range Features :
Balanced Price Range Detection : Identifies areas where bullish and bearish FVGs overlap, suggesting a zone of price equilibrium.
Customizable FVG & BPR Detection : You can fine-tune FVG detection and sensitivity for BPR detection to your liking.
Retest Labels : Bullish & Bearish retest labels will be rendered for BPRs.
Alerts : You can set alerts for Bullish & Bearish BPR detection and their retests.
🚩 UNIQUENESS
This indicator doesn't just detect standard FVGs but specifically looks for areas where bullish and bearish IFVGs (Invalidated Fair Value Gaps) overlap, defining a Balanced Price Range. It also actively manages and updates identified BPR zones, removing them when they are invalidated or remain untouched for a specified period. It highlights and alerts users to retests of established BPR zones, signaling potential trading opportunities. Users can tailor the appearance of the BPR zones and retest markers, as well as configure specific alerts for new BPR formations and retests.
📌 HOW DOES IT WORK ?
A Fair Value Gap generally occur when there is an imbalance in the market. They can be detected by specific formations within the chart. The indicator first detects bullish & bearish FVG zones according to their formations on chart. Then, they are dynamically tracked and flagged as invalidated if the price crosses them, turning them into IFVGs. When a FVG & IFVG of the same type overlaps, the indicator combines them into a single BPR of corresponding type. The detected BPR is updated as new data comes in, and renders retests labels as they occur. A bullish BPR can be used to find long trade entry opportunities, while a bearish BPR can be used to find short trade entry opportunities. Retests can also indicate potential movements in the corresponding direction of the BPR. Users can set-up alerts for BPR detection & BPR retests and will get notified as they occur.
⚙️ SETTINGS
Show Historic Zones: If enabled, invalidated or expired BPR zones will remain visible on the chart.
Balanced Price Range:
FVG Detection Method: Determines the criteria for the bar types forming the initial FVG.
Same: All three bars forming the FVG must be of the same type (all bullish or all bearish).
Mixed: The bar types must vary (a mix of bullish and bearish bars).
All: Bar types can vary or be the same.
FVG Invalidation Method: Determines which part of the candle (wick or close) invalidates the initial FVG.
BPR Invalidation Method: Determines which part of the candle (wick or close) invalidates the Balanced Price Range.
Sensitivity: Adjusts the sensitivity of FVG detection. Higher values may identify fewer, larger BPRs, while lower values may detect more, smaller BPRs.
Labels: Toggles the display of text labels on the identified zones.
Retests: Enables or disables the detection and visualization of BPR retests.
Consecutive Green Candles + 20% Move ScreenerConsecutive Green Candles Momentum Tracker
This indicator identifies powerful bullish momentum streaks in stocks, highlighting opportunities where consistent buying pressure has driven significant price increases.
The script tracks sequences of consecutive green (bullish) candles that collectively move a stock's price by more than 20%. It marks both the beginning of such streaks with a green label and their conclusion with a red arrow when price momentum finally reverses.
Perfect for traders looking to:
- Identify stocks experiencing strong directional momentum
- Spot potential reversal points after extended rallies
- Screen for securities with recent bullish strength
- Understand the magnitude of recent price runs
Simply adjust the minimum number of candles and percentage threshold to match your preferred momentum criteria.
PolyBand Convergence System (PBCS)PolyBand Convergence System (PBCS)
The PolyBand Convergence System (PBCS) is an advanced technical analysis indicator that combines multiple polynomial regressions with statistical bands to identify trend strength and potential reversal zones.
Key Features
Multi-Degree Polynomial Analysis: Combines 1st, 2nd, 3rd, and 4th degree polynomial regressions into a composite regression line
Adaptive Statistical Bands: Uses percentile-based bands enhanced with standard deviation multipliers
Asymmetric Volatility Measurement: Separately calculates upside and downside volatility for more accurate band placement
Smart Trend Detection: Identifies bullish, bearish, or neutral market conditions based on price position relative to bands
How It Works
PBCS creates a composite regression line from multiple polynomial fits to better capture the underlying price structure. This line is then surrounded by adaptive bands that represent statistical thresholds for price movement. When price breaks above the upper band, a bullish trend is signaled; when it breaks below the lower band, a bearish trend is indicated.
Customization Options
Regression Settings: Adjust source data, lookback period, and smoothing parameters
Percentile Controls: Fine-tune the statistical thresholds for upper and lower bands
Volatility Sensitivity: Modify standard deviation multipliers to control band width
Visual Preferences: Choose from multiple color schemes to match your trading platform
Disclaimer
This indicator is provided for educational and informational purposes only and does not constitute investment advice. Trading involves risk and may result in financial loss. Always perform your own research and consult with a qualified financial advisor before making any trading decisions.
Kernel Regression Bands SuiteMulti-Kernel Regression Bands
A versatile indicator that applies kernel regression smoothing to price data, then dynamically calculates upper and lower bands using a wide variety of deviation methods. This tool is designed to help traders identify trend direction, volatility, and potential reversal zones with customizable visual styles.
Key Features
Multiple Kernel Types: Choose from 17+ kernel regression styles (Gaussian, Laplace, Epanechnikov, etc.) for smoothing.
Flexible Band Calculation: Select from 12+ deviation types including Standard Deviation, Mean/Median Absolute Deviation, Exponential, True Range, Hull, Parabolic SAR, Quantile, and more.
Adaptive Bands: Bands are calculated around the kernel regression line, with a user-defined multiplier.
Signal Logic: Trend state is determined by crossovers/crossunders of price and bands, coloring the regression line and band fills accordingly.
Custom Color Modes: Six unique color palettes for visual clarity and personal preference.
Highly Customizable Inputs: Adjust kernel type, lookback, deviation method, band source, and more.
How to Use
Trend Identification: The regression line changes color based on the detected trend (up/down)
Volatility Zones: Bands expand/contract with volatility, helping spot breakouts or mean-reversion opportunities.
Visual Styling: Use color modes to match your chart theme or highlight specific market states.
Credits:
Kernel regression logic adapted from:
ChartPrime | Multi-Kernel-Regression-ChartPrime (Link in the script)
Disclaimer
This script is for educational and informational purposes only. Not financial advice. Use at your own risk.
Position Size Calculator (Fixed % or ATR-based Stop Support)Position Size Calculator (Fixed % or ATR-based Stop Support)
Purpose and Background
This indicator allows traders to calculate appropriate position sizes directly on the chart, based on a key rule:
“What percentage of your capital are you willing to risk per trade?”
While many traders focus on entries and indicators, position sizing and risk allocation are often overlooked.
This tool visualizes and simplifies the “1% risk rule” promoted by IBD (Investor’s Business Daily) and William J. O’Neil, helping both beginners and experienced traders maintain disciplined capital management.
Key Features
Automatically calculates and displays:
・ Position Size
The number of units (shares, contracts, coins) you can hold based on your stop-loss range and risk allowance.
・ Stop Price
The price level at which your stop-loss would be triggered.
・ Risk Amount
The maximum loss per trade based on your portfolio size and risk percentage.
Two stop-loss modes available:
・ Fixed % Mode
O’Neil suggests using up to 8% stop-loss in uptrends and keeping it tighter (around 4%) in corrections. This mode allows flexible manual settings.
・ ATR-Based Mode
Uses the asset’s average volatility to dynamically calculate stop-loss width using the Average True Range (ATR).
ATR Usage and Recommended Settings
ATR helps you avoid noise-based stop-outs and align your risk with market volatility.
There are two parameters you can adjust:
・ ATR Length
Defines how many bars are used to calculate the average range.
・Shorter values (5–10) respond faster for day trades
・Longer values (14–21) offer smoother ranges for swing/position trades(Default is 14)
・ATR Multiplier
Sets how wide the stop-loss is by multiplying the ATR value:
・Day trading: 1.0–1.5×
・Swing trading: 1.5–2.5×
・Position trading: 2.0–3.0×
Practical Examples: Risk % × Stop-Loss % → Max Positions
This tool helps estimate how many positions you can hold in a portfolio based on your risk per trade and stop width.
Examples:
・Risk 0.5%, Stop 8% → Max 16 positions
・Risk 0.5%, Stop 4% → Max 8 positions
・Risk 1.0%, Stop 8% → Max 8 positions
・Risk 1.0%, Stop 4% → Max 4 positions
・Risk 2.0%, Stop 8% → Max 4 positions
・Risk 2.0%, Stop 4% → Max 2 positions
These assume worst-case scenarios where all positions are stopped out simultaneously within your overall portfolio risk limit.
Display & Customization Options
・ Currency Display: USD or JPY
No currency conversion is applied. Select based on your trading region (e.g., USD for U.S. stocks, JPY for Japanese stocks).
Support for additional currencies can be added upon request.
・ Show/Hide Decimal Places
Toggle decimals for better visibility. Ideal for fractional assets like crypto and CFDs.
・ Position of Output
Choose from top-right, middle-right, or bottom-right on the chart.
・ Text Display Size: Large / Normal / Small
Choose the table size that best suits your viewing preferences.
・ Explanation of Displayed Labels
・ Position Size : Units to buy/sell based on risk
・ Stop Price : Price where stop-loss is triggered
・ Risk Amount : Max loss allowed for the trade
How to Use
1、Set your Portfolio Size
2、Choose your Currency (USD or JPY)
3、Input Risk per Trade (%) (e.g., 1%)
4、Select Stop Loss Method
・ Fixed % : Enter a manual stop-loss percent (e.g., 8%)
・ ATR : Then also enter:
・ ATR Length : Number of bars used to calculate ATR (e.g., 14)
・ ATR Multiplier : Factor applied to ATR to determine stop-loss (e.g., 2.0)
5、Adjust decimals, label position, or text size as needed
6、The result is displayed in a table directly on your chart
Notes
・ Uses the current close price (close) as the basis
Real-time bid/ask data isn't available in Pine Script, so the close price is used for consistent results.
・ No buy/sell signals are generated
This tool is for position sizing and risk calculation only, not trade entries.
Recommended For
・Traders who want precise, rule-based position sizing
・Users following IBD or O’Neil’s 1% risk principle
・Those incorporating ATR for stop-loss strategies
・Multi-asset traders (stocks, crypto, CFDs, etc.)
・ Anyone who wants to calculate position size and risk without using a calculator or external tool—fully inside TradingView
Ind JDV 2.2 PRO🛡️ Ind JDV 2.0 PRO – Chandelier Exit + FVG + EMA (Precise Entry)
Description:
Ind JDV 2.0 PRO is an advanced indicator that combines three powerful confirmations to find the best trading opportunities:
Chandelier Exit: Filters trade direction based on volatility breakouts controlled by ATR.
Fair Value Gap (FVG): Detects price inefficiency zones at their very first appearance.
EMA (Exponential Moving Average): Acts as a trend filter to ensure trading with the dominant market flow.
🔍 Key Features:
Marks only one precise signal on the candle where the FVG starts.
Confirms the trend using a 150-period EMA (fully adjustable).
Optionally draws Take Profit and Stop Loss target lines for clear visual guidance.
Background color changes (green or red) to reflect the active market trend.
Built-in automatic alerts for buy or sell opportunities.
Optimized code for maximum speed across all timeframes.
✅ Perfect for trading indices, forex, cryptocurrencies, and stocks.
✅ Compatible with all timeframes (5m, 15m, 1H, 4H, Daily).
✅ Fully customizable to fit scalping, intraday, or swing trading styles.
⚙️ Default Parameters:
ATR Period: 10
ATR Multiplier: 3.0
EMA Period: 150
FVG Lookback: 3 candles
Take Profit: 100 points
Stop Loss: 50 points
(All values are adjustable in settings.)
📈 How it works:
The indicator analyzes price structure.
Detects a valid Fair Value Gap (FVG) formation.
Confirms the breakout with a Chandelier Exit signal.
Verifies price alignment with the EMA trend.
Triggers a single entry signal (BUY or SELL) exactly on the first candle that meets all conditions.
🚀 Optimize your trading by focusing on high-probability zones, supported by solid confirmations and clean visual signals.
Add Ind JDV 2.0 PRO to your trading arsenal and take your strategy to the next level! 🔥
Mean Reversion Bundle [ActiveQuants]The Mean Reversion Bundle indicator is a powerful and versatile toolkit designed for traders who specialize in mean reversion strategies . This comprehensive bundle integrates eight key technical indicators renowned for their ability to identify potential price reversals, overbought/oversold conditions, and market exhaustion points. By consolidating Moving Averages (Fast & Slow) , Bollinger Bands , RSI (with Divergence) , Stochastic , Keltner Channels , Standard Pivot Points , ATR , and the Choppiness Index into a single, efficient script, it significantly streamlines chart analysis and empowers robust strategy development.
This bundle operates on the core principle of mean reversion: prices tend to revert to their historical average or mean over time . The included indicators provide multiple perspectives to assess these potential turning points:
Dynamic Support/Resistance: Moving Averages, Bollinger Bands, Keltner Channels, Pivot Points.
Momentum Oscillators: RSI, Stochastic.
Overbought/Oversold Conditions: RSI, Stochastic, Bollinger Bands.
Volatility Assessment: ATR, Bollinger Bands, Keltner Channels.
Market Condition Filter: Choppiness Index (Range vs. Trend).
Reversal Signals: RSI Divergence, Bollinger Band recovery.
By enabling users to selectively activate, extensively customize, and visualize these tools ( often with multi-timeframe capabilities ), the Mean Reversion Bundle facilitates a nuanced and layered approach to identifying high-probability mean reversion setups.
█ KEY FEATURES
All-in-One Mean Reversion Suite: Access eight distinct mean reversion indicators within a single TradingView script slot, saving valuable indicator space.
Modular Design: Easily toggle each indicator (Fast MA, Slow MA, Bollinger Bands, RSI, Stochastic, Keltner Channels, Pivot Points, ATR, Choppiness Index) On or Off through the intuitive settings menu to tailor your analysis.
Deep Customization: Fine-tune a wide array of parameters for every indicator, including lengths, sources, MA types, colors, line styles, levels, and specific calculation methods to precisely match your trading strategy and the asset's characteristics.
Multi-Timeframe (MTF) Capability: Configure most indicator components to analyze data from a different timeframe than your main chart, providing crucial higher-level context for mean reversion signals (e.g., daily RSI on an hourly chart).
Integrated Alert System: Pre-built alert conditions for critical mean reversion events such as:
- Price Crossover/Crossunder (Fast MA)
- Price Crossover/Crossunder (Slow MA)
- Lower Bollinger Band Recovery
- Upper Bollinger Band Recovery
- Bullish RSI Divergence
- Bearish RSI Divergence
Set up these alerts directly through TradingView's alert creation dialog. (See section on "█ SETTING UP ALERTS " for more details).
Advanced MA & RSI Smoothing: Option to apply a secondary smoothing MA or even Bollinger Bands directly to the Fast MA, Slow MA, and RSI lines for refined signal generation.
Sophisticated Pivot Points Module: Includes multiple Pivot Point types (Traditional, Fibonacci, Woodie, Classic, DM, Camarilla) with flexible timeframes (Daily to Decennially) and dynamic drawing of historical levels.
RSI Divergence Detection: Automatically plots potential bullish and bearish divergences between price and the RSI, a classic reversal signal.
█ USER INPUTS
The settings panel is organized into distinct sections for each of the 8 core indicator components:
Fast MA & Slow MA: On/Off, MA Type, Source, Length, Color, Line Width, Smoothing Type (None, MA, or MA + BBs), Smoothing Length, BB StdDev (if smoothing with BBs), Timeframe, Wait TF Close.
Bollinger Bands: On/Off, Length, Basis MA Type, Source, StdDev Multiplier, Offset, Colors, Timeframe, Wait TF Close.
RSI: On/Off, Source, Length, Overbought/Middle/Oversold Levels, Color, Line Width, Smoothing Type (None, MA, or MA + BBs), Smoothing Length, BB StdDev (if smoothing with BBs), Plot Divergence, Divergence Lookback Left/Right, Timeframe, Wait TF Close.
Stochastic: On/Off, %K Length, %K Smoothing, %D Smoothing, Overbought/Middle/Oversold Levels, Colors, Timeframe, Wait TF Close.
Keltner Channels: On/Off, Length, Multiplier, Source, Use Exponential MA (for basis), Bands Style (ATR, TR, Range), ATR Length, Colors, Timeframe, Wait TF Close.
Pivot Points: On/Off, Type, Pivots Timeframe (Anchor), Number of Pivots Back, Use Daily-based Values, Show Labels, Show Prices, Labels Position, Line Width, Line Style, and individual color/visibility toggles for P, S1-S5, R1-R5.
ATR: On/Off, Length, Smoothing Type, Color, Timeframe, Wait TF Close.
Choppiness Index: On/Off, Length, Offset, Upper/Middle/Lower Band Levels, Color, Timeframe, Wait TF Close.
█ SETTING UP ALERTS
The Mean Reversion Bundle comes with several pre-configured alert conditions to notify you of potential trading opportunities. To set up an alert:
Click the " Alert " button (clock icon) on TradingView's right-hand toolbar or top panel.
In the " Condition " dropdown, select " Mean Reversion Bundle ".
A second dropdown will appear, allowing you to choose from the specific alert conditions built into the script (e.g., " Price Crossover (Fast MA) ", " Bullish RSI Divergence ", " Lower Bollinger Band Recovery ").
You can also create more complex alerts by selecting one of the indicator's plotted lines (e.g., " RSI ", " Stochastic %K ", " Bollinger Band Basis ") in the first condition box, then choosing a comparison (e.g., " Crossing Down ", " Greater Than "), and then selecting another value or plotted line from the indicator in the third box.
Choose your preferred " Trigger " option:
- " Only Once ": The alert triggers the first time the condition is met, even on an unclosed (intra-bar) candle. The alert then deactivates.
- " Once Per Bar Close ": (Recommended for most mean reversion signals) The alert triggers only after the current bar closes if the condition was true on that closed bar. This ensures signals are based on confirmed price action and allows the alert to re-trigger on subsequent bars if the condition remains true.
- Other options like " Once Per Bar " or " Once Per Minute " are also available for different needs.
Customize the alert name, message, and notification preferences.
Click " Create ".
█ STRATEGY EXAMPLES
The following examples are for illustrative purposes only to demonstrate how indicators in this bundle can be combined for mean reversion strategies. They are not financial advice. Always conduct thorough backtesting and research.
1. Bollinger Band Reversal with RSI Confirmation
Goal: Identify potential reversals when price touches an outer Bollinger Band and RSI shows overbought/oversold conditions.
Setup: Enable Bollinger Bands (e.g., 20,2), RSI (e.g., 14), and optionally the Choppiness Index.
Entry (Long):
- Price touches or briefly closes below the Lower Bollinger Band.
- RSI is in the oversold region (e.g., below 30) or shows bullish divergence.
- Optional Filter: Choppiness Index > 61.8 (indicating a ranging market favorable for BB mean reversion).
- Enter on a confirming candle (e.g., price closes back inside the Lower Band, or a bullish candle pattern forms).
Entry (Short): Reverse logic for Upper Bollinger Band and overbought RSI (e.g., above 70) or bearish divergence.
Management: Stop-loss beyond the recent swing low/high or a multiple of ATR. Target the Bollinger Band basis line or the opposite band.
2. Stochastic Oversold/Overbought with Pivot Point Support/Resistance
Goal: Trade bounces from key Pivot Point levels when confirmed by Stochastic extremes.
Setup: Enable Stochastic (e.g., 14,3,3), Pivot Points (e.g., Daily Traditional), and Fast MA (e.g., 9 EMA) for short-term trend context.
Entry (Long):
- Price approaches a significant Pivot Support level (S1, S2).
- Stochastic %K and %D lines are in the oversold region (e.g., below 20) and ideally show a bullish crossover (%K crosses above %D).
- Optional Filter: Price is above the Fast MA, or the Fast MA starts to slope up.
- Enter on signs of price rejection at the Pivot level.
Entry (Short): Reverse logic for Pivot Resistance levels (R1, R2) and overbought Stochastic (e.g., above 80) with a bearish crossover.
Management: Stop-loss below the Pivot Support (for longs) or above Pivot Resistance (for shorts). Target the next Pivot level or a fixed risk-reward ratio.
3. RSI Divergence at Keltner Channel Extremes
Goal: Capitalize on weakening momentum (divergence) as price tests the outer Keltner Channel bands.
Setup: Enable RSI (with Divergence plotting enabled), Keltner Channels (e.g., 20,2 EMA basis, ATR 10), and ATR (for stop placement).
Entry (Long):
- Price is testing or near the Lower Keltner Channel band.
- A Bullish RSI Divergence is plotted (price makes a lower low, but RSI makes a higher low).
- Enter once the divergence is confirmed and price shows signs of turning up.
Entry (Short):
- Price is testing or near the Upper Keltner Channel band.
- A Bearish RSI Divergence is plotted (price makes a higher high, but RSI makes a lower high).
- Enter once divergence is confirmed and price shows signs of turning down.
Management: Place stop-loss based on ATR (e.g., 1.5x ATR below entry for longs) or beyond the Keltner Channel. Target could be the Keltner basis line or a measured move.
█ CONCLUSION
The Mean Reversion Bundle offers a sophisticated yet user-friendly suite of tools essential for traders focusing on mean reversion. By consolidating these powerful indicators, providing extensive customization , multi-timeframe analysis , and integrated alerts , this bundle simplifies the analytical workflow and aids in the development of more robust and nuanced trading strategies. Whether identifying potential exhaustion points, confirming overbought/oversold conditions, or finding precise entry near dynamic support/resistance, this bundle is a versatile asset for your technical analysis toolkit.
█ IMPORTANT NOTES
⚠ Parameter Optimization: The default settings are starting points. Always adjust indicator parameters (lengths, multipliers, levels) based on the specific asset, its volatility, and the timeframe you are trading. Thorough backtesting is crucial.
⚠ Multi-Timeframe Dynamics: Using the " Timeframe " input can be very powerful. If " Wait TF Close " is enabled (default), signals from higher timeframes will only update upon the close of that higher timeframe bar. Disabling it may lead to signals changing intra-bar.
⚠ Confluence is Key: Avoid relying on a single indicator. The strength of this bundle lies in combining signals from multiple indicators to build a confluence case for a trade.
⚠ Chart Clarity: While many tools are available, only enable those pertinent to your current strategy to maintain a clear and actionable chart.
⚠ Signal Confirmation: Indicator signals are typically finalized on bar close. Be cautious when acting on intra-bar signals, as they can change before the bar is complete. Using " Once Per Bar Close " for alerts is generally recommended for mean reversion signals.
█ RISK DISCLAIMER
Trading involves a substantial risk of loss and is not suitable for all investors. The Mean Reversion Bundle indicator is provided for educational and informational purposes only . It does NOT constitute financial advice or a recommendation to buy or sell any asset. Indicator signals identify potential patterns based on historical data but do not guarantee future price movements or profitability. Always conduct your own thorough research, utilize multiple sources of information, and implement robust risk management practices before making any trading decisions. Past performance is not indicative of future results.
📊 Happy trading! 🚀