I placed a once per bar block on my CCI INDICATOR, it only works once and stop, how can I resolve this issue..?
ONCE PER BAR.
-
I placed a once per bar block on my CCI INDICATOR, it only works once and stop, how can I resolve this issue..?
-
@chen-0 You need to add a shared link, block probably needs to go under, so it checks indicate before limiting to once per bar.
-
Heres a shared link https://fxdreema.com/shared/N3vMiR3Rc
-
@chen-0 Now you have Once per bar at the bottom, what's not working?
-
@jstap When a sell happens and closes, a buy doesnt get triggered even when the conditions are met.
-
@chen-0 All looks like should work , you likely need to add another no trade block, buys and sells have one.
-
@jstap If you mean i should have one for each, buy and sell I've already done that and tried it still..the same.
-
@chen-0 I am not sure then, only one means opposite can't be activated if the other trade is running.
-
@chen-0 said in ONCE PER BAR.:
@jstap If you mean i should have one for each, buy and sell I've already done that and tried it still..the same.
i've tested as @jstap suggested, and it works
-
@ambrogio Let me test it again with a diiferent broker and see..
-
-
@chen-0 as @jstap said, you need of two different "no trade" block, one for buy path and one for sell path
-
@ambrogio I did that but still..
-
@chen-0 said in ONCE PER BAR.:
@ambrogio I did that but still..
please, upload the link to your project with these modification
-
@ambrogio Heres the link https://fxdreema.com/shared/ODEavUzBd
-
-
@ambrogio You have no idea, how much you've helped me , I've tried different things did more than 30 tests on this EA, thanks a million. May you be blessed abundantly.
-
@chen-0 you're welcome
-
@ambrogio The issue I have now is that it waits for new candle to open trades, even the conditions are met.
-
@Chen-0 try to remove "once per bar" block and see what happens