NewOrderDialog
Summary
Represents a common dialog box that allows a user to create a new order.
Signature
1 | |
Namespace
cAlgo.API
Examples
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | |
Methods
ShowDialog
Summary
Shows the dialog.
Signature
1 | |
Return Value
void
SetProperty
Signature
1 | |
Parameters
| Name | Type | Description |
|---|---|---|
| field | T& | |
| value | T |
Return Value
void
GetProperty
Signature
1 | |
Parameters
| Name | Type | Description |
|---|---|---|
| field | T& |
Return Value
T
Properties
OrderType
Summary
Gets or sets the OrderType.
Signature
1 | |
Return Value
OrderType
TradeType
Summary
Gets or sets the TradeType.
Signature
1 | |
Return Value
TradeType
SymbolName
Summary
Gets or sets the SymbolName.
Signature
1 | |
Return Value
string
Volume
Summary
Gets or sets the Volume.
Signature
1 | |
Return Value
double?
TargetPrice
Summary
Gets or sets the TargetPrice.
Signature
1 | |
Return Value
double?
StopLimitRangePips
Summary
Gets or sets the StopLimitRangePips.
Signature
1 | |
Return Value
double?
StopLossPips
Summary
Gets or sets the StopLossPips.
Signature
1 | |
Return Value
double?
TakeProfitPips
Summary
Gets or sets the TakeProfitPips.
Signature
1 | |
Return Value
double?
Expiration
Summary
Gets or sets the Expiration.
Signature
1 | |
Return Value
DateTime?
Comment
Summary
Gets or sets the Comment.
Signature
1 | |
Return Value
string
HasTrailingStop
Summary
Gets or sets the HasTrailingStop.
Signature
1 | |
Return Value
bool
StopLossTriggerMethod
Summary
Gets or sets Trigger method for order StopLoss
Signature
1 | |
Return Value
StopTriggerMethod?
StopOrderTriggerMethod
Summary
Gets or sets the HasTrailingStop.
Signature
1 | |
Return Value
StopTriggerMethod?
MarketRangePips
Summary
Gets or sets the MarketRangePips.
Signature
1 | |
Return Value
double?