{使用说明:1.5日均量线上穿35日均量线,135日均量线,收阳线出笑脸提示。2.ddx同时走红,择机介入。}
vol,VOLSTICK;
V05:MA(VOL,5),LINETHICK1;
V35:MA(VOL,35),LINETHICK1,COLORYELLOW ;
VL135:MA(VOL,135),LINETHICK1,COLORBLUE;
ML:=crOSS(V05,VL135) OR CROSS(V05,V35);
DRAWICON(ML AND CLOSE>OPEN,LOW,5);
AA:=VOL/((HIGH-LOW)*2-Abs(CLOSE-OPEN));
买量:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE
N:=5;
M:=13;
N日内净流入:SUM(进出量,N),LINETHICK2,COLORGREEN;
流入:IF(N日内净流入>REF(N日内净流入,1),N日内净流入,DRAWNULL),COLORRED,LINETHICK2;
连红天:BArslASTCOUNT(进出量>0);
M日内翻红天:COUNT(进出量>0,M),COLORRED;
{-股票公式网站 }
走熊天:BARSLASTCOUNT(N日内净流入<0),COLORCYAN;
走牛天:BARSLASTCOUNT(N日内净流入>0),COLORRED;
强势天:BARSLASTCOUNT((N日内净流入>REF(N日内净流入,1))>0 AND N日内净流入>0);
弱势天:BARSLASTCOUNT((N日内净流入0 AND N日内净流入<0);