 | |  |  |
[通达信] 通达信日均线和周均线指标公式(源码)
EMA7:EMA(C,7),COLOR00FF00,DOTLINE;
EMA14:EMA(C,14),COLORWHITE,DOTLINE;
EMA21:EMA(C,21),COLORYELLOW,DOTLINE;
ZMA7:EMA(C,35),COLORFF00FF;
ZMA14:EMA(C,70),COLORFFCCCC;
ZMA34:EMA(C,170),COLORFFCC66;
VV1:=EMA(C,35)>EMA(C,70) AND EMA(C,35)>EMA(C,170) AND EMA(C,170)>REF(EMA(C,170),1);
VV2:=VV1 AND CROSS(EMA(C,70),EMA(C,170));
DRAWICON(VV2,L-0.20,9);{双跨越信号显示9号图标为钱袋子}
VV3:=EMA(C,35)>EMA(C,170) AND EMA(C,70)>EMA(C,170) AND EMA(C,170)>REF (EMA(C,170),1);
VV4:=VV3 AND CROSS(EMA(C,35),EMA(C,70));
DRAWICON(VV4,L-0.20,5);{第二波信号显示5号图标为黄色笑脸};
164144xi0qqaabxe0fwyke.png
|
| |  | |  |
|