通达信强势主力 源码

HJ_1:=IF(HHV(ABS(HHV(CLOSE,6)/LLV(CLOSE,6)-1),6)>10/100,3,6);
HJ_2:=IF(MINUTE=5,HJ_1*48,IF(MINUTE=15,HJ_1*16,IF(MINUTE=30,HJ_1*8,IF(MINUTE=60,HJ_1*4,HJ_1))));
HJ_3:=IF(VOL=0,MA(CLOSE,HJ_2),SUM(AMOUNT,HJ_2)/SUM(VOL,HJ_2)/100);
HJ_4:=MA(CLOSE,5)>REF(MA(CLOSE,5),1) AND REF(CLOSE>OPEN OR CLOSE<OPEN,69) AND HIGH/CLOSE<1.02 AND REF(CLOSE>OPEN OR CLOSE<OPEN,158);
HJ_5:=REF(MA(CLOSE,5)<REF(MA(CLOSE,5),1),1) AND REF(CLOSE>OPEN OR CLOSE<OPEN,164) AND REF(CLOSE>OPEN OR CLOSE<OPEN,14);
HJ_6:=CLOSE>OPEN AND REF(CLOSE>OPEN,1) AND REF(CLOSE<OPEN,2) AND REF(OPEN/CLOSE>1.02,2) AND REF(OPEN/CLOSE<1.08,46);
HJ_7:=IF(CROSS(CLOSE,REF(HJ_3,1)),REF(HJ_3,1),0);
HJ_8:=HHV(HJ_7>0,BARSLAST(IF(CROSS(REF(HJ_3,1),CLOSE),REF(HJ_3,1),0)>0)+1);
HJ_9:=HJ_8>REF(HJ_8,1) AND CROSS(EMA(CLOSE,3),EMA(CLOSE,21));
强势主力:HJ_4 AND HJ_5 AND HJ_6 AND HJ_9;
{-----------------------------------}


来函数检测结果如下:
该公式没有未来函数

解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

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

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