RelativeTakeProfitProtection
Summary
Represents a partial take profit closing a portion of the order volume at a distance (in pips) from the entry price.
Signature
1 | |
Namespace
cAlgo.API
Methods
ToString
Signature
1 | |
Return Value
string
PrintMembers
Signature
1 | |
Parameters
| Name | Type | Description |
|---|---|---|
| builder | StringBuilder |
Return Value
bool
GetHashCode
Signature
1 | |
Return Value
int
Equals (2)
Equals (1 of 2)
Signature
1 | |
Parameters
| Name | Type | Description |
|---|---|---|
| obj | object |
Return Value
bool
Equals (2 of 2)
Signature
1 | |
Parameters
| Name | Type | Description |
|---|---|---|
| other | RelativeTakeProfitProtection |
Return Value
bool
$
Signature
1 | |
Return Value
RelativeTakeProfitProtection
Deconstruct
Signature
1 | |
Parameters
| Name | Type | Description |
|---|---|---|
| Volume | Double& | |
| Distance | Double& |
Return Value
void
Properties
Volume
Summary
The portion of the order volume to close when the take profit is triggered.
Signature
1 | |
Return Value
double
Distance
Summary
The take profit distance, in pips, from the order's entry price.
Signature
1 | |
Return Value
double