通达信黑马因子指标公式

VAR1:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
VAR2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR3:=(SMA(VAR2,3,1)-18)*1.55;
VAR4:=SMA(VAR3,3,1);
VAR5:=(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100))*100;
VAR6:=SMA(VAR5,10,1);
VAR7:=(EMA(SMA(VAR6,8,1),34)-25)*2.6;
VAR8:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);
VAR9:=POW(MA(LOW,5),2)+MA(LOW,5);
VAR10:=POW(MA(HIGH,5),2)+MA(HIGH,5);
VAR11:=((VAR8-LLV(VAR9,64))/(HHV(VAR10,64)-LLV(VAR9,64))*150+65-10)/2;
VAR12:=SMA(VAR11,3,1)*1.5-46;
VAR13:=SMA(VAR12,3,1);
VAR14:=3*VAR12-2*VAR13;
VAR15:=(VAR1+VAR2+VAR5)/3;
VAR16:=((VAR3+VAR3+VAR6+VAR12)/4-15)*1.67;
VAR17:=((VAR4+VAR4+VAR7+VAR13)/4-15)*1.67;
VAR18:=((VAR1+VAR5*2+VAR15+VAR16+VAR17+VAR11+VAR12+VAR13+VAR14)/10-15)*1.67;
VAR19:=(HHV(HIGH,5)-CLOSE)/(HHV(HIGH,5)-LLV(LOW,5))*(-1)+0.9;
VAR20:=(HHV(HIGH,10)-CLOSE)/(HHV(HIGH,10)-LLV(LOW,10))*(-1)+0.92;
VAR21:=(HHV(HIGH,15)-CLOSE)/(HHV(HIGH,15)-LLV(LOW,15))*(-1)+0.93;
VAR22:=(HHV(HIGH,55)-CLOSE)/(HHV(HIGH,55)-LLV(LOW,55))*(-1)+0.94;
VAR23:=(HHV(HIGH,89)-CLOSE)/(HHV(HIGH,89)-LLV(LOW,89))*(-1)+0.95;
VAR24:=(HHV(HIGH,120)-CLOSE)/(HHV(HIGH,120)-LLV(LOW,120))*(-1)+0.91;
VAR25:=(HHV(HIGH,180)-CLOSE)/(HHV(HIGH,180)-LLV(LOW,180))*(-1)+0.96;
VAR26:=((VAR19*8+VAR20*8+VAR21*8+VAR22+VAR23+VAR24+VAR25)/28-0.1)*185;
VAR27:=SMA(VAR26,3,1);
VAR28:=(SMA(VAR27,8,1)-8)*1.18;
彩线1:(VAR16+VAR17+VAR18+VAR12+VAR13+VAR14+VAR28+VAR7)/13,COLOR004080;
彩线2:(VAR16+VAR17+VAR18+VAR12+VAR13+VAR14+VAR28+VAR7)/21,COLOR808000;
彩线3:(VAR16+VAR17+VAR18+VAR12+VAR13+VAR14+VAR28+VAR7)/34,COLORFF8080;
彩线4:(VAR3+VAR6+VAR27*2)/4,COLOR0000FF;
100,COLORLIGRAY;
VAR32:=crOSS(彩线4,彩线3);
VAR35:=VAR32 AND REF(彩线4,1)<0;
DRAWICON(VAR35,VAR35+5,38);
黑马:CROSS(彩线1,彩线3),COLORBLUE;
DRAWICON(黑马,黑马+5,25);



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

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

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

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