高点压力:DRAWLINE(CURRBARSCOUNT=GDCS2,C,CURRBARSCOUNT=GDCS1,C,1) COLORGREEN,DOTLINE;
DRAWLINE(CURRBARSCOUNT=GDCS2,C,ISLASTBAR,REF(C,GDCS2-1),1),DOTLINE,COLORBLUE;
DRAWLINE(CURRBARSCOUNT=GDCS1,C,ISLASTBAR,REF(C,GDCS1-1),1),DOTLINE,COLORCYAN;
AA1:=REF(C,LOWN)=LLV(C,2*LOWN+1);
QY1:=BACKSET(AA1,LOWN+1);
CC1:=FILTER(QY1,LOWN) AND C=LLV(C,LOWN+1);
介入:DRAWICON(CC1,C*0.98,1);
DD1:=BARSLAST(CC1);
DDTS:=IF(CC1,CURRBARSCOUNT,0);
YDB:=IF(DD1,REF(C,DD1),C);
DDTS1:=IF(DD1,REF(DDTS,DD1),DDTS);
DDCS1:=CONST(DDTS1);
ZDB:=REF(YDB,DD1+1);
DDTS2:=REF(DDTS1,DD1+1);
DDCS2:=CONST(DDTS2);
低点支撑:DRAWLINE(CURRBARSCOUNT=DDCS2,C,CURRBARSCOUNT=DDCS1,C,1) COLORRED,DOTLINE;
DRAWLINE(CURRBARSCOUNT=DDCS1,C,ISLASTBAR,REF(C,DDCS1-1),1),DOTLINE,COLORMAGENTA;
DRAWLINE(CURRBARSCOUNT=DDCS2,C,ISLASTBAR,REF(C,DDCS2-1),1),DOTLINE,COLORYELLOW;