To be more precise, if I am sticking with relatively simple techniques, do I have to worry about threading, or is it taken care of by Ninjascript? I am planning to do some calculations in OnBarUpdate based on indicators, then Enter (and in some cases Exit) a trade with the managed approach and do some status checking, set variables in OnOrderUpdate, OnExecutionUpdate. I tried to look into it in Help, but threading is confusing to me. Is it possible that more than one of those events are triggered at the same time messing up my status variables? Is it possible that the same event is triggered from more than one thread creating a mess of my status variables? How do I handle it if it is possible?
Are there some sample scripts how to deal with threading issues if they are a concern in similar simple situations? Help refers to the Educational Resources on the Forum, but I could not find it, could someone please give me a link to it?
Comment