神秘波段
DY1:=(2*CLOSE+HIGH+LOW)/4;
DY2:=LLV(LOW,34);
DY3:=HHV(HIGH,34);
BDC:EMA((DY1-DY2)/(DY3-DY2)*100,9),colorred;
BDD:EMA((0.667*REF(BDC,1)+0.333*BDC),3),colorff9900;
BDE:EMA((DY1-DY2)/(DY3-DY2)*100,30);
BDF:EMA(BDE,5);
DY4:=(CLOSE-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89))*100;
kw:=SMA(DY4,34,1),colorcccc22;
dw:=SMA(kw,13,1);
中期趋势:kw,coloryellow;
DY5:=(CLOSE-LLV(LOW,250))/(HHV(HIGH,250)-LLV(LOW,250))*100;
km:=SMA(DY5,89,1),color3366dd;
dm:=SMA(kw,34,1);
长期趋势:km,color00ff00;
风险区:80,POINTDOT,colorff00ff;
安全区:20,POINTDOT,color00ffff;
STICKLINE(BDC>=BDD,BDC,BDD,6,0),colorred;
STICKLINE(BDC STICKLINE(BDE>=BDF,BDE,BDF,10,0),colorffffff; STICKLINE(BDE