Home System Trading Post

Mastering the Separate Trade EA for MetaTrader 5

Attachments
21523.zip (6.27 KB, Download 0 times)

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.

Note: The default settings for all filter parameters for both Buy and Sell trades are the same in the indicator. Optimization is a must for effective performance!

Related Posts

Comments (0)