Condition For Past Trend
-
Is there a block/blocks that can achieve the following: "if uptrend block passed at candle[5] or between candles 5-10, then execute orange output"? I think we had touched on this with the crossover idea, which is essentially the same thing: if crossover happened in the last 10 candles or between candles 1-11. Anyhow, even having the ability to specify a single previous candle for the trend would be really useful. Again, an example would be the ability to use a block to say "if uptrend happened 3 candles ago then proceed with current block". Maybe I can do this with "object on the chart" operand or using variables?
-
How do you define Uptrend in this case - using MAs, candles, other indicators? For example, there is a block "Indicator rise" that detects if MA rises for X candles with Y pips.
-
I was using the "New top in trend"/"New bottom in trend" blocks. I figured out how to do this using variables but I think it would still be a useful feature in general - to be able to say "if something occurred (ex. new top in trend, crossover, etc.) between bars x and x-n, then execute orange output".
-
Not a bad idea

-
another (similar) practical application of this feature that would be really useful - if there was a "New new top in trend" or "New bottom in trend" in the previous bar (or previous n bars), then execute orange output.