AA:=.MD;X1:=OSS(AA,0);Y1:=CROSS(0,AA);TX1:=BAAST(X1);TY1:=BARSLAST(Y1);XL1:=REF(L,TX1);YH1:=REF(H,TY1);SP_a:IF((X1 AND AA>0) OR (TX1>0 AND AA>0),XL1,YH1);DRAWLINE(CURRBARSCOUNT=TOTALBARSCOUNT,CONST(C),CURRBARSCOUNT=1,C,3),DOTLINE,COLORFFFF00;AA1:=-MACD.MACD;X11:=CROSS(AA1,0);Y11:=CROSS(0,AA1);TX11:=BARSLAST(X11);TY11:=BARSLAST(Y11);XL11:=REF(L,TX11);YH11:=REF(H,TY11);DSP_B:IF((X11 AND AA1>0) OR (TX11>0 AND AA1>0),XL11,YH11);