strategynode
New member
Hi,
I have a question on how to draw a line automatically connecting the lows (or highs) if a condition is true.
For example
Def Condition = Low>Low[1] and Low[1]>Low[2] and Low[2]>Low[3];
If the condition is true I would like a line connecting the low 3 bars ago to the low of today. (and do the same every time it was true previously)
I have checked all the paintings and styles possible but can't seem to figure it out.
I have a question on how to draw a line automatically connecting the lows (or highs) if a condition is true.
For example
Def Condition = Low>Low[1] and Low[1]>Low[2] and Low[2]>Low[3];
If the condition is true I would like a line connecting the low 3 bars ago to the low of today. (and do the same every time it was true previously)
I have checked all the paintings and styles possible but can't seem to figure it out.