Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal


Locker - expert for MetaTrader 5

Vitalya_1983 | English Русский 中文 Español Deutsch 日本語 Português

Published by:
Vladimir Karputov
votes: 30
2017.11.03 12:37
Locker.mq5 (31.1 KB)view

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 Software Corp.
Original code:

Alligator Alligator

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

HarVesteR HarVesteR

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.

e-Skoch pending orders e-Skoch pending orders

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

Nova Nova

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.