通达信【连板研究院】量学常用主图指标公式源码

X_1:=STRCAT(4,STRCAT(STRCAT(STRCAT(5,HYBLOCK),STRCAT(6,DYBLOCK)),STRCAT(7,GNBLOCK)));
DRAWTEXT_FIX(ISLASTBAR,0.005,0,0,X_1);
均价:AMOUNT/VOL/100,NODRAW,COLORWHITE;
X_2:=(CLOSE+0.005-REF(CLOSE,1))/REF(CLOSE,1)*100>=10;
STICKLINE(X_2=1,OPEN,CLOSE,3,0),COLORMAGENTA;
X_3:=MIN(CLOSE,OPEN)>REF(MAX(CLOSE,OPEN),1);
明日涨停参考:CLOSE*1.1,NODRAW,COLORWHITE;
STICKLINE(X_3=1,OPEN,CLOSE,0.4,0),COLORYELLOW;
价柱腰价:(LOW+HIGH)/2,NODRAW,COLORWHITE;
实体腰价:(OPEN+CLOSE)/2,NODRAW,COLORWHITE;
价柱上三一价:MAX(HIGH,LOW)-(HIGH-LOW)/3,NODRAW,COLORWHITE;
价柱下三一价:MIN(HIGH,LOW)+(HIGH-LOW)/3,NODRAW,COLORWHITE;
实体上三一价:MAX(OPEN,CLOSE)-ABS(OPEN-CLOSE)/3,NODRAW,COLORWHITE;
实体下三一价:MIN(OPEN,CLOSE)+ABS(OPEN-CLOSE)/3,NODRAW,COLORWHITE;
X_4:=FINDHIGHBARS(VOL,1,天数,1);
X_5:=FINDHIGHBARS(VOL,X_4+5,天数,1);
X_6:=FINDHIGHBARS(VOL,10,100,1);
X_7:=FINDLOWBARS(VOL,5,100,1);
X_8:=CURRBARSCOUNT;
X_9:=0;
X_10:=CONST(X_4);
X_11:=CONST(X_5);
X_12:=CONST(X_6);
X_13:=CONST(X_7);
X_14:=CONST(REF(IF(CLOSE>OPEN,CLOSE,OPEN),X_10+X_9));
X_15:=CONST(REF(IF(CLOSE>OPEN,OPEN,CLOSE),X_10+X_9));
DRAWICON(CURRBARSCOUNT=X_10+1,LOW*0.98,38),LINETHICK9;
STICKLINE(CURRBARSCOUNT<=X_10,X_14,X_14,4,1),COLORMAGENTA;
STICKLINE(CURRBARSCOUNT<=X_10,X_15,X_15,2,(-1)),COLORMAGENTA;
X_16:=CONST(REF(IF(CLOSE>OPEN,CLOSE,OPEN),X_11+X_9));
X_17:=CONST(REF(IF(CLOSE>OPEN,OPEN,CLOSE),X_11+X_9));
DRAWICON(CURRBARSCOUNT=X_11+1,LOW*0.98,11),LINETHICK9;
STICKLINE(CURRBARSCOUNT<=X_11,X_16,X_16,4,1),COLORLICYAN;
STICKLINE(CURRBARSCOUNT<=X_11,X_17,X_17,2,(-1)),COLORLICYAN;
X_18:=CONST(REF(IF(CLOSE>OPEN,CLOSE,OPEN),X_12));
DRAWICON(CURRBARSCOUNT=X_12+1,HIGH,35),LINETHICK9;
STICKLINE(CURRBARSCOUNT<=X_12,X_18,X_18,4,(-1)),COLORRED;
X_19:=CONST(REF(IF(CLOSE>OPEN,OPEN,CLOSE),X_13));
DRAWICON(CURRBARSCOUNT=X_13+1,LOW*0.97,34),LINETHICK9;
STICKLINE(CURRBARSCOUNT<=X_13,X_19,X_19,1,(-1)),COLORRED;




未来函数检测结果如下:
该公式包含未来函数:DHIGH
该公式包含未来函数:DLOW
解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图