fxDreema

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

    How to program this idea? indicator value is above the last X candles highs

    Questions & Answers
    2
    2
    508
    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.
    • I
      Ibrahamt last edited by

      Hello All,

      I want to make a condition that detects if an indicator value (SMA10 for example) is higher than the last 5 candles highs.

      What is the easiest block to be used to apply this condition?

      Regards,

      T 1 Reply Last reply Reply Quote 0
      • T
        trader.philipps @Ibrahamt last edited by

        @ibrahamt I think that should do the trick (looking back from candle ID 1)

        0_1569374959379_2443c556-3e59-4a0e-8c54-1911a01b973a-image.png

        I like to share my knowledge, but expect the others to contribute as well.

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

        Online Users

        G
        K
        M
        M
        S
        E
        N
        A
        C
        M

        18
        Online

        146.7k
        Users

        22.4k
        Topics

        122.6k
        Posts

        Powered by NodeBB Forums | Contributors