Skip to content

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
public class StopLossBreakEven

Namespace

cAlgo.API

Methods

ToString

Signature

1
public string ToString()

Return Value

string

PrintMembers

Signature

1
protected bool PrintMembers(StringBuilder builder)

Parameters

Name Type Description
builder StringBuilder

Return Value

bool

GetHashCode

Signature

1
public int GetHashCode()

Return Value

int

Equals (2)

Equals (1 of 2)

Signature

1
public bool Equals(object obj)

Parameters

Name Type Description
obj object

Return Value

bool

Equals (2 of 2)

Signature

1
public bool Equals(StopLossBreakEven other)

Parameters

Name Type Description
other StopLossBreakEven

Return Value

bool

$

Signature

1
public StopLossBreakEven <Clone>$()

Return Value

StopLossBreakEven

Properties

TriggerDistance

Summary

The distance in pips that activates the break-even rule.

Signature

1
public double TriggerDistance {get;}

Return Value

double

Offset

Summary

The offset in pips applied to the entry price when the stop loss is moved.

Signature

1
public double Offset {get;}

Return Value

double