五彩神牛加强版主图指标 通达信公式(附图)

[复制链接]
查看76 | 回复0 | 2021-8-20 19:58:42 | 显示全部楼层 |阅读模式

EMA5:EMA(C,5),LINETHICK1;
EMA10:EMA(C,10),LINETHICK1;
EMA20:EMA(C,20),LINETHICK1;
ZDF:=(C-REF(C,1))/REF(C,1)*100;
STICKLINE(ZDF>9.8,O,C,3,0),COLORYELLOW;
STICKLINE(ZDF<-9.8,O,C,3,0),COLORGREEN;
STICKLINE(LOW >REF(HIGH,1),LOW,REF(HIGH,1),5,1),;
STICKLINE(CLOSE<REF(CLOSE,1) AND REF(LOW,1)-HIGH>0,REF(LOW,1),HIGH,5,1),COLORYELLOW;
DRAWICON(CROSS(EMA5,EMA10),EMA5,1);
DRAWICON(CROSS(EMA10,EMA5),EMA5,2);
DRAWTEXT(CROSS(EMA5,EMA20),EMA5,'金凤凰'), COLORWHITE;
DRAWTEXT(CROSS(EMA20,EMA5),EMA5,'↓凤尾巴'), COLORYELLOW;
DRAWTEXT_FIX(1,0.07,0,0,HYBLOCK)COLOR0080FF;
DRAWTEXT_FIX(1,0.15,0,0,DYBLOCK)COLOR00FFFF;
LC:=REF(CLOSE,1);
RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);
FF:=EMA(CLOSE,3);
MA15:=EMA(CLOSE,21);
日:=150;昨前:=3;
高1:=REF(HHV(H,日),昨前);
低1:=REF(LLV(L,日),昨前);
H1:=高1-(高1-低1)*0.191;
H2:=高1-(高1-低1)*0.382;
H3:=高1-(高1-低1)*0.5;
H4:=高1-(高1-低1)*0.618;
H5:=高1-(高1-低1)*0.809;
顶:REFDATE(高1,DATE),COLORRED;
一0.809:REFDATE(H1,DATE),COLORYELLOW;
二0.618:REFDATE(H2,DATE),COLORMAGENTA;
三0.500:REFDATE(H3,DATE),COLORWHITE;
四0.382:REFDATE(H4,DATE),COLORGREEN;
五0.191:REFDATE(H5,DATE),COLORYELLOW;
低:REFDATE(低1,DATE),COLORRED;

14O253161310-44460.jpg

14O253161310-44460.jpg

 

回复

使用道具 举报

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

本版积分规则