BDGD:=C=HHV(C,20);
GDSJ:=BArslAST(BDGD);
T线:IF(GDSJ>0,REF(C,GDSJ),REF(C,GDSJ)),POINTDOT,COLORRED,LINETHICK4;
GJ:=(C+H+L+O)/4;
明阻:=L+(GJ-L)+(C-L);
明支:=L+(C-GJ);
今阻:REF(明阻, 1),COLORGREEN,NODRAW;
今支:REF(明支, 1),COLORFF00FF,NODRAW;
STICKLINE(ISLASTBAR AND C>=今阻,今阻*1.0001,今阻*0.9999,15,0),COLOR0000FF;
STICKLINE(ISLASTBAR AND C<今阻,今阻*1.0001,今阻*0.9999,15,0),COLOR00FF00;
STICKLINE(ISLASTBAR AND C>=今支,今支*1.0001,今支*0.9999,15,0),COLORFF00FF;
STICKLINE(ISLASTBAR AND C<今支,今支*1.0001,今支*0.9999,15,0),COLORFF8800;
TY:=CLOSE;
HD:=FILTER(BacKSET(FILTER(REF(TY,10)=HHV(TY,2*10+1),10),10+1),10);
LD:=FILTER(BACKSET(FILTER(REF(TY,10)=LLV(TY,2*10+1),10),10+1),10);
A:=REF(CLOSE,BARSLAST(HD));
B:=REF(CLOSE,BARSLAST(LD));
T2:=BARSLAST(HD)>BARSLAST(LD) AND NOT(LD);
波浪底:IF(T2,B,B),COLOR80FF00,POINTDOT,LINETHICK4;
M5:expma(CLOSE,5),COLORYELLOW;
M10:EXPMA(CLOSE,10);
M30:EXPMA(CLOSE,30);
M60:EXPMA(CLOSE,60),COLORRED;
M250:MA(CLOSE,250);