https://fxdreema.com/shared/rC3Ka7V7e
I'd use something like this.. Some variables that can either be 0 or 1.
When all variables are 1, you can take your trade action, and then reset them all back to 0

Note: orange output is TRUE, yellow is FALSE.