Close all EURUSD positions
- 유틸리티
- Leonid Basis
- 버전: 1.5
- 업데이트됨: 26 3월 2020
- 활성화: 5
The script allows to close all opened positions for a given currency pair (EURUSD by default, but it can be change to any existing currency pair).
Input parameters
- sSymbol = "EURUSD";
- PendingOrders = false;
which will appear in the Inputs tab where you can change a working symbol and set PendingOrders to true to delete all pending orders for a given currency pair.
This script will close and delete all positions for a given currency pair only. Keep in mind that you have to "Allow automated trading" on the "Expert Advisors" tab (Tools->Options).