fxDreema

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

    Feature Request

    Questions & Answers
    2
    2
    499
    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
      Trader3487 last edited by

      I am trying to write a custom block that does the following:

      if counter trend > n pips, orange output; otherwise: yellow output
      before turning to custom block, I tried using the new bottom/top in trend blocks but they compare only distance between current candle and first candle
      what would be great is if new trend block could identify movement of n pips anywhere within the past candles count. For example,
      n = 50 pips
      PastCandlesCount=25
      candle[24] value (first candle) = 1.0000
      candle[0] (current candle) = 1.0000
      candle[9] value (some middle candle) = 1.0051

      According to new trend block as it is currently written, this would not be considered a trend because candle[0] - candle[24] is less than 50 pips. However, there is a movement of 50 pips somewhere in between.

      I think we had talked about this a while ago (viewtopic.php?f=2&t=2340) but it keeps coming up again and again and would be extremely useful!

      Thank you 🙂

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

        Well, I almost abandoned these blocks and I think I will remove them. These blocks are like indicators, but they are not indicators, and it's better to use some indicators instead 🙂

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

        Online Users

        N
        M
        S
        G
        E
        E
        M
        O
        B
        M
        Z
        S
        S
        T
        B

        33
        Online

        146.7k
        Users

        22.4k
        Topics

        122.6k
        Posts

        Powered by NodeBB Forums | Contributors