Send only one order when conditions meets

 

Good morning you all,


I have a question. I'm coding an expert advison but I have a problem. I set many conditions and when all of them meets it should send a order (buy or sell it depends on the conditions).

I'm testing it but it sends many orders at the same time but I want it send only one order for example:

- now if at 10.04 the conditions meets, it send 20 or more orders at the same time, but I want it send only one position.


How can I do it?

Reason: