I am using AtmStrategyCreate() to enter with a strategy previously created in the DOM. I then manage in the DOM.
Is it possible to know in my program the current stoploss location even if it's moved?
Would I do it like this?
if ((atmStrategyId.Length > 0) && (GetAtmStrategyPositionQuantity(atmStrategyId) != 0))
{
string[,] orders = GetAtmStrategyStopTargetOrderStatus("STOP2",atmStr ategyId);
Print("Current Stop is " + orders[0, 0].ToString());
}
I'm trying to do it like that and I keep getting "0" instead of the stop location.
Thanks,
Folls
Comment