/*[[ Name := 12LineBreak Author := Amir Notes := Hacked by t_david ( transport ) Separate Window := Yes First Color := LawnGreen First Draw Type := Histogram First Symbol := 159 Use Second Data := Yes Second Color := Red Second Draw Type := Histogram Second Symbol := 159 ]]*/ Inputs: LinesBreak(12),AllBars(500); Variables: val1(0),val2(0),shift(0),NumBars(500),Swing(0),OLDSwing(0); Variables: val11(0),val12(0); If Bars val1) then { Swing=1; }; if (Swing=1) then { SetIndexValue(shift,val1*1); }; if (Swing=2) then { SetIndexValue2(shift,val2*-1); }; End;