Join our fan page
- Published by:
- Vladimir Karputov
- Views:
- 4861
- Rating:
- Published:
- 2017.11.03 12:37
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
The author of the idea: Vitaliy, the mq5 code author: barabashkakvn.
The Expert Advisor tries to take losing positions to profit. It locks positions.
It is important to configure minimum profit (the "Profit percentage" parameter) appropriate to your deposit and position volume ("Starting lot" and "Secondary lots" parameters).
input double NeedProfit = 0.001; // Profit percentage input double StartLot = 0.5; // Starting lot input double StepLot = 0.2; // Secondary lots input ushort InpStep = 5; // Steps between Locking input bool InpHelpMe = true; // Help me
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/19177

A trading system based on the Alligator indicator. If possible, the EA moves positions to breakeven and then enables trailing stop.

The Expert Advisor uses the following indicators: Moving Average Convergence/Divergence, MACD; Moving Average, MA; Average Directional Movement Index, ADX. It closes half of the profitable position.

Works with pending stop orders (Buy Stop and Sell Stop). Monitors spread %.

The Expert Advisor checks the direction in which the price has been moving for the last 10 seconds, and opens a position in accordance with the movement. The EA sets Stop Loss and Take Profit.