以下是通达信抓强势股指标公式源码附图

VAR1:=(CLOSE-MA(CLOSE,55))/MA(CLOSE,55)*100;

TT:MA(VAR1,20);

STICKLINE(VAR1-TT>0,VAR1,TT,2,0),COLORRED,LINETHICK1;

VAR2:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;

VAR3:=SMA(VAR2,3,1);

VAR4:=(CLOSE-MA(CLOSE,7))/MA(CLOSE,7)*100;

VAR5:=ABS(VAR4),COLORGREEN;

A111:=COST(85);

A222:=COST(15);

A333:=A111-A222;

A444:=(A111+A222)/2;

单峰密集:=A333/A444*100<30,LINETHICK0;

B1:=HHV(HIGH,250);

B2:=LLV(LOW,250);

B3:=B1-B2;

B4:=(A444-B2);

低位:=A444<(B3*04+B2),LINETHICK0;

低位单峰密集:=单峰密集 AND 低位;

B5:=C/REF(C,1)>1.04; {AND V/REF(V,1)>2;{ AND H=C;}

主力持仓%:=EMA(100*(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30)),3);

主力持仓大于75%:=主力持仓%>=75 {AND 主力持仓%<=91} AND C>0 AND CLOSE>OPEN AND C=H;

启爆:=主力持仓大于75% AND 低位单峰密集 AND B4 AND WINNER(C)>=0.91 AND B5,COLORGREEN,LINETHICK3;

爆:=CROSS(VAR5,10) AND 启爆;

DRAWICON(爆,TT,25);

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。