副图公式源码支持 手机/电脑
DRAWKLINE(H,O,L,C);
MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;
强势20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210,COLORRED;
IF(强势>=REF(强势,1),强势,DRAWNULL),COLORRED;
IF(强势<=REF(强势,1),强势,DRAWNULL),COLORGREEN;
IF(强势<=REF(强势,1),强势,DRAWNULL),COLORGREEN;
M8:MA(CLOSE,8);
M20:MA(CLOSE,20);
M60:MA(CLOSE,60);
GUP1:=CLOSE>M8 AND M8>M20;
GUP2:=REF(OPEN,2)<REF(CLOSE,2) AND REF(OPEN,1)<REF(CLOSE,1) AND CLOSE>OPEN;
GUP3:=REF(V,2)<REF(V,1) AND V>REF(V,1);
GUP4:=GUP1 AND GUP2 AND GUP3;
DRAWICON(GUP4,L*0.99,1);
选股公式源码
{选股公式:红箭头图标}
MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;
M8:=MA(CLOSE,8);
M20:=MA(CLOSE,20);
M60:=MA(CLOSE,60);
GUP1:=CLOSE>M8 AND M8>M20;
GUP2:=REF(OPEN,2)<REF(CLOSE,2) AND REF(OPEN,1)<REF(CLOSE,1) AND CLOSE>OPEN;
GUP3:=REF(V,2)<REF(V,1) AND V>REF(V,1);
GUP4:=GUP1 AND GUP2 AND GUP3;
红箭头图标:GUP4; |