牛叉源码副图
参数:信号:默认1
信号:=1;
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;
- 上一篇公式:通达信精彩买点集合副图指标
- 下一篇公式:通达信波段主升浪指标副图贴图