通达信【妖股异动】副图买在主升起涨点 源码

AA:=(3*C+H+L+O)/6;

VAR1:=(8*AA+7*REF(AA,1)+6*REF(AA,2)+5*REF(AA,3)+4*REF(AA,4)+3*REF(AA,5)+2*REF(AA,6)+REF(AA,8))/36;

VAR2:=(HHV(VAR1,5)+HHV(VAR1,10)+HHV(VAR1,20))/3;

VAR3:=(LLV(VAR1,5)+LLV(VAR1,10)+LLV(VAR1,20))/3;

VAR4:=(HHV(VAR2,5)+HHV(VAR2,10)+HHV(VAR2,20))/3;

VAR5:=(LLV(VAR3,5)+LLV(VAR3,10)+LLV(VAR3,20))/3;

VAR6:=(LLV(VAR1,2)+LLV(VAR1,4)+LLV(VAR1,6))/3;

MA5:=MA(CLOSE,5);

MA10:=MA(C,10);

MA30:=MA(C,30);

BB1:=AMOUNT/V;

CC1:=L<BB1*0.9;

DD1:=(C-REF(C,1))/REF(C,1)*100>1.2;

EE1:=L<MA(C,5)*0.921;

FF1:=V<MA(V,5)*1.5;

资金异动:=CC1 AND DD1 AND EE1 AND FF1;

DRAWTEXT(资金异动,(LOW* 0.98),'↖资金异动'),COLOR40CCFF;

H1:=(REF(CLOSE,3)-CLOSE)/REF(CLOSE,3)*100>5;

H2:=FILTER(H1,10);

H3:=BARSLAST(H2);

H5:=REF(HIGH,H3+2);

H6:=REF(HIGH,H3+1);

H7:=REF(HIGH,H3);

H8:=MAX(H5,H6);

H9:=MAX(H8,H7);

H10:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>5;

H11:=H3<150;

H12:=(OPEN-H9)/H9*100<30;

H13:=(CLOSE-LLV(LOW,H3))/LLV(LOW,H3)*100<50;

H15:=(CLOSE-REF(OPEN,5))/REF(OPEN,5)*100<30;

H16:=VOL/MA(VOL,5)<3.5;

H17:=(CLOSE-REF(CLOSE,89))/REF(CLOSE,89)*100<80;

H18:=H10 AND H11 AND H12 AND H13 AND H15 AND H16 AND H17;

暴利:=FILTER(H18,15);

价线:(3*CLOSE+OPEN+LOW+HIGH)/6,COLORYELLOW;

量线:MA(C,5),COLORMAGENTA;

强弱线:(20*价线+19*REF(价线,1)+18*REF(价线,2)+

17*REF(价线,3)+16*REF(价线,4)+15*REF(价线,5)+14*REF(价线,6)+13*REF(价线,7)+12*REF(价线,8)

+11*REF(价线,9)+10*REF(价线,10)+9*REF(价线,11)+8*REF(价线,12)+7*REF(价线,13)+6*REF(价线,14)+5*

REF(价线,15)+4*REF(价线,16)+3*REF(价线,17)+2*REF(价线,18)+REF(价线,20))/210,CROSSDOT,COLORWHITE;

N:=10;

ZF:=5;

BDGD:=C=HHV(C,N);

GDSJ:=BARSLAST(BDGD);

标尺线:IF(GDSJ>0,REF(C,GDSJ),REF(C,GDSJ)),COLORCYAN;

MA5A:=MA(CLOSE,5),NODRAW;

MA10A:=MA(CLOSE,10),NODRAW;

MA20A:=MA(CLOSE,20),NODRAW;

MA30A:=MA(CLOSE,30),NODRAW;

MA54A:=MA(CLOSE,54),NODRAW;

MA60A:=MA(CLOSE,60),NODRAW;

MA120A:=MA(CLOSE,120);

P1:=(((CLOSE-MA54A)/MA54A)<0.1);

P2:=(((CLOSE-MA10A)/MA10A)<0.3);

P3:=(((P1=1) AND (P2=1))*0.2);

突破:=((((P3=0) AND (REF(P3,1)=0.2)) AND (REF((COUNT((P3=0.2),10)=10),1)=1))*-0.1);

小妖:=突破=-0.1;

XDF:=(暴利 OR 小妖);

VARA:=DMA(AMOUNT/VOL/100,VOL/CAPITAL);

VARAA:=DYNAINFO(7)/(REF(CLOSE,1))>1.05 AND (DYNAINFO(7)/O>1.05);

FLIGA:=(VOL/REF(VOL,1)>1.2 AND COUNT(CLOSE>OPEN,1)) OR (LOW>REF(HIGH,1) AND COUNT(OPEN>CLOSE,1) AND VOL/REF(VOL,1)>1.2);

妖股:=XDF AND C/REF(C,1)>1.095 AND FLIGA AND VARAA;

DRAWICON(妖股,LOW*0.995,7);

DRAWTEXT(妖股,LOW*0.975,' ↖妖股'),COLORYELLOW;


未来函数检测结果如下:
该公式包含未来函数:CAPITAL
该公式包含未来函数:DYNAINFO
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图