BackColorAll = Slope(RegressionChannel(period,width).Middle, lookback, 0) > 0 ? Color.PaleGreen : Color.Pink;
Is it possible to construct this statement in such a way as to have three states as outlined below?
State1: Slope >= 0.1
State2: Slope <= -0.1
State3: -0.1< Slope <= 0.1
I would like to be able to represent a different color for the transition state of slope moving negative to positive or vice versa.
Thanks
Daven
Comment