Skip to content

RelativeTakeProfitLastProtection

Summary

Represents the final take profit in a relative take profit ladder, closing the remaining order volume at a distance (in pips) from the entry price.

Signature

1
public class RelativeTakeProfitLastProtection

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(RelativeTakeProfitLastProtection other)

Parameters

Name Type Description
other RelativeTakeProfitLastProtection

Return Value

bool

$

Signature

1
public RelativeTakeProfitLastProtection <Clone>$()

Return Value

RelativeTakeProfitLastProtection

Deconstruct

Signature

1
public void Deconstruct(Double& Distance)

Parameters

Name Type Description
Distance Double&

Return Value

void

Properties

Distance

Summary

The take profit distance, in pips, from the order's entry price.

Signature

1
public double Distance {get; set;}

Return Value

double