通达信潜伏涨停3公式

[复制链接]
查看69 | 回复0 | 2021-8-19 14:54:51 | 显示全部楼层 |阅读模式

以下是通达信潜伏涨停3公式(无源码的请下载附件导入)

HJ_1:=(3*CLOSE+LOW+OPEN+HIGH)/6;
 HJ_2:=(20*HJ_1+19*REF(HJ_1,1)+18*REF(HJ_1,2)+17*REF(HJ_1,3)+16*REF(HJ_1,4)+15*REF(HJ_1,5)+14*REF(HJ_1,6)+13*REF(HJ_1,7)+12*REF(HJ_1,8)+11*REF(HJ_1,9)+10*REF(HJ_1,10)+9*REF(HJ_1,11)+8*REF(HJ_1,12)+7*REF(HJ_1,13)+6*REF(HJ_1,14)+5*REF(HJ_1,15)+4*REF(HJ_1,16)+3*REF(HJ_1,17)+2*REF(HJ_1,18)+REF(HJ_1,20))/210;

 HJ_3:=EMA(HJ_2,13);
 HJ_4:=EMA(CLOSE,5);
 HJ_5:=EMA(HJ_4,8);
 HJ_6:=EMA(HJ_5,13);
 HJ_7:=EMA(HJ_6,50);
 HJ_8:=REF(CLOSE,1)<REF(HJ_3,1) AND CLOSE>HJ_3;
 HJ_9:=CLOSE/REF(CLOSE,1)>1+0.01*N;
 HJ_10:=HJ_3/HJ_7<1+0.01*10;
 STICKLINE(IF(HJ_8 AND HJ_9,1,0),6,0,4,0),COLOR000088;
 STICKLINE(IF(HJ_8 AND HJ_9,1,0),6,0,3,0),COLOR0000AA;
 STICKLINE(IF(HJ_8 AND HJ_9,1,0),6,0,2,0),COLOR0000CC;
 STICKLINE(IF(HJ_8 AND HJ_9,1,0),6,0,1.4,0),COLOR0000EE;
 STICKLINE(IF(HJ_8 AND HJ_9,1,0),6,0,0.9,0),COLOR0000EE;
 STICKLINE(IF(HJ_8 AND HJ_9,1,0),6,0,0.3,0),COLORLIMAGENTA;

{-----------------------------------}


73022239.jpg

73022239.jpg

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则