Failed to Process 'ToAdapterThread'. 'Index was outside of the bounds of the array.'
There is no array handling in my code at that point.
So, the error happens just after these 2 lines:
SetStopLoss(SG+"-1", CalculationMode.Ticks, Convert.ToInt32(Trail*StopAdj3), false);
entryOrder1=EnterLong(0,Pos1,SG+ "-1");
Can anyone help?
Comment