每個人都應該有一套自己最適合的炒股體系, 私下跟很多朋友聊天,大家對指標存在一定的誤會,有的人炒股全用指標,有的人不會用!今天我跟大家分享一下實踐操作中有用的指標源碼!
指標是輔助大家判斷的,不是依靠,也不能不會用:
縮量後倍量的選股公式
連續2天漲停板的選股公式
N:=3;
M:=50;
ZT:=C>=ZTPRICE(REF(C,1),0.1);
TLB:=BARSLAST(BARSLASTCOUNT(ZT)=2);
TJ:=REF(BARSLASTCOUNT(ZT)=2,N) AND HHV(C,N) TTJ:=BARSLAST(TJ); XG:COUNT(TJ,TTJ+1) AND ZT AND CROSS(C,REF(C,TLB)) AND TLB<=M; CROSS(C,MA(C,10)) AND CROSS(C,MA(C,20)) AND CROSS(C,MA(C,30)) AND MA(C,10)>MA(C,20) AND MA(C,20)>MA(C,30); ZF:=(C/REF(C,1)-1)*100; XG:REF(ZF C>REF(C,1) AND REF(C,1)MA(C,10) AND MA(C,10)>MA(C,20); TJ1:=COUNT(C>O,20)>6; YZB:=C>=ZTPRICE(REF(C,1),0.1) AND L=C; TJ2:=COUNT(YZB,6)=0; TJ3:=BETWEEN((C-REF(C,3))/REF(C,3)*100,10,22); TJ4:=REF(C>MA(C,5) AND C>MA(C,10) AND C>MA(C,20) AND C>MA(C,30) AND C>MA(C,60) AND C>MA(C,120) AND C>MA(C,250),3); TJ1 AND TJ2 AND TJ3 AND TJ4; ZF:=(O-C)/REF(C,1)*100;{實體} SY:=(C-L)/REF(C,1)*100;{下影} OUTPUT:REF(C XG:(H-REF(C,1))/REF(C,1)*100>9.97 AND C/REF(C,1)<1.097; DIF:=EMA(CLOSE,12)-EMA(CLOSE,26); DEA:=EMA(DIF,9); T:=BARSLAST(CROSS(DEA,DIF) AND DEA>0); XG:BETWEEN(DIF,N,-N) AND T>=1 AND T<=M; 大底:IF(FILTER((SMA(MAX(CLOSE-REF(CLOSE,1),0),7,1)/ SMA(ABS(CLOSE-REF(CLOSE,3)),7,1)*100<20 AND SMA(MAX(CLOSE-REF(CLOSE,3),0),13,1)/ SMA(ABS(CLOSE-REF(CLOSE,3)),13,1)*100<25 AND MA((LLV(LOW,45)-CLOSE)/ (HHV(HIGH,45)-LLV(LOW,45))*100,5)>-19 AND (LOW>LLV(LOW,5) AND (CLOSE-HHV(CLOSE,8))/HHV(CLOSE,8) AND MA(AMOUNT,125)/ MA(VOL,125)/(MA(AMOUNT,5)/ MA(VOL,5))>1.12))*0.75,5),1,0),COLORRED,LINETHICK2; XG3:REF(L,1)*1.098REF(C,1)*1.098; DRAWRECTREL(0,0,990,990,RGB(20,18,12)); DRAWTEXT_FIX(1,0.14,0.01,1,'股東股份:'),COLORRED; 品種類型:=FINANCE(3); 所屬板塊:=HYBLOCK; 上市天數:=FINANCE(42); 股總市值:=ROUND(FINANCE(41)/100000000); 流通市值:=ROUND(FINANCE(40)/100000000); 股東人數:=FINANCE(8); 人均持股:=ROUND(FINANCE(7)/FINANCE(8)); DRAWTEXT_FIX(1,0.14,0.15,1,'品種類型:'),COLORYELLOW; DRAWTEXT_FIX(1,0.14,0.25,1,'所屬板塊:'),COLORYELLOW; DRAWTEXT_FIX(1,0.14,0.35,1,'上市天數:'),COLORYELLOW; DRAWTEXT_FIX(1,0.14,0.45,1,'股總市值:'),COLORYELLOW; DRAWTEXT_FIX(1,0.14,0.55,1,'流通市值:'),COLORYELLOW; DRAWTEXT_FIX(1,0.14,0.65,1,'股東人數:'),COLORYELLOW; DRAWTEXT_FIX(1,0.14,0.75,1,'人均持股:'),COLORYELLOW; DRAWTEXT_FIX(1,0.23,0.25,1,HYBLOCK),COLORLIGREEN; DRAWNUMBER_FIX(1,0.2,0.35,1,上市天數),COLORWHITE; DRAWNUMBER_FIX(1,0.19,0.45,1,股總市值),COLORWHITE; DRAWNUMBER_FIX(1,0.19,0.55,1,流通市值),COLORWHITE; 三均線穿陽線的選股公式
大陰線後低開高走的選股公式
兩陰一陽且多頭排列的選股公式
強勢股首次回調機會的選股公式
陽包陰的預警公式
漲停打開的公式
MACD回0軸的選股公式
通達信長線大底選股指標公式
通達信強勢反包選股指標公式
通達信基本面避險指標公式
DRAWNUMBER_FIX(1,0.2,0.65,1,股東人數),COLORWHITE;
DRAWNUMBER_FIX(1,0.2,0.75,1,人均持股),COLORWHITE;
DRAWTEXT_FIX(品種類型=1,0.23,0.15,1,'滬 深 A 股'),COLORMAGENTA;
DRAWTEXT_FIX(品種類型=2,0.23,0.15,1,' 中 小 板'),COLORMAGENTA;
DRAWTEXT_FIX(品種類型=3,0.23,0.15,1,' 創 業 板'),COLORMAGENTA;
DRAWTEXT_FIX(1,0.23,0.35,1,'天'),COLORCYAN;
DRAWTEXT_FIX(1,0.23,0.45,1,'億元'),COLORCYAN;
DRAWTEXT_FIX(1,0.23,0.55,1,'億元'),COLORCYAN;
DRAWTEXT_FIX(1,0.23,0.65,1,'人'),COLORCYAN;
DRAWTEXT_FIX(1,0.23,0.75,1,'股'),COLORCYAN;
DRAWTEXT_FIX(1,0.326,0.01,1,'業績指標:'),COLORRED;
淨資收益率:=(FINANCE(33)/FINANCE(34)*100);
銷售毛利率:=((FINANCE(20)-FINANCE(21))/FINANCE(20)*100);
淨利潤比率:=(FINANCE(30)/FINANCE(20)*100);
主營利潤率:=(FINANCE(23)/FINANCE(20)*100);
優質資產率:=((FINANCE(19)-FINANCE(22)-FINANCE(27))/FINANCE(19));
今天就跟大家分享這麼多,想自己做指標的朋友可以在上面找適合自己的條件!還有其他想分享交流的朋友可以留言!
閱讀更多 纏論小散戶 的文章