欢迎访问 外汇EA下载与MT4/MT5自动交易资源 - 聚合外汇EA、黄金EA、量化交易工具与自动化交易实战内容。
登录 注册

基于 Trading Rush 视频的 EA (EA based on Trading Rush Video)

author emer | 0 人阅读 | 0 人评论 |
来源:ForexFactory · Trading Systems · 原帖链接
原帖作者:EgoNoBueno
发布日期:First Post: May 16, 2025 11:06am
Based off Trading Rush Video:
Testing 87% Win Rate Strategy 100 TIMES (Actually Worked)
Credit for the idea goes to Trading Rush: https://www.youtube.com/@TRADINGRUSH
Not meant for live trading!!! Educational only.
This is an MQL4 Expert Advisor - Source code included.
WARNING: This code attempt is a draft version and NOT 100% compliant with the videos rules. Feel free to change as you see fit. It was optimized for EURUSD on M15 data. Consider the parameters curve fitted.

Please read the full attached write up before playing around with it.

 

  1. Core "Three Tries" Strategy: The EA implements a structured entry system based on MACD signals filtered by a longer-term EMA. It allows for up to three scaled-in entries to a position, aiming to improve the average entry price.
  2. Advanced Virtual Stop Loss/Take Profit (VSL/VTP) System: A key feature is the EA's internal management of precise VSL and VTP levels. Actual trade exits are primarily triggered by the EA when these virtual levels are hit (using market orders), offering more control than relying solely on broker-side stops.
  3. Two-Step Order Placement: To combat common OrderSend error 130 (invalid stops), the EA first sends orders "naked" (without SL/TP). Once the order is confirmed open, it then modifies the order to set wider, buffered SL and TP levels with the broker, which primarily act as a safety net.
  4. Sophisticated Position Sizing & Compounding: The EA offers multiple position sizing modes: Fixed Lot, Percent Risk Equal (compounding per part), and a flexible Percent Risk Compounding option. The latter can operate in a "Unified Turtle Series Risk" mode (distributing a total series risk percentage across the three entries based on current equity) or allow individually staged risk percentages for each entry.
  5. Dynamic Basket Management: When multiple entries are active in a series, the EA calculates a volume-weighted average entry price. The Virtual Take Profit (virtualTakeProfitLevel_Basket) is dynamically updated based on this average price and the fixed series VSL, using user-defined R:R ratios. Broker-side TPs for all open orders in the series are then adjusted to align with this basket VTP (plus a buffer).
  6. Comprehensive Auxiliary Features: The EA is packed with helpful utilities, including:

    1. A detailed on-chart Heads-Up Display (HUD) showing strategy status, VSL/VTP levels, P/L, and more.
    2. Filters for trading hours and maximum allowable spread.
    3. Strategy Tester speed controls for visual backtesting.
    4. Extensive Print(__LINE__, ...) logging for easier debugging and analysis.
    5. Unique magic number generation per chart/symbol/period.

  7. Robust Framework for Further Tuning: The VSL/VTP system and two-step order process have made the EA's execution more reliable. The code is well-structured, providing a solid foundation. The primary focus for users will now be on strategic parameter tuning (R:R ratios, signal sensitivity, VSL placement, compounding settings) to optimize for consistent monetary profitability, as initial tests show high pip win rates don't always translate directly to currency gains with this type of scaled, compounded strategy.

原帖附件 (2)

📦 帖子附件汇总 (2)

以下是回帖中所有共享的附件(2 个,已去重)。

🔐
请登录后参与评论
注册满12小时后评论,即可解锁附件下载
立即登录