P:=3;N:=6;BC:=(IF(C>(H+L+C)/3,(H*0.618+L*0.382)*0.382,(H*0.382+L*0.618)*0.382)+(O*0.382+C*0.618)*0.618);高:=HHV(BC,P);低:=LLV(BC,P);DT:=BC=高;DL:=BC=低;高T:=BAAST(DT);低T:=BARSLAST(DL);H1:=REF(BC,高T);L1:=REF(BC,低T);中:=(H1+L1)/2;A浪:=EMA(中,N),COLORWHITE;主浪:(EMA(A浪,N*12)),COLOR6600FF,LINETHICK2;GO:=(O-主浪)*O;GH:=(H-主浪)*H,LINETHICK;GL:=(L-主浪)*L,LINETHICK;GC:=(C-主浪)*C,LINETHICK;GK:(BC-主浪)*BC,COLORRED;折线:EMA(-(BC-主浪)*BC+主浪,1),COLORGREEN;STICKLINE(GK>折线,GK,折线,5,0),COLORBROWN;{这里最好用彩带}STICKLINE(GK<折线,GK,折线,