您的位置 首页 通达信公式

通达信出击捉庄选股指标公式

N:=20;
MIDA:=MA(C,N);
VART1:=POW((C-MIDA),2);
VART2:=MA(VART1,N);
VART3:=SQRT(VART2);
UPPERA:=MIDA+2*VART3;
LOWERA:=MIDA-2*VART3;
NOTEXTboll1:=REF(MIDA,1),LINETHICK2,COLORFFFF00;
NOTEXTUB1:=REF(UPPERA,1)LINETHICK3,COLORFFFF00;
LB1:=REF(LOWERA,1);
强弱线:=NOTEXTUB1,COLORFFFF00;
ZT:=IF(CODELIKE('68') OR CODELIKE('30'),ZTPRICE(REF(C,1),0.2),IF(CODELIKE('8'),ZTPRICE(REF(C,1),0.3),IF((NAMELIKE('ST') OR NAMELIKE('*')),ZTPRICE(REF(C,1),0.05),ZTPRICE(REF(C,1),0.1))));
TS:=BARSCOUNT(CLOSE)>=20;
{DRAWTEXT_FIX(1,0.03,0.02,0,'行业: '),COLORFFFF00;
DRAWTEXT_FIX(1,0.15,0.02,0,HYBLOCK),COLORYELLOW;
{DRAWTEXT_FIX(1,0.14,0.02,0,MOREHYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(1,0.03,0.18,0,'概念: '),COLORFFFF00;
DRAWTEXT_FIX(1,0.15,0.18,0,GNBLOCK),COLORYELLOW;}
短1:=EMA((3*CLOSE+HIGH+LOW+OPEN)/6,5),COLOR0080FF,LINETHICK2;
短2:=HHV(短1,5),LINETHICK2,COLORGREEN;
短3:=短1-(短2-短1),LINETHICK2,COLORRED;
短4:=IF(短2>短1,短1-(短2-短1),DRAWNULL),LINETHICK2,COLORYELLOW;
长1:=EMA((3*CLOSE+HIGH+LOW+OPEN)/6,20),COLORBLUE,LINETHICK2;
长2:=HHV(长1,5),LINETHICK2,COLORGREEN;
长3:=长1-(长2-长1),LINETHICK2,COLORRED;
长4:=IF(长2>长1,长1-(长2-长1),DRAWNULL),LINETHICK2,COLORYELLOW;
中1:=EMA((3*CLOSE+HIGH+LOW+OPEN)/6,10),COLORFFFF00,LINETHICK2;
中2:=HHV(中1,5),LINETHICK2,COLORGREEN;
中3:=中1-(中2-中1),LINETHICK2,COLORRED;
中4:=IF(中2>中1,中1-(中2-中1),DRAWNULL),LINETHICK2,COLORYELLOW;
NOTEXTA1:=EMA(短1-长1,5)+长1,LINETHICK2,COLORBLUE;
NOTEXTA2:=HHV(NOTEXTA1,5),LINETHICK2,COLORGREEN;
NOTEXTA3:=NOTEXTA1-(NOTEXTA2-NOTEXTA1),LINETHICK3,COLORRED;
NOTEXTA4:=IF(NOTEXTA2>NOTEXTA1,NOTEXTA1-(NOTEXTA2-NOTEXTA1),DRAWNULL),LINETHICK3,COLORGREEN;
操盘线:=NOTEXTA3,COLORRED;
三线:=NOTEXTA2=NOTEXTA3 AND REF(NOTEXTA2,1)>REF(NOTEXTA3,1);
三线后N天内:=BArslAST(三线) <=9;
高量过前5:=V=HHV(V,6);
买点:=FILTER(TS AND C>=O AND NOTEXTA2=NOTEXTA3 AND 三线后N天内 AND 高量过前5,9);
{DRAWICON(买点,H*1.05,25);}
ZF:=(C/REF(C,1)-1)*100;
高开:=(O/REF(C,1)-1)*100;
S0:=DYNAINFO(15)/O/100;{开盘金额}
开盘满量1:=S0/REF(V,1)*100;
T1:=(EMA(O,20)-REF(EMA(O,20),1))/REF(EMA(O,20),1)*100;
T2:=REF(L,BARSLAST(crOSS(T1,0)));
火力值:=(O-T2)/T2*100;
ZB:=CODELIKE('60') OR CODELIKE('00');
ZT0:=(C/REF(C,1)-1)*100>9.8 AND H=C;
ZTS:=EVERY(ZT0,4)<3;
ZTB:=C/REF(C,1)>1.098 AND C=H;
首板:=ZTB AND NOT(REF(ZTB,1));
倍数:=IF(V>REF(V,1),V/REF(V,1),DRAWNULL);
总倍数:=倍数 * REF(倍数,1);
前一天总倍数:=(REF(总倍数,1)<9 OR 倍数>2)OR REF(总倍数,1)=DRAWNULL;
当天总倍数:=倍数<REF(倍数,1)*4 OR (倍数=DRAWNULL OR REF(倍数,1)=DRAWNULL) OR REF(C=O AND ZTB,1);
MD:=C>=O AND REF(首板,1) AND 火力值<=20 AND REF(ZF>9.80,1) AND 高开>=2 AND 高开<=7.5 AND ZB AND ZTS AND NOTEXTA2=NOTEXTA3 AND 前一天总倍数 AND 当天总倍数;
XA:=FILTER(MD,10);
{DRAWTEXT(XA AND ((REF(倍数,1)>2 AND 倍数>2) OR 总倍数>10 OR REF(倍数,1)>4),L*0.98,'轻仓');}
{DRAWTEXT(XA,L*0.99,'主力进场'),COLOR00FFFF;
{DRAWTEXT(XA,L*0.99,'B1'),COLOR00FFFF;
DRAWICON(XA,L*0.99,9);}
第二买点:=BARSLAST(XA)<10 AND HHV(H,BARSLAST(XA))/REF(C,BARSLAST(XA))<1.11 AND L<NOTEXTA3 * 1.01;
{DRAWTEXT(FILTER(第二买点,10),L*0.99,'B2'),COLORYELLOW;}
{DRAWICON(FILTER(第二买点,10),L*0.99,23);}
{DRAWTEXT(FILTER(第二买点,10),L*0.99,'加'),COLORRED;}
volUME:=VOL;
MAVOL1:=MA(VOLUME,5);
MAVOL2:=MA(VOLUME,10);
{三线且倍量:=V>=REF(V,1)*3 AND C>=O;
STICKLINE(三线且倍量 AND XA,0,V,1,0),COLORYELLOW;
DRAWTEXT(XA,V*0.9,' 倍量'),COLOR00FFFF;}
倍量:=V>REF(V,1)*3;
两倍量:=V>REF(V,1)*2 AND V<REF(V,1)*3;
三倍量:=V>REF(V,1)*3 AND V<REF(V,1)*4;
四倍量:=V>REF(V,1)*4 AND V<REF(V,1)*5;
五倍量:=V>REF(V,1)*5;
缩量:=V<REF(V,1)*0.5;
DB:=V=HHV(V,BARSLAST(XA)+1) AND H=HHV(H,BARSLAST(XA)+1) AND C<O;
{DRAWTEXT((V>MA(V,5)*2 AND C<O AND L>LLV(L,7)) OR DB,H*0.995,' -减仓'),COLORGREEN;}
{STICKLINE((V>MA(V,5)*2 AND C<O AND L>LLV(L,7)) OR DB,O,C,1.5,0),COLORFF0080;}
{STICKLINE(倍量 AND C>O,0,V,1,0),COLORYELLOW;}
{DRAWTEXT(两倍量 AND C>O,V*0.95,' 2倍量'),COLOR00FFFF;}
{DRAWTEXT(三倍量 AND C>O,V*0.95,' 3倍量'),COLOR00FFFF;
DRAWTEXT(四倍量 AND C>O,V*0.95,' 4倍量'),COLOR00FFFF;
DRAWTEXT(五倍量 AND C>O,V*0.95,' 5倍量'),COLOR00FFFF;}
{DRAWTEXT(两倍量 AND C<=O,V*0.95,' 2倍量'),COLOR00FFFF;}
{DRAWTEXT(V>MA(V,5)*2 AND C<O,V*0.90,' 主力分歧'),COLORGREEN;
{DRAWTEXT(四倍量 AND C<=O,V*0.95,' 4倍量'),COLOR00FFFF;
DRAWTEXT(五倍量 AND C<=O,V*0.95,' 5倍量'),COLOR00FFFF;}
{DRAWTEXT(缩量,V*0.95,' 缩量'),COLORGREEN;};
涨停:=C/REF(C,1)*100-100>9.8 AND C=H;
突破:=REF(C,1)<REF(NOTEXTUB1,1) AND C>NOTEXTUB1;
涨停突破:=涨停 AND 突破;
强势突破:=C/REF(C,1)*100-100>10 AND 突破;
{L1:COUNT(涨停突破,10)=1 AND 涨停突破,NODRAW;}
L1:=涨停突破 OR 强势突破;
{L3:=COUNT(突破,20)=1;}
{L3:=C > QRCPX.NOTEXTUB1#MONTH;}
市场:=CODELIKE('60') OR CODELIKE('00') OR CODELIKE('30');
非ST:=NOT(NAMELIKE('S') OR NAMELIKE('*'));
MDD:市场 AND 非ST AND L1 ;
S1:=COUNT(MDD,10)>=1;
S2:=REF(L,1)>REF(NOTEXTA3,1) AND L<NOTEXTA3;
S3:=NOTEXTA3<REF(H,BARSLAST(MDD))*1.1;
S4:=REF(COUNT(C>REF(C,BARSLAST(MDD)),BARSLAST(MDD)),1)>=1;
S5:=NOT(MDD);
跌破:=FILTER(S1 AND S2 AND S3 AND S4 AND S5,20);
{DRAWTEXT(跌破,L*0.99,'买入');};

通达信出击捉庄选股指标公式

本文来自网络,不代表公式指标立场,转载请注明出处:https://www.gszb.top/103435.html

为您推荐

联系我们

联系我们

在线咨询: QQ交谈

邮箱: admin@gszb.top

关注微信
微信扫一扫关注我们

微信扫一扫关注公众号

加入QQ群
   
微信扫一扫关注我们

QQ扫一扫加入公式群

返回顶部