Feature Request
-
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.0051According 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

-
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
