通达信天地分界副图源码
2016-08-07 20:19:00来源:本站整理浏览:216
RSV:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
STICKLINE(J>REF(J,1),HHV(J,3),LLV(J,3),0,0),COLORRED;
STICKLINE(J>REF(J,1),J,REF(J,1),3,0),COLORRED;
STICKLINE(J<REF(J,1),HHV(J,3),LLV(J,3),0,0),COLORFFAA00;
STICKLINE(J<REF(J,1),J,REF(J,1),3,0),COLORFF3300;
预警线:100,COLOR00FF00,DOTLINE;
启动线:0,COLORFF00FF,DOTLINE;
安全线:80,DOTLINE;
分界线:50,DOTLINE,COLORWHITE;
DRAWTEXT(ISLASTBAR,预警线,"预警")COLORRED;
DRAWTEXT(ISLASTBAR,启动线,"启动")COLORMAGENTA;
DRAWTEXT(ISLASTBAR,安全线,"安全")COLORMAGENTA;
DRAWTEXT(ISLASTBAR,分界线,"分界")COLORWHITE;
FF:=EMA(CLOSE,3);
MA15:=EMA(CLOSE,21);
DRAWICON(CROSS(FF,MA15),J,22);
- 上一篇公式:通达信 喜鹊闹梅副图/选股源码
- 下一篇公式:放个大招,狠招 一年翻一翻 成功率97.83%的稳赚不赔