The VR Close orders script is designed to close positions in the terminal at a profit or loss specified by the trader. The program is written as a script and can work together on the same chart with any other indicators and Expert Advisors. Often there is a situation when you need to close the positions of a working Expert Advisor, the VR Close Orders script will help you close positions in profit, in loss, or all at once with the specified settings
? Join the discussion in the @telegram group news of developments and updates @telegram
? Join the discussion in the @telegram group news of developments and updates @telegram
- It can close positions on profit in points, percentage of the balance, and profit in the deposit currency.
- It can close positions for a loss in points, a percentage of the balance, or a loss in the deposit currency.
- It can work together on one chart with another Expert Advisor or indicator.
- It can close positions one at a time or all at once under the specified conditions.
- It can be used to open locks or locks.
- It can work with any financial instruments (Forex, Crypto, CFD, Futures, Metals).
- The profit button activates the function of closing positions on profit.
- Input field-the trader enters the value of the desired profit in points, percentages, or the deposit currency.
- Buttons for selecting the type of profit – P-points, % – percentage, $ – deposit currency.
- Buy button-tells the script to close only those positions for which the profit is greater than or equal to the profit set by the trader.
- The Sell button-tells the script to close only those positions for sale that have a profit greater than or equal to the one set by the trader.
- The All button-tells the script to count the total profit and close all positions if the total profit is greater than the specified one.
- Buy All buttons-tell the script to close all buy positions if their total profit is greater than the one set by the trader.
- The Sell All buttons tell the script to close all positions for sale if their total profit is greater than the one set by the trader.
- The Buy Sell All or only All buttons tell the script to close all buy and sell positions if their total profit is greater than the one set by the trader.
- The Check Mark button Confirms the application of the settings and activates the script.
[spoiler title=”Read More…”]
Important note for the Buy Sell All mode, if the amount of lots for buying and selling is the same, this mode will not work. The reason: The same volume of lots to buy and the same volume of lots to sell make it impossible to make a profit or loss, since all positions are completely locked.
- It works in the same way as closing a profit position, only the value of the loss is specified in the input field.
- The Delete Pending button indicates to the script an additional action, after closing all market positions, to delete pending orders if there are no market positions.
- Points button-displays information about current and closed positions.
- Cross button-stops the program and unloads the script.
- The Check Mark button confirms the application of the settings and activates the script.
?Additional material:
- VR Close Orders MT4 –
- VR Close Orders MT5 –
- RU blog –
?Additional material:
- VR Close Orders MT4 –
- VR Close Orders MT5 –
- RU blog –
[/spoiler]