Interface: PreOrder
Charting Library.PreOrder
Output value of the order ticket and input value of the broker's place order command This info is sufficient to place an order
Hierarchy
-
↳
PreOrder
Properties
currentQuotes
• Optional
currentQuotes: Required
<Pick
<TradingQuotes
, "ask"
| "bid"
>>
Current Quotes
customFields
• Optional
customFields: CustomInputFieldsValues
Custom input fields
Inherited from
duration
• Optional
duration: OrderDuration
Duration or expiration of an order
Inherited from
isClose
• Optional
isClose: boolean
It is set to true
, if the order closes a position.
limitPrice
• Optional
limitPrice: number
Order limit price
Inherited from
qty
• qty: number
Order quantity
Overrides
side
• side: Side
order / execution side
Overrides
stopLoss
• Optional
stopLoss: number
Order Stop loss (Brackets)
Inherited from
stopPrice
• Optional
stopPrice: number
Order stop price
Inherited from
stopType
• Optional
stopType: StopType
Type of Stop Order
Inherited from
symbol
• symbol: string
Symbol identifier
Overrides
takeProfit
• Optional
takeProfit: number
Order Take Profit (Brackets)
Inherited from
trailingStopPips
• Optional
trailingStopPips: number
Order Trailing stop (Brackets)
Inherited from
OrderTemplate.trailingStopPips
type
• type: OrderType
Order Type