fxDreema

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

    Comparing different candle high's

    Questions & Answers
    2
    4
    496
    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.
    • T
      tfulls12 last edited by

      Hi,

      In my strategy, I have a number of conditions and one of them is to compare the wick of candle 0 to candle 1. If candle 0's wick is 4 pips higher then candle 1's wick then I want to cancel the order.

      I'm struggling to come up with logic that will allow me to compare to the 2 candle highs and dictate if they are 4 or more pips apart. Any suggestions?

      Thanks,

      X 1 Reply Last reply Reply Quote 0
      • X
        Xfire @tfulls12 last edited by Xfire

        @tfulls12 i say to you never working with candle 0 because candle 0 isn't a complete candle and changing by each tick.
        if you want to compare :

        0_1587015540399_Annotation 2020-04-16 153649.png

        IN GOD WE TRUST

        1 Reply Last reply Reply Quote 0
        • T
          tfulls12 last edited by

          @Xfire , Thanks for pointing that out. With that said, how can I compare candles 1 and 2?

          X 1 Reply Last reply Reply Quote 0
          • X
            Xfire @tfulls12 last edited by

            @tfulls12 lest side 1 and right side 2 for candle id

            IN GOD WE TRUST

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

            Online Users

            L
            S
            M
            T
            M
            A
            R
            E

            15
            Online

            146.7k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors