SHORT:=12;LONG:=26;MID:=9;DIFF :(EMA(C,SHORT) - EMA(C,LONG))*1000;DEA :EMA(DIFF,MID); :2*(DIFF-DEA),COLORSTICK;A0:=BARSLAST(REF(OSS(DEA,0),1));A1:=BARSLAST(CROSS(DEA,DIFF));A2:=REF(BARSLAST(CROSS(DEA,DIFF)),A1+1);A3:=REF(BARSLAST(CROSS(DEA,DIFF)),A2+A1+2);A4:=REF(BARSLAST(CROSS(DEA,DIFF)),A3+A2+A1+3);A5:=REF(BARSLAST(CROSS(DEA,DIFF)),A4+A3+A2+A1+4);A11:=LLV(C,A1)
[REF(LLV(DIFF,A1+1),A1+1);A22:=LLV(C,A1)][REF(LLV(DIFF,A1+A2+2),A1+A2+2);A33:=LLV(C,A1)][REF(LLV(DIFF,A1+A2+A3+3),A1+A2+A3+3
]