BTC Dynamic Volatility Trend Backtested from 2017 to present, this strategy has delivered a staggering 7100%+ cumulative return. It doesn't just track the market; it dominates it. By capturing major trends and strictly limiting drawdowns, it has significantly outperformed the standard 'Buy & Hold' BTC strategy, proving its ability to generate massive alpha across multiple bull and bear cycles.
自 2017 年至今,本策略实现了惊人的 7100%+ 累计收益率。它不仅仅是跟随市场,更是超越了市场。通过精准捕捉主升浪并严格控制回撤,该策略在穿越多轮牛熊周期后,大幅度跑赢了比特币‘买入持有’(Buy & Hold)的基准收益,展现了极致的阿尔法(Alpha)捕捉能力。"
Introduction :Simplicity is the ultimate sophistication. This strategy is designed specifically for Bitcoin (BTC), capturing its unique characteristics: high volatility, frequent fakeouts, and massive trend persistence. It abandons complex indicators in favor of a robust logic: "Follow the Trend, Filter the Noise, Let Profits Run."
Core Logic
Trend Filter (Fibonacci EMA 144): We use the 144-period Exponential Moving Average as the baseline. Longs are only taken above this line, and shorts only below. This keeps you on the right side of the major trend.
Volatility Breakout (Donchian Channel 20): Entries are triggered only when price breaks the 20-day high (for longs) or low (for shorts). This confirms momentum and avoids trading in chop.
Dynamic Risk Management (ATR Chandelier Exit):
Instead of fixed % stops, we use Average True Range (ATR) to calculate stop losses.
The Ratchet Mechanism: The stop loss moves up with the price but never moves down (for longs). This locks in profits automatically as the trend develops and exits immediately when volatility turns against you.
Why Use This Strategy?
Zero Repainting: All signals are confirmed.
No Curve Fitting: Uses classic parameters (144, 20) that have worked for decades.
Mental Peace: The strategy handles the exit. You don't need to guess where to sell. It holds through minor corrections and exits only when the trend truly reverses.
Settings
Leverage %: Adjust your position size based on equity (default 100% = 1x).
Timeframe: Recommended for 4H charts.
中文版 (Chinese Version)
简介 :大道至简。本策略专为 比特币 (BTC) 设计,针对其高波动、假突破多但趋势爆发力强的特点,摒弃了复杂的过度拟合指标,回归交易本质:“顺大势,滤噪音,截断亏损,让利润奔跑”。
核心逻辑
趋势过滤器 (斐波那契 EMA 144): 使用 144 周期指数移动平均线作为多空分水岭。价格在均线之上只做多,之下只做空。这能有效过滤掉大部分震荡市的噪音。
波动率突破 (唐奇安通道 20): 只有当价格突破过去 20 根 K 线的最高价(做多)或最低价(做空)时才进场。这确保了我们只在趋势确立的瞬间入场。
动态风控 (ATR 吊灯止损):
拒绝固定点数止损,使用 ATR(平均真实波幅)根据市场热度动态计算安全距离。
棘轮机制: 止损线会跟随价格上涨而上移,但绝不会下移(做多时)。这实现了自动化的“利润锁定”,既能扛住正常的波动回调,又能在大势反转时果断离场。
策略优势
绝不重绘: 所有信号均为收盘确认或实时触价。
拒绝拟合: 使用经过数十年市场验证的经典参数组合。
心态管理: 策略全自动管理出场。你不需要纠结何时止盈,它会帮你吃到完整的鱼身,直到趋势结束。
使用建议
资金管理: 可通过参数调整仓位占比(默认 100% = 1倍杠杆)。
推荐周期: 建议在4小时 图表上运行效果最佳。
Indicadores e estratégias
🟡 GOLD 4H HUD v8.9 — Loose ICT OB + Strong/Weak + FVG/HVN/LVNGOLD 4H HUD v8.9 is a clean, structured Smart Money Concepts (SMC)–based analysis tool designed exclusively for XAUUSD on the 4-hour timeframe.
It focuses on the three most important elements for institutional orderflow analysis:
✔ Loose ICT Order Blocks (Demand/Supply)
✔ Fair Value Gaps (FVG)
✔ Volume Profile Zones (HVN/LVN/POC)
The script builds a professional-style HUD that displays the key institutional regions and structural levels that matter most for gold traders.
📌 Key Features
1 — Market Structure Engine (HH/HL & BOS)
The indicator detects:
Minor swing Highs and Lows
Last confirmed HH / HL levels
Break of Structure (BOS) for directional bias
EMA-200 trend filter (UP / DOWN / NEUTRAL)
This gives traders a clean structural read without clutter or noise.
2 — Loose FVG Engine (Tolerance-Based ICT Gaps)
A soft-threshold FVG engine detects “loose” Fair Value Gaps using a 0.1% price tolerance.
This method ensures:
Fewer missed imbalances
Cleaner OB/FVG alignment
Higher accuracy on 4H gold displacement legs
FVGs automatically shift to the right side of the chart for clean visualization.
3 — Order Block Engine (Demand/Supply + Strong/Weak Classification)
A simplified ICT-style OB engine scans the past few candles whenever BOS is detected.
It identifies:
Demand OB during bullish BOS
Supply OB during bearish BOS
Strong OB if fully nested inside an active FVG
Weak OB otherwise
OB boxes include:
Clear color coding (strong vs. weak)
Price range labels inside each box
Automatic right-shift for visual clarity
4 — Volume Profile Engine (POC / HVN / LVN / VAH / VAL)
Based on a rolling window (default 120 bars), the script builds a lightweight volume distribution.
It displays:
POC (Point of Control)
HVN (High Volume Node)
LVN (Low Volume Node)
Value Area High / Low
HVN/LVN zones are shown as right-shifted colored boxes with price labels.
These zones help identify:
Institutional accumulation
Low-liquidity rejection points
Areas where price tends to react strongly
5 — Support / Resistance Mapping
The script automatically generates:
OB-based support/resistance
Swing-high/swing-low levels
HVN/LVN structural levels
These are displayed in the HUD for fast reference.
6 — Professional HUD Panel
A compact, easy-to-read HUD summarizes:
Trend direction
Latest HH/HL
OB ranges (Strong/Weak)
HVN/LVN price zones
POC
Multi-layer support & resistance
This turns the script into a fully functional analysis dashboard.
📌 What This Indicator Is NOT
To avoid misunderstanding:
It does not take entries or generate buy/sell signals
It does not auto-detect CHOCH, MSS, SMT, or sweeps
It is not a trading bot
This tool is designed as an institutional-style map and analysis HUD, not a strategy.
📌 Best Use Case
This indicator is ideal for traders who want to:
Read institutional structure on XAUUSD
Identify clean Demand/Supply zones
Visualize FVG/OB/HVN interactions
Track high-value liquidity levels
Build directional bias on 4H before dropping to execution timeframes
⚠ Important Note
This tool is designed exclusively for the 4H timeframe.
Using it on lower timeframes will display a warning.
CRR - Candlestick Pattern PRO + HUD Analyze each candlestick in detail:
Calculate:
Body size (bodyPct)
Upper wick (upPct)
Lower wick (lowPct)
Total range of the candlestick.
Detect important candlestick patterns:
Hammer
Inverted Hammer
Doji
Strong Bullish Candle
Strong Bearish Candle
Bullish Engulfing
Bearish Engulfing
Optional: Use the EMA 200 as a trend filter
If useTrend is enabled:
Above the EMA200 → “Trend: Bullish”
Below the EMA200 → “Trend: Bearish”
In between → “Trend: Sideways”
Color and mark the candlesticks:
If useColorCandles is active:
Color the candlestick according to the detected pattern.
If showLabels is active:
Write the name of the pattern above or below the candlestick (Hammer, Doji, Engulfing, etc.).
HUD in the upper right corner:
Name of the current pattern (or “None”).
Bias: bullish reversal, bearish reversal, momentum, indecision, etc.
EMA200 status (trend).
Candlestick body and wick percentages.
Pattern “Strength”: Low / Medium / High.
🧠 In simple terms:
This is a professional candlestick pattern radar, with colors, labels, and a HUD that tells you which pattern is present, what the trend is, and how strong the signal is.
Ultimate Trend System — FINAL MASTER EDITIONUltimate Trend System — FINAL MASTER EDITION
A complete, multi‑layered trend‑detection engine designed for precision execution and clarity.
This final edition fuses trend, momentum, volatility, and filtering into one symmetrical logic system — enabling traders to instantly visualize directional strength and avoid false signals during choppy markets.
🔹 System Overview
The Ultimate Trend System consolidates several classic trading frameworks into a unified model.
It dynamically generates BUY, SELL, and STOP tags directly on the chart — each derived from clean, interlinked conditions that measure both momentum and structure.
In addition, a built‑in information panel summarizes live indicator states for quick decision‑making without checking multiple indicators.
⚙️ Core Logic Components
SMA (20‑period): Identifies trend slope; rising → bullish bias, falling → bearish bias.
VWAP: Defines fair‑value position — Above, Below, or Inside volume‑weighted average price.
QQE‑Lite (RSI): Tracks internal momentum shifts by comparing RSI to its EMA smoothing.
ATR Strength: Classifies current volatility regime as Turbo, Strong, or Weak.
SuperTrend: Confirms structural trend direction using an ATR‑based trailing model.
Choppiness Filter: Suppresses signals when short‑term volatility contracts or range noise dominates.
Fakeout Detection: Prevents false triggers after deceptive breakouts or reversals.
🧩 Execution Logic
BUY Signal: All major trend engines align bullishly, with clean structure and momentum.
SELL Signal: All major engines align bearishly, with clean structure and momentum.
STOP Phase: Appears once per cycle to mark neutral or transition zones; automatically locks further stops until a new entry signal is confirmed.
🟩🟥 Visual Elements
Green Labels: Confirmed bullish entry (BUY).
Red Labels: Confirmed bearish entry (SELL).
Yellow Labels: STOP state (trend exhaustion or consolidation).
Panel: Displays live readings for VWAP, SMA, QQE, ATR regime, and SuperTrend direction.
🧠 Design Philosophy
Built for simplicity, speed, and precision — the Final Master Edition strips away noise without losing analytical depth.
It can serve as a standalone trend system or foundation layer for more advanced frameworks like auto‑execution or multi‑engine HUDs.
ADX Trend VisualizerThis is an enhanced version of the excellent indicator created by ⓒ BeikabuOyaji (Thank You!).
I've made it more visually intuitive by improving the ADX DI line crossover visualization and adding signal alerts.
This indicator utilizes standard ADX calculations and focuses on intuitive visual separation of signals.
It serves as an excellent reference tool for comparison with existing indicators.
⭐ Silver HUD v14.6 ⭐Silver HUD v14.6 is an enhanced Pine Script v5 indicator for micro silver futures (SIL) trading on TradingView, featuring a compact 2-column bottom-right HUD with weighted scoring across 5 engines (trend, flow, momentum, PB, turbo), 2H structure arbitration, divergence detection, volume surge analysis, BUY/SELL arrows, and risk warnings. Expanded from v14.5 with dedicated DIV/VOL rows for better signal context on 5m charts.
Multi-Engine Scoring
Trend Engine
EMA20/50 alignment + VWAP direction (1.001%/0.999% thresholds): UP/DOWN/MIXED scores 100/60/20.
Flow Engine
CCIOBV (CCI20 + OBV EMA13 sync) + QQE (RSI14 smoothed with trailing volatility): dual UP/DOWN = strong flow (100), mixed (60).
Momentum
RSI14/MFI14 >55 (UP=100), <45 (DOWN=100), else NEUTRAL (60).
PB (Pullback)
EMA20 deviation: -0.4% to +1.2% = OK (100), ≥1.2% CHASE (70/40), DEEP (30/80 for long/short).
Turbo
ATR14 percentile (>70 EXPANDING, <30 FADE) + BB20 width percentile (<20 SQ): SQ+EXPANDING=BREAKOUT (100).
Weighted Totals
BUY: flow(30%)+mom(25%)+PB(25%)+trend(10%)+turbo(10%); SELL adjusts turbo(20%)/PB(15%). Thresholds: BUY≥75, SELL≥72.
Advanced Features
2H Arbitration
Swing HH/HL/LL/LH detection resolves BUY/SELL conflicts; UP (HH/HL) favors longs, DOWN (LL/LH) shorts.
Divergence
RSI-based: price HH without RSI HH = BEAR DIV; price LL without RSI LL = BULL DIV.
Volume Surge
2x 20-SMA or 80th percentile: BULL/BEAR SURGE (directional), SURGE (neutral).
Signals & Risk
Raw triggers filtered (no DEEP PB BUY, no DOWN trend BUY, UP flow required); final uses 2H tiebreaker. RISK flags DIV, surges, DEEP PB, trend conflicts, score ties. Tiny BUY/SELL arrows on raw signals.
HUD Layout
14-row table: TREND/FLOW/MOM/PB/TURBO/FINAL/BUY*/SELL*/2H/DIV/VOL/RISK/Threshold. Stars rate scores (★★★★★=90+), color-coded statuses, gold FINAL. Perfect for SIL scalpers needing confluence + risk at a glance.
BB Breakout-Momentum + Reversion Strategies# BB Breakout-Momentum + Reversion Strategies
## Overview
This indicator combines two complementary Bollinger Band trading strategies that automatically adapt to market conditions. Strategy 1 capitalizes on trending markets with breakout-pullback-momentum setups, while Strategy 2 exploits mean reversion in ranging markets. Advanced filtering using ADX and BB Width ensures each strategy only fires in its optimal market environment.
---
## Strategy 1: Breakout → Pullback → Renewed Momentum (Long B / Short B)
### Best Market Conditions
- **Trending Markets**: ADX ≥ 25
- **High Volatility**: BB Width ≥ 1.0× average
- Directional price action with sustained momentum
### Entry Logic
**Long B (Bullish Breakout):**
1. **Initial Breakout**: Price breaks above upper Bollinger Band with strong momentum
2. **Controlled Pullback**: Price pulls back 1-12 bars but holds above lower band (stays in trend)
3. **Defended Zone**: Pullback creates a support zone based on swing lows (validated by multiple touches)
4. **Renewed Momentum**: Price reclaims with green candle, volume confirmation, bullish MACD
5. **Position Check**: Entry must have cushion below upper band and room to reach targets
**Short B (Bearish Breakdown):**
- Mirror logic for downtrends: breakdown below lower band, pullback stays below upper band, renewed selling pressure
### Risk Management
- **Stop Loss**: Lower of (zone floor/previous low) OR (1.5 × ATR from entry)
- **Targets**:
- T1: Entry + 0.85R (0.85 × 1.5 ATR)
- T2: Entry + 1.40R (1.40 × 1.5 ATR)
- T3: Entry + 2.50R (2.50 × 1.5 ATR)
- T4: Entry + 4.50R (4.50 × 1.5 ATR)
- Risk is calculated using ATR (ATRX = 1.5 ATR), stop uses tighter of structural level (ATRL) or ATRX
---
## Strategy 2: Bollinger Band Mean Reversion (Long R / Short R)
### Best Market Conditions
- **Ranging Markets**: ADX ≤ 20
- **Low Volatility**: BB Width ≤ 0.8× average
- Price oscillating around the mean without sustained trend
### Entry Logic
**Long R (Long Reversion):**
1. **Overextension**: Price breaks below lower Bollinger Band (2 consecutive closes)
2. **Snap Back**: Price crosses back above lower band (re-enters the range)
3. **Entry Window**: Within 2 candles of re-entry, look for:
- **Green candle** (close > open) confirming bullish strength
- Close above previous candle (close > close )
4. **Trigger**: First qualifying candle within 2-bar window executes the trade
**Short R (Short Reversion):**
1. **Overextension**: Price breaks above upper Bollinger Band (2 consecutive closes)
2. **Snap Back**: Price crosses back below upper band (re-enters the range)
3. **Entry Window**: Within 2 candles of re-entry, look for:
- **Red candle** (close < open) confirming bearish pressure
- Close below previous candle (close < close )
4. **Trigger**: First qualifying candle within 2-bar window executes the trade
### Risk Management
- **Stop Loss**: Lower of (previous high/low) OR (1.5 × ATR from entry)
- **Targets**: Same as Strategy 1 (0.85R, 1.4R, 2.5R, 4.5R based on 1.5 ATR)
- Betting on return to Bollinger Band basis (mean)
---
## Advanced Filtering System
### ADX Filter (Average Directional Index)
- **Purpose**: Measures trend strength vs choppy/ranging conditions
- **Trending**: ADX ≥ 25 → Enables Strategy 1 (Breakout)
- **Ranging**: ADX ≤ 20 → Enables Strategy 2 (Reversion)
- **Neutral**: ADX 20-25 → No signals (indecisive market)
### BB Width Filter
- **Purpose**: Confirms volatility expansion/contraction
- **Wide Bands**: Current width ≥ 1.0× 50-bar average → Trending environment
- **Narrow Bands**: Current width ≤ 0.8× 50-bar average → Ranging environment
- **Logic**: Both ADX and BB Width must agree on market state before signaling
### Combined Logic
- **Strategy 1 fires**: When BOTH ADX shows trending AND bands are wide
- **Strategy 2 fires**: When BOTH ADX shows ranging AND bands are narrow
- **Visual Display**: Table at bottom-right shows ADX value, BB Width ratio, and current market state
---
## Visual Elements
### Bollinger Bands
- **Gray line**: 20-period SMA (basis/mean)
- **Green line**: Upper band (basis + 2 standard deviations)
- **Red line**: Lower band (basis - 2 standard deviations)
### Strategy 1 Markers
- **Long B**: Green triangle below bar with "Long B" text
- **Short B**: Orange triangle above bar with "Short B" text
- **Defended Zones**: Green/red boxes showing pullback support/resistance areas
- **Targets**: Green/orange crosses showing T1-T4 and stop loss levels
### Strategy 2 Markers
- **Long R**: Blue label below bar with "Long R" text
- **Short R**: Purple label above bar with "Short R" text
- **Trade Levels**: Horizontal lines extending 50 bars forward
- Blue solid = Entry price
- Red dashed = Stop loss
- Green/Orange dotted = Targets (T1-T4)
### Market State Table
- **ADX**: Current value with color coding (green=trending, orange=ranging, gray=neutral)
- **BB Width**: Ratio vs 50-bar average (e.g., "1.15x" = 15% wider than average)
- **State**: TREND / RANGE / NEUTRAL classification
---
## Settings & Customization
### Bollinger Bands
- **BB Length**: 20 (default) - period for moving average
- **BB Std Dev**: 2.0 (default) - standard deviation multiplier
### ATR & Risk
- **ATR Length**: 14 (default) - period for Average True Range calculation
- All stop losses and targets are derived from 1.5 × ATR
### Trend/Range Filters
- **ADX Length**: 14 (default)
- **ADX Trending Threshold**: 25 (higher = stronger trend required)
- **ADX Ranging Threshold**: 20 (lower = tighter ranging condition)
- **BB Width Average Length**: 50 (period for comparing current width)
- **BB Width Trend Multiplier**: 1.0 (width must be ≥ this × average)
- **BB Width Range Multiplier**: 0.8 (width must be ≤ this × average)
- **Use ADX Filter**: Toggle on/off
- **Use BB Width Filter**: Toggle on/off
### Strategy 1 (Breakout-Momentum)
- **Breakout Lookback**: 15 bars (how far back to search for initial breakout)
- **Min Pullback Bars**: 1 (minimum consolidation period)
- **Max Pullback Bars**: 12 (maximum consolidation period)
- **Show Defended Zone**: Display support/resistance boxes
- **Show Signals**: Display Long B / Short B markers
- **Show Targets**: Display stop loss and target levels
### Strategy 2 (Reversion)
- **Show Signals**: Display Long R / Short R markers
- **Show Trade Levels**: Display entry, stop, and target lines
---
## How to Use This Indicator
### Step 1: Identify Market State
- Check the table in bottom-right corner
- **TREND**: Look for Strategy 1 signals (Long B / Short B)
- **RANGE**: Look for Strategy 2 signals (Long R / Short R)
- **NEUTRAL**: Wait for clearer conditions
### Step 2: Wait for Signal
- Signals only fire when ALL conditions are met (structural + momentum + filters + room-to-target)
- Signals are relatively rare but high-probability
### Step 3: Execute Trade
- **Entry**: Close of signal candle
- **Stop Loss**: Shown as red cross (Strategy 1) or red dashed line (Strategy 2)
- **Targets**: Scale out at T1, T2, T3, T4 or hold for maximum R:R
### Step 4: Management
- Consider moving stop to breakeven after T1
- Trail stop using swing lows/highs in Strategy 1
- Exit full position at T2-T3 in Strategy 2 (mean reversion has limited upside)
---
## Key Principles
### Why This Works
1. **Market Adaptation**: Uses right strategy for right conditions (trend vs range)
2. **Confluence**: Multiple confirmations required (structure + momentum + volatility + room)
3. **Risk-Defined**: Every trade has pre-calculated stop and targets based on ATR
4. **Probability**: Filters reduce noise and increase win rate by waiting for ideal setups
### Common Pitfalls to Avoid
- ❌ Taking signals in NEUTRAL market state (indicators disagree)
- ❌ Overriding the stop loss (it's calculated for a reason)
- ❌ Expecting signals on every swing (quality over quantity)
- ❌ Using Strategy 1 in ranging markets or Strategy 2 in trending markets
- ❌ Ignoring the room-to-target check (signal won't fire if targets are blocked)
### Complementary Analysis
This indicator works best when combined with:
- Higher timeframe trend analysis
- Key support/resistance levels
- Volume analysis
- Market structure (swing highs/lows)
- Risk management rules (position sizing, max daily loss, etc.)
---
## Technical Details
### Indicators Used
- **Bollinger Bands**: 20-period SMA ± 2 standard deviations
- **ATR**: 14-period Average True Range for volatility measurement
- **ADX**: 14-period Average Directional Index for trend strength
- **EMA**: 10 and 20-period exponential moving averages (Strategy 1 filter)
- **MACD**: 12/26/9 settings (Strategy 1 momentum confirmation)
- **Volume**: Compared to 15-bar average (Strategy 1 confirmation)
### Calculation Methodology
- **ATRL** (Structural Risk): Previous swing high/low or defended zone boundary
- **ATRX** (ATR Risk): 1.5 × 14-period ATR from entry price
- **Stop Loss**: Minimum of ATRL and ATRX (tightest protection)
- **Targets**: Always calculated from ATRX (consistent R-multiples)
- **BB Width Ratio**: Current BB width ÷ 50-period SMA of BB width
---
## Performance Notes
### Strengths
- Adapts to changing market conditions automatically
- Clear, objective entry and exit criteria
- Pre-defined risk on every trade
- Filters reduce false signals significantly
- Works across multiple timeframes and instruments
### Limitations
- Signals are infrequent (by design - quality over quantity)
- Requires patience to wait for all conditions to align
- May miss explosive moves if pullback doesn't form properly (Strategy 1)
- Ranging markets can transition to trending (Strategy 2 risk)
- Filters may delay entry in fast-moving markets
### Best Timeframes
- **Strategy 1**: 1H, 4H, Daily (needs time for proper pullback structure)
- **Strategy 2**: 15M, 30M, 1H (mean reversion works best intraday)
- Both strategies can work on any timeframe if market conditions are right
### Best Instruments
- **Liquid markets**: Major stocks, indices, forex pairs, liquid crypto
- **Sufficient volatility**: ATR should be meaningful relative to price
- **Clear trend/range cycles**: Markets that respect technical levels
---
## IMPORTANT DISCLAIMER
### Risk Warning
**TRADING INVOLVES SUBSTANTIAL RISK OF LOSS AND IS NOT SUITABLE FOR ALL INVESTORS.**
This indicator is provided for **educational and informational purposes only**. It does not constitute financial advice, investment advice, trading advice, or any other sort of advice. You should not treat any of the indicator's content as such.
### No Guarantee of Profit
Past performance is not indicative of future results. No trading strategy, including this indicator, can guarantee profits or protect against losses. The market is inherently unpredictable and all trading involves risk.
### User Responsibility
- **Do Your Own Research**: Always conduct your own analysis before making trading decisions
- **Test First**: Backtest and paper trade this strategy before risking real capital
- **Risk Management**: Never risk more than you can afford to lose
- **Position Sizing**: Use appropriate position sizes relative to your account
- **Stop Losses**: Always use stop losses and respect them
- **Market Conditions**: Understand that market conditions change and past behavior may not repeat
### No Liability
The creator of this indicator accepts no liability for any financial losses incurred through the use of this tool. All trading decisions are made at your own risk. You are solely responsible for evaluating the merits and risks associated with the use of any trading systems, signals, or content provided.
### Not Financial Advice
This indicator does not take into account your personal financial situation, investment objectives, risk tolerance, or specific needs. You should consult with a licensed financial advisor before making any investment decisions.
### Technical Limitations
- Indicators can repaint or lag in real-time
- Past signals may look different than real-time signals
- Code bugs or errors may exist despite testing
- TradingView platform limitations may affect functionality
### Market Risks
- Markets can gap, causing stops to be executed at worse prices
- Slippage and commissions can significantly impact results
- High volatility can cause unexpected losses
- Counterparty risk exists in all leveraged products
---
## Version History
- **v1.0**: Initial release combining breakout-momentum and mean reversion strategies
- Includes ADX and BB Width filtering
- ATRL/ATRX risk calculation system
- 2-candle entry window for reversion trades
---
## Credits & License
This indicator combines concepts from classical technical analysis including Bollinger Bands (John Bollinger), ATR (Welles Wilder), and ADX (Welles Wilder). The specific implementation and combination of filters is original work.
**Use at your own risk. Trade responsibly.**
---
*For questions, suggestions, or to report bugs, please comment below or contact the author.*
**Remember: The best indicator is the one between your ears. Use this tool as part of a comprehensive trading plan, not as a standalone solution.**
Daily Range Box (RIC)This indicator draws a blue-bordered box for each trading day, visible across all timeframes without alteration. The box's upper boundary is the day's highest price, the lower boundary is the day's lowest price, starting from the first trade of the day and ending at the last trade (including extended trading hours). A dashed horizontal line is drawn at the midpoint between the high and low within the box.
Mirror Trendline ToolThis indicator is an interactive mirror‑trendline drawing tool that uses three draggable points to build two related lines. Point One and Point Two define the primary (blue) trendline; Point Three defines the starting anchor for the mirrored line, which always has the opposite slope to the blue line and updates live as you move the anchor, giving continuous visual feedback while you drag it .
A color‑invert option automatically generates the mirrored line’s color by mathematically inverting the chosen base color while preserving its opacity, with a checkbox to disable inversion so both lines can share the same appearance . When “Stop at Intersection” is checked, both lines terminate exactly at their intersection, creating a clean V‑shaped construction that highlights the symmetry point between the reference move and its mirror . When the box is unchecked, both lines extend beyond that intersection, but their total duration is capped at no more than twice the original blue segment’s length, keeping projections proportionate and preventing excessively long rays from cluttering the chart .
Supertrend + MACD + HMAIndicator Description: Supertrend + MACD + HMA
General Summary
It is a composite technical indicator that combines three analysis tools to generate buy and sell signals in institutional trading. It uses confirmation from multiple indicators to increase the precision of market entries.
Components
1. Supertrend (ST)
Function: Identifies the main market trend (bullish or bearish)
Parameters: ATR Length 10, Factor 3.0
Visualization:
Green line = Bullish trend
Red line = Bearish trend
Semi-transparent green/red background that fills the area according to direction
How it works: Uses ATR (Average True Range) to calculate dynamic support and resistance bands
2. MACD (Moving Average Convergence Divergence)
Function: Measures price momentum and direction
Parameters: Fast 18, Slow 144, Signal Smoothing 9
Components:
MACD Line (orange): Difference between two EMAs
Signal Line (purple): EMA of the MACD
Histogram (green/red columns): Difference between MACD and its signal
Green = Positive histogram (bullish momentum)
Red = Negative histogram (bearish momentum)
3. HMA 100 (Hull Moving Average)
Function: Identifies support/resistance level and price direction
Parameters: Length 100
Visualization: Blue thick line
Characteristics:
Less lag than traditional moving averages
Price > HMA = Bullish trend
Price < HMA = Bearish trend
Signal Logic
🟢 BUY SIGNAL
Generated when ANY of these conditions is met:
Total Confluence:
MACD positive (histogram > 0)
Price above HMA 100
Supertrend in Bullish mode
Supertrend Change:
Supertrend changes from Bearish to Bullish
MACD remains positive
Price above HMA
Price Crossover:
Price crosses above HMA (at candle close)
Supertrend is in Bullish mode
MACD is positive
🔴 SELL SIGNAL
Generated when ANY of these conditions is met:
Total Confluence:
MACD negative (histogram < 0)
Price below HMA 100
Supertrend in Bearish mode
Supertrend Change:
Supertrend changes from Bullish to Bearish
MACD remains negative
Price Crossover:
Price crosses below HMA (at candle close)
Supertrend is in Bearish mode
MACD is negative
Important Features
✅ Single Signal Per Type
Once a BUY is generated, no other BUY is generated until a SELL appears
Avoids multiple entries in the same direction
✅ Crossover Detection
The indicator generates signals at candle close when price crosses HMA
Allows capturing quick market moves
✅ Trend Changes
Detects when Supertrend changes direction
Provides early exits from the market
✅ Automatic Alerts
Push notifications when BUY or SELL is generated
Ideal for automated trading
Daily Range SeqDaily Range Seq
Time Window: 04:00 - 10:25 EST
Eval. Window: 10:30 - 15:55 EST
Time Window sets the target for price during the Eval. Window.
If high of time window is created first, then target the high during the Eval. Window.
If low of time window is created first, then target the low during the Eval. Window.
⭐ Silver HUD v15.1 — Full Notes Version (3-Column HUD)Silver HUD v15.1 is a comprehensive Pine Script v5 indicator designed for micro silver futures (SIL) trading on TradingView. It overlays a 3-column HUD table displaying real-time analysis across multiple engines including trend, flow, momentum, pullback, turbo (breakout), divergence, volume, and 2H structure. The system generates weighted BUY/SELL scores and final signals with risk warnings, optimized for 5m charts with 30m support/resistance levels.
Core Components
Support/Resistance & Trade Levels
Pulls 30m lowest low (support) and highest high (resistance) for entry/stop/TP calculation. Entry defaults to support, stop loss at support - 0.10, with ATR-based TPs (1x/2x/3x). Risk per lot factors SIL contract specs (1000oz, $5/tick). Alerts when price nears support within 0.05.
Multi-Engine Analysis
TREND: EMA20/50 + VWAP direction (UP/DOWN/MIXED).
FLOW: CCIOBV (CCI+OBV) + QQE momentum sync.
MOMENTUM: RSI/MFI >55 (UP) or <45 (DOWN).
PB (Pullback): EMA20 deviation (-0.4% to +1.2% = OK; flags CHASE/DEEP).
TURBO: ATR percentile + BB width squeeze for BREAKOUT/EXHAUST.
Scores weight flow (30%), momentum (25%), PB (25%), trend/turbo (10-20%). BUY ≥75, SELL ≥72 triggers raw signals.
Advanced Features
2H Structure: Detects HH/HL/LL/LH swings for macro bias (UP/DOWN/MIXED).
SELL System: Distinguishes SELL-ALERT (exhaustion) vs full SELL-REVERSAL (multi-condition bear flip).
Divergence & Volume: RSI-based bear/bull div on swing highs/lows; surge detection (>2x vol MA or 80th percentile).
Final Signal: Combines raw scores with filters (no DEEP PB for BUY, 2H tiebreaker); RISK flags conflicts like div or trend mismatches.
HUD Display & Usage
Renders a bottom-right table with metric, status (color-coded), and Chinese explanations. Stars rate scores (★★★★★=90+). Ideal for high-frequency SIL traders monitoring multi-timeframe confluence on 5m charts.
Pivot Points Standard w/ Future PivotsPivot Points Standard with Future Projections
This indicator displays traditional pivot point levels with an added feature to project future pivot levels based on the current period's price action.
Key Features:
Multiple Pivot Types: Choose from Traditional, Fibonacci, Woodie, Classic, DM, and Camarilla pivot calculations
Flexible Timeframes: Auto-detect or manually select Daily, Weekly, Monthly, Quarterly, Yearly, and multi-year periods
Future Pivot Projections: Visualize potential pivot levels for the next period based on current price movement
Custom Price Scenarios: Test "what-if" scenarios by entering a custom close price to see resulting pivot levels
Customizable Display: Adjust line styles, colors, opacity, and label positioning for both historical and future pivots
Historical Pivots: View up to 200 previous pivot periods for context
Future Pivot Options:
The unique future pivot feature calculates what the next period's support and resistance levels would be using the current period's High, Low, Open, and either the current price or a custom price you specify for the closing value. Future pivots are displayed with customizable line styles (solid, dashed, dotted) and opacity to distinguish them from historical levels.
Use Cases:
Plan entries and exits based on projected support/resistance
Scenario analysis with custom price targets
Identify key levels before the period closes
Multi-timeframe pivot analysis
Works on all timeframes and instruments.
FVG Maxing - Fair Value Gaps, Equilibrium, and Candle Patterns
What this script does
This open-source indicator highlights 3-candle fair value gaps (FVGs) on the active chart timeframe, draws their midpoint ("equilibrium") line, tracks when each gap is mitigated, and optionally marks simple candle patterns (engulfing and doji) for confluence. It is intended as an educational tool to study how price interacts with imbalances.
3-candle bullish and bearish FVG zones drawn as forward-extending boxes.
Equilibrium line at 50% of each gap.
Different styling for mitigated vs unmitigated gaps.
Compact statistics panel showing how many gaps are currently active and filled.
Optional overlays for bullish/bearish engulfing patterns and doji candles.
1. FVG logic (3-candle gaps)
The script focuses on a strict 3-candle definition of a fair value gap:
Three consecutive candles with the same body direction.
The wick of candle 3 is separated from the wick of candle 1 (no overlap).
A bullish gap is created when price moves up fast enough to leave a gap between candle 1 and 3. A bearish gap is the mirror case to the downside.
In Pine, the core detection looks like this:
// Three candles with the same body direction
bull_seq = close > open and close > open and close > open
bear_seq = close < open and close < open and close < open
// Wick gap between candle 1 and candle 3
bull_gap = bull_seq and low > high
bear_gap = bear_seq and high < low
// Final FVG flags
is_bull_fvg = bull_gap
is_bear_fvg = bear_gap
For each detected FVG:
Bullish FVG range: from high up to low (gap below current price).
Bearish FVG range: from low down to high (gap above current price).
Each zone is stored in a custom FVGData structure so it can be updated when price later trades back inside it.
2. Equilibrium line (0.5 of the gap)
Every FVG box gets an optional equilibrium line plotted at the midpoint between its top and bottom:
eq_level = (top + bottom) / 2.0
right_index = extend_boxes ? bar_index + extend_length_bars : bar_index
bx = box.new(bar_index - 2, top, right_index, bottom)
eq_ln = line.new(bar_index - 2, eq_level, right_index, eq_level)
line.set_style(eq_ln, line.style_dashed)
line.set_color(eq_ln, eq_color)
You can use this line as a neutral “fair value” reference inside the zone, or as a simple way to think in terms of premium/discount within each gap.
3. Mitigation rules and styling
Each FVG stays active until price trades back into the gap:
Bullish FVG is considered mitigated when the low touches or moves below the top of the gap.
Bearish FVG is considered mitigated when the high touches or moves above the bottom of the gap.
When that happens, the script:
Marks the internal FVGData entry as mitigated.
Softens the box fill and border colors.
Optionally updates the label text from "BULL EQ / BEAR EQ" to "BULL FILLED / BEAR FILLED".
Can hide mitigated zones almost completely if you only want to see unfilled imbalances.
This allows you to distinguish between current areas of interest and zones that have already been traded through.
4. Candle pattern overlays (engulfing and doji)
For additional confluence, the script can mark simple candle patterns on top of the FVG view:
Bullish engulfing — current candle body fully wraps the previous bearish body and is larger in size.
Bearish engulfing — current candle body fully wraps the previous bullish body and is larger in size.
Doji — candles where the real body is small relative to the full range (high–low).
The detection is based on basic body and range geometry:
curr_body = math.abs(close - open)
prev_body = math.abs(close - open )
curr_range = high - low
body_ratio = curr_range > 0 ? curr_body / curr_range : 1.0
bull_engulfing = close > open and close < open and open <= close and close >= open and curr_body > prev_body
bear_engulfing = close < open and close > open and open >= close and close <= open and curr_body > prev_body
is_doji = curr_range > 0 and body_ratio <= doji_body_ratio
On the chart, they appear as:
Small triangle markers below bullish engulfing candles.
Small triangle markers above bearish engulfing candles.
Small circles above doji candles.
All three overlays are optional and can be turned on or off and recolored in the CANDLE PATTERNS group of inputs.
5. Inputs overview
The script organizes settings into clear groups:
DISPLAY SETTINGS : Show bullish/bearish FVGs, show/hide mitigated zones, box extension length, box border width, and maximum number of boxes.
EQUILIBRIUM : Toggle equilibrium lines, color, and line width.
LABELS : Enable labels, choose whether to label unmitigated and/or mitigated zones, and select label size.
BULLISH COLORS / BEARISH COLORS : Separate fill and border colors for bullish and bearish gaps.
MITIGATED STYLE : Opacity used when a gap is marked as mitigated.
STATISTICS : Toggle the on-chart FVG statistics panel.
CANDLE PATTERNS : Show engulfing patterns, show dojis, colors, and the body-to-range threshold that defines a doji.
6. Statistics panel
An optional table in the corner of the chart summarizes the current state of all tracked gaps:
Total number of FVGs still being tracked.
Number of bullish vs bearish FVGs.
Number of unfilled vs mitigated FVGs.
Simple fill rate: percentage of tracked FVGs that have been marked as mitigated.
This can help you study how a particular market tends to treat gaps over time.
7. How you might use it (examples)
These are usage ideas only, not recommendations:
Study how often your symbol mitigates gaps and where inside the zone price tends to react.
Use higher-timeframe context and then refine entries near the equilibrium line on your trading timeframe.
Combine FVG zones with basic candle patterns (engulfing/doji) as an extra visual anchor, if that fits your process.
Hope you enjoy, give your feedback in the comments!
- officialjackofalltrades
Status + BollingersThis combined indicator provides a concise view of the market's current state, volatility, and momentum using key technical metrics displayed on a central dashboard and overlaid on the price chart.
The Bollinger Bands consist of a 20-period Simple Moving Average (SMA) as the middle line, bounded by an upper and lower band (typically $2.0$ Standard Deviations).
Function: Measures volatility.
CRSI (RSI) Red ($>70$), Lime ($<30$) - Indicates Overbought (Red) or Oversold (Lime) pressure, signaling possible reversals.
ADX Orange ($>30$), Gray ($<20$) - Measures Trend Strength, regardless of direction. Orange means strong trend (ideal for trend following); Gray means weak/ranging market.
Volume Status "Bang" (Red) Safe (Green) - Compares current volume to the average. "Patladı" indicates a significant volume spike (momentum confirmation), suggesting institutional activity or a decisive move.
Execution Heatmap v4.1 — AI EnhancedThis indicator is an AI‑style execution dashboard that compresses structure, momentum, volume, volatility, and risk into a compact heatmap panel plus BUY/SELL signals on the chart. It is specifically tuned for gold and silver, automatically adapting its thresholds to the volatility profile of XAU/GC and XAG/SI symbols.
Core architecture
The system builds a multi‑factor model in layers:
Adaptive structure engine: Tracks dynamic higher‑high / lower‑low progression using rolling reference highs and lows, classifying price as structural UP, DOWN, or NEUTRAL.
Precision VWAP bias: Uses VWAP with a small threshold band to filter out noise and label price as ABOVE, BELOW, or neutral relative to value.
Impulse & angle: Combines short‑term rate of change and normalized slope (price vs ATR over 5 bars) to detect directional thrust, then clamps values into
for stable scoring.
Volume, wicks, and patterns
Adaptive volume tiers: Uses a 20‑bar volume average with gold/silver‑specific multipliers to tag candles as SURGE, HIGH, NORMAL, or LOW volume, with distinct coloring for extremes.
Wick analytics: Measures upper/lower wick size vs total range to detect demand/supply style rejections and encode them as bullish or bearish wick signals.
AI pattern score: Blends structure, VWAP, impulse, wicks, and angle into a normalized pattern score, then classifies it as STRONG↑, NEU↑, NEU, NEU↓, or STRONG↓ with color‑coded emphasis.
AI scoring and prediction layer
Predictive engine: Uses a neural‑network‑style weighted sum of structure, VWAP, impulse, wicks, angle, volume, and pattern to generate a prediction score in
, then converts it into a percentage and arrow (↑, ↑↑, ↓, ↓↓, →) for intuitive directional bias.
Execution score: Aggregates key factors into an EXEC score (0–200+ style scale), color‑graded from weak (red) through medium (orange) to strong (green) execution context.
Uncertainty & risk: Separately models uncertainty (low impulse/angle or low conviction) and risk (fake breaks, VWAP position, uncertainty tier, low volume), then feeds them into a combined confidence calculation.
Final signal & confidence
Final classification:
BUY: High exec score, high confidence, and controlled risk.
SELL: Very low exec score, low confidence in upside, and acceptable risk.
WAIT: All other conditions where edge or clarity is insufficient.
Confidence bar: A textual mini‑bar (🟩 blocks) plus percentage shows how strong the current signal environment is, making it easy to visually gauge setup quality at a glance.
Professional heatmap panel
A two‑column table in the top‑right of the chart organizes the logic into layers:
Base layer: STRUCT, VWAP, IMPULSE, VOLUME.
AI layer: FAKE, REGIME (Trend/Pullback/Reverse/Chop), ANGLE.
Decision layer: PATTERN, PREDICT, EXEC, RISK, CONF, and FINAL direction.
Equal Highs & Lows Strategy // ------------------------------------------------------------------------------
// 🧠 THE MARKET PSYCHOLOGY (WHY THIS WORKS):
// ------------------------------------------------------------------------------
// 1. THE MAGNET THEORY:
// "Equal Highs" (EQH) and "Equal Lows" (EQL) are not random. They represent
// Retail Support and Resistance. Retail traders are taught to put Stop Losses
// just above Double Tops or just below Double Bottoms.
// - Therefore, these lines represent massive pools of LIQUIDITY (Money).
// - Price is often engineered to move toward these lines to "unlock" that money.
//
// 2. THE INSTITUTIONAL TRAP (STOP HUNTS):
// Institutions need liquidity to fill large orders without slippage.
// - To Buy massive amounts, they need many Sellers -> They push price BELOW EQL
// to trigger retail Sell Stops.
// - To Sell massive amounts, they need many Buyers -> They push price ABOVE EQH
// to trigger retail Buy Stops.
//
// 3. THE STRATEGY (TURTLE SOUP):
// We do not trade the initial touch. We wait for the "Sweep & Reclaim".
// - Bullish Signal (GRAB ⬆): Price drops below the Green Line (EQL), grabs the
// stops, but buyers step in and force the candle to CLOSE back above the line.
// - Bearish Signal (GRAB ⬇): Price spikes above the Red Line (EQH), grabs the
// stops, but sellers step in and force the candle to CLOSE back below the line.
// ------------------------------------------------------------------------------
HL/2 Fast & Slow - Cloud Signals + Backtest + Exit AlarmsDescription:
This indicator plots two HL/2 moving averages—a fast and a slow line—on the chart, along with dynamic upper and lower bands based on the slow line and ATR. It features a colored cloud between the two averages to visualize trend direction, and it provides buy/sell signals based on the alignment of the two lines.
Key Features:
Fast & Slow HL/2 Averages
Fast and slow HL/2 lines calculated as simple moving averages.
Lines change color based on direction (up/down), configurable via style settings.
Dynamic Upper and Lower Bands
Bands calculated from the slow line using ATR to capture volatility.
Trend Cloud
Fills the area between fast and slow lines.
Green if both lines are rising, red if both are falling, gray if lines disagree.
Transparency adjustable for better visual clarity.
Buy/Sell Signals
Signals appear only when both lines align in the same direction.
Two modes available:
Series Signals: generates a signal whenever the cloud color changes.
Single Signal: generates a signal only when the slow line changes direction.
Signals are plotted as small triangles above/below bars.
Alerts can be set for both buy/sell signals.
Exit Modes and Alerts
Exit positions either on a reverse signal or when the cloud enters a neutral gray zone.
Exit alerts are available for both conditions.
Integrated Backtest Panel
Shows total trades, win rate, and cumulative profit in USD.
Considers position size and commission (configurable).
Panel color indicates profit (green) or loss (red).
Fixed position on chart for easy reference.
Inputs:
Fast and slow periods, ATR length, ATR multiplier.
Position size, commission percentage.
Signal mode (Series or Single).
Exit mode (Reverse Signal or Gray Area).
Style options for line colors and cloud colors.
Time window for backtesting (daily, weekly, monthly, or custom date range).
Usage:
Ideal for identifying trend direction and potential entry points.
Can be used for manual trading or as part of an automated strategy with alerts.
Provides a visual and statistical overview of trading performance via the backtest panel.
CRR BUY/SELL This is a dual engine (BUY and SELL) for scalping/micro trading on XAUUSD (10–20 pips), all in a single indicator:
Reads 1m, 5m, 15m, 30m (trend + momentum).
It has separate BUY and SELL engines.
It shows you in a central HUD:
Left side → BUY status.
Right side → SELL status.
Bottom → indicators + extra info + NY time.
1️⃣ Internal Engines
🔹 Shared Multi-TF
On 1m, 5m, 15m, 30m it calculates:
EMA 15/30/200 → bullish/bearish trend.
MACD → momentum.
RSI → strength.
From this comes:
t1, t2, t3, t4 =
1 = bullish,
-1 = bearish,
0 = neutral.
bullScore = how many TFs are bullish.
bearScore = how many TFs are bearish.
2️⃣ BUY Engine (BUY BOX)
Own Inputs:
Mode: aggressiveMicroBuy → yes/no.
Sensitivity: Normal / High / Turbo.
Filter for:
strong upward candle (ticks ≈ pips),
minimum ATR in pips,
minimum 1m bullish candle body.
Calculations:
Converts ATR to pips (atrPipsBuy) and validates sufAtrBuy.
Calculates momentumBull1 (1m):
large bullish candle in pips,
MACD bullish,
RSI bullish.
1m Micro signal “BUY WITHOUT PULLBACK” (buyNoPull):
EMA 15 > EMA 30 > EMA 200 (strong bullish trend on 1m),
MACD crosses upwards,
Price above EMA 30 1m.
Multi-TF Bull (multiTfBull):
Normal Mode: 1m bullish and 5-15-30m not against. High/Turbo Mode: bullScore >= 2.
Final BUY condition:
Conservative:
buyNoPull + multiTfBull + sufAtrBuy + momentumBull1
Aggressive:
(t1 == 1 or bigPumpBuy) + 15m not bearish + sufAtrBuy
condBuyFinal chooses between conservative/aggressive based on aggressiveMicroBuy.
3️⃣ SELL Engine (SELL BOX)
It's the bearish mirror of the BUY:
Own inputs:
aggressiveMicroSell, SELL Sensitivity, strong drop in ticks, ATR SELL, minimum bearish body.
Calculations:
ATR → pips (atrPipsSell) and sufAtrSell.
momentumBear1: strong red candle in 1m + MACD bear + RSI bear.
1m Micro signal “SELL WITHOUT PULLBACK” (sellNoPull):
EMA 15 < EMA 30 < EMA 200 (strong bearish trend 1m),
MACD crosses downwards,
Price below EMA 30 1m.
Multi–TF Bear (multiTfBear):
Normal: 1m bearish and 5–15–30m not against.
High/Turbo: bearScore >= 2.
Final SELL condition:
Conservative:
sellNoPull + multiTfBear + sufAtrSell + momentumBear1
Aggressive:
(t1 == -1 or bigDropSell) + 15m not bullish + sufAtrSell
condSellFinal based on aggressiveMicroSell.
4️⃣ Clock and Sessions
Calculates New York time.
Classifies session:
TOKYO (20–03),
LONDON (03–08),
NEW YORK (08–17).
Displays clockText (NY time) in the HUD.
5️⃣ Central HUD (double)
Table at the top center with 6 columns:
Columns 0–2 → BUY
Row 1: STATUS: MICRO BUY / NORMAL BUY / NEUTRAL.
Row 2: Light bulb + text:
STRONG RISE,
MULTI TF BULLISH,
NO SETUP. Columns 3–5 → SELL
Row 1: STATUS: MICRO SELL / NORMAL SELL / NEUTRAL
Row 2: Lightbulb + text:
SHARP DROP,
MULTI TF BEARISH,
NO SETUP.
In BUY, column 2 of the last row shows the NY time.
6️⃣ Footprint on the chart
Only when a new signal appears (not repeated):
buySignal = condBuyFinal and not condBuyFinal .
sellSignal = condSellFinal and not condSellFinal .
Draw:
Bar color:
Green on BUY candle.
Red on SELL candle.
Triangles:
BUY below the candle.
SELL above the candle.
7️⃣ Alerts
CRR BUY SCALPING → when condBuyFinal is true.
CRR SELL SCALPING → when condSellFinal is true.
🧩 In a sentence:
This is your master micro-scalping BUY/SELL panel, which combines multi-timeframe analysis, 1m momentum, ATR in pips, and strong candles, and summarizes it for you in a dual HUD (BUY on the left, SELL on the right) + clear markers on the exact trigger candle.
Responsive ADX (RADX)Introducing the new Responsive ADX (RADX), running with a (length = 9) and exactly how it differs from the standard built-in ADX you see on TradingView chart.
This indicator is still a true ADX at its core — it measures trend strength from 0 to 100 and uses the classic +DI and –DI lines to show direction — but it has been carefully "tuned" to react noticeably faster while staying smooth and usable. With the length set to 9, it is one of the most responsive versions you can run without turning into noise.
How it behaves differently from the normal (Wilder) ADX
Normal ADX is lagging, now this version gives you the same trend-strength reading 4–8 bars earlier than the built-in ADX. On a daily chart that can easily be 4–8 calendar days of earlier warning. On a 4-hour chart it’s 16–32 hours earlier. That head-start is the whole point.
The ADX line rises and falls much quicker.
When a new trend actually starts, you will often see this Fast ADX cross above 18–20 while the built-in ADX is still sleeping below 15. Conversely, when a trend dies, this version drops faster, so you’re not left holding a dead trade for an extra week.
The +DI and –DI lines are almost identical to the original, but lightly smoothed with a 5-period EMA (you can turn this off). This makes the DI crossovers cleaner and reduces whipsaws without adding meaningful lag.
The final ADX smoothing uses a lightweight Hull-style technique instead of Wilder’s very slow RMA. This is the main “secret sauce” that removes roughly half the lag while keeping the line smooth and readable.
Values are realistic and tradable.
With length 9 you will typically see:
– 0–18 = flat / chop
– 15–20 = emerging trend (background starts colouring)
– 20–50 = strong trend (most people take this as confirmation)
– above 50–60 only in very powerful moves (same as normal ADX)
The aqua / purple background only appears when both conditions are met: the correct DI is on top and Fast ADX is above your chosen “weak-to-trending” level (default 18).
This prevents the background from flashing on and off in sideways markets — exactly the same logic you liked in the original Trinity ADX, but now much earlier.
In very simple terms
Think of the normal built-in ADX as a diesel truck — reliable but slow to accelerate and slow to stop. Fast Responsive ADX with length 9 is the same truck with a turbocharger — same destination and same load capacity, but it gets up to speed twice as fast and brakes earlier when the road turns.
We would recommend people who switch to this version keep the (length 9–12) because the edge in timing is obvious on the chart.
That’s it — this is a new more responsive version, still-logical ADX!
SuperTrend Basit BY İNCEBACAK//@version=5
indicator("SuperTrend Basit v5", overlay=true)
// === Girdi ayarları ===
factor = input.float(3.0, "ATR Katsayısı")
atrPeriod = input.int(10, "ATR Periyodu")
// === Hesaplamalar ===
= ta.supertrend(factor, atrPeriod)
// === Çizim ===
bodyColor = direction == 1 ? color.new(color.lime, 0) : color.new(color.red, 0)
bgcolor(direction == 1 ? color.new(color.lime, 85) : color.new(color.red, 85))
plot(supertrend, color=bodyColor, linewidth=2, title="SuperTrend Çizgisi")
// === Al/Sat sinyali ===
buySignal = ta.crossover(close, supertrend)
sellSignal = ta.crossunder(close, supertrend)
plotshape(buySignal, title="AL", location=location.belowbar, color=color.lime, style=shape.triangleup, size=size.small, text="AL")
plotshape(sellSignal, title="SAT", location=location.abovebar, color=color.red, style=shape.triangledown, size=size.small, text="SAT")
ATR% Multiple from MA (with QQQ Reference)ATR% Multiple from MA (with QQQ Reference)
This indicator measures how extended a stock's price is from its moving average, normalized by volatility (ATR). It's useful for identifying overbought/oversold conditions and timing profit-taking.
How it works:
ATR% = ATR / Current Price (volatility as % of price)
% Gain From MA = How far price is from the moving average
ATR% Multiple From MA = % Gain From MA ÷ ATR%
Features:
Displays ATR% Multiple for the current symbol
Adds QQQ ATR% Multiple as a market benchmark reference
Shows % Gain From MA and ATR % for additional context
Customizable MA type (SMA, EMA, WMA, VWMA) and lengths
Usage:
Values of 7-10+ suggest taking partial profits (price is extended)
Negative values suggest oversold conditions
Compare your stock's extension to QQQ to gauge relative strength
Inspired by jfsrev's original ATR% Multiple from 50-MA concept, with added QQQ market reference:
MSTR mNAV indicatorTrack and compute MicroStrategy's mNAV (EV divided by BTC reserve value) over time.
- compute method: www.strategy.com
- data source: www.strategy.com






















