disabling trade

 

I have struggled with the idea of only getting one order to be placed at a time. I thought that maybe I can simply disable trade once my conditions have been met and my order placed. Can anyone help me here? What might that look like if I simply want to disable the EA after the order is placed? I also want to add a condition to allow trade again at a certain time(I think I might have a decent handle on this part of it). Any help would be greatly appreciated!

Dan

 

Shouldn't be hard.

Read through your open orders, if there are any, don't open any more.