Nuremburg, Bayern, Germany
Posts: 1 since Sep 2015
Thanks Given: 4
Thanks Received: 0
|
Hi,
I wrote a Little CrossOver Strategy. Which uses a ATM NinjaTrader Template. And now I want check before each new CrossOver if the Strategy is flat. If not I want to cancel any market orders and Closes any open postition market.
I tried to solve it with the "AtmStrategyCose()" command, but it doesn't work in the right way.
Help me please to find the right coding.
Thanks in advance.
Best regards,
Peter
I have added a Attachement with the .cs Code.
|