副图公式源码 :支持手机/电脑
总手:VOL,LINETHICK0;
ZZ:=IF(REF(C,1)>REF(O,1) AND O>REF(C,1)*1.014 AND C<O*1.02,1,3);
GUP5:=MA(V,5);
GUP12:=MA(V,12);
GUP34:=MA(V,34);
GUP6:=MA(C,6);
STICKLINE(C,0,VOL,8,0),COLOR4D4D4D;
STICKLINE(CROSS(C,GUP6) AND V>GUP5*1.2 AND V>GUP12*1.2 AND ZZ>2 AND C>H*0.975,0,VOL,8,0),COLORRED;
STICKLINE(CROSS(GUP6,C) AND V>GUP5*1.2 AND V>GUP12*1.2,0,VOL,8,0),COLOR009F00;
STICKLINE(VOL>MA(VOL,5)*2 AND V>GUP34*3 AND C<REF(C,1)*1.05,0,VOL,8,0);
STICKLINE(VOL<MA(VOL,5)/2 AND V<GUP12/2,0,VOL,8,0),COLORCE6700;
STICKLINE(VOL>MA(VOL,5)*2 AND V>GUP34*3 AND C<REF(C,1)*1.05 AND CROSS(C,GUP6) AND V>GUP5*1.2 AND V>GUP12*1.2 AND ZZ>2 AND C>H*0.975,VOL*0.5,0,8,0);
STICKLINE(VOL>MA(VOL,5)*2 AND V>GUP34*3 AND C<REF(C,1)*1.05 AND CROSS(GUP6,C) AND V>GUP5*1.2 AND V>GUP12*1.2,VOL*0.5,0,8,0);
DRAWTEXT (VOL>MA(VOL,5)*2 AND V>GUP34*3 AND C<REF(C,1)*1.05,V,'天量'),COLORWHITE;
DRAWTEXT (VOL<MA(VOL,5)/2 AND V<GUP12/2,(GUP5+V)/2,'地量'),COLORWHITE;
DRAWTEXT (CROSS(C,GUP6) AND V>GUP5*1.2 AND V>GUP12*1.2 AND ZZ>2 AND C>H*0.975,0,'吸筹'),COLORWHITE;
DRAWTEXT (CROSS(GUP6,C) AND V>GUP5*1.2 AND V>GUP12*1.2,0,'卖出'),COLORWHITE;
选股公式源码
{选股公式一:地量}
ZZ:=IF(REF(C,1)>REF(O,1) AND O>REF(C,1)*1.014 AND C<O*1.02,1,3);
GUP5:=MA(V,5);
GUP12:=MA(V,12);
GUP34:=MA(V,34);
GUP6:=MA(C,6);
GUA1:=STICKLINE(C,0,VOL,8,0),COLOR4D4D4D;
GUA2:=STICKLINE(CROSS(C,GUP6) AND V>GUP5*1.2 AND V>GUP12*1.2 AND ZZ>2 AND C>H*0.975,0,VOL,8,0),COLORRED;
GUA3:=STICKLINE(CROSS(GUP6,C) AND V>GUP5*1.2 AND V>GUP12*1.2,0,VOL,8,0),COLOR009F00;
GUA4:=STICKLINE(VOL>MA(VOL,5)*2 AND V>GUP34*3 AND C<REF(C,1)*1.05,0,VOL,8,0);
地量:VOL<MA(VOL,5)/2 AND V<GUP12/2;
{选股公式二:吸筹}
ZZ:=IF(REF(C,1)>REF(O,1) AND O>REF(C,1)*1.014 AND C<O*1.02,1,3);
GUP5:=MA(V,5);
GUP12:=MA(V,12);
GUP34:=MA(V,34);
GUP6:=MA(C,6);
GUA1:=STICKLINE(C,0,VOL,8,0),COLOR4D4D4D;
GUA2:=STICKLINE(CROSS(C,GUP6) AND V>GUP5*1.2 AND V>GUP12*1.2 AND ZZ>2 AND C>H*0.975,0,VOL,8,0),COLORRED;
GUA3:=STICKLINE(CROSS(GUP6,C) AND V>GUP5*1.2 AND V>GUP12*1.2,0,VOL,8,0),COLOR009F00;
GUA4:=STICKLINE(VOL>MA(VOL,5)*2 AND V>GUP34*3 AND C<REF(C,1)*1.05,0,VOL,8,0);
吸筹:CROSS(C,GUP6) AND V>GUP5*1.2 AND V>GUP12*1.2 AND ZZ>2 AND C>H*0.975; |