fxDreema

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

    Checking last candle on every new candle's opening

    Questions & Answers
    2
    5
    908
    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.
    • X
      xenoc last edited by

      Hi all,

      Once per bar, I want to check if last candle's upper wick size is bigger than body size. It doesn't work.
      But when i try to check if the last candle's close price is above ema 10 or not, i can do it. Isn't it the same logic? Can you help me ?

      Thanks a lot

      ......
      candle check.png

      1 Reply Last reply Reply Quote 0
      • fxDreema
        fxDreema last edited by

        Set Candle ID to 1 when you want to work with the last candle. At the first tick of the new candle O, H, L and C are equal.

        1 Reply Last reply Reply Quote 0
        • X
          xenoc last edited by

          Thanks a lot. Really appreciate your work here. I have been using it for 2 days, it is amazing.

          1 Reply Last reply Reply Quote 0
          • X
            xenoc last edited by

            To check previous candles, should I increase candle ID'S +1.
            I mean, at the new bar opening, to check last candle, candle ID = 1, and the one before last candle, candle ID = 2 and so on?

            1 Reply Last reply Reply Quote 0
            • fxDreema
              fxDreema last edited by

              Yes, 0 is the current candle, 1 is the previous candle and so on... 2, 3, 4, 5....
              Negative values can also be used to get values that visually appear "in the future" from some indicators like Ichimoku.

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

              Online Users

              A
              C
              A
              X
              J

              16
              Online

              146.7k
              Users

              22.4k
              Topics

              122.6k
              Posts

              Powered by NodeBB Forums | Contributors