Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

up3x1 - MetaTrader 5 Expert - MQL5 #1077 - MT4/MT5 Resources

author EAcpu | 2 reads | 0 comments |

up3x1 - expert for MetaTrader 5

This Expert Advisor is rewritten in MQL4 and was originally published here https://www.mql5.com/en/code/8097 by its author Irutov .

Three masters were used. When the fast MA crosses the middle MA, while the middle MA and the fast MA are below the slow MA, a buy position opens. For a sell position the opposite is true - the fast MA crosses the middle MA down, while the middle MA and the fast MA are above the slow MA.

The lot size for opening a position can be fixed or proportional to the available margin. There is an additional feature to reduce the number of losing lots - the more consecutive losing trades, the smaller the number of lots. Trailing stops can be set for open positions.

The following graph shows the performance of the Expert Advisor in the visual mode of the strategy tester.

up3x1 - expert for MetaTrader 5

Setting FastShift, MiddleShift, and SlowShift values ​​less than 1 is not recommended. The EA checks the indicator on the zero bar only when a new bar is opened (it should not work on the zero (forming) bar). The original version does not have any external parameters for the moving average.


Attachment download

📎 up3x1.mq5 (9.57 KB)

Source: MQL5 #1077

Verification code Refresh