Quick question about counter block
-
I want to test the counter block for the first time. I understand the logic behind it but I am missing something because it doesn't work as planned. This is what I want it to do:
-
I will specify how many ticks will be counted before passing below (obviously it will be on the 'OnTick' tab.
-
Then what is below will pass just once per bar.
-
This must be active every bar.
I don't know why, but it only works correctly on the first bar. For the second and subsequent bars it passes without counting any tick. Could someone please tell me what am I missing?
https://fxdreema.com/shared/lgNzT0wSb
Thank you very much in advance.
-