1:(MA(C,3)+MA(C,6)+MA(C,12)+MA(C,24))/4,COLORFF99FF,LINETHICK2;BBI2:(MA(C,1)+MA(C,3)+MA(C,6)+MA(C,9))/4,COLORYELLOW,LINETHICK2;MA1:EMA(BBI1,10),COLOR66FF00;TY:=C;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(C,BARSLAST(HD));B:=REF(C,BARSLAST(LD));T1:=BARSLAST(HD)
BARSLAST(LD) AND NOT(LD);顶:IF(T1,A,A),COLORFF00FF,POINTDOT,LINETHICK2;STICKLINE(T1,A,A,9,0),COLORFF00FF;波浪底:IF(T2,B,B