Close on Profit Loss is a VTL Server Script that will close the desired ticket based on its profit loss. You can define the parameters as follows:
- Ticket ID
- Targeted Profit: The Profit amount to close on.
- Targeted Loss: The Loss amount to close on.
- Lots: This parameter can be defined as well to close the position partially
- Download the attachment.
- Copy it to your company VertexFX Local VTL Files folder i.e. C:\Program Files\Company Name\vtl10\Local VTL Files\
- You can run the script from the VTL Editor.
- Vol 1.1: Fixed the Close function to work on Profit and on Loss parameters.