I would like to create a button that is visible within the chart window that when clicked would allow me to place a buy limit OCO "x" ticks above the market and a Sell Stop OCO "x" ticks below the market. Is it possible to create a GUI like this?
Both of the above orders would be attached to two independent trading strategies. Therefore if the buy limit was hit it would trigger strategy number 1 and if the sell limit was hit it would trigger strategy 2, whilst cancelling the other order.
Would the strategies need to be all inclusive inside the code for the button, for example, I would have button code, strategy 1 code and strategy 2 code all together as one big strategy?
OR would you be able to activate the strategies "another way"?
Additionally how different is a ninjatrader 7 strategy from a ninjatrader 8 strategy, any guidelines would be helpful.
Cheers
Comment