通达信【金戈铁马】主图公式 驰骋天下抓黑马 用法详解 源码

{金戈铁马选股源码如下}
HGW1:=MA(CLOSE,5);
HGW2:=ATAN((HGW1/REF(HGW1,1)-1)*100)*180/3.1416;
HGW3:=SMA(EMA((HGW1-REF(HGW1,1))/REF(HGW1,1),3)*100,3,1);
HGW4:=EMA((HGW3-REF(HGW3,1)),3);
HGW5:=MA(CLOSE,10);
HGW6:=ATAN((HGW5/REF(HGW5,1)-1)*100)*180/3.1416;
HGW7:=MA(CLOSE,30);
HGW8:=(CLOSE-HGW7)/HGW7*100;
HGW9:=ATAN((HGW7/REF(HGW7,1)-1)*100)*180/3.1416;
HGW10:=FILTER(HGW9>30 AND HGW6>45 AND CROSS(HGW2,60),10);
HGW11:=COUNT(CROSS(HGW2,30),5)>=1 AND HGW1>REF(HGW1,1);
HGW12:=HGW8>REF(HGW8,1) AND HGW5>REF(HGW5,1);
HGW13:=EMA(COST(81),10);
VAR18:=HGW4>REF(HGW4,1) AND HGW3>REF(HGW3,1);
VAR19:=FILTER(HGW11 AND HGW12 AND VAR18,10) AND CLOSE>HGW13;
XG:VAR19 AND HGW10;

{金戈铁马主图源码如下}
追涨:EMA(COST(81),10),COLORRED,LINETHICK2;
牛熊线:EMA(COST(27),120),COLORGREEN,LINETHICK2;
做空68:HHV((HIGH+LOW+OPEN+2*CLOSE)/5*2-LOW,5),COLORRED,DOTLINE;
平衡点:LLV((HIGH+LOW+OPEN+2*CLOSE)/5,3),COLORGRAY,DOTLINE;
HGW1:=MA(CLOSE,5);
HGW2:=ATAN((HGW1/REF(HGW1,1)-1)*100)*180/3.1416;
HGW3:=SMA(EMA((HGW1-REF(HGW1,1))/REF(HGW1,1),3)*100,3,1);
HGW4:=EMA((HGW3-REF(HGW3,1)),3);
HGW5:=MA(CLOSE,10);
HGW6:=ATAN((HGW5/REF(HGW5,1)-1)*100)*180/3.1416;
HGW7:=MA(CLOSE,30);
HGW8:=(CLOSE-HGW7)/HGW7*100;
HGW9:=ATAN((HGW7/REF(HGW7,1)-1)*100)*180/3.1416;
HGW10:=FILTER(HGW9>30 AND HGW6>45 AND CROSS(HGW2,60),10);
HGW11:=COUNT(CROSS(HGW2,30),5)>=1 AND HGW1>REF(HGW1,1);
HGW12:=HGW8>REF(HGW8,1) AND HGW5>REF(HGW5,1);
VAR18:=HGW4>REF(HGW4,1) AND HGW3>REF(HGW3,1);
VAR19:=FILTER(HGW11 AND HGW12 AND VAR18,10) AND CLOSE>追涨;
DRAWTEXT(VAR19,LOW*0.97,'←短金'),COLORRED;
DRAWTEXT(HGW10,LOW*0.95,'←黑马'),COLORYELLOW;


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

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

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