ClosePosition – script MetaTrader 5
ClosePosition script is designed for closing open positions with the volume depending on their size. Input parameters: //+———————————————-+ //| INPUT PARAMETERS OF THE SCRIPT | //+———————————————-+ input double VOLUME=1.0; // The volume of the closed position in relation to the initial input int DEVIATION=10; // Price deviation input uint RTOTAL=4; // The number of repeats on unsuccessful transactions input … Read more