Advanced Breakout System v2.0Advanced Breakout System v2.0
Developed by: Mohammed Bedaiwi
This script hunts for high-probability breakouts by combining price consolidation zones, volume spikes vs. average volume, smart money flow (OBV), and a Momentum Override for explosive moves that skip consolidation. Additionally, it automatically identifies and plots Support and Resistance levels with price labels to help you visualize market structure.
The system follows a "Watch & Confirm" logic: it first prints a WATCH setup, then a BUY only if price confirms strength.
💡 JUSTIFICATION OF CONCEPTS (MASHUP & ORIGINALITY)
This script is an original mashup combining several analytical concepts to address common breakout failures:
Volatility Compression Engine: Uses built-in functions like ta.highest() and ta.lowest() to mathematically define the setup phase where price volatility is compressed below a user-defined threshold.
Volume Spike Confirmation: The breakout must be confirmed by a volume increase greater than a moving average of volume, signaling strong market interest.
Smart Volume Filter (OBV): This is the key component. By checking if ta.obv is above its own Moving Average, we confirm that accumulation has been occurring during the consolidation period, suggesting institutional positioning before the price break.
Multi-Exit Risk System: Employs dynamic exits (EMA cross, volume dump, bearish pattern) instead of static stop-losses to manage risk adaptively based on real-time market action.
Market Structure Visualization: The script also includes a Support & Resistance engine to plot key swing pivots and price labels for visual context.
✅ STRATEGY RESULTS & POLICY COMPLIANCE
To ensure non-misleading and transparent backtesting results, this strategy is published with the following fully compliant properties:
Dataset Compliance: The backtest is performed on the CMTL Daily (1D) chart across a long history, generating 201 total trades. This significantly exceeds the minimum requirement of 100 trades, providing a robust test dataset.
Risk Control: The strategy uses a conservative order size set to 2% of equity (default_qty_value=2), strictly adhering to the sustainable risk recommendation of 5-10% of equity per trade.
Transaction Costs: Realistic trading conditions are modeled using 0.07% commission and 3 ticks slippage to prevent the overestimation of profitability.
⚙️ VISUAL GUIDE & SIGNAL LOGIC
Key Color Legend (Visual Guide):
WATCH – Setup (Yellow Arrow Down): Potential breakout setup detected.
BUY – Confirmation (Green Arrow Up): Confirmed breakout, triggered when price trades above the high of the WATCH candle.
SELL – Break (Orange Arrow): Short-term trend weakness, triggered when price closes below the Fast EMA (9).
SELL – Dump (Dark Red Arrow): Distribution / volume dump, triggered by a bearish candle with abnormally high volume.
SELL – Pattern (Purple Arrow): Bearish price-action pattern (such as a bearish engulfing).
Support & Resistance Lines (Red/Green): Small horizontal lines plotted at key swing points with exact price labels.
⌨️ INPUTS (DEFAULT SETTINGS)
Entry settings: Consolidation Lookback (default 20) = bars used to detect consolidation. Consolidation Range % (default 12%) = max allowed range size. Volume Spike Multiplier (default 1.2) = factor above average volume to count as a spike. Force Signal on Big Moves (default ON) = forces a WATCH signal on high-momentum moves.
Exit settings: Enable Fast Exit (EMA 9) toggles the SELL – Break signal. Dump Volume Multiplier defines what counts as “dump” volume.
Support & Resistance: Adjustable Pivot Left/Right bars control the sensitivity of the support and resistance lines.
⚠️ Disclaimer Trading involves significant risk of loss. This script is for educational and informational purposes only and is not financial advice or a recommendation to buy or sell any asset. BUY and SELL signals are rule-based and derived from historical behavior and do not guarantee future performance. Always use your own analysis and risk management. This is an open-source strategy; users are encouraged to test it across different symbols and timeframes.
トレンド分析
Exhaustion IndicatorThe ScalpSQZ indicator is designed to identify four critical market states using volatility structure, momentum behavior, and exhaustion conditions. It enhances scalping precision by visually marking transitions between consolidation, squeeze conditions, and momentum reversals through color-coded candles.
1. Squeeze Conditions (Orange Candles)
Orange candles highlight volatility compression, detected when Bollinger Bands contract inside the Keltner Channels. This structure signals that market volatility is tightening and a significant expansion move is likely to follow. The squeeze represents a pre-breakout environment and serves as the earliest warning of a potential directional shift.
2. Consolidation Conditions (Yellow Candles)
Yellow candles identify phases of low directional momentum. These conditions occur when RSI remains near neutral values, MACD histogram activity is minimal, and the Rate of Change stays muted. This combination indicates that the market is balanced and non-trending, often preceding a volatility spike or a new trend. Consolidation helps traders avoid low-probability entries during indecisive price action.
3. Momentum Exhaustion — Overbought Fade (White Candles)
White candles signal potential top-side exhaustion. This occurs when RSI enters overbought territory while the MACD histogram begins to weaken compared to the previous bar. This condition does not necessarily call a reversal but warns that bullish momentum is deteriorating and upside continuation may be limited. It is particularly useful for identifying trend fatigue and tightening stop-loss placement.
4. Momentum Exhaustion — Oversold Fade (Purple Candles)
Purple candles identify bottom-side exhaustion and appear when RSI reaches oversold levels, MACD momentum begins improving, and the current close shows buyer defense relative to the previous low. This condition suggests selling pressure is diminishing and a potential reversal or relief bounce may be forming. Purple candles serve as an early indication of bearish trend exhaustion.
Color Priority System
The indicator follows a fixed hierarchy to ensure clarity:
Squeeze (orange) has the highest priority, followed by consolidation (yellow). Exhaustion signals (white for tops, purple for bottoms) apply only when no squeeze or consolidation conditions are active. This structure ensures that the most critical market states are always highlighted first.
Purpose and Application
ScalpSQZ helps traders identify optimal environments for breakouts, anticipate trend exhaustion, and avoid low-quality trades during choppy or low-momentum conditions. It is suitable for scalping, day trading, and swing trading across any asset class or timeframe.
SPY PRO Day Trading(VWAP + EMAs + FVG + Liquidity + Levels)🚀 WHAT THE PRO VERSION INCLUDES
1. Full Trend System
9/21 EMA cloud
200 EMA trend filter
VWAP
2. Institutional Levels
Previous Day High/Low/Close
Pre-Market High/Low
3. Advanced Price Action Tools
Fair Value Gaps (FVG)
Liquidity Sweeps (stop hunts)
Auto Support/Resistance
Breakout zones
4. Trade Signals
CALL and PUT signals based on:
Trend
EMA bounce
VWAP confirmation
5. Alerts for everything
VCAI MACD LiteVCAI MACD Lite is a clean, modern version of the classic MACD oscillator, rebuilt with selectable EMA/SMA types and a 2-tone histogram using VCAI’s visual style.
It keeps the indicator lightweight and easy to read while giving clearer momentum shifts through rising/falling histogram colour changes.
What it does
Calculates MACD using your choice of EMA or SMA
Plots signal line and histogram with 2-tone VCAI colours
Highlights changes in momentum strength as histogram bars rise or fade
Works on any market and timeframe
How to use it
Expanding yellow bars reflect strengthening upside momentum; dim yellow shows fading strength.
Darker and lighter VCAI purple tones show momentum behaviour below zero, helping you see when bearish pressure is increasing or weakening.
Part of the VCAI Lite Series — clean, minimal tools.
MoneyLine CypherMoneyLine Cipher - Adaptive Trend-Following Signal System
MoneyLine Cipher decodes market structure by fusing multiple technical indicators into a unified signal system with intelligent threshold adaptation. The indicator automatically adjusts its sensitivity based on trend conditions, making it harder to buy in downtrends and harder to sell in uptrends - letting winners run while protecting capital during adverse conditions.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CORE COMPONENTS
The MoneyLine
The foundation is a 16-period linear regression line that serves as a dynamic mean. Price oscillates around this line, and the slope determines the visual color coding: green for bullish slope, red for bearish, yellow for neutral/flat conditions.
Grok Dynamic Bands
ATR-based envelope bands surround the MoneyLine. When ADX exceeds the threshold (default 22), the bands automatically widen using a multiplier that scales with trend strength. Base multiplier is 1.8x ATR, expanding up to 2.8x during strong trends. This prevents premature signals during powerful directional moves.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
TREND STATE ENGINE
MoneyLine Cipher classifies market conditions into five trend states using a combination of DI spread, ADX strength, and OBV confirmation.
The DI spread (Plus DI minus Minus DI) determines directional bias. When the spread exceeds +10 with ADX above 20 and bullish OBV confirmation, the market is classified as STRONG UPTREND. A spread between +5 and +10 indicates UPTREND. The reverse applies for downtrends. Spreads between -5 and +5 are NEUTRAL.
This trend state classification drives all dynamic threshold adjustments throughout the indicator.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
DYNAMIC THRESHOLDS
The key innovation of MoneyLine Cipher is that buy and sell thresholds adapt based on the current trend state.
Fisher Transform Thresholds
In a STRONG UPTREND, the Fisher buy threshold relaxes to -1.0 (easier to trigger) while the sell threshold tightens to 2.5 (harder to trigger). This lets you accumulate during strength and hold winners longer. In a STRONG DOWNTREND, the opposite occurs: buy threshold tightens to -2.5 (requiring extreme oversold) while sell threshold relaxes to 1.0 (quick exits). NEUTRAL conditions use base thresholds of -1.8 for buys and 1.8 for sells.
Aroon Thresholds
Aroon Up and Aroon Down thresholds follow the same adaptive logic. During uptrends, buy conditions become easier to meet while sell conditions become stricter. During downtrends, the system becomes defensive - demanding stronger oversold readings before allowing buys.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
SIGNAL GENERATION
Buy signals trigger when Fisher is below the dynamic buy threshold AND Aroon conditions are met, OR when price touches the lower band. Sell signals trigger when Fisher exceeds the dynamic sell threshold AND Aroon conditions are met, OR when price touches the upper band.
Signals are displayed as labels showing the entry price and buy count (e.g., "BUY 2/3: 89,450.00").
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CASCADE PROTECTION SYSTEM
Two layers of protection prevent catastrophic drawdowns during volatile conditions.
BBWP Freeze
Bollinger Band Width Percentile measures volatility expansion relative to recent history. When BBWP exceeds 92%, ALL buy signals are frozen. This prevents averaging down during volatility spikes that often precede major crashes. The info panel displays BBWP status with OK (green) or FROZEN (red).
Consecutive Buy Limit
The system tracks how many buys have occurred without an intervening sell. Default maximum is 3 consecutive buys. Once reached, additional buys are blocked until a sell resets the counter. This prevents unlimited averaging down into a falling knife. The info panel shows the current count (e.g., "2/3").
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
EXTREME MOVE DETECTION
When price penetrates beyond the bands by more than 0.6x ATR (configurable), an EXTREME signal fires. These signals have special properties.
Extreme signals can bypass the normal cooldown period, allowing rapid response to flash crashes or spikes. They can optionally bypass the BBWP freeze (though the consecutive buy counter still applies). Extreme signals fire intra-bar when the threshold is hit, catching wick reversals before candle close.
EXTREME BUY labels appear in cyan. EXTREME SELL labels appear in fuchsia.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
RSI DIVERGENCE DETECTION
The indicator automatically detects four types of RSI divergence.
Regular Bullish Divergence occurs when price makes a lower low but RSI makes a higher low - suggesting weakening selling pressure and potential reversal up.
Hidden Bullish Divergence occurs when price makes a higher low but RSI makes a lower low - suggesting trend continuation in an uptrend.
Regular Bearish Divergence occurs when price makes a higher high but RSI makes a lower high - suggesting weakening buying pressure and potential reversal down.
Hidden Bearish Divergence occurs when price makes a lower high but RSI makes a higher high - suggesting trend continuation in a downtrend.
Divergences are marked with small diamond shapes: cyan for regular divergences, purple for hidden divergences. Optional lines connect the pivot points on the price chart.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
COOLDOWN SYSTEM
After any signal fires, a configurable cooldown period (default 5 bars) prevents signal spam. This can be configured to apply after buys only, sells only, or both. Extreme signals can optionally bypass cooldown for rapid response to major moves.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
VISUAL ELEMENTS
ADX Bar
A colored dot at the bottom of each candle indicates trend state. Lime for STRONG UPTREND, blue for UPTREND, orange for NEUTRAL, red for DOWNTREND, maroon for STRONG DOWNTREND, and white for RANGING (ADX below 15). All colors are configurable.
Signal Candles
When a buy or sell signal fires, the candle turns bright blue for easy identification.
Info Panel
A compact panel in the top-right displays real-time status: current trend state, divergence detection, BBWP percentage and status, buy counter, ADX reading, Aroon values, Fisher value, cooldown status, and current dynamic thresholds for both buy and sell.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
WEBHOOK ALERTS
MoneyLine Cipher outputs JSON-formatted webhook alerts compatible with automated trading systems. Each alert includes action (BUY/SELL), symbol, price, trigger type (INDICATOR, BAND_TOUCH, EXTREME, or EXTREME_INTRABAR), current trend state, consecutive buy count, and BBWP reading.
Separate alert conditions are available for regular buys, regular sells, extreme buys, extreme sells, BBWP freeze activation, BBWP unfreeze, and max consecutive buys reached.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
RECOMMENDED SETTINGS
The default settings are optimized for 5-minute cryptocurrency charts. Key adjustable parameters include Money Line Length (16), Base ATR Multiplier (1.8), Max Multiplier for strong trends (2.8), ADX threshold for band expansion (22), minimum ADX for strong trend classification (20), BBWP freeze level (92%), maximum consecutive buys (3), cooldown period (5 bars), and extreme penetration threshold (0.6x ATR).
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
PHILOSOPHY
MoneyLine Cipher embodies a core trading principle: be aggressive when conditions favor you, defensive when they don't. By automatically adapting thresholds based on trend state and implementing multiple layers of capital protection, the indicator helps traders stay on the right side of the market while avoiding the common pitfalls of averaging down into crashes or selling too early in strong trends.
The name "Cipher" reflects the indicator's purpose: decoding the complex interplay of price, momentum, trend, and volatility into clear, actionable signals.
Trend Following $ZEC - Multi-Timeframe Structure Filter + Revers# Trend Following CRYPTOCAP:ZEC - Strategy Guide
## 📊 Strategy Overview
Trend Following CRYPTOCAP:ZEC is an enhanced Turtle Trading system designed for cryptocurrency spot trading, combining Donchian Channel breakouts, multi-timeframe structure filtering, and ATR-based dynamic risk management for both long and short positions.
---
## 🎯 Core Features
1. Multi-Timeframe Structure Filtering
- Uses Swing High/Low to identify market structure
- Customizable structure timeframe (default: 1 minute)
- Only enters trades in the direction of the trend, avoiding counter-trend positions
2. Reverse Signal Exit
- No fixed stop-loss or fixed-period exits
- Exits only when a reverse entry signal triggers
- Maximizes trend profits, reduces premature exits
3. ATR Dynamic Pyramiding
- Adds positions when price moves 0.5 ATR in favorable direction
- Supports up to 2 units maximum (adjustable)
- Pyramid scaling to enhance profitability
4. Complete Risk Management
- Fixed position size (5000 USD per unit)
- Commission fee 0.06% (Binance spot rate)
- Initial capital 10,000 USD
---
## 📈 Trading Logic
Entry Conditions
✅ Long Entry:
- Close price breaks above 20-period high
- Structure trend is bullish (price breaks above Swing High)
✅ Short Entry:
- Close price breaks below 20-period low
- Structure trend is bearish (price breaks below Swing Low)
Add Position Conditions
- Long: Price rises ≥ 0.5 ATR
- Short: Price falls ≥ 0.5 ATR
- Maximum 2 units including initial entry
Exit Conditions
- Long Exit: When short entry signal triggers (price breaks 20-period low + structure turns bearish)
- Short Exit: When long entry signal triggers (price breaks 20-period high + structure turns bullish)
---
## ⚙️ Parameter Settings
Channel Settings
- Entry Channel Period: 20 (Donchian Channel breakout period)
- Exit Channel Period: 10 (reserved parameter, actually uses reverse signal exit)
ATR Settings
- ATR Period: 20
- Stop Loss ATR Multiplier: 2.0 (reserved parameter)
- Add Position ATR Multiplier: 0.5
Structure Filter
- Swing Length: 160 (Swing High/Low calculation period)
- Structure Timeframe: 1 minute (can change to 5/15/60, etc.)
Position Management
- Maximum Units: 2 (including initial entry)
- Capital Per Unit: 5000 USD
---
## 🎨 Visualization Features
Background Colors
- Light Green: Bullish structure
- Light Red: Bearish structure
- Dark Green: Long entry
- Dark Red: Short entry
Optional Display (Default: OFF)
- Entry/exit channel lines
- Structure high/low lines
- ATR stop-loss line
- Next add position indicator
- Entry/exit labels
---
## 📱 Alert Message Format
Strategy sends notifications on entry/exit with the following format:
- Entry: `1m Long EP:428.26`
- Add Position: `15m Add Long 2/2 EP:429.50`
- Exit: `1m Close Long Reverse Signal`
Where:
- `1m`/`15m` = Current chart timeframe
- `EP` = Entry Price
---
## 💰 Backtest Settings
Capital Allocation
- Initial Capital: 10,000 USD
- Per Entry: 5,000 USD (split into 2 entries)
- Leverage: 0x (spot trading)
Trading Costs
- Commission: 0.06% (Binance spot VIP0)
- Slippage: 0
---
## 🎯 Use Cases
✅ Best Scenarios
- Trending markets
- Moderate volatility assets
- 1-minute to 4-hour timeframes
⚠️ Not Suitable For
- Highly volatile choppy markets
- Low liquidity small-cap coins
- Extreme market conditions (black swan events)
---
## 📊 Usage Recommendations
Timeframe Suggestions
| Timeframe | Trading Style | Suggested Parameter Adjustment |
|-----------|--------------|-------------------------------|
| 1-5 min | Scalping | Swing Length 100-160 |
| 15-30 min | Short-term | Swing Length 50-100 |
| 1-4 hour | Swing Trading | Swing Length 20-50 |
Optimization Tips
1. Adjust swing length based on backtest results
2. Different coins may require different parameters
3. Recommend backtesting on 1-minute chart first before live trading
4. Enable labels to observe entry/exit points
---
## ⚠️ Risk Disclaimer
1. Past Performance Does Not Guarantee Future Results
- Backtest data is for reference only
- Live trading may be affected by slippage, delays, etc.
2. Market Condition Changes
- Strategy performs better in trending markets
- May experience frequent stops in ranging markets
3. Capital Management
- Do not invest more than you can afford to lose
- Recommend setting total capital stop-loss threshold
4. Commission Impact
- Frequent trading accumulates commission fees
- Recommend using exchange discounts (BNB fee reduction, etc.)
---
## 🔧 Troubleshooting
Q: No entry signals?
A: Check if structure filter is too strict, adjust swing length or timeframe
Q: Too many labels displayed?
A: Turn off "Show Labels" option in settings
Q: Poor backtest performance?
A:
1. Check if the coin is suitable for trend-following strategies
2. Adjust parameters (swing length, channel period)
3. Try different timeframes
Q: How to set alerts?
A:
1. Click "Alert" in top-right corner of chart
2. Condition: Select "Strategy - Trend Following CRYPTOCAP:ZEC "
3. Choose "Order filled"
4. Set notification method (Webhook/Email/App)
---
## 📞 Contact Information
Strategy Name: Trend Following CRYPTOCAP:ZEC
Version: v1.0
Pine Script Version: v6
Last Updated: December 2025
---
## 📄 Copyright Notice
This strategy is for educational and research purposes only.
All risks of using this strategy for live trading are borne by the user.
Commercial use without authorization is prohibited.
---
## 🎓 Learning Resources
To understand the strategy principles in depth, recommended reading:
- "The Complete TurtleTrader" - Curtis Faith
- "Trend Following" - Michael Covel
- TradingView Pine Script Official Documentation
---
Happy Trading! Remember to manage your risk 📈
LL-HL PivotThis indicator scans for the bullish structure known as a Higher Low (HL) across multiple lengths simultaneously, automatically selects the most suitable pattern, and plots it on the chart.
Below is a detailed explanation of how it works.
1. Basic Calculation Method (Definition of LL and HL)
This indicator is built on TradingView’s ta.pivotlow function.
Detecting Pivot Lows
For a given length, a Pivot Low is identified as the lowest point among the candles within the specified range to the left and right.
LL and HL Determination
LL (Lowest Low): The most recent Pivot Low is treated as the previous low.
HL (Higher Low): When a new Pivot Low forms above the previous LL, it is recognized as an HL, and the setup is considered “complete.”
Identifying the Pivot Line
During the LL–HL structure, the highest high between them is identified and used as the breakout level (Pivot Line / resistance), where a horizontal line is drawn.
2. Multi-Length Scanning
Unlike standard indicators that use only one length (e.g., Length = 5), this indicator evaluates a full range of lengths.
Min Length to Max Length
Example: Min = 2, Max = 10
Internally, it functions as if nine separate indicators (Length 2, 3, 4 … 10) are running simultaneously.
This allows the indicator to capture:
Small waves (short-term pullbacks)
Larger waves (broader structural moves)
3. Priority Mode System
Because multiple lengths are calculated at the same time, different LL–HL patterns may appear simultaneously.Priority Mode determines which setup is selected and displayed.
A. Lowest LH
Selects the pattern with the lowest pivot line (intermediate high).
Advantages:
Produces the lowest possible entry price
B. Longest Length
Selects the pattern with the longest length.
Advantages:
Focuses on larger structures and broader waves
Filters out noise
C. Shortest Length
Selects the pattern with the shortest length.
Advantages:
Reacts quickly to small moves
Useful for scalping or fast trend-following
Captures very short-term pullbacks
4. Additional Behavior and Features
Real-Time Invalidation
If price breaks below the confirmed HL, the structure is immediately considered invalid.
All previously drawn lines and labels are removed instantly, preventing outdated structures from remaining on the chart.
Pivot Line Extension
As long as the HL remains intact, the Pivot Line (breakout level) continues extending to the right.
Alerts
An alert can be triggered the moment price breaks above the Pivot Line on a closing basis.
2 Dip/Tepe + Destek/Direnç + Tek Sinyal Stratejisi⭐ A Brief Summary of What the Strategy Does
🎯 1) Market analysis is being released (bottom-top analysis)
It automatically finds pivot bottoms and pivot tops on the strategic chart. Then:
If the bottoms are rising (HL – High Low): the trend is upward
If the tops are falling (LH – Lower High): the trend is downward
it interprets this.
🎯 2) Support and resistance lines are formed
Last pivot top = resistance line
Last pivot bottom = support line
These lines are automatically drawn on the chart.
🎯 3) Breakout is expected according to the trend structure
For LONG:
The last two bottoms will be rising bottoms
The price will rise above the last resistance line
This gives a single LONG signal.
For SHORT:
The last two peaks will be falling peaks
The price will fall below the support line
This gives a single SHORT signal.
Enhanced ONH / ONL Auto Levels (Fixed Alerts)This script automatically identifies and plots the Overnight High (ONH) and Overnight Low (ONL)—two of the most important liquidity levels for intraday futures and index traders.
The indicator scans the entire overnight session (default: 18:00–09:30 EST for ES) and records the highest wick and lowest wick formed during Globex. These levels are then projected into the regular trading session, giving traders clear reference points for potential reversals, breakouts, liquidity grabs, and high-probability retest setups.
ONH/ONL levels act as magnet zones, liquidity pockets, and institutional decision points—commonly targeted during the opening drive and London/New York overlap. Whether price sweeps, reclaims, or breaks these levels, the reaction often creates reliable trade opportunities for scalpers and day traders.
Adaptive Volatility Stop by Pedro Paulo de MeloStop ATR is a clean and reliable volatility-based trailing stop system, built to adapt dynamically to market conditions using the Average True Range (ATR).
It identifies trend direction, adjusts the stop level using stair-step logic, and automatically flips the stop when price reversals occur.
How it works
Uses ATR × Multiplier to calculate an adaptive volatility buffer
Tracks trend direction internally
Recomputes and repositions the stop when a trend flip is detected
Plots separate lines for bullish and bearish stop states
Works on any market and timeframe (crypto, forex, commodities, indices, stocks)
Why it’s useful
This Stop ATR implementation is extremely stable and visually clean.
It is particularly effective for:
Trend following
Position management
Swing and position trading
Systematic stop placement
Unlike many ATR-based stop versions, this script uses a corrected flip-handling method that prevents stop misalignment and ensures consistent trend state tracking.
Inputs
Period — ATR length
Multiplier — ATR factor that defines stop distance
Author
Developed by Pedro Paulo de Melo, open-source version.
Fanfans结构加强vwap版 + 极简系统### 中英文双语总结(300字内)
中文:该指标整合Fanfans结构、动态摆动VWAP、高斯GWMA、MACD及极简交易系统,支持趋势过滤(可选GWMA/VWAP/结构维度)、多离场模式(ATR止盈止损/GWMA离场/混合)与移动止损。具备多空信号标注、止损止盈线绘制、多维度共振警报,图表信息面板实时展示结构/VWAP/GWMA/MACD状态,可自定义过滤规则、显示样式及交易参数,适配短周期交易,兼顾趋势判断与信号执行的灵活性。
English: This indicator integrates Fanfans structure, dynamic swing VWAP, Gaussian GWMA, MACD and a simple trading system. It supports trend filtering (GWMA/VWAP/structure optional), multiple exit modes (ATR SL/TP, GWMA exit, hybrid) and trailing stop. Featuring long/short signal labeling, SL/TP line drawing, multi-dimensional resonance alerts, its chart info panel displays real-time status of structure/VWAP/GWMA/MACD. Customizable filter rules, display styles and trading parameters make it suitable for short-term trading, balancing trend judgment and signal execution flexibility.
VCAI RSI Divergence +VCAI RSI Divergence+ is an RSI that shows trend, momentum, and divergence using V-CoresAI colour logic instead of a single white line.
What it shows:
Yellow RSI line → bullish momentum (RSI above its MA; buy-side pressure in control)
Purple RSI line → bearish momentum (RSI below its MA; sell-side pressure in control)
Thin blue line → fast RSI moving average that drives the colour flips
Dashed 70/30 lines → classic OB/OS zones
Background bands → soft purple in OB, soft yellow in OS to mark exhaustion areas
How to read it:
Yellow & rising → momentum shifting bullish; pullbacks into yellow OS band can be accumulation zones
Purple & falling → momentum shifting bearish; pushes into purple OB band can be distribution/sell zones
Hard colour flips (yellow ↔ purple) mark trend regime changes, not minor RSI noise
Divergence mode (on/off)
The divergence engine scans RSI and price pivot structure:
Bullish divergence (yellow) → price lower low + RSI higher low
Bearish divergence (purple) → price higher high + RSI lower high
Lines and tags appear only where a meaningful disagreement between price and RSI exists, giving early context for potential reversals or fade setups.
Together, the momentum colours + optional divergence mapping give a far clearer market read than a standard RSI, with zero clutter and no guesswork.
DR/IDR fractals break candle (ChadAnt)This indicator is an Opening Range Breakout (ORB) tool. It identifies the high and low price range established during a specific time window (e.g., the first hour of trading, 9:30–10:30 AM NY time). Once that time window closes, it watches for the price to "break out" of that range and projects profit targets based on the size of the initial range.
Key Features & How They Work
1. The Opening Range (The Box)
Time Window: The indicator waits for your specific start time (default 9:30 AM NY). It does not draw anything before this time.
The "Wicks": It tracks the absolute highest and lowest prices reached during this time (the Wicks). These act as your Breakout Triggers.
The "Body": It tracks the highest and lowest candle closes/opens during this time. This creates a shaded "zone" on your chart, representing the core area where most trading occurred.
Shading: To keep your chart clean, the background shading only appears during the forming time window.
2. Breakout Signals
Once the time window ends (e.g., 10:30 AM), the indicator "locks" the levels.
It then waits for a candle to move above the Wick High or below the Wick Low.
The Signal: When this happens, a label ("BREAK") appears on the chart.
Green Label: Bullish breakout (price went above the range).
Red Label: Bearish breakout (price went below the range).
Note: It only signals the first breakout of the day to avoid false alarms during choppy markets.
3. Extension Targets (Profit Levels)
When a breakout signal occurs, the indicator automatically draws target lines (extensions).
Calculation: These targets are based on the height of the "Body" zone (the shaded area).
Example: If your setting is 1.0, the indicator measures the height of the shaded body range and projects that exact distance above the breakout point. This is often used as a "Measured Move" target.
You can customize how many lines appear and how far apart they are (e.g., 0.5, 1.0, 1.5 times the range size).
4. Williams Fractals
During the opening range time, the indicator looks for specific price patterns called "Williams Fractals" (a 5-candle pattern that highlights potential turning points).
If a fractal peak or valley occurs inside your opening range, it marks it with a small triangle (▲ or ▼). Traders often use these as early signs of support or resistance forming inside the range.
5. Clean Visuals
Line Cutoff: You can set a "Stop Time" (e.g., 16:00 or 4:00 PM). The lines will stop drawing at that time so they don't clutter your chart overnight.
Gap Handling: The lines are programmed to break cleanly between days, so you don't see messy diagonal lines connecting yesterday's close to today's open.
Summary of Settings You Can Change
Session Time: When the range starts and ends.
Line Stop Time: When the lines should disappear for the day.
Visuals: Colors, line width, and style (solid, dotted, dashed).
Extensions: How many target lines to draw and the step size (e.g., 0.5x, 1.0x).
Fractals: Toggle the triangle icons on/off.
Daily Tracker Highs LowsSolid lines mark the most recent daily highs/lows that have not been crossed yet (you choose how many per side).
Dashed lines mark daily highs/lows from the last N days that have been crossed since—use as secondary S/R or “magnet” levels.
White lines show today’s high/low updating in real time.
Tune settings to pick how many uncrossed levels per side (1–10), the lookback window for crossed levels, and an optional cap per side.
TrendPeriodsThis indicator is binary. It is either BUY or SELL. In other word the value is either 0 or 1
Triple Moving Average's EMA/SMAThis Pine Script in its final v5 version is a fundamental visual tool that supports traders in quickly identifying the trend and sentiment.
Key Script Goal
This script's primary objective is flexible multi-timeframe analysis of the trend.
The script serves as a universal set of three independent moving averages, which is intended to help you with the visual assessment of the market context:
EMA (20 periods): Serves as dynamic support/resistance for short-term sentiment. It is highly sensitive to recent price action.
SMA1 (50 periods): Typically acts as a medium-term trend indicator. It is often used to identify corrections.
SMA2 (100 periods): Provides a long-term perspective. Its slope and position relative to the price indicate the dominant structural trend.
The script is a base for every trader who relies on technical analysis and Price Action, utilizing moving averages as dynamic S/R levels.
EMA 9/18/50 Crossover Alert By PRIGood for equity. When this crossover happen you may go long with sl keeping low of previous candle. Cautios in sideways market.
Auto Trend Lines Auto Trend Lines — Dynamic Market Trend Detection
This script automatically detects and plots key trend lines on your chart, helping traders quickly visualize market trend without manually drawing trend lines. It identifies swing highs and lows, filters noise, and dynamically updates trend lines as new price data forms—making it useful for both discretionary and systematic traders.
Features
Automatic Trend Line Detection
Finds meaningful support and resistance trend lines based on swing points and price structure.
Dynamic Updating
Trend lines adjust as new highs/lows form, keeping the chart aligned with real-time market conditions.
Noise Filtering
Built-in filtering logic reduces false trend lines by focusing on significant pivots rather than minor fluctuations.
Multi-Timeframe Friendly
Works across all chart timeframes, from scalping to swing trading.
Clean, Minimalist Visuals
Designed to enhance your chart without clutter—ideal for traders who want clarity.
How to Use
1. Add the script to any chart.
2, Let the auto-trend system highlight major market directions.
3, Combine trend lines with your preferred indicators or price action techniques for stronger confluence.
Best For
1. Trend-following traders
2. Price-action enthusiasts
3. Support/resistance based strategies
4. Beginners who want automatic structure detection
5. Advanced traders who want a quick visual validation tool
Disclaimer
This tool is for educational and analytical purposes only. It should not be considered financial advice or used as a standalone trading system. Always confirm signals with your own analysis and risk management.
FVG with Fibonacci Levels [MHA Finverse]FVG with Fibonacci Levels - Professional Fair Value Gap Indicator
This advanced Fair Value Gap (FVG) indicator automatically identifies and tracks market imbalances with integrated Fibonacci retracement levels, providing traders with precise entry and exit opportunities.
Key Features:
Smart Gap Detection
• Automatically identifies bullish and bearish fair value gaps in real-time
• Customizable minimum gap percentage filter to avoid noise
• Visual color-coded boxes for easy identification
Fibonacci Integration
• Built-in 0.5 and 0.618 Fibonacci retracement levels
• Fully customizable fib levels, colors, and line styles
• Helps identify optimal entry zones within each gap
Intelligent Gap Management
• Tracks multiple gaps simultaneously (up to 20)
• Automatic gap mitigation detection (Close or Wicks)
• Option to remove or highlight filled gaps
• Auto-hide boxes after specified bar count
Advanced Alert System
• Alerts when gaps are filled
• Fibonacci level touch alerts for both 0.5 and 0.618 levels
• Separate alerts for bullish and bearish setups
• Customizable alert preferences
Clean Visual Display
• Transparent boxes that don't clutter your chart
• Extending lines that update in real-time
• Customizable colors for both bullish and bearish gaps
• Option to change border style when gaps are filled
Perfect For:
Smart Money Concepts (SMC) traders, Price Action traders, and anyone looking to trade market structure and liquidity gaps with precision.
How to Use:
The indicator draws boxes around identified fair value gaps and extends them forward until they are filled. Fibonacci levels within each gap provide optimal entry zones. Set up alerts to get notified when price interacts with these key levels.
Credits
Special thanks to Quant Vue for their code examples and inspiration that contributed to the development of this indicator.
Disclaimer:
This indicator is for educational and informational purposes only. It does not constitute financial advice. Trading involves substantial risk of loss. Always conduct your own research and consider your risk tolerance before making any trading decisions. Past performance does not guarantee future results.
ATR Stop Loss Finder (Strict Breakout Mode)Title: ATR Stop Loss Finder (Strict Breakout Mode)
Description:
Volatility-Based Risk Management: Generates dynamic trailing stop-loss lines for both Long (Lower Line) and Short (Upper Line) positions based on ATR volatility.
Strict Breakout Detection: Features a unique "Strict Breakout" logic that highlights trend acceleration. It visually marks whenever the Long SL breaks a historical high or the Short SL breaks a historical low over a user-defined lookback period (e.g., 50 bars).
Visual Signals: Automatically plots Red Circles for bullish SL breakouts (New Highs) and Blue Circles for bearish SL breakdowns (New Lows), making strong momentum shifts easy to spot.
Real-Time Dashboard: Includes an informative table displaying current ATR and SL price levels for quick reference.
GLI / Asset Structural Trend RatioBasicly I asked AI to create a GLI to Asset trend ratio indicator.
Volatility Trend FollowerThe script combines several classic technical analysis techniques:
SuperTrend / Adaptive Band - The main idea comes from the SuperTrend indicator, which uses ATR (Average True Range) to create a trailing band that adapts to volatility
ATR (Average True Range) - A volatility measure developed by J. Welles Wilder Jr.
EMA (Exponential Moving Average) - Used as a global trend filter
Heikin Ashi - An option to smooth prices and reduce noise
Trend Following $BTC - Multi-Timeframe Structure + ReversTREND FOLLOWING STRATEGY - MULTI-TIMEFRAME STRUCTURE BREAKOUT SYSTEM
Strategy Overview
This is an enhanced Turtle Trading system designed for cryptocurrency spot trading. It combines Donchian Channel breakouts with multi-timeframe structure filtering and ATR-based dynamic risk management. The strategy trades both long and short positions using reverse signal exits to maximize trend capture.
Core Features
Multi-Timeframe Structure Filtering
The strategy uses Swing High/Low analysis to identify market structure trends. You can customize the structure timeframe (default: 3 minutes) to match your trading style. Only enters trades aligned with the identified trend direction, avoiding counter-trend positions that often lead to losses.
Reverse Signal Exit System
Instead of using fixed stop-losses or time-based exits, this strategy exits positions only when a reverse entry signal triggers. This approach maximizes trend profits and reduces premature exits during normal market retracements.
ATR Dynamic Pyramiding
Automatically adds positions when price moves 0.5 ATR in your favor. Supports up to 2 units maximum (adjustable). This pyramid scaling enhances profitability during strong trends while maintaining disciplined risk management.
Complete Risk Management
Fixed position sizing at 5000 USD per unit. Includes realistic commission fees of 0.06% (Binance spot rate). Initial capital set at 10,000 USD. All backtest parameters reflect real-world trading conditions.
Trading Logic
Entry Conditions
Long Entry: Close price breaks above the 20-period high AND structure trend is bullish (price breaks above Swing High)
Short Entry: Close price breaks below the 20-period low AND structure trend is bearish (price breaks below Swing Low)
Position Scaling
Long positions: Add when price rises 0.5 ATR or more
Short positions: Add when price falls 0.5 ATR or more
Maximum 2 units including initial entry
Exit Conditions
Long Exit: Triggers when short entry signal appears (price breaks 20-period low + structure turns bearish)
Short Exit: Triggers when long entry signal appears (price breaks 20-period high + structure turns bullish)
Default Parameters
Channel Settings
Entry Channel Period: 20 (Donchian Channel breakout period)
Exit Channel Period: 10 (reserved parameter)
ATR Settings
ATR Period: 20
Stop Loss ATR Multiplier: 2.0
Add Position ATR Multiplier: 0.5
Structure Filter
Swing Length: 300 (Swing High/Low calculation period)
Structure Timeframe: 3 minutes
Adjust these based on your trading timeframe and asset volatility
Position Management
Maximum Units: 2 (including initial entry)
Capital Per Unit: 5000 USD
Visualization Features
Background Colors
Light Green: Bullish market structure
Light Red: Bearish market structure
Dark Green: Long position entry
Dark Red: Short position entry
Optional Display Elements (Default: OFF)
Entry and exit channel lines
Structure high/low reference lines
ATR stop-loss indicator
Next position add level
Entry/exit labels
Alert Message Format
The strategy sends notifications with the following format:
Entry: "5m Long EP:90450.50"
Add Position: "15m Add Long 2/2 EP:91000.25"
Exit: "5m Close Long Reverse Signal"
Where the first part shows your current chart timeframe and EP indicates Entry Price
Backtest Settings
Capital Allocation
Initial Capital: 10,000 USD
Per Entry: 5,000 USD (split into 2 potential entries)
Leverage: 0x (spot trading only)
Trading Costs
Commission: 0.06% (Binance spot VIP0 rate)
Slippage: 0 (adjust based on your experience)
Best Use Cases
Ideal Scenarios
Trending markets with clear directional movement
Moderate to high volatility assets
Timeframes from 1-minute to 4-hour charts
Best suited for major cryptocurrencies with good liquidity
Not Recommended For
Highly volatile choppy/ranging markets
Low liquidity small-cap coins
Extreme market conditions or black swan events
Usage Recommendations
Timeframe Guidelines
1-5 minute charts: Use for scalping, consider Swing Length 100-160
15-30 minute charts: Good for short-term trading, Swing Length 50-100
1-4 hour charts: Suitable for swing trading, Swing Length 20-50
Optimization Tips
Always backtest on historical data before live trading
Adjust swing length based on asset volatility and your timeframe
Different cryptocurrencies may require different parameter settings
Enable visualization options initially to understand entry/exit points
Monitor win rate and drawdown during backtesting
Technical Details
Built on Pine Script v6
No repainting - uses proper bar referencing with offset
Prevents lookahead bias with lookahead=off parameter
Strategy mode with accurate commission and slippage modeling
Multi-timeframe security function for structure analysis
Proper position state tracking to avoid duplicate signals
Risk Disclaimer
This strategy is provided for educational and research purposes only. Past performance does not guarantee future results. Backtesting results may differ from live trading due to slippage, execution delays, and changing market conditions. The strategy performs best in trending markets and may experience drawdowns during ranging conditions. Always practice proper risk management and never risk more than you can afford to lose. It is recommended to paper trade first and start with small position sizes when going live.
How to Use
Add the strategy to your TradingView chart
Select your desired timeframe (1m to 4h recommended)
Adjust parameters based on your risk tolerance and trading style
Review backtest results in the Strategy Tester tab
Set up alerts for automated notifications
Consider paper trading before risking real capital
Tags
Trend Following, Turtle Trading, Donchian Channel, Structure Breakout, ATR, Cryptocurrency, Spot Trading, Risk Management, Pyramiding, Multi-Timeframe Analysis
---
Strategy Name: Trend Following BTC
Version: v1.0
Pine Script Version: v6
Last Updated: December 2025






















