fxDreema

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

    How to do current price > high of the previous candle ?

    Questions & Answers
    2
    3
    697
    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.
    • M
      mndiarra last edited by

      Hi,

      I am trying to write a condition where the current price > high of the previous candle but I could not find the right building blocks to do so.
      Could you give me some hints ?

      Q 1 Reply Last reply Reply Quote 0
      • Q
        q8carpenter @mndiarra last edited by

        @mndiarra as you can see on the right side, candle ID is "1" which is the previous candle. the way it goes is "0" for current "1" for the previous and "2" for the one before that and so on.

        0_1589079075770_prev high.jpg

        M 1 Reply Last reply Reply Quote 0
        • M
          mndiarra @q8carpenter last edited by

          @q8carpenter Thanks a million. I knew ID "1" is the previous candle but I was not aware of the Ask price.

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

          Online Users

          A
          K
          F
          C
          E
          F

          17
          Online

          146.7k
          Users

          22.4k
          Topics

          122.6k
          Posts

          Powered by NodeBB Forums | Contributors