Skip to content

RelativeTakeProfitProtections

Summary

Represents a ladder of up to four partial take profits at distances (in pips) from the entry price, followed by a final take profit that closes any remaining volume.

Signature

1
public class RelativeTakeProfitProtections

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

Parameters

Name Type Description
other RelativeTakeProfitProtections

Return Value

bool

$

Signature

1
public RelativeTakeProfitProtections <Clone>$()

Return Value

RelativeTakeProfitProtections

Properties

FirstTakeProfit

Summary

Gets the first partial take profit, if any.

Signature

1
public RelativeTakeProfitProtection FirstTakeProfit {get;}

Return Value

RelativeTakeProfitProtection

SecondTakeProfit

Summary

Gets the second partial take profit, if any.

Signature

1
public RelativeTakeProfitProtection SecondTakeProfit {get;}

Return Value

RelativeTakeProfitProtection

ThirdTakeProfit

Summary

Gets the third partial take profit, if any.

Signature

1
public RelativeTakeProfitProtection ThirdTakeProfit {get;}

Return Value

RelativeTakeProfitProtection

FourthTakeProfit

Summary

Gets the fourth partial take profit, if any.

Signature

1
public RelativeTakeProfitProtection FourthTakeProfit {get;}

Return Value

RelativeTakeProfitProtection

LastTakeProfit

Summary

Gets the final take profit that closes the remaining volume.

Signature

1
public RelativeTakeProfitLastProtection LastTakeProfit {get;}

Return Value

RelativeTakeProfitLastProtection