通达信KMJ主力密码 源码

HJ_1:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,240,1)))));
HJ_2:=MOD(FROMOPEN,HJ_1);
HJ_3:=IF(HJ_2<0.5,HJ_1,HJ_2);
VVOL:IF(CURRBARSCOUNT=1,VOL*HJ_1/HJ_3,DRAWNULL),NODRAW;
STICKLINE(CURRBARSCOUNT=1 AND (SETCODE=0 OR SETCODE=1),VVOL,0,(-1),(-1)),COLOR00C0C0;
主力密码:VOL,VOLSTICK;
HJ_4:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
HJ_5:=SUM(IF(CLOSE=REF(CLOSE,1),0,HJ_4),0);
HJ_6:=EMA(HJ_5,3)-MA(HJ_5,9);
HJ_7:=EMA(IF(HJ_6>0,HJ_6,0),3);
HJ_8:=MA(CLOSE,3);
STICKLINE(HJ_7>REF(HJ_7,1) AND HJ_8>REF(HJ_8,1),0,HJ_7,0.3,1),COLORYELLOW;
HJ_9:=REF(CLOSE,1);{}
HJ_10:=SUM(VOL,2)/((HHV(HIGH,2)-LLV(LOW,2))*100);
HJ_11:=(CLOSE-HJ_9)*HJ_10;
HJ_12:=SUM(HJ_11,0);
HJ_13:=FORCAST(HJ_12,18);
HJ_14:=FORCAST(HJ_12,36);
资金强弱:HJ_13-HJ_14;
资金趋势:MA(资金强弱,10),COLORWHITE;
{-----------------------------------}

 


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

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

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

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