is there a way to set up Ninjascript to only print to the output window once and not on every 5min Bar? I played with OnOrderUpdate and OnExecutionUpdate but cant figure it out.
Example I want the Entry Price and Stop and Target levels print on the output window. But only when the entry happens. Currently I get the same output on every bar until the order is exited. I understand that happens because it is OnBarUpdate but how can I limit it?
Comment