跳空過佈林線中軌指標 大智慧選股公式源碼
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;