通达信金凤凰主图指标(源码)
2014-02-07 09:45:00来源:本站整理浏览:4554
M5:=5;
M10:=10;
M22:=22;
M120:=120;
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),COLORRED;
STICKLINE(C<REF(C,1) AND REF(L,1)>H,REF(L,1),H,5,1),COLORMAGENTA;
EMA5:EMA(C,M5),LINETHICK1,COLORBLUE;
EMA10:EMA(C,M10),LINETHICK1,COLORYELLOW;
EMA22:EMA(C,M22),LINETHICK1,COLORRED;
EMA120:EMA(CLOSE,M120)LINETHICK2,COLORGREEN;
JFH:=EMA5>=EMA10 && EMA10>=EMA22;
FHW:=EMA22>=EMA10 && EMA10>=EMA5;
DRAWICON(CROSS(EMA5,EMA10),L,1);
DRAWICON(CROSS(EMA10,EMA5),H,2);
DRAWTEXT(JFH>REF(JFH,1),EMA22,'↑金凤凰'), COLORRED;
DRAWTEXT(FHW>REF(FHW,1),EMA22,'↓凤尾巴'), COLORGREEN;
- 上一篇公式:通达信填料的MACD指标(源码)
- 下一篇公式:通达信CCI轨道主图指标(源码)