Hi everyone,
I’m trying to program two buy stop orders to execute simultaneously. Here’s the code I’ve tried:
”If condition1 then
Buy 1 contract at p stop
Buy 1 contract at p+x stop
Endif”
However, only one of the orders seems to be getting executed. Does anyone have suggestions on how I can fix this or what I might be doing wrong?
Thanks in advance for your help!
Best,
Mikael
It is not possible to place 2 buy stop orders at the same time with code. The workaround is to place the second one once the first is triggered (check if you are on market and place the next one).