通达信副图指标公式 通达信强弱分界线不错的副图指标公式
2015-4-15 8:54:39 股票入门 http://rumen.southmoney.com
超底:20,COLORLIGREEN,DOTLINE;
底线:40,COLORLICYAN,DOTLINE;
强弱分界线:80,COLORBLUE,DOTLINE;
顶线:120,COLORLIRED,DOTLINE;
超顶:140,COLORLIMAGENTA,DOTLINE;
DRAWTEXT(ISLASTBAR,超底,‘超底’),COLORLIGREEN;
DRAWTEXT(ISLASTBAR,底线,‘底线’),COLORLICYAN;
DRAWTEXT(ISLASTBAR,强弱分界线,‘强弱’),COLORYELLOW;
DRAWTEXT(ISLASTBAR,顶线,‘顶线’),COLORLIRED;
DRAWTEXT(ISLASTBAR,超顶,‘超顶’),COLORLIMAGENTA;
VAR1:=(H+L+O+C*2)/5;
VAR2:=EMA(VAR1,21);
VAR3:=STD(VAR1,23);
VAR4:=EMA(VAR1,2);
VARA:=(VAR1-VAR2)*100/VAR3;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:EXPMA(EXPMA(EXPMA(RSV,2),3),3),COLORCYAN;
D:SMA(K,2,1),COLORWHITE;
J:3.5*K-2*D,COLORYELLOW,LINETHICK2;
IF(J》REF(J,1),J,DRAWNULL),COLORRED,LINETHICK2;
IF(J《REF(J,1),J,DRAWNULL)COLORGREEN,LINETHICK2;
DRAWICON(FILTER(J》REF(J,1)AND J《REF(J,3) AND J《K AND VAR4》REF(VAR4,1) AND K》=REF(K,1)AND J《40 OR CROSS(J,K)AND CROSS(J,D) AND J《40 OR J》REF(J,1)AND J《40,7), J*0.8,1);
DRAWICON(FILTER(J《=REF(J,1) AND J》80,8), J*1.2,2);
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。