第一部分 副图公式 手机/电脑
P1:=20;P2:=40;
WR1:100-100*(HHV(HIGH,P1)-CLOSE)/(HHV(HIGH,P1)-LLV(LOW,P1)),COLOR9900CC;
WR2:100-100*(HHV(HIGH,P2)-CLOSE)/(HHV(HIGH,P2)-LLV(LOW,P2)),COLORCCCCCC;
量比:V/REF(MA(V,5),1),COLORYELLOW,NODRAW;
警戒:SMA(((C-LLV(L,20))/(HHV(H,20)-LLV(L,20)))*100,13,6),COLORCCFF00,NODRAW;
CAIH1:=REF(LOW,1);
CAIH2:=SMA(ABS(LOW-CAIH1),3,1)/SMA(MAX(LOW-CAIH1,0),3,1)*100;
CAIH3:=EMA(IF(CLOSE*1.2,CAIH2*10,CAIH2/10),3);
CAIH4:=LLV(LOW,34);
CAIH5:=HHV(CAIH3,34);
CAIH6:=IF(LLV(LOW,90),1,0);
CAIH7:=EMA(IF(LOW15 AND REF(WR2,1)<13 AND EXIST(WR1<5,5),30,'抄底'),COLORCYAN;
DRAWTEXT(CROSS(90,WR1) AND WR297 AND EXIST(WR2>95,3),70,'逃顶'),COLORGREEN;
DRAWTEXT(CROSS(WR1,86) AND WR2>78 AND 警戒20,5) AND MA(C,5)>MA(C,20) AND MA(C,20)>MA(C,55),50,'强势'),COLORYELLOW;
底部:5,COLOR99FF66;
顶部:95,COLORFF0088;
第二部分 选股公式 |