通达信鹰之击主图指标公式源码

VAR1:=MA(CLOSE,5);
VAR2:=(CLOSE-VAR1)/VAR1*100;
VAR3:=ATAN((VAR1/REF(VAR1,1)-1)*100)*180/3.1416;
VAR4:=SMA(EMA((VAR1-REF(VAR1,1))/REF(VAR1,1),3)*100,3,1);
VAR5:=EMA((VAR4-REF(VAR4,1)),3);
VAR6:=MA(CLOSE,10);
VAR7:=ATAN((VAR6/REF(VAR6,1)-1)*100)*180/3.1416;
VAR8:=MA(CLOSE,30);
VAR9:=(CLOSE-VAR8)/VAR8*100;
VAR10:=ATAN((VAR8/REF(VAR8,1)-1)*100)*180/3.1416;
VAR11:=FILTER(VAR10>30 AND VAR7>45 AND crOSS(VAR3,60),10);
VAR12:=FILTER(COUNT(CROSS(VAR3,30),5)>=1 AND VAR1>REF(VAR1,1) AND VAR9>REF(VAR9,1) AND VAR6>REF(VAR6,1) AND VAR5>REF(VAR5,1) AND VAR4>REF(VAR4,1),10);
VAR13:=FILTER(COUNT(CROSS(30,VAR3),5)>=1 AND (C>VAR8 OR O>VAR8) AND VAR1<REF(VAR1,1) AND VAR9<REF(VAR9,1) AND VAR6<REF(VAR6,1),10);
VAR14:=CROSS(0,VAR2) AND VAR9<REF(VAR9,1) AND VAR6>REF(VAR6,1);
VAR15:=FILTER(VAR14,10);
VAR16:=COUNT(CROSS(VAR2,0),3)>=1 AND VAR9>REF(VAR9,1) AND VAR1>REF(VAR1,1) AND (C/REF(C,1)-1)*100>5 AND REF(C,1)<VAR8;
VAR17:=FILTER(VAR16,10);
VAR18:=MAX(Abs(HIGH-AMOUNT/vol/100),ABS(AMOUNT/VOL/100-LOW));
VAR28:=ABS((OPEN+CLOSE)/2-AMOUNT/VOL/100);
VAR29:=(VAR18+VAR28)/AMOUNT*VOL*100*50;
DRAWTEXT(VAR12,LOW*0.98,'←加仓'),COLORRED;
DRAWTEXT(VAR15,HIGH*1.02,'←减仓'),COLORCYAN;
DRAWTEXT(VAR17,LOW*0.98,'←买入'),COLORYELLOW;
DRAWTEXT(VAR13,HIGH*1.02,'←清仓'),COLORGREEN;
DRAWTEXT(VAR11,LOW*0.98,'←强势狙击'),COLORYELLOW;
DRAWTEXT(VAR29>6 AND L<=LLV(L,10),L*0.95,'←异动'),COLORCYAN;
DRAWTEXT_FIX(1,0.01,0,0,DYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(1,0.07,0,0,HYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(1,0.13,0,0,'概念:'),COLORYELLOW;
DRAWTEXT_FIX(1,0.16,0,0,GNBLOCK),COLORYELLOW;
DRAWTEXT_FIX(1,0.01,0.05,0,'风格:'),COLORGREEN;
DRAWTEXT_FIX(1,0.04,0.05,0,FGBLOCK),COLORGREEN;




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

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

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

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