Watch how to download trading robots for free
Find us on Telegram!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Experts

Doubler - expert for MetaTrader 5

Published by:
Vladimir Karputov
Views:
4918
Rating:
(27)
Published:
2018.12.28 12:57
Updated:
2019.01.17 11:29
Doubler.mq5 (35.51 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Idea by: Boris

Code mq5 by: barabashkakvn

The EA works on hedge accounts only!

A very simple idea: Open two opposite positions simultaneously. However, Stop Loss must be greater than Take Profit. We expect that the Take Profit of one of the positions would trigger first, and then the price would reverse and the Take Profit of the remaining position would trigger.

You can also enable trailing. To do so, pass a value greater than zero to Trailing Stop.

For each symbol and timeframe, a separate optimization of parameters is required. For example, the parameters range for optimization on H1 timeframe:


The Print result parameter displays trading operations logs (opening and modifying the positions).

Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/22820

Hedge any positions Hedge any positions

Opening an opposite position when reaching a profit of N pips

Close all positions Close all positions

Closing positions when reaching a profit level

XFisher_org_v1 XFisher_org_v1

Fisher indicator with an additional smoothing to eliminate the false intersections of the main and signal lines.

FineTuningMACandle_Chl_HTF FineTuningMACandle_Chl_HTF

Indicator FineTuningMACandle_Chl with the timeframe selection option available in its input parameters