How to code that my candle is between support and resistant?
-

-
This is (also) done with variables, but first you have to set up the process finding those lines, thats the hard part and I cannot help with that

-
I think its done by drawing horizontal lines at support and resistance
And then make a condition that's like price is below the upper line and above the lower line and connect them to a and block, but be careful because it will pass on every tick when it's in the middle.
-
@timmyhanke
Youre right, that works - but if you want to automate the whole process, drawing the lines in right places will be some problem -
I dont actually know how to draw the lines in support and resitance level , but if you have that bit sorted , it only needs to redraw itself constantly if it changes , like on every tick select line and change it to the correct level , so it allways follows
