StopLossBreakEven
Summary
Represents a break-even rule that moves the stop loss to the entry price (optionally offset by a number of pips)once the trade has moved a configured trigger distance in favor of the position.
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 | StopLossBreakEven |
Return Value
bool
$
Signature
1 | |
Return Value
StopLossBreakEven
Properties
TriggerDistance
Summary
The distance in pips that activates the break-even rule.
Signature
1 | |
Return Value
double
Offset
Summary
The offset in pips applied to the entry price when the stop loss is moved.
Signature
1 | |
Return Value
double