当前位置:首页 > 通达信 > 正文

【通达信源码分享】精品指标公式-牛叉源码

2023-04-05未知 编 辑:掌上指标


公式源码:
 
DRAWGBK(C>0, RGB(40,120,20),RGB(00,00,00),0,0,1),LINETHICK2;
 
0,LINETHICK2,COLORFF9999;
 
-4.35,LINETHICK2,COLOR0080FF;
 
HH:=14;
 
LC:=REF(CLOSE,1);
 
RSI:=SMA(MAX(CLOSE-LC,0),HH,1)/SMA(ABS(CLOSE-LC),HH,1)*100, COLORSTICK;
 
RIFF : EMA(RSI,5) - EMA(RSI,35),LINETHICK2;
 
REA  : EMA(RIFF,5),LINETHICK2;
 
RACD:2*(RIFF-REA), COLORSTICK,LINETHICK2;
 
STICKLINE(RACD,SUM(0,3),0*3,3,0),COLOR00FF00;
 
DRAWBAND(RIFF,RGB(200,50,55),REA ,RGB(50,100,10));
 
CROSS(RIFF,REA) AND RIFF>0,LINETHICK2,COLORCYAN;
 
DRAWICON(CROSS(RIFF ,0),RIFF ,11);
 
DRAWICON(CROSS(RIFF ,REA),REA ,5);
 
DRAWTEXT(CROSS(RIFF,REA) AND RIFF>0,REA-0.05,'牛叉↙'),COLOR0080FF;
 
CROSS(RACD,0) AND RACD>0,LINETHICK2,COLORE8E8E8;
 
DRAWTEXT(CROSS(RIFF,0) AND RIFF>0,REA-0.05,'牛叉'),COLORCYAN;
 
低位金叉:=(CROSS(RIFF,REA) AND RIFF<-0.1);
 
STICKLINE(低位金叉,0,0.08,6,0),COLORYELLOW;
 
DRAWTEXT(低位金叉,0.16,' 低位金叉'),COLORCYAN;
大家都爱看
查看更多热点新闻
点击进入掌上指标资源网-下载各类指标