EA based on Trading Rush Video
Based on the transaction peak video:
Tested 87% winning rate strategy 100 times (actually effective)
Credit goes to Trading Rush for this idea: https://www.youtube.com/@TRADINGRUSH
Not suitable for live trading! For educational use only.
This is an MQL4 Expert Advisor - source code included.
Warning: This code attempt is a draft version and is not 100% compliant with the video rules. Please feel free to change it as you see fit. It is optimized for EURUSD on M15 data. Consider the fitted parametric curve.
Please read the complete additional article before use.
Tested 87% winning rate strategy 100 times (actually effective)
Credit goes to Trading Rush for this idea: https://www.youtube.com/@TRADINGRUSH
Not suitable for live trading! For educational use only.
This is an MQL4 Expert Advisor - source code included.
Warning: This code attempt is a draft version and is not 100% compliant with the video rules. Please feel free to change it as you see fit. It is optimized for EURUSD on M15 data. Consider the fitted parametric curve.
Please read the complete additional article before use.
- Core "Three Tries" Strategy: The EA implements a structured entry system based on the MACD signal filtered by the long-term EMA. It allows up to three scaled-down entry points, designed to increase the average entry price.
- Advanced Virtual Stop Loss/Take Profit (VSL/VTP) system: A key feature is the EA's internal management of precise VSL and VTP levels. When these virtual levels are reached (using market orders), actual trade exits are primarily triggered by the EA, providing more control than relying solely on broker-side stops.
- Two-step order placement: To solve the common OrderSend error 130 (invalid stop loss), the EA first sends the order "naked" (without stop loss/take profit). Once the order is confirmed to be open, it modifies the order with the broker setting wider buffered stop loss and take profit levels, which mainly act as a safety net.
- Complex position sizing and compounding: The EA offers multiple position sizing modes: fixed lot size, equal percentage risk (compounded by parts) and flexible risk compounding percentage options. 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.
- Dynamic Basket Management: When multiple entries are active in a series, the EA calculates the 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. The broker-side TP of all open orders in the series is then adjusted to be consistent with that basket VTP (plus buffer).
- Comprehensive accessibility features: EA contains useful utilities including:
- Detailed chart heads-up display (HUD) displays strategy status, VSL/VTP levels, P&L and more.
- Filter trading hours and maximum allowed spreads.
- Strategy tester speed control for visual backtesting.
- Extensive Print(__LINE__, ...) logging allows for easier debugging and analysis.
- Generate unique magic numbers for each chart/symbol/period.
- Robust framework for further adjustments: The VSL/VTP system and the two-step order process make the execution of the EA even more reliable. The code is well structured and provides 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.






Attachment to original post (2)
📦 Summary of post attachments (1)
Below are all the files shared in the reply (1).
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •