Skip to main content

Interface: ExitLevelTemplate

Charting Library.ExitLevelTemplate

Describes a specific exit level (bracket) for an order or position. Used when BrokerConfigFlags.supportMultipleExitLevels is enabled.

Hierarchy

Properties

guaranteedStop

Optional guaranteedStop: number

Guaranteed stop loss price.

Inherited from

ExitLevel.guaranteedStop


id

id: string

Unique identifier for the exit level.

Inherited from

ExitLevel.id


isExisting

Optional isExisting: boolean

Indicates whether the exit level already exists.

Default

true

Inherited from

ExitLevel.isExisting


qty

qty: number

Quantity to close at this level.

Inherited from

ExitLevel.qty


slParentPricePercent

Optional slParentPricePercent: number


slPips

Optional slPips: number


slRiskInPercent

Optional slRiskInPercent: number


stopLoss

Optional stopLoss: number

Stop loss price.

Inherited from

ExitLevel.stopLoss


takeProfit

Optional takeProfit: number

Take profit price.

Inherited from

ExitLevel.takeProfit


tpParentPricePercent

Optional tpParentPricePercent: number


tpPips

Optional tpPips: number


tpRiskInPercent

Optional tpRiskInPercent: number


trailingStopPips

Optional trailingStopPips: number

Trailing stop value in pips.

Inherited from

ExitLevel.trailingStopPips