Stops & Targets

From MultiCharts
Revision as of 18:04, 23 November 2021 by KateMultiCharts (talk | contribs)
Jump to navigation Jump to search

_Stops and Targets generates exit orders based on the combination of the following types of exit orders: profit target, stop loss, breakeven stop, dollar trailing stop, percent trailing stop, and exit at the end of the day. If 0 is used for any of the inputs, the corresponding order will be ignored by the strategy.

Default Inputs

ShareOrPosition - determines the basis of all stops ans targets. Set 1 for a per share basis, set 2 for a position basis.

ProfitTargetAmt - indicates the dolar amount reuired to trigger a profit target order, at this setting the position will be automatically closed. If it is not reached, the stop won't be triggered. Use 0 to avoid profit target orders.

StopLossAmt - indicates the dolar amount reuired to trigger a stop loss order. The max amount of money that you are willing to risk on any trade. Use 0 to avoid stop loss orders.

BreakevenFloorAmt - breakeven floor. The position's profit value that must be exceeded for the breakeven stop to become active. Use 0 to avoid breakeven stop orders.

DollarTrailingAmt - the "profit give-back" dollar amount at which the position will be closed. Indicates the max amount of position profit you are willing to give back before the position is closed automatically. Can only be used for locking in profit, doesn't exit a losing position. Use 0 to avoid dollar trailing orders.

PctTrailingFloorAmt - minimum gain required for the order to be placed. Use 0 to avoid percent trailing orders.

PctTrailingPct - the "profit give-back" amount at which the position will be closed. Use 0 to avoid percent trailing orders.

ExitOnClose - inducates whether the Close at End of Day order will be generated or not. When set to True, all open positions will be closed at the trading day's close.