/*[[ Name := supersignals in reality Reference := MTEI Author := Nick Bilak Link := Notes := Separate Window := No First Color := SkyBlue First Draw Type := Symbol First Symbol := 226 Use Second Data := Yes Second Color := Magenta Second Draw Type := Symbol Second Symbol := 225 ]]*/ Variables: loopBegin(0), hhr(0), llr(0), dist(24), prevbars(0), is_First(true), shift(0), ; If Bars1 Then is_First=True; prevbars=Bars; If is_First Then { SetLoopCount(0); loopBegin=Bars-dist; is_First=False; }; loopBegin=loopBegin+1; For shift=loopBegin Downto 0 { hhr =Highest(MODE_HIGH,shift+dist/2,dist/2+1); Llr =Lowest (MODE_LOW ,shift+dist/2,dist/2+1); if shift=hhr then SetIndexValue(shift, h[hhr]+10*point); if shift=llr then SetIndexValue2(shift, l[llr]-10*point); loopBegin=loopBegin-1; };