通达信鼎牛伏击涨停伏击源码

HJ_1:=EMA(EMA(CLOSE,10),10);
 HJ_2:=(HJ_1-REF(HJ_1,1))/REF(HJ_1,1)*1000;
 HJ_3:=1170309;
 STICKLINE(HJ_2<REF(HJ_2,1) AND DATE<HJ_3 AND HJ_2<0,HJ_2,0,2,0),COLORBLUE;
防守:IF(HJ_2<REF(HJ_2,1) AND HJ_2<0,HJ_2,0),NODRAW,COLORBLUE;
 HJ_4:=1170310;
 HJ_5:=100*0.95;
 STICKLINE(HJ_5>50 AND COST(85)<CLOSE AND DATE<HJ_3 AND HJ_2>0,HJ_2,0,2,0),COLORRED;
进攻:IF(HJ_5>50 AND COST(85)<CLOSE AND HJ_2>0,HJ_2,0),NODRAW,COLORRED;
 STICKLINE(HJ_2<REF(HJ_2,1) AND DATE<HJ_3 AND HJ_2>0,HJ_2,0,2,0),COLORGREEN;
 DRAWGBK(DATE>1170428,RGB(0,0,255),RGB(255,0,0),0,5,0);
收兵:IF(HJ_2<REF(HJ_2,1) AND HJ_2>0,HJ_2,0),NODRAW,COLORGREEN;
 HJ_6:=SMA(HJ_2,5,1)-SMA(HJ_2,13,1);
 HJ_7:=(MA(CLOSE,1)+MA(CLOSE,3)+MA(CLOSE,5)+MA(CLOSE,7)+MA(CLOSE,9))/5;
 HJ_8:=(MA(CLOSE,2)+MA(CLOSE,4)+MA(CLOSE,6)+MA(CLOSE,8)+MA(CLOSE,10))/5;
 HJ_9:=MAX(EMA(HJ_7,1)-EMA(HJ_8,5),0)*200;
与庄共舞:EMA(HJ_9,5),STICK,COLORMAGENTA;
 STICKLINE(与庄共舞<REF(与庄共舞,1) AND DATE<HJ_4,0,与庄共舞,1,0),COLORGREEN;
上升浪:HJ_6-SMA(HJ_6,3,1),COLORRED,LINETHICK2;
下跌浪:IF(上升浪<REF(上升浪,1),上升浪,DRAWNULL),COLORCYAN,LINETHICK2;
 DRAWTEXT_FIX(ISLASTBAR AND DATE>1161222,0.002,0.45,0,7),COLORBLUE;



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

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

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