{www.9m8.cn}股海扬帆}
BIAS20:=(CLOSE-MA(CLOSE,20))/MA(CLOSE,20)*100;
起航天数:BARSLAST(BARSLAST(BIAS20 0 AND REF(BIAS20,1) 0) 0),STICK,COLORRED,LINETHICK4;
休整天数:BARSLAST(BARSLAST(BIAS20 0 AND REF(BIAS20,1) 0) 0),STICK,COLOR00FFFF,LINETHICK4;
DRAWTEXT(起航天数=1,-5,'起'),COLORRED;
DRAWTEXT(起航天数=1,-10,'航'),COLORRED;
DRAWTEXT(休整天数=1,-5,'休'),COLORYELLOW;
DRAWTEXT(休整天数=1,-10,'整'),COLORYELLOW;
-20,COLOR000000;
Var2w:=100-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
MW:= EMA(Var2w,3);
Var3w:=EMA(Var2w,7);
M1:= EMA(Var3w,5);
mb1:=CROSS(MW,M1) AND M1
抄底介入:IF((mb1),20,0),linethick2,colorff00ff;
drawtext(抄底介入 ,30,'抄底 '),colorred;
Var06:=(2*CLOSE+HIGH+LOW)/4;
Var08:=LLV(LOW,34);
VarB1:=HHV(HIGH,34);
BB:=EMA((Var06-Var08)/(VarB1-Var08)*100,9);
VarC1:=EMA(0.667*REF(BB,1)+0.333*BB,2);
DRAWICON(FILTER(BB REF(BB,1)AND BB 55 AND BB REF(BB,3)AND C MA(C,15),7),50,2);