How To Have Multiple Blocks Agree Before Trade?
-
I'm trying to automate my trading system and in order to do so I need to have about 3 indicators agree before making a trade. Right now, I'm just working on two of them and running into difficulty.
Here's the setup:

Trade should've happened but it doesn't trigger. I've tried setting the range of candles thinking it's a timing issue.

(in this example I was back to testing with Value By Candle ID @ 1)
Basically, one of the buy conditions is the candle needs to close above the HMA and needs to also be @ or = to .0001 on the VQZ. Candle Closes > HMA ---> VQZ >= .0001 = BUY
The sell condition is the opposite, meaning, the candle needs to close below the HMA and needs to be @ or = to -.0001 on the VQZ. Candle Closes < HMA ---> VQZ <= -.0001 = SELL
I've confirmed the HMA cross works without the VQC but...
Neither combination is trading as it should so I'm thinking this is somehow a timing issue/range of candles issue? Basically, the first condition needs to be met (the HMA cross) and then it can take a few bars before the second condition is met.
How would I account for this?
link to the project: https://fxdreema.com/shared/n4N8SWOMb
Thanks!
-
According to your first pic, the price bar didn't cross your first indicator. That crossing happened many bars before. I recommend you to use 'below' instead of 'crosses below' as your option between operands in the first condition block.