Experts: Universal trailing stop
As I understand - this EA must not open any trade - because it is trailing stop tool to place a stoploss/traling stop for the orders opened by us.
But there are 18 errors when compiling -
- 2018.07.31
- www.mql5.com
Latest version here
https://www.mql5.com/en/code/28975/233122
That's the compilation.
open your own thread. replies to old threads will generally go ignored.
change the extern to input.
This is very old code. As developers update mt4/5 then old code will sometimes become obsolete. But can always be fixed and updated to be compatable with new mt5 again.
try sergeys update here
Forum on trading, automated trading systems and testing trading strategies
Experts: Universal trailing stop
Sergey Golubev, 2020.05.04 06:53
Fixed and translated version: post #10
Universal trailing stop:
The Expert Advisor works both in normal mode with one positions, and in the HEDGE mode with multiple positions.
Author: Vladimir Khlystov