Close Symbol with Profit or Loss

Free

Developed By: OmSaiTech

In stock

Close Symbol with Profit or Loss Auto Trader is a instrument (symbol) level VertexFX client-side VTL that exits all open positions for the current symbol if it reaches the specified profit or loss amount.

In many situations it is necessary to track the net open positions of a symbol as a group to ensure safe money management. Although individual positions may be opened by different Expert Advisors, or even manually, the trade may choose to enforce profit and loss limits for the symbol to avoid huge volatility. In such a scenario, the Close Symbol with Profit and Loss Expert Advisor comes handy.

(Downloads - 1756)

SKU: 1138 Categories: ,

Close Symbol with Profit or Loss Auto Trader is a instrument (symbol) level VertexFX client-side VTL that exits all open positions for the current symbol if it reaches the specified profit or loss amount.

In many situations it is necessary to track the net open positions of a symbol as a group to ensure safe money management. Although individual positions may be opened by different Expert Advisors, or even manually, the trade may choose to enforce profit and loss limits for the symbol to avoid huge volatility. In such a scenario, the Close Symbol with Profit and Loss Expert Advisor comes handy.

When the total profit amount (in account currency) of all open positions of the current symbol is greater than or equal to the TPFORSYMBOL value, then all the open positions for the current symbol are closed at once, thus protecting the profits.

Similarly, when the total loss amount (in account currency) of all open positions of the current symbol is greater than or equal to the SLFORSYMBOL value, then all open positions for the current symbol are closed at once, thus protecting the account from further loss.
Please note that this Expert Advisor does not track or delete pending orders of the current symbol when closing the open positions.

Configurable Inputs

1.TPFORSYMBOL – The maximum take-profit amount for the current symbol. For example, if this value is 150, then if the profit of all the open positions combined for the current symbol is $150 or greater, then all the open positions are closed. If this value is 0 (or less than 0), then it is ignored.

2.SLFORSYMBOL – The maximum allowed loss amount for the current symbol. For example, if this value is 100, then if the loss of all open positions combined for the current symbol is $100 or greater, then all the open positions are closed. If this value is 0 (or less than 0), then it is ignored.

Usage

  • Download the attachment from vStore or directly from the vStore tab in your terminal by performing a right click on it and selecting Download & Install
  • Copy it to your company VertexFX Local VTL Files folder i.e. C:ProgramDataVertexFX Client Terminals”Company name”VTL10Local VTL Scripts
  • Restart your Client Terminal or Right Click on “Local VTL Scripts” Tree Node to find the script.

Additional information

Plugin-Type

Client VTL – Expert Advisor

Compatibility

Main Menu