以下是通达信市场情绪副图指标公式(无源码的请下载附件导入)
配合880005的5分钟K线,对大盘指数的参考,每日的盘后数据要更新完整。指标见附图
X_1:=STRCAT(85,CON2STR(DYNAINFO(60),0));
X_2:=STRCAT(86,CON2STR(DYNAINFO(61),0));
X_3:=DYNAINFO(60)+DYNAINFO(61);
DRAWTEXT_FIX(ISLASTBAR,0,0,0,X_1),COLORRED;
DRAWTEXT_FIX(ISLASTBAR,0,0.1,0,X_2),COLORGREEN;
NOTEXT_高:X_3*0.75,COLORLIRED,LINETHICK2;
GOODGUPIAO:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
DRAWTEXT(ISLASTBAR=1,X_3*0.75,87),COLORMAGENTA;
NOTEXT_中:X_3/4,COLORLIBLUE,LINETHICK2;
DRAWTEXT(ISLASTBAR=1,X_3/4,88),COLORLIBLUE;
NOTEXT_低:X_3/6,COLOR66FFFF,LINETHICK2;
DRAWTEXT(ISLASTBAR=1,X_3/6,89),COLOR66FFFF;
2110411497.png
|