I am new to ninja script and migrated all my code from different platforms to NT7.
I am planning to code for OCO order using SET methods. Need some help in understanding more details on these methods, I have gone through HELP related to these.
Below are the possible cases that I need to handle in my script.
1) Use the set methods to handle exits ( profit or stop), with this once my order gets filled I will be having profit and stop orders on the exchange.
2) I have couple of flags, based on these flags I need to convert Profit target order leg to market order or move the profit target little away from the current profit target price.
3) I am able to move the profit target away from the current profit target price by resetting the value.
4) How do I convert the profit target leg to market order?
Can you please point me to an example if available? is it possible to do this with out over fill when price is trading on the initial Profit target leg?
Thanks
GSREDDY

Comment