通达信大胆追指标公式

[复制链接]
查看77 | 回复0 | 2021-8-20 01:30:39 | 显示全部楼层 |阅读模式

以下是通达信大胆追指标公式(无源码的请下载附件导入)

AA:=LLV(LOW,36);

BB:=HHV(HIGH,30);

DD:=(EMA(((CLOSE-AA)/(BB-AA))*(4),4))*(25);

值:DD,COLORRED,LINETHICK2;

风险:80,COLORFF00FF;

顶部:87.5,COLOR00FF00;

跟踪:10,COLOR0000FF;

强弱分界: 35,COLORWHITE;

VAR1:=(2*CLOSE+HIGH+LOW)/4;

算术平均:=MA(VAR1,20);

股海:=(((DD-LLV(DD,21))/(HHV(DD,21)-LLV(DD,21)))*(4))*(25);

抄底:IF(CROSS(值,5)AND C>REF(C,1) ,8,0),COLORYELLOW;

DRAWTEXT(CROSS(值,5)AND C>REF(C,1),9,'抄底'), COLORWHITE;

买入:IF(CROSS(值,9) AND COUNT((值<9)=1,3) AND C>REF(C,1),12,0),COLORGREEN;

DRAWTEXT(CROSS(值,9) AND COUNT((值<9)=1,3) AND C>REF(C,1),15,'买入'), COLORYELLOW;

做多:IF(CROSS(值,10) ,12,0),COLORYELLOW;

DRAWTEXT(CROSS(值,10),12,'做多'), COLORWHITE;

追涨:IF(FILTER(CROSS(值,40) AND C>算术平均,5) ,33,10),COLORYELLOW;

DRAWTEXT(FILTER(CROSS(值,40) AND C>算术平均,5),33,'追涨'), COLORWHITE;

做空:IF(CROSS(值,93),60,87.5),COLORRED;

DRAWTEXT(CROSS(值,93),60,'做空'),COLORWHITE;

做空加仓:IF(CROSS(值,96),60,87.5),COLORRED;

DRAWTEXT(CROSS(值,96),60,'做空'),COLORWHITE;

关注:IF(FILTER(CROSS(C,MA(C,20))AND MA(C,20)>MA(C,10) AND C>=MA(C,60) ,5) ,29,0),COLORRED;

DRAWTEXT(FILTER(CROSS(C,MA(C,20))AND MA(C,20)>MA(C,10) AND C>=MA(C,60),5),31,'狙击牛股'),COLORRED;

DRAWBAND(关注,RGB(255,0,0),0,RGB(0,255,0));

AHC1:=CLOSE*VOL;

AHC22:=EMA((EXPMA(AHC1,23)/EXPMA(VOL,23)+EXPMA(AHC1,54)/EXPMA(VOL,54)+EXPMA(AHC1,108)/EXPMA(VOL,108)+EXPMA(AHC1,316)/EXPMA(VOL,316))/4,34);

通道:=1.0668*AHC22,COLOR9F5F9F,LINETHICK3;

起爆:=CROSS(C,通道) AND REF(C,1)*1.05-C<0.008 AND C>O*0.5;

RRF:=起爆,STICK;

STICKLINE(IF(RRF,-120,0),+12,0,3,0),COLOR000088;

STICKLINE(IF(RRF,-120,0),+12,0,3,0),COLOR0000AA;

STICKLINE(IF(RRF,-120,0),+12,0,3,0),COLOR0000CC;

STICKLINE(IF(RRF,-120,0),+12,0,3,0),COLOR0000EE;

STICKLINE(IF(RRF,-120,0),+12,0,3,0),COLOR0000EE;

STICKLINE(IF(RRF,-120,0),+12,0,3,0),COLORLIMAGENTA;

DRAWTEXT(RRF,10.5,'黑'),COLORYELLOW;

DRAWTEXT(RRF,7.5,'马'),COLORYELLOW;

RSV:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,40))*100;

K:=SMA(RSV,3,1);

D:=SMA(K,3,1);

J:=3*K-2*D;

庄家:=EMA(J,6),COLORRED,LINETHICK2;

VAR2:=REF(LOW,1);

VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;

VAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3);

VAR5:=LLV(LOW,30);

VAR6:=HHV(VAR4,30);

VAR7:=IF(MA(CLOSE,58),1,0);

VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;

{主力吸筹:IF(VAR8>100 AND 庄家>REF(庄家,1) ,100,VAR8),COLORYELLOW;}

主力吸筹1:=IF(VAR8>100 AND 庄家>REF(庄家,1),100,VAR8),COLORYELLOW;

筹:DRAWTEXT((主力吸筹1>0.5) AND REF(庄家<=REF(庄家,1),1) AND 庄家>REF(庄家,1) ,8,'筹'),COLORRED;

N:=9;M1:=3;M2:=3;P:=9;

快线:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;

慢线:=SMA(快线,M1,1);

空:=SMA(慢线,M2,1);

牛股:IF(BARSLAST(CROSS(慢线,空))<P AND BARSLAST(CROSS(空,慢线))<P AND CROSS(慢线,空) AND 慢线<20,90,0);

散筹筹码集中度:(WINNER(C*1.1)-WINNER(C*0.9))*100,COLORGREEN,LINETHICK2;

75000641.png

75000641.png

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则