Trendline Breakout EA
- Experts
- Paballo Justice Tsoako
- Versione: 1.0
- Attivazioni: 8
TB EA – Trendline Breakout Expert Advisor
Overview
TB EA 1.0 is a professional-grade automated trading system that detects and executes trades based on trendline breakouts using a "body break" confirmation methodology. The EA intelligently distinguishes between support and resistance trendlines, executing BUY orders on resistance breakouts and SELL orders on support breakouts. It works seamlessly on Forex pairs and CFD Indices.
Input Parameters
| Group | Parameters |
|---|---|
| Risk Management | Fixed Lot Size, Max Drawdown %, Max Daily Loss %, Daily Profit Target, Close on Drawdown, Close Only Losers |
| Trade Management | Max Positions Per Setup, Max Positions Per Day, Slippage Range, Max Spread, Magic Number |
| ATR Settings | ATR Period, Min/Max ATR Filter, SL Multiplier Range, ATR SL Buffer, RR Ratio, TP Multiplier Range |
| Breakeven | Enable/Disable, Trigger Pips, Offset Pips |
| Trailing SL | Enable/Disable, ATR Multiplier, Start After X Pips, After Breakeven Only |
| Trailing TP | Enable/Disable, ATR Multiplier, Start After X Pips |
| Simultaneous Entry | Enable/Disable, Trade Count (2-5), Show Button |
| Partial Close | Enable/Disable, Close %, RR Target |
| Auto Optimization | Enable/Disable, Lookback Period |
| Trendline | Name Prefix Filter, Touch Tolerance |
| Display | Show Dashboard, Colors, Font Size |
| Alerts | Enable All, Breakout/Execution/Close/New Day Alerts, Sound/Push/Email |
How It Works
1. Draw trendlines on your chart (support and resistance)
2. Attach the EA – it automatically classifies each trendline as support or resistance
3. When a candle body breaks through a trendline:
- Resistance breakout → BUY order
- Support breakout → SELL order
4. SL/TP are calculated based on ATR and your RR ratio settings
5. The EA manages the trade with breakeven, trailing SL/TP, and partial close
6. Risk limits are monitored every tick to protect your capital
Requirements
- MetaTrader 5
- Minimum balance: As per your lot size and risk settings
- Works on any timeframe
- Requires manually drawn trendlines on the chart
Recommendations
- Use on H1 or H4 timeframes for more reliable breakout signals
- Start with demo testing to optimize ATR and RR settings for your instruments
- Set conservative drawdown limits
- Use trendline prefix filtering to control which lines the EA trades
