A little problem when combining 2 conditions, pls help me some advise
-
My project here: https://fxdreema.com/shared/8qRloX11c

My ideas is when Candle 1 close outside BB and this is the first momentum >> BUY limit at middle price of candle 1.
But when I set the condition like in my project the BOT continue BUY limit at the next 2nd candle. I Think I have something wrong in logic of the block. Pls give me some advise. Thank so much!

-
@hhhung94 you have to put a "no pending order" just above "buy pending order"
-
@ambrogio Yes, It's worked, BUT when I put an expiration for pending order after 15 mins or 30 mins, Because the pending order doesn't match, then it's happening again. Do you have any other way?

-
@hhhung94 you need a "pass once" block above "buy pending order", and apart you have to reset it with some condition, this way "pass once" will be active the next time
-
Do you mean like this?

-
@hhhung94 yes, now you have to choose a condition to reset this block counter, it depends on your strategy.
-
@ambrogio Thanks for the enthusiastic reply, I really appreciate that. But I don't know how to use the block Pass Once. Can you explain it more clear. I'm a newbie. Thank for you help.
-
@hhhung94 https://fxdreema.com/shared/v13FJI8mb
run a backtest as it is, you will see only one buy trade. Turn on the two disabled block and you can see.........everytime the price goes below the middle line then the "pass once" block will be activated. Look the conditions inside the blocks
-
OMG!! It's really work! So amazing!
It took me over a month trying all the cases and logic to get what you are doing!
This way is simpler than what I was thinking. Thank you so much! I jumped for joy.Allow me to ask just one more small thing about the meaning of the number 34 in "Counter ID (for reset)" and "Reset counter with this ID".

-
@hhhung94 it's just a number to recognize the right block you want to reset. If you put counter ID1 in the pass once block, then you have to put ID1 in the reset block also
-
I got it, thank you, you won't understand how much your help means to me.
You really saved me.
God bless you!
-
@hhhung94 you're welcome!