I'm getting a method error instead:
**NT** GetAtmStrategyStopTargetStatus() method error: OrderName 'TARGET1' does not exist
Code snippet
if (atmStrategyId.Length > 0)
{
string[,] Orders = GetAtmStrategyStopTargetOrderStatus("TARGET1", atmStrategyId);
// Check length to ensure that returned array holds order information
if (Orders.GetLength(0) > 0)
{
for (int i = 0; i < Orders.GetLength(0); i++)
{
TargetStatus =Orders[i, 2].ToString();
Print("Target1 Current state is, " + TargetStatus);
}
}
}

Comment