Hi guys, i am very new to coding so be gentle with me.

I have an EA that will trade short and long, but if its in a long position it wont take a short trade until the long has been closed and vise versa. Basically it will not trade long and short at the same time. I suppose you could call it a hedge trade.

I wanted to know if anyone could point me in the right direction of what i need to change in the EA to get it to trade both up and down at the same time.

Thanks guys.