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

HJ_1:=MA(CLOSE,3);
HJ_2:=MA(CLOSE,5);
HJ_3:=(HJ_1+HJ_2)/2;
HJ_4:=MA(CLOSE,20);
HJ_5:=MA(CLOSE,30);
HJ_6:=HJ_2>=HJ_5 AND HJ_5>REF(HJ_5,1);
HJ_7:=HJ_3>=REF(HJ_3,1) AND REF(HJ_3,1)<REF(HJ_3,2);
HJ_8:=CLOSE>REF((OPEN-CLOSE)/2+CLOSE,2);
HJ_9:=CROSS(CLOSE,HJ_3) AND (HJ_7 OR HJ_8) AND HJ_6;
DRAWTEXT_FIX(CURRBARSCOUNT=60,0.4,0.01,0,8),COLORGREEN;
HJ_10:=HJ_9 AND HJ_2>REF(HJ_2,1);
STICKLINE(HJ_9,HIGH,LOW,0,1),COLORGREEN,LINETHICK2;
STICKLINE(HJ_9,OPEN,CLOSE,4.1,0),COLORGREEN,LINETHICK2;
STICKLINE(HJ_10,HIGH,LOW,0,1),COLORYELLOW,LINETHICK2;
STICKLINE(HJ_10,OPEN,CLOSE,4,0),COLORYELLOW,LINETHICK2;
HJ_11:=(3*CLOSE+LOW+OPEN+HIGH)/6;
红线上牛股起:(20*HJ_11+19*REF(HJ_11,1)+18*REF(HJ_11,2)+17*REF(HJ_11,3)+16*REF(HJ_11,4)+15*REF(HJ_11,5)+14*REF(HJ_11,6)+13*REF(HJ_11,7)+12*REF(HJ_11,8)+11*REF(HJ_11,9)+10*REF(HJ_11,10)+9*REF(HJ_11,11)+8*REF(HJ_11,12)+7*REF(HJ_11,13)+6*REF(HJ_11,14)+5*REF(HJ_11,15)+4*REF(HJ_11,16)+3*REF(HJ_11,17)+2*REF(HJ_11,18)+REF(HJ_11,20))/210,COLORRED,LINETHICK2;
绿线下熊股出:MA(红线上牛股起,6),COLORGREEN,LINETHICK2;
HJ_12:=AMOUNT/VOL/100;
HJ_13:=REF(CLOSE,1);
HJ_14:=LOW-REF(HIGH,1);
STICKLINE(CLOSE>REF(CLOSE,1) AND HJ_14>0,REF(HIGH,1),LOW,4,0),COLORGRAY;
HJ_15:=REF(LOW,1)-HIGH;{}
STICKLINE(CLOSE<REF(CLOSE,1) AND HJ_15>0,REF(LOW,1),HIGH,3.05,0),COLORBLUE;
HJ_16:=10;
HJ_17:=9;
HJ_18:=531;
HJ_19:=1510000;
HJ_20:=HJ_18+HJ_19;
HJ_21:=SMA(LOW,4,3);
HJ_22:=9;
HJ_23:=IF(DATE>HJ_20,0,1);
HJ_24:=9;
HJ_25:=IF(REF(CLOSE,1)*1.1*HJ_23-CLOSE<0.01,1,0);
DRAWTEXT((OPEN+CLOSE)/2 AND HJ_25,(OPEN+CLOSE)/2,HJ_24),COLORMAGENTA;
HJ_26:=9;
DRAWTEXT(HJ_25,LOW,HJ_26),COLORGRAY;
HJ_27:=MA(CLOSE,5);
HJ_28:=MA(CLOSE,21);
涨停密码线:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4,COLORWHITE;
HJ_29:=REF(CLOSE,1);
HJ_30:=SMA(MAX(CLOSE-HJ_29,0),2,1)/SMA(ABS(CLOSE-HJ_29),2,1)*100;
HJ_31:=SMA(MAX(CLOSE-HJ_29,0),14,1)/SMA(ABS(CLOSE-HJ_29),14,1)*100;
HJ_32:=45;
HJ_33:=50;
HJ_34:=80;
HJ_35:=20;
HJ_36:=5;
HJ_37:=SMA(HIGH,10,9)*HJ_23;
HJ_38:=SMA(LOW,10,9)*HJ_23;
HJ_39:=HJ_30<HJ_33 AND REF(HJ_30,1)>HJ_33;
HJ_40:=HJ_30<HJ_32 AND REF(HJ_30,1)>HJ_32;
HJ_41:=HJ_30<HJ_35 AND REF(HJ_30,1)>HJ_35;
HJ_42:=COUNT(HJ_25,13)>=1;
HJ_43:=COUNT(HJ_25,21)>=1;
HJ_44:=SMA(HIGH,HJ_16,HJ_17);
STICKLINE(HJ_44 AND HJ_43,HJ_44,HJ_44*1.001,0.3,0),COLORWHITE;
HJ_45:=SMA(LOW,HJ_16,HJ_17);
STICKLINE(HJ_25,HIGH,LOW,0,0),COLORRED;
STICKLINE(HJ_25,OPEN,CLOSE,3,0),COLORRED;
STICKLINE(HJ_25,(CLOSE+OPEN)/2,CLOSE,2.5,0),COLOR10D0FF;
卖出全息价参考:HJ_37,NODRAW,COLORRED;
补仓全息价参考:HJ_38,NODRAW,COLORGREEN;
DRAWICON(HJ_10,LOW,11);
DRAWTEXT(HJ_10,LOW*0.99,10),COLORRED;
{-----------------------------------}

 


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

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

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

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