fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search

    Quick question about counter block

    Questions & Answers
    1
    1
    524
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • isp00rt
      isp00rt last edited by

      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:

      1. I will specify how many ticks will be counted before passing below (obviously it will be on the 'OnTick' tab.

      2. Then what is below will pass just once per bar.

      3. 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.

      1 Reply Last reply Reply Quote 0
      • 1 / 1
      • First post
        Last post

      Online Users

      K
      M
      T
      E
      A
      P
      V
      R
      M
      G

      20
      Online

      146.6k
      Users

      22.4k
      Topics

      122.6k
      Posts

      Powered by NodeBB Forums | Contributors