Trailing Stop Management Function – script MetaTrader 5
//+——————————————————————+ //| TrailingStopManagement.mq5 | //| Copyright 2023, MetaQuotes Ltd. | //| | //+——————————————————————+ #property copyright “Copyright 2023, MetaQuotes Ltd.” #property link “” #property version “1.00” #define _MagicNum NULL//set magic number input int Stoplose =992;// set stoplose value input int TrailingStop =986;// set TrailingStop value //+——————————————————————+ //| Script program start function | //+——————————————————————+ void OnStart() { //— Management(); } //+——————————————————————+ //+——————————————————————+ //| Management … Read more