The Script in the MetaTrader4 trading terminal is a small program that performs a one-time action and is disabled.
At the end of this article you can download the “Close All” script and other scripts for managing multiple positions in the MetaTrader4 trading terminal. Continue reading