Skip to content

InvalidStopLossTakeProfit Field

Summary

The invalid Stop Loss or Take Profit.

Signature

1
public static ErrorCode InvalidStopLossTakeProfit;

Return Value

ErrorCode

Declaring Type

cAlgo.API.ErrorCode

Examples

1
2
3
4
5
6
7
 protected override void OnError(Error error)
 {
     if (error.Code == ErrorCode.InvalidStopLossTakeProfit)
     {
         Print("The invalid Stop Loss or Take Profit.");
     }
 }

Last update: March 17, 2023