通达信顶底预警公式

[复制链接]
查看21 | 回复0 | 2022-7-24 07:38:53 | 显示全部楼层 |阅读模式

通达信顶底预警公式

LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),4,1)/SMA(ABS(CLOSE-LC),4,1)*100;
VARB:=SMA(MAX(CLOSE-LC,0),7,1)/SMA(ABS(CLOSE-LC),7,1)*100;
VARC:=SMA(MAX(CLOSE-LC,0),13,1)/SMA(ABS(CLOSE-LC),13,1)*100;
VARD:=BARSCOUNT(CLOSE);
散户:EMA( (CLOSE-MA(CLOSE,11))/MA(CLOSE,11)*480,7) ,COLORRED,LINETHICK2;
DRAWBAND(散户,RGB(255,60,0),0,RGB(0,324,324));
顶部雷达:CROSS(80,RSI)*15,LINETHICK3,COLORBLUE;
DRAWTEXT(CROSS(80,RSI),10,顶 ),COLORWHITE;
主力:EMA( (CLOSE-MA(CLOSE,7))/MA(CLOSE,7)*480,2),COLORYELLOW,LINETHICK1;
底部雷达:(VARB< 20 AND VARC< 25 AND VARD> 20)*30,LINETHICK2,COLORRED;
DRAWTEXT(CROSS(100,底部雷达) ,10,底 ),LINETHICK1,COLORF00FF0;
DRAWTEXT(CROSS(主力,散户) AND 主力<-10,-20,升),COLOR00CCFF;  
DRAWICON(CROSS(主力,散户) AND 主力<-10 AND 散户>REF(散户,1)OR CROSS(主力,散户) AND 散户<-35 ,-15,1);
DRAWTEXT(CROSS(18,RSI)AND 散户<-20 AND 底部雷达 ,25,底 ),LINETHICK1, COLORRED;

739155733.jpg

739155733.jpg

 

回复

使用道具 举报

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

本版积分规则