Candle Ids based on High Low values
-
What exactly I am trying to do..
I have the High and Low values..
I am putting the High and Low values into variables.
Like example.
High 0
High 1
High 2
High 3
Low 0
Low 1
Low 2
Low 3Now, I am trying to setup a Trendline based on The High 1 and High 2 values and same for the Low which is Low 1 and Low 2 value.

now as per the image you can see the trendline type i am trying to draw.I tried to play with the trendline block and looks like it needs a candle id of the H1 H2 or L1 or L2.
So how can i find the candle id of that H1 H2 variables? same for L1 L2 variables?
#trendline
-