通达信【主力拉升寻黑马】套装指标,让你紧跟主力拉升脚步!源码

{主力拉升寻黑Z源码如下}
ZYG1:=1;
ZYG3:=LLV(HIGH,240);
ZYG4:=100*(CLOSE-ZYG3)/ZYG3*ZYG1;
ZYG5:=REF(LLV(CLOSE,480),1)*ZYG1;
ZYG6:=REF(HHV(CLOSE,480),1)*ZYG1;
ZYG7:=100*(CLOSE-ZYG5)/(ZYG6-ZYG5)*ZYG1;
ZYG8:=(CLOSE-LLV(CLOSE,981))/(HHV(CLOSE,981)-LLV(CLOSE,981))*100*ZYG1;
ZYG9:=(CLOSE-LLV(CLOSE,393))/(HHV(CLOSE,393)-LLV(CLOSE,393))*100*ZYG1;
ZYGA:=(CLOSE-LLV(LOW,981))/(HHV(HIGH,981)-LLV(LOW,981))*100*ZYG1;
ZYGB:=(CLOSE-LLV(LOW,393))/(HHV(HIGH,393)-LLV(LOW,393))*100*ZYG1;
ZYGC:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),5)/4*ZYG1;
ZYGD:=IF(ZYGC>23.16,ZYGC,0)*ZYG1;
ZYGE:=ZYGC< 1*ZYG1;
ZYGF:=ZYGD*ZYG1;
ZYG10:=ZYG4< 0 AND ZYG7< 0;
ZYG11:=1;
ZYG12:=(HIGH+LOW+CLOSE*2)/4*ZYG11;
ZYG13:=EMA(ZYG12,21);
ZYG14:=STD(ZYG12,21);
ZYG15:=((ZYG12-ZYG13)/ZYG14*100+200)/4*ZYG11;
ZYG16:=(EMA(ZYG15,89)-25)*1.56*ZYG11;
ZYG17:=EMA(ZYG16,5)*1.22*ZYG11;
ZYG18:=EMA(ZYG17,3)*ZYG11;
ZYG19:=3*ZYG17-2*ZYG18*ZYG11;
ZYG1A:=IF(CROSS(ZYG19,ZYG17) AND CROSS(ZYG19,ZYG18) AND CROSS(ZYG17,ZYG18),1,0);
ZYG1B:=IF(CROSS(ZYG17,ZYG19) AND CROSS(ZYG18,ZYG19) AND CROSS(ZYG18,ZYG17),1,0);
MA5:MA(CLOSE,5) ;
MA10:MA(CLOSE,10) ;
ZYG1C:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),13)/4*ZYG1;
ZYG1D:=EMA(CLOSE,2)-EMA(CLOSE,89)*ZYG1;
ZYG1E:=EMA(ZYG1D,30)*ZYG1;
ZYG1F:=2*(ZYG1D-ZYG1E)*10*ZYG1;
ZYG20:=POW(ZYG1F,3)*0.1+POW(ZYG1F,2)*ZYG1;
ZYG21:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));
ZYG22:=EMA(ZYG21*0.97,3)*ZYG1;
ZYG23:=(HIGH+LOW+CLOSE)/3*ZYG1;
ZYG24:=(ZYG23-MA(ZYG23,14))/(0.015*AVEDEV(ZYG23,14))*ZYG1;
ZYG25:=IF(ZYG1F>0.015,ZYG20,0)/45*ZYG1;
拉升资金:= ZYG25,COLORRED,LINETHICK3;
ZYG26:=EMA(CLOSE,2)-EMA(CLOSE,150);
ZYG27:=EMA(ZYG26,100);
ZYG28:=2*(ZYG26-ZYG27);
ZYG29:=POW(ZYG28,3)*0.1+POW(ZYG28,1);
ZYG2A:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));
ZYG2B:=EMA(ZYG2A*0.97,3);
ZYG2C:=(HIGH+LOW+CLOSE)/3 ;
ZYG2D:=(ZYG2C-MA(ZYG2C,14))/(0.015*AVEDEV(ZYG2C,14));
主力资金1:=IF(ZYG28>0.1,ZYG29,0)*5;
STICKLINE(CROSS(拉升资金,主力资金1),C,O,2,0),COLORMAGENTA ;
DRAWICON(CROSS(拉升资金,主力资金1),L,26);


{主力拉升寻黑F源码如下}

ZYG1:=1;
ZYG3:=LLV(HIGH,240);
ZYG4:=100*(CLOSE-ZYG3)/ZYG3*ZYG1;
ZYG5:=REF(LLV(CLOSE,480),1)*ZYG1;
ZYG6:=REF(HHV(CLOSE,480),1)*ZYG1;
ZYG7:=100*(CLOSE-ZYG5)/(ZYG6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YG1;
ZYG1E:=EMA(ZYG1D,30)*ZYG1;
ZYG1F:=2*(ZYG1D-ZYG1E)*10*ZYG1;
ZYG20:=POW(ZYG1F,3)*0.1+POW(ZYG1F,2)*ZYG1;
ZYG21:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));
ZYG22:=EMA(ZYG21*0.97,3)*ZYG1;
ZYG23:=(HIGH+LOW+CLOSE)/3*ZYG1;
ZYG24:=(ZYG23-MA(ZYG23,14))/(0.015*AVEDEV(ZYG23,14))*ZYG1;
ZYG25:=IF(ZYG1F>0.015,ZYG20,0)/45*ZYG1;
拉升资金: ZYG25,COLORRED,LINETHICK3;
ZYG26:=EMA(CLOSE,2)-EMA(CLOSE,150);
ZYG27:=EMA(ZYG26,100);
ZYG28:=2*(ZYG26-ZYG27);
ZYG29:=POW(ZYG28,3)*0.1+POW(ZYG28,1);
ZYG2A:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));
ZYG2B:=EMA(ZYG2A*0.97,3);
ZYG2C:=(HIGH+LOW+CLOSE)/3;
ZYG2D:=(ZYG2C-MA(ZYG2C,14))/(0.015*AVEDEV(ZYG2C,14));
主力资金: IF(ZYG28>0.1,ZYG29,0)*5;
STICKLINE(CROSS(拉升资金,主力资金),1006,-1006,0.8,0),COLORMAGENTA ;


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

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

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

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