通达信喜相逢副图/选股源码通用


X_1:=CLOSE>REF(CLOSE,1)*1.094 AND CLOSE=HIGH;
X_2:=LLVBARS(LOW,60);
X_3:=BARSLAST(CURRBARSCOUNT=CONST(X_2)+1);
X_4:=FINDHIGHBARS(HIGH,X_2+1,60,1);
X_5:=DRAWLINE(CURRBARSCOUNT=CONST(X_4)+1,HIGH,ISLASTBAR,REF(HIGH,X_4),0);
X_6:=BARSLAST(CURRBARSCOUNT=CONST(X_4)+1);
X_7:=DRAWLINE(X_3=0,(X_5-LOW)*0.618+LOW,ISLASTBAR,REF((X_5-LOW)*0.618+LOW,X_3),0);
X_8:=IF(CLOSE>OPEN OR (CLOSE=OPEN AND CLOSE>=REF(CLOSE,1)),VOL,0);
X_9:=IF(CLOSE<OPEN OR (CLOSE=OPEN AND CLOSE<REF(CLOSE,1)),VOL,0);
X_10:=SUM(X_8,X_3)/SUM(X_9,X_3);
X_11:=COUNT(CROSS(CLOSE>=X_5,0.5),X_3+1)=1 AND CROSS(CLOSE>=X_5,0.5) AND X_10>1.5;
X_12:=X_1 AND EXIST(CROSS(CLOSE,REF(HIGH,X_6)),3) AND CLOSE>REF(HIGH,X_6);
X_12 AND REF(X_12,1)=0 AND CLOSE>EMA(COST(85/1.2),10);




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

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

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