The Profit Exit function fnTrailingExit executes a simple trailing stop.
The fnTrailingExit function is the same as the function fnTrailingExit found in the Trade menu of the Toolbox.
fnTrailingExit is included in the Profit Exit plug-in for completeness.
The following table provides information about each parameter of the fnTrailingExit function.
Order Selection |
Determines what orders of the Account are monitored.
Note: Selecting Exact Ticket disables all other selection criteria. |
stoploss |
The value at which to trail the open position. |