Test and Retest
-
I need an immediate help please @l-andorrà @roar @fxDreema . I am building an EA which has two conditions, first condition is that price moves above custom price. The after the first condition passes, the second condition is that price moves below the set custom price and a buy signal is triggered. Here is my project https://fxdreema.com/shared/MPW9mbVD and it is not working. Please how can you help with this? Thank you.
-
Are those conditions supposed to happen at different moments in time, right? Your bot is requestion them to happen at the exact same time.
-
They are suppose to happen at different moments. After condition 1 has been met, then let condition 2 be executed before the trigger of either buy or sell
-
I will appreciate if you can help . I do not mind seeing a sample of how to fix this because it has given me a lot of problems. Thank you for your swift response.
-
Then you need to use boolean variables controlling both condition separately (ie separate block trees). And then on a third block tree you use two condition blocks on top of it where both variables need to be true at the same time.
-
Oh.... logic skill are not so strong. I will appreciate a sample. So sorry for the trouble.
-
Thanks for your response. I followed your step and did this https://fxdreema.com/shared/J0CeWmGvd but it still does not execute the trades one after the other. I believe I have not implementing your solution correctly.
-
You didn't separate the block trees as I suggested.

-
@l-andorrà sincerely, I do not know how to do this. I need a kind of lead. thanks for always responding on time. I will appreciate an example please.
-
Ok. Let's do it step bt step. Firrt separate blocks 9 and 4. Then use a 'once per bar' block on top of block 4. and try it again.