Updated version of S/R sloping lines, using linear equations and "plot" function, instead of "line.new" function. This way allows you to use lines price values to create signals.
I wanted the conditions to be pivots, so I've changed lines 5 and 6 to spprt1 = pivotlow(2,2) and rsist1 = pivothigh(2,2). Can you change the rest of the code so that the support and resistance lines reflect this change? Please don't use the offset on the plot. Thank you.
fantastic man. i rarely comment on indicators. but this one is a work horse. it takes away a LOT of tedious work and gives instant picture sight of something. I will share it with friends. keep em coming. make some automation indicators with alerts. great job