I have an eay language question that I couldn't get an answer for at TS World. I have Keltner bands on my charts, the top band is known as the UpperBand and the bottom band is known as the LowerBand. What I am trying to do is once the high crosses above the UpperBand I want to store the highest high since it crossed the Upperband as Value1. What I have so far is this: If high crosses over Upperband then begin Value1 = high; if high>Value1 then Value1=high; end; I am just trying to store the highest high since the high crossed over the UpperBand as Value1, not just the high of the bar that crossed the UpperBand. Thanks for any help.
If High > Upperband and High > Value1 then Value1 = High; If high crosses over Upperband then begin Value1 = high; end;