Code Block for “Trailing Stop” based on current market price. (Ask / Bid) – EA MetaTrader 5
This code block works if you use either a Stop Loss or Not. Requirements You need to include “Trade.mqh ” to get access to the CTrade class which allows you to work with positions and orders. #include <Trade\Trade.mqh> // <<—————————————— Include this “Trade.mqh” to access the CTrade Class You need to set an input parameter … Read more