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