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

Terminator_v2.0 - MetaTrader 5 Expert | Forex Indicator Download - MT4/MT5 Resources

author EAcpu | 3 reads | 0 comments |

Terminator_v2.0 - expert for MetaTrader 5

This Expert Advisor is rewritten according to MQL4, written by Alejandro Galindo and Tom Maneval, link to source - https://www.mql5.com/en/code/7598 .

Expert Advisors open positions based on the signals of different indicators.

Required indicators:

There are six variants of trading signals:

The initial position is equal to the Lots variable or calculated based on the ratio of ready assets (when Lots=0, it is the MaximumRisk variable).

If a position becomes unprofitable, its trading volume increases. If the trading signal corresponds to the direction of the position, the volume will increase by one point from the last traded price.

First, the increase in trading volume is performed by multiplying the lot size by 2. The number of transactions is then multiplied by 2, defined by the DoubleCount variable, and then multiplied by 1.5. implement.

The total number of transactions in a single sequence is defined by the MaxCount variable.

First, open a position with a profit. The TakeProfit2 variable is used when the trading volume increases and the take profit level is calculated based on the total position price.

If TakeProfit=0 or TakeProfit2=0, there will be no take profit for the initial position or the position when the trading volume increases. In this case, the trailing function (TrailingStop variable) must be used.

The last increase in trading volume is performed by setting the stop loss (StopLoss variable). If the value of the StopLoss variable is equal to 0, the stop loss will not be set.

The results of the Expert Advisor's work are displayed in the tester.

Terminator_v2.0 - expert for MetaTrader 5


Attachment download

📎 terminator_v2z0.mq5 (35.31 KB)

Source: MQL5 #1113

Verification code Refresh