OPEN-SOURCE SCRIPT

WoAlgo x DBG v3 Premium

171
**WoAlgo x DBG v3 Premium - Breakout & Trailing System**

## Overview

WoAlgo x DBG v3 Premium is a comprehensive trading indicator that combines breakout detection, EMA crossover signals, and an intelligent trailing stop mechanism. This indicator is designed to identify potential entry points and manage trades with dynamic exit strategies.

## How It Works


The indicator operates using a multi-component approach:

**Entry Mechanism (3 Modes)**

1. **Breakout Mode**: Detects when price breaks above recent highs or below recent lows, simulating pending stop orders
2. **EMA Cross Mode**: Generates signals based on fast/slow EMA crossovers (default: 10/21)
3. **Both Mode**: Combines breakout and EMA signals for confluence-based entries

**Trailing Stop System**

The core feature of this indicator is its trailing stop mechanism:
- Activates when trade reaches minimum profit threshold (default: 0.6 points)
- Moves stop loss progressively as price moves favorably (default step: 0.2 points)
- Locks in profits while allowing trades to capture extended moves
- Provides dynamic exit rather than fixed take profit only

**Time Filter**


- Customizable trading window with timezone conversion
- Day-of-week filters to avoid specific trading days
- Automatic pending order cancellation outside trading hours

## Key Features


- **Non-Repainting Signals**: All signals confirmed on bar close only
- **Real-Time Dashboard**: Displays win rate, profit factor, trade statistics, and exit type breakdown
- **Visual Trade Management**: Shows entry, TP, SL, and trailing stop levels on chart
- **Pending Zone Visualization**: Displays potential breakout trigger levels
- **Comprehensive Alerts**: Separate alerts for entries, TP hits, SL hits

## Parameters

| Parameter | Default | Description |
|-----------|---------|-------------|
| Entry Mode | Breakout | Signal generation method |
| Breakout Period | 1 | Candles for high/low calculation |
| Breakout Buffer | 0.3 | Distance from high/low for pending |
| Fast EMA | 10 | Fast moving average period |
| Slow EMA | 21 | Slow moving average period |
| Take Profit | 5.0 | Points for TP level |
| Stop Loss | 8.0 | Points for SL level |
| Trail Start | 0.6 | Minimum profit to activate trailing |
| Trail Step | 0.2 | Trailing stop movement increment |

## How to Use

1. **Apply to Chart**: Add indicator to your preferred timeframe
2. **Configure Time Filter**: Set your trading session hours and timezone offset
3. **Monitor Signals**:
- Green triangle = potential long entry
- Red triangle = potential short entry
4. **Track Active Trades**: Dashboard shows current position status and statistics
5. **Review Performance**: Check win rate, profit factor, and exit type distribution

## Dashboard Statistics

The real-time dashboard displays:
- Total trades, wins, and losses
- Win rate percentage
- Profit factor calculation
- Exit type breakdown (TP / Trailing / SL hits)
- Net profit and maximum drawdown
- Current position status

## Best Practices

- **Timeframe Selection**: Test on multiple timeframes to find optimal settings for your trading style
- **Parameter Optimization**: Adjust TP/SL/Trailing parameters based on instrument volatility
- **Time Filter Usage**: Enable time filter to avoid low-liquidity periods
- **Confluence Approach**: Consider using "Both" entry mode for higher probability setups
- **Risk Management**: Always use position sizing appropriate to your account

## Limitations


- Indicator performance varies across different market conditions
- Historical statistics shown do not guarantee future results
- Backtest results may differ from live trading due to slippage and spread
- Works best on liquid markets with consistent price action

## Important Disclaimer


**This indicator is for educational and analytical purposes only.**

- This is not financial advice or a recommendation to trade
- Past performance does not guarantee future results
- Trading involves substantial risk of loss
- Always use proper risk management strategies
- Consider your financial situation and risk tolerance before trading
- Seek advice from qualified financial professionals if needed
If you find this indicator helpful for your analysis, please consider giving it a **Boost** (👍) to support future development and help other traders discover it.

For more trading tools, educational content, and indicator updates, feel free to **follow ionmarpie** on TradingView. Your support motivates continued improvement and new releases!

Happy trading and always manage your risk wisely! 📈

Aviso legal

As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.