Open the trade the same way
-
Can I please receive help, I don't know what I am doing wrong with my ea, I am struggling to make it open one buy trade here instead of the sell and then buy, it's a fundamentel EA and the backtest and results I am looking for are from the news event on M1 July 11, nfp, once candlestick. thank you
-
Would you mind providing a screen grab of what it's doing/not doing on this day?
-
This is what it should be doing

This is what it does

-
-
Trading news automatically may not work as well as manually placing, your order (depending on the broker) will likely have a lot of slippage. To put it simply though, if an order is placed set a flag to false preventing an opposite order
-
I understand what your saying however all I am asking for is help with my triggers
-
I said how to achieve this as well, when a trade has been placed you know the direction so use a flag to prevent the opposite tree from working
-
where do I find this flag
-
there is a section called flags, set 1 to false to stop something from working, check this above what you want to stop, reset back to allow something to work again.