副图公式源码支持 手机/电脑
低位:1.56,COLORYELLOW;
启动:3,COLORRED;
爆发:6,DOTLINE,COLORMAGENTA;
GUP4:=IF(CLOSE<=OPEN,CLOSE,OPEN);
GUP5:=(GUP4-LOW)/LOW*100;
GUP6:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
GUP7:=(OPEN-REF(CLOSE,1))/REF(CLOSE,1)*100;
GUP8:=(CLOSE-OPEN)/OPEN*100;
GUP9:=IF(CLOSE>=OPEN,CLOSE,OPEN);
GUP10:=(HIGH-GUP9)/GUP9*100;
GUP13:=GUP8+GUP10;
GUP14:=GUP8+GUP5;
GUP15:=GUP10+GUP5;
GUP18:=MAX(MAX(MAX(MAX(MAX(MAX(GUP15,GUP6),GUP14),GUP13),GUP5),GUP10),GUP7)*1.2;
STICKLINE(GUP18>=3,GUP18, 3,2,0),COLORYELLOW;
STICKLINE(GUP18>=3,3,0,2,0),COLORRED;
STICKLINE(GUP18>=1.56 AND GUP18<3 AND GUP8>=0,GUP18,0,2,1),COLORRED;
STICKLINE(GUP18>=1.56 AND GUP18<3 AND GUP8<0,GUP18,0,2,1),COLORGREEN;
STICKLINE(GUP18<1.56 AND GUP8>=0,0,GUP18,2,1),COLORWHITE;
STICKLINE(GUP18<1.56 AND GUP8<0,0,GUP18,2,0),COLORGREEN;
涨幅:=(C-REF(C,1))/REF(C,1)*100;
五涨:=(C-REF(C,5))/REF(C,5)*100;
四涨:=(C-REF(C,4))/REF(C,4)*100;
四高:=(H-REF(C,4))/REF(C,4)*100;
三高:=(H-REF(C,3))/REF(C,3)*100;
牛势1:=(五涨>=25 OR 四涨>=23 OR 三高>=23) AND COUNT(C=H AND 涨幅>=9.9 AND H>L*1.03,3)>=2;
牛势:=COUNT(牛势1>0,10)==1 AND 牛势1>0;
DRAWTEXT(牛势,5,'↖牛'),COLORMAGENTA;
选股公式源码
{选股公式:牛}
涨幅:=(C-REF(C,1))/REF(C,1)*100;
五涨:=(C-REF(C,5))/REF(C,5)*100;
四涨:=(C-REF(C,4))/REF(C,4)*100;
四高:=(H-REF(C,4))/REF(C,4)*100;
三高:=(H-REF(C,3))/REF(C,3)*100;
牛势1:=(五涨>=25 OR 四涨>=23 OR 三高>=23) AND COUNT(C=H AND 涨幅>=9.9 AND H>L*1.03,3)>=2;
牛势:=COUNT(牛势1>0,10)==1 AND 牛势1>0;
牛:牛势; |