跳空过布林线中轨指标 大智慧选股公式源码(附图)

拾荒网 BOLL 541
跳空过布林线中轨指标 大智慧选股公式源码


 

MID : MA(CLOSE,N);
UPPER: MID + P*STD(CLOSE,N)/10;
LOWER: MID - P*STD(CLOSE,N)/10;

STICKLINE(C/REF(C,1)>=1.090,O,C,5,0),COLORYELLOW;

攻击迫线:=OPEN>REF(HIGH,1) ANDCLOSE>REF(HIGH,1) ANDLOW>REF(HIGH,1) ANDHIGH>CLOSE ANDREF(CLOSE,1)/REF(CLOSE,2)>=1.09 ANDV>REF(V,1);
比翼双飞:=REF(C,2)/REF(C,3)>=1.0977 ANDREF(O,1)>REF(H,2) ANDREF(L,1)>REF(H,2) ANDREF(C,1)>REF(O,1) AND C>REF(C,1) ANDL>REF(L,1);
七伤拳:=REF((C-REF(C,1))/REF(C,1)>0.09,6) ANDCOUNT((C-REF(C,1))/REF(C,1)>0.09,6+1)=1AND(HHV(H,6)-REF(C,6))/REF(C,6)*100<25 AND(LLV(L,6)-REF(C,6))/REF(C,6)*100>(5*-1);
喜鹊闹梅:=REF((C-REF(C,1))/REF(C,1)>0.09,3) ANDL>REF(C,1) ANDABS(HHV(H,3)-REF(C,3))/REF(C,3)<5 ANDABS(LLV(H,3)-REF(C,3))/REF(C,3)<5 ANDLLV(LOW,3)>REF(C,3)*0.9;
牛熊不败:=CROSS(C,MA(C,250)) ANDV>1.5*REF(MA(V,5),1) ANDC/(REF(C,1)-1)>1.3 ANDCLOSE/REF(CLOSE,1)>=1.9;
搓揉线:=REF(O,1)=REF(L,1) AND REF(H,1)/REF(C,1)>1.03AND REF(C,1)>REF(C,2) AND H=C ANDC/L>1.03 AND H>REF(C,1);
黑棒佳丽:=O>MA(C,20) AND (O-C)/O*100>0.01AND VOL/CAPITAL*100 >=3 ANDC>REF(C,1) AND REF(C,1)>REF(C,2) ANDHIGH/LOW>=1.05;
绝地反击:=OO AND CREF(V,1) AND REF(C,1)/REF(C,2)<0.95AND REF(V,1)
吞并反转:=REF(CLOSE,2)/REF(CLOSE,1)>=1.05 ANDCLOSE/REF(LOW,1)>=1.05 ANDCLOSE>REF(HIGH,1);
DRAWTEXT((攻击迫线 = 1),LOW-0.05,'攻'),LINETHICK2,COLORWHITE;
DRAWTEXT((比翼双飞 = 1),LOW-0.05,'比'),LINETHICK2,COLORYELLOW;
DRAWTEXT((七伤拳 = 1),LOW-0.05,'七'),LINETHICK2,COLORBLUE;
DRAWTEXT((喜鹊闹梅 = 1),LOW-0.05,'喜'),LINETHICK2,COLORRED;
DRAWTEXT((牛熊不败 = 1),LOW-0.05,'牛'),LINETHICK2,COLORFF00CC;
DRAWTEXT((搓揉线 = 1),LOW-0.05,'搓'),LINETHICK2,COLORGREEN;
DRAWTEXT((黑棒佳丽 = 1),LOW-0.05,'黑'),LINETHICK2,COLOR9932CD;
DRAWTEXT((绝地反击 = 1),LOW-0.05,'绝'),LINETHICK2,COLORDB9370;
DRAWTEXT((吞并反转 = 1),LOW-0.05,'吞'),LINETHICK2,COLOR856363;

X00:=(h+c+l)/3;{x012.3}
X01:0.3593964336454*X00+0.1061556927386*REF(X00,1)+0.1070368227074*REF(X00,2)+0.1097398807261*REF(X00,3)+0.1111111175094*REF(X00,4)
+0.0636145404474*REF(X00,5)+0.0508294752894*REF(X00,6)+0.0384783039502*REF(X00,7)+0.0261325562838*REF(X00,8)+0.0137868764133*REF(X00,9)+0.0082313208594*REF(X00,10)


+0.0041152371848*REF(X00,11)+0.0013717422447*REF(X00,12),COLORWHITE;
X02:0.0784274314242*X00+0.0847329828021*REF

(X00,1)+0.1210677292614*REF(X00,2)

+0.1353723993601*REF(X00,3)+0.1241759542746*REF(X00,4)+0.0609562535048*REF(X00,5)+0.0556154665432*REF(X00,6)+0.0678318871764*REF(X00,7)
+0.0845552153040*REF(X00,8)+0.0797204959788*REF(X00,9)+0.0647990696303*REF(X00,10)+0.0321243550474*REF(X00,11)+0.0106207596927*REF(X00,12),COLORGREEN;
流通盘大小:=FINANCE2(37)/1000000*100;
DRAWTEXTABS(20,20,'总股本:'+NUMTOSTR(FINANCE2(35)/10000 )+'亿'+' 流通股:'+NUMTOSTR(CAPITAL/1000000)+'亿'),COLORACFFFF;
DRAWTEXTABS(20,35,'上市日期:'+STR(FINANCE2(2))+'日'),ColorACFFFF;
每股收益:=FINANCE2(3);
每股市盈率:=DYNAINFO(39);
每股净资产:=FINANCE2(4);
销售毛利率:=FINANCE2(12);
主营收入同比:=FINANCE2(11);
净利润同比增长:=FINANCE2(10);
每股公积金:=FINANCE2(7);
每股未分配:=FINANCE2(8);
{DRAWTEXTABS(20,40,'基本面优劣提示:'),COLOR505050;}
DRAWTEXTABS(20,50,'每股收益:'+NUMTOSTRN(每股收益,2)+'元'),COLORACFFFF;
DRAWTEXTABS(20,65,'每股市盈率:'+NUMTOSTRN(每股市盈率,1)+'倍'),COLORACFFFF;
DRAWTEXTABS(20,80,'每股净资产:'+NUMTOSTRN(每股净资产,2)+'元'),COLORACFFFF;
DRAWTEXTABS(20,95,'每股公积金:'+NUMTOSTRN(每股公积金,2)+'元'),ColorACFFFF;
DRAWTEXTABS(20,110,'每股未分配:'+NUMTOSTRN(每股未分配,2)+'元'),ColorACFFFF;
DRAWTEXTABS(20,125,'销售毛利率:'+NUMTOSTRN(销售毛利率,2)+'%'),COLORACFFFF;
DRAWTEXTABS(20,140,'主营收入同比增长:'+NUMTOSTRN(主营收入同比,2)+'%'),COLORACFFFF;
DRAWTEXTABS(20,155,'净利润同比增长:'+NUMTOSTRN(净利润同比增长,2)+'%'),COLORACFFFF;
{DRAWTEXTABS(20,80,'换手率高低提示:'),COLOR505050;}
DRAWTEXTABS(20,5,'所属板块:'+BKNAME),COLORACFFFF;
DRAWTEXTREL(480,940,STKLABEL+' '+STKNAME+' '+DYNAINFO(7)+'元'+''+DYNAINFO(14)*100+'%'),LINETHICK4,COLORFFFF00;