Author of the Idea: Andrey Baluev
MQL5 Code Author: barabashkakvn
The Separate Trade EA is designed to kick into gear with the appearance of a new bar. You can set the position volume using the Lots parameter. For both Buy and Sell positions, you'll find dedicated settings for Stop Loss Buy, Stop Loss Sell, Take Profit Buy, and Take Profit Sell. Plus, the Trailing Stop and Trailing Step settings apply universally across all position types.
The Maximum Positions setting lets you limit the number of open positions at once, keeping your trading manageable.
This EA identifies trends using the crossover of two Moving Average indicators, referred to as First and Second. You can define the minimum acceptable distance between these Moving Averages for both Buy and Sell trades with the Minimum distance between MA's for Buy and Minimum distance between MA's for Sell parameters.
Once the trend direction is established, the EA activates filters using the iATR (Average True Range, ATR) and iStdDev (Standard Deviation, StdDev) indicators. Each filter has separate input parameters for Buy and Sell, allowing for tailored strategies.
Related Posts
- Harnessing MQL5 Wizard for Trading Signals: 3 Black Crows & 3 White Soldiers with MFI
- Creating an Expert Advisor for Dark Cloud Cover and Piercing Line Patterns with CCI Confirmation
- Creating a Stochastic-Based EA for Hammer and Hanging Man Patterns in MetaTrader 5
- Mastering Trading Signals with MQL5 Wizard: Bullish and Bearish Engulfing Strategies
- Leveraging MQL5 Wizard: Crafting Trade Signals with Meeting Lines and Stochastic