_StopLossMove - Script for MetaTrader 4
The StopLossMove script is an algorithm that controls a Stop Loss order.
Depending on the value of UpDoun = true or = false, the script either "pulls up" StopLoss closer to the market, or "pulls up" and "pushes" it, keeping distance in Distance points. This script may completely replace trailing, which can work only online.
It is important to remember that in the case the Dialing Center limits the installation of Stop and Limit "under the market", it is necessary to remove the comment in the block with the restriction, setting the required value of Distance.