TPS Trend Trading Ea
- Experts
- Versione: 1.10
- Attivazioni: 20
Advanced Trend-Continuation & Pattern Recognition System
The TPS TrendTrading EA is a highly sophisticated, fully automated algorithmic trading system designed for MetaTrader 4. It operates on a robust "Same-Side CTF (Current Timeframe)" strategy, merging Higher Timeframe (HTF) trend direction with precise Current Timeframe (CTF) pullbacks. Rather than relying on simple indicator crosses, the EA uses a complex internal pattern-recognition engine to identify 25 unique candlestick and chart patterns, executing high-probability trades with institutional-grade risk management.
🧠 Core Entry Strategy
-
Higher Timeframe (HTF) Trend Check: The EA determines the macro trend by calculating the price relative to the 200 EMA,100 EMA,500 EMA,500 EMA on a higher timeframe (e.g., Daily).
-
Current Timeframe (CTF) Pullback Check: It waits for the price to reach a specific "buy/sell zone" relative to the CTF 200 EMA,100 EMA,500 EMA,500 EMA, ensuring the price has pulled back a minimum required distance (e.g., 500 pips).
-
Pattern Validation: Once in the optimal zone, the EA scans the live chart for one of 25 hardcoded price action patterns (including Engulfing, Morning/Evening Stars, Flags, Wedges, Triangles, and Head & Shoulders).
-
Visual Confirmation: Upon entry, the EA actively draws signal arrows and prints the exact detected pattern name directly on the chart.
🛡️ Advanced Trade & Risk Management
The EA is equipped with a multi-layered safety and profit-taking architecture:
-
Multi-Target Partial Closing: Splits positions into three distinct targets (T1, T2, T3). It closes a predefined percentage of the lot size at each target to secure profits early while letting runners run.
-
Dynamic Trailing Stop & Breakeven: Moves the Stop Loss to Breakeven upon hitting T1, moves to T1's level upon hitting T2, and initiates a step-by-step trailing stop afterward.
-
Aggressive Pullback Protection: If the price hits T1 but then pulls back to the entry price, or hits T2 and pulls back to T1, the EA instantly closes all open trades to protect equity.
-
Global Equity Protection: Hard limits for daily/overall drawdowns based on either a fixed monetary value ($) or an account percentage (%).
🧺 Basket Trailing & Master Equity Protection
For scenarios where multiple trades open in the same direction, the EA utilizes institutional recovery logic:
-
Averaging Basket Trailing: Combines the profit of all same-side trades. Once a combined pip threshold is reached, it locks in profit and trails the entire basket collectively.
-
Master Equity Protection Filter: A heavy-duty safety net that activates if the account hits a 3% drawdown or opens 3+ trades. It runs 5 simultaneous algorithmic layers to selectively trim exposure (e.g., closing the last 2 trades, or closing the first and last trades together) based on combined subset profitability.
🖥️ Interactive 3D Dashboard & Theme Engine
The EA features a state-of-the-art, click-interactive graphical interface built natively in MQL4:
-
Live Analytics: Displays real-time data including HTF/CTF Trend status, distance to EMA, active signals, open trades, floating P/L, and lot sizing.
-
Historical PnL Tracker: A highly optimized internal engine calculates and displays your exact net profit for Today, Yesterday, This Week, This Month, and Last Month.
-
10-Color Theme Engine: A single click on the dashboard cycles through 10 meticulously designed color palettes (5 Dark, 5 Light). Changing the theme updates not only the 3D dashboard but the entire MT4 chart background, grid, and candle colors instantly.
