I have a problem when there are eg 3 setups in a NT-script and I want to count my entries referring to the setup that is filled:
protected override void OnExecution(IExecution execution)
if (execution.Order != null && execution.Order.OrderState == OrderState.Filled)
{tradecounterS3++;} doesn´t show which setup causes the trade or which "EnterShort(x,y)" are realized.
I need to count when orderstate filled for setup1 and then for setup2......
Now it counts, but I have no information which setup caused the trade.
What do I need to add for having this information please?
Thanks
Tony
Comment