I am trying to test a simple market order strategy in an MES chart using the ES as an added data series. When enabling the strategy in an MES chart using EnterLong, the order is inconsistently placed with ES as the order instrument. I can have two similar MES charts side by side to test the order entry and sometimes one places an ES market order and the other places an MES market order, and sometimes the market orders on both charts are both MES.
Any ideas on what might cause this? I am just testing an entry method at a specific time, and I have written fairly complex working strategies, but I have not seen this before. Is there an additional parameter for market orders that allows for which instrument to be chosen as the entry or order instrument?
Thank you for any thoughts
Comment