I'm modifying the SampleAtmStrategy to add the short side.
(I'm only using a simple EMA relationship for uptrend vs downtrend for this example.)
Please help me with the line of code needed to modify the entry price if it's not filled. I'd like to update the entry limit price each bar until it's filled.
Do I need to use:
"AtmStrategyCancelEntryOrder("orderId");" before changing the limit entry order price or just go straight to the
"AtmStrategyChangeEntryOrder".
Also, I'm unsure how to use the "status" section of the code but I only made it into an if/else script to try to understand modifying the order...
Thanks for your help.
kz

Comment