Counting Candle Back over a number of candles
-
What block do I use to count back candles example: I want to draw a trendline from the candle with the highest high looking back over the last 100 candles to the lowest low over the same last 100 candles?
Thanks for the help. -
All of this is contained within the Draw Line block. All you need to do is set it to draw a trend line and then for the first time and price period use market properties of highest price for a candle period and for the second time and price periods use market properties of lowest price for a candle period. Something like this:

-
Thanks very much for the prompt response. This is what I was looking for. I will try it out. Cheers!
-
Hi the above works great but I ran into problem again trying a different scenerio which is drawing a trend line on the pull back or retracement part of a chart. Example: Looking back 0 to 100 bars we are in an uptrend and price gets to the highest high then pulls back to a low by a couple of candles before continuing in the up trend. How do I define that lowest low after the highest high in this scenerio? You can have a look at the figure below for better understanding Thanks for the help..