How simultaneosly Open Opposite Pending Orders
-
For the previous candle, I want a Pending Buy at its high, and a pending sell at its sell.
My logic for my EA right, But only 1 pending order operates at a time. Either Sell or Buy. Both Pending orders never get activated at the same time -
Use Buy/Sell pending orders with custom price (you'll find candle high/low within the block settings) in "OnTick"
... then, in the "onTrade" tab you add a block "Position created" that after passing will delete pending orders (use "Delete Pending order" block)
with that logic the sell order will be deleted when a buy position is opened (or vice-versa).