/*[[ Name := $parabolic_stopLINE Author := Darma, thanks bheurekso for mentoring Link := http://www.darmasdt.com/ Separate Window := No First Color := DarkBlue First Draw Type := Line First Symbol := 160 Use Second Data := Yes Second Color := Brown Second Draw Type := Line Second Symbol := 160 ]]*/ Variable : step(1),maximum(0.2); Variable : shift(0),sig(0),tip(0),value(0); SetLoopCount(0); // loop from first bar to current bar (with shift=0) For shift=Bars-Period-1 Downto 0 Begin sig=iSAR(step,maximum,shift); tip=(h[shift]+l[shift]+c[shift])/3; value=iSAR(step,maximum,shift); if sigh[shift] then { SetIndexValue2 (shift,value); SetIndexValue (shift,-1); } End;