公式指标平台 股票指标公式源码分享 登录 注册
公式指标平台
未来函数检测
首 页 金钻指标 通达信公式 大智慧公式 同花顺公式 文华财经公式 操盘手公式 东财通公式 飞狐公式 其他公式 公式解答 股票软件 股票池
当前位置:→ 公式指标平台 > 大智慧公式 > 正文 → 正文

大智慧2号版本--高山的流水趋势排序指标预测明涨跌幅

发布时间:2015/10/12 6:59:25  浏览次数:

直接从别人的博客上转的,觉得不错分享给大家,谢谢原作者。
 直接找盘中热点和强势股!
{高山的流水----趋势排序指标;预测明涨跌幅,大智慧2号版本}
 {周周期使用}
X00:=C;
 MX000:=(0.3609454219*X00-0.03309329629*REF(X00,1)-0.04241822779*REF(X00,2)-0.026737249*REF(X00,3)-0.007010041271*REF(X00,4)-0.002652859952*REF(X00,5)-0.0008415042966*REF(X00,6)-0.0002891931964*REF(X00,7)-0.0000956265934*REF(X00,8)-0.0000321286052*REF(X00,9)-0.0000106773454*REF(X00,10)-0.0000035457562*REF(X00,11)-0.0000011670713*REF(X00,12) )/ (1-0.7522406533 );
明日重心涨跌幅:=(MX000-X00)/X00*100;
 {波段趋势}
VAR21:=(CLOSE-LLV(LOW,80))/(HHV(HIGH,80)-LLV(LOW,80))*200;
 VAR22:=SMA(VAR21,3,1);VAR23:=SMA(VAR22,3,1);
 VAR24:=3*VAR22-2*VAR23;VAR25:=LLV(LOW,5);VAR26:=HHV(HIGH,5);
 VAR27:=EMA((CLOSE-VAR25)/(VAR26-VAR25)*100,4)*2;
 VAR28:=EMA(0.667*REF(VAR27,1)+0.333*VAR27,2); VAR29:=3*VAR27-2*VAR28;
 VARA:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);
 VARB:=POW(MA(LOW,5),2)+MA(LOW,5);
 VARC:=POW(MA(HIGH,5),2)+MA(HIGH,5);
 VARD:=(VARA-LLV(VARB,64))/(HHV(VARC,64)-LLV(VARB,64))*150+65-10;
 VARE:=SMA(VARD,3,1)*1.5-100; VARF:=SMA(VARE,3,1);
 VAR30:=3*VARE-2*VARF;VAR31:=(HIGH+LOW+CLOSE*2)/4;
 VAR32:=EMA(VAR31,13);
 VAR33:=STD(VAR31,13);
 VAR34:=(VAR31-VAR32)*100/ VAR33;
 VAR35:=EMA(VAR34,5);
 VAR37:=EMA(VAR35,13)+200-100;
 VAR38:=EMA(VAR37,10);
 VAR39:=3*VAR37-2*VAR38;
 VAR1A:=VAR22+VAR27+VARE+VAR37;
 VAR1B:=VAR23+VAR28+VARF+VAR38;
 VAR1C:=VAR24+VAR29+VAR30+VAR39;
 VAR1D:=(HIGH+LOW+CLOSE)/3;
 VAR40:=(VAR1D-MA(VAR1D,34))/(0.015*AVEDEV(VAR1D,34));
 VAR42:=(HIGH+LOW+CLOSE+VAR1D)/4;
 VAR43:=EMA(VAR42,24);
 VAR44:=STD(VAR42,24);
 VAR45:=(VAR42-VAR43)/ VAR44*100;
 VAR46:=(VAR1D-MA(VAR1D,24))/(0.015*AVEDEV(VAR1D,24));
 VAR47:=EMA(VAR45,5);
 VAR2A:=((VAR47+VAR46+VAR40)/3+165)/4;
 VAR2C:=(VAR1A+VAR1B+VAR1C*30)/32/5-15;
 VAR2E:=(VAR2A+VAR2C)/2/1.1;
 VAR48:=EMA(VAR2E,3);
 VAR49:=EMA(VAR48,5);
 VAR51:=SMA(VAR48,2,1);
 {为了规避风险,设定了VAR48>=VAR51进行处理}
周明:IF((VAR48>VAR51  OR  VAR48=VAR51) ,明日重心涨跌幅,-99);
 {-99表示为已经在下跌趋势里};
----------------------------------------------------------------------------------------------
高山的流水----趋势排序指标;预测明涨跌幅,大智慧2号版本}
 {日周期使用}
X00:=C;
 MX000:=(0.3609454219*X00-0.03309329629*REF(X00,1)-0.04241822779*REF(X00,2)-0.026737249*REF(X00,3)-0.007010041271*REF(X00,4)-0.002652859952*REF(X00,5)-0.0008415042966*REF(X00,6)-0.0002891931964*REF(X00,7)-0.0000956265934*REF(X00,8)-0.0000321286052*REF(X00,9)-0.0000106773454*REF(X00,10)-0.0000035457562*REF(X00,11)-0.0000011670713*REF(X00,12) )/ (1-0.7522406533 );
明日重心涨跌幅:=(MX000-X00)/X00*100;
 {波段趋势}
VAR21:=(CLOSE-LLV(LOW,80))/(HHV(HIGH,80)-LLV(LOW,80))*200;
 VAR22:=SMA(VAR21,3,1);VAR23:=SMA(VAR22,3,1);
 VAR24:=3*VAR22-2*VAR23;VAR25:=LLV(LOW,5);VAR26:=HHV(HIGH,5);
 VAR27:=EMA((CLOSE-VAR25)/(VAR26-VAR25)*100,4)*2;
 VAR28:=EMA(0.667*REF(VAR27,1)+0.333*VAR27,2); VAR29:=3*VAR27-2*VAR28;
 VARA:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);
 VARB:=POW(MA(LOW,5),2)+MA(LOW,5);
 VARC:=POW(MA(HIGH,5),2)+MA(HIGH,5);
 VARD:=(VARA-LLV(VARB,64))/(HHV(VARC,64)-LLV(VARB,64))*150+65-10;
 VARE:=SMA(VARD,3,1)*1.5-100; VARF:=SMA(VARE,3,1);
 VAR30:=3*VARE-2*VARF;VAR31:=(HIGH+LOW+CLOSE*2)/4;
 VAR32:=EMA(VAR31,13);
 VAR33:=STD(VAR31,13);
 VAR34:=(VAR31-VAR32)*100/ VAR33;
 VAR35:=EMA(VAR34,5);
 VAR37:=EMA(VAR35,13)+200-100;
 VAR38:=EMA(VAR37,10);
 VAR39:=3*VAR37-2*VAR38;
 VAR1A:=VAR22+VAR27+VARE+VAR37;
 VAR1B:=VAR23+VAR28+VARF+VAR38;
 VAR1C:=VAR24+VAR29+VAR30+VAR39;
 VAR1D:=(HIGH+LOW+CLOSE)/3;
 VAR40:=(VAR1D-MA(VAR1D,34))/(0.015*AVEDEV(VAR1D,34));
 VAR42:=(HIGH+LOW+CLOSE+VAR1D)/4;
 VAR43:=EMA(VAR42,24);
 VAR44:=STD(VAR42,24);
 VAR45:=(VAR42-VAR43)/ VAR44*100;
 VAR46:=(VAR1D-MA(VAR1D,24))/(0.015*AVEDEV(VAR1D,24));
 VAR47:=EMA(VAR45,5);
 VAR2A:=((VAR47+VAR46+VAR40)/3+165)/4;
 VAR2C:=(VAR1A+VAR1B+VAR1C*30)/32/5-15;
 VAR2E:=(VAR2A+VAR2C)/2/1.1;
 VAR48:=EMA(VAR2E,3);
 VAR49:=EMA(VAR48,5);
 VAR51:=SMA(VAR48,2,1);
 {为了规避风险,设定了VAR48>=VAR51进行处理}
日明:IF((VAR48>VAR51  OR  VAR48=VAR51) ,明日重心涨跌幅,-99);
 {-99表示已经在下跌趋势里};
---------------------------------------------------------------------------------------------------------------
{高山的流水----趋势排序指标;预测明涨跌幅,大智慧2号版本}
 {60分钟周期使用}
X00:=C;
 MX000:=(0.3609454219*X00-0.03309329629*REF(X00,1)-0.04241822779*REF(X00,2)-0.026737249*REF(X00,3)-0.007010041271*REF(X00,4)-0.002652859952*REF(X00,5)-0.0008415042966*REF(X00,6)-0.0002891931964*REF(X00,7)-0.0000956265934*REF(X00,8)-0.0000321286052*REF(X00,9)-0.0000106773454*REF(X00,10)-0.0000035457562*REF(X00,11)-0.0000011670713*REF(X00,12) )/ (1-0.7522406533 );
明日重心涨跌幅:=(MX000-X00)/X00*100;
 {波段趋势}
VAR21:=(CLOSE-LLV(LOW,80))/(HHV(HIGH,80)-LLV(LOW,80))*200;
 VAR22:=SMA(VAR21,3,1);VAR23:=SMA(VAR22,3,1);
 VAR24:=3*VAR22-2*VAR23;VAR25:=LLV(LOW,5);VAR26:=HHV(HIGH,5);
 VAR27:=EMA((CLOSE-VAR25)/(VAR26-VAR25)*100,4)*2;
 VAR28:=EMA(0.667*REF(VAR27,1)+0.333*VAR27,2); VAR29:=3*VAR27-2*VAR28;
 VARA:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);
 VARB:=POW(MA(LOW,5),2)+MA(LOW,5);
 VARC:=POW(MA(HIGH,5),2)+MA(HIGH,5);
 VARD:=(VARA-LLV(VARB,64))/(HHV(VARC,64)-LLV(VARB,64))*150+65-10;
 VARE:=SMA(VARD,3,1)*1.5-100; VARF:=SMA(VARE,3,1);
 VAR30:=3*VARE-2*VARF;VAR31:=(HIGH+LOW+CLOSE*2)/4;
 VAR32:=EMA(VAR31,13);
 VAR33:=STD(VAR31,13);
 VAR34:=(VAR31-VAR32)*100/ VAR33;
 VAR35:=EMA(VAR34,5);
 VAR37:=EMA(VAR35,13)+200-100;
 VAR38:=EMA(VAR37,10);
 VAR39:=3*VAR37-2*VAR38;
 VAR1A:=VAR22+VAR27+VARE+VAR37;
 VAR1B:=VAR23+VAR28+VARF+VAR38;
 VAR1C:=VAR24+VAR29+VAR30+VAR39;
 VAR1D:=(HIGH+LOW+CLOSE)/3;
 VAR40:=(VAR1D-MA(VAR1D,34))/(0.015*AVEDEV(VAR1D,34));
 VAR42:=(HIGH+LOW+CLOSE+VAR1D)/4;
 VAR43:=EMA(VAR42,24);
 VAR44:=STD(VAR42,24);
 VAR45:=(VAR42-VAR43)/ VAR44*100;
 VAR46:=(VAR1D-MA(VAR1D,24))/(0.015*AVEDEV(VAR1D,24));
 VAR47:=EMA(VAR45,5);
 VAR2A:=((VAR47+VAR46+VAR40)/3+165)/4;
 VAR2C:=(VAR1A+VAR1B+VAR1C*30)/32/5-15;
 VAR2E:=(VAR2A+VAR2C)/2/1.1;
 VAR48:=EMA(VAR2E,3);
 VAR49:=EMA(VAR48,5);
 VAR51:=SMA(VAR48,2,1);
 {为了规避风险,设定了VAR48>=VAR51进行处理}
六十明:IF((VAR48>VAR51  OR  VAR48=VAR51) ,明日重心涨跌幅,-99);
 {-99表示为已经在下跌趋势里};
可以结合量,KDJ;最好周、日、60分钟的排序都是正数;60分钟排序靠前的、日的正数也是不低的,周的正数也是不低的;这差不多是个不同周期的共振原理;
 盘中直接抓热点和强势股;

必须设定周期!!!不然,60分钟、日、周、排序数据都会一样------这样就会搞错的哦;
 搞好后,要刷新计算;
 该排序抓强壮轿夫方法,不会输于任何涨停板公式;
 我们不但希望要涨停,还希望要天天涨个不停;
 该排序指标的另一个用法:也可以用于盘中找最强的板块,进入板块后,按排序立即找到板块里最强势的股;
 该排序指标的核心就是那组奇怪的带很多小数的数列;该数列来源于东方的3的从中间向两侧统计法通过不断压栈微分逼近的手段再由金港先生经过推演换算而成;该数列其实和微积分有异曲同工之妙;该数列能够非常快速敏捷地追随股价、同时又对波形锯齿有一定的修波功能;还带有一定程度上的预测功能;
 该排序指标里不含未来函数 XMA这个统计法里面统计理念的确比均线先进,从中间向两侧统计,但是它有个致命的缺点就是漂移;我对XMA的研究只突破到9,而且9里面只是搞到9.1;后面的13、29我尝试了很多次不断地完善数学模型,都无法最终突破,原因主要是通达信的股软程序语言连BASIC都不如;打个比方吧:想找个开平方的函数是有现成的,想找个开3次方、开5次方的函数找不到,想找其他东西代替,精度却达不到要求,没办法,没有合适的函数,表达不出来;如果通达信开放C语言编程?有些意图就好表达些;有些东西搞到那里后就只好搁置了。。。。。。。;
   现在用3推导出来的,灵敏性是好的,就是稳定性欠佳(摆动度偏大);如果能搞到13、29?把3、5、9、13、29组成一个共振模式搞到各周期里去,就会既有灵敏性又有稳定性;再采用周、日、60分钟不同周期共振原理,找到产生强共振的票,估计比现在的方式的效果至少还能还能提高一个数量级以上;
   除了XMA以外,也许还有其他更先进的统计理念???不过,这些都需要人们去探索。。。。。。。。。
   ------------------------------------------------------------------------------------------------------------------------------------------------
 ----------------------------------------------------------------------------------------------------------------------------------------------------
 -----------------------------------------------------------------------------------------------------------------------------------------------------
{指标名:周明}
 {高山的流水----趋势排序指标;预测明涨跌幅,飞狐、大智慧通用的2号版本}
 {说明:高山排序周周期使用}
X00:=C;
 MX000:=(0.3609454219*X00-0.03309329629*REF(X00,1)-0.04241822779*REF(X00,2)-0.026737249*REF(X00,3)-0.007010041271*REF(X00,4)-0.002652859952*REF(X00,5)-0.0008415042966*REF(X00,6)-0.0002891931964*REF(X00,7)-0.0000956265934*REF(X00,8)-0.0000321286052*REF(X00,9)-0.0000106773454*REF(X00,10)-0.0000035457562*REF(X00,11)-0.0000011670713*REF(X00,12) )/ (1-0.7522406533 );
明日重心涨跌幅:=(MX000-X00)/X00*100;
 {波段趋势}
VAR21:=(CLOSE-LLV(LOW,80))/(HHV(HIGH,80)-LLV(LOW,80))*200;
 VAR22:=SMA(VAR21,3,1);VAR23:=SMA(VAR22,3,1);
 VAR24:=3*VAR22-2*VAR23;VAR25:=LLV(LOW,5);VAR26:=HHV(HIGH,5);
 VAR27:=EMA((CLOSE-VAR25)/(VAR26-VAR25)*100,4)*2;
 VAR28:=EMA(0.667*REF(VAR27,1)+0.333*VAR27,2); VAR29:=3*VAR27-2*VAR28;
 VARA:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);
 VARB:=POW(MA(LOW,5),2)+MA(LOW,5);
 VARC:=POW(MA(HIGH,5),2)+MA(HIGH,5);
 VARD:=(VARA-LLV(VARB,64))/(HHV(VARC,64)-LLV(VARB,64))*150+65-10;
 VARE:=SMA(VARD,3,1)*1.5-100; VARF:=SMA(VARE,3,1);
 VAR30:=3*VARE-2*VARF;VAR31:=(HIGH+LOW+CLOSE*2)/4;
 VAR32:=EMA(VAR31,13);
 VAR33:=STD(VAR31,13);
 VAR34:=(VAR31-VAR32)*100/ VAR33;
 VAR35:=EMA(VAR34,5);
 VAR37:=EMA(VAR35,13)+200-100;
 VAR38:=EMA(VAR37,10);
 VAR39:=3*VAR37-2*VAR38;
 VAR1A:=VAR22+VAR27+VARE+VAR37;
 VAR1B:=VAR23+VAR28+VARF+VAR38;
 VAR1C:=VAR24+VAR29+VAR30+VAR39;
 VAR1D:=(HIGH+LOW+CLOSE)/3;
 VAR40:=(VAR1D-MA(VAR1D,34))/(0.015*AVEDEV(VAR1D,34));
 VAR42:=(HIGH+LOW+CLOSE+VAR1D)/4;
 VAR43:=EMA(VAR42,24);
 VAR44:=STD(VAR42,24);
 VAR45:=(VAR42-VAR43)/ VAR44*100;
 VAR46:=(VAR1D-MA(VAR1D,24))/(0.015*AVEDEV(VAR1D,24));
 VAR47:=EMA(VAR45,5);
 VAR2A:=((VAR47+VAR46+VAR40)/3+165)/4;
 VAR2C:=(VAR1A+VAR1B+VAR1C*30)/32/5-15;
 VAR2E:=(VAR2A+VAR2C)/2/1.1;
 VAR48:=EMA(VAR2E,3);
 VAR49:=EMA(VAR48,5);
 VAR51:=SMA(VAR48,2,1);
 {为了规避风险,设定了VAR48>=VAR51进行处理}
周明:IF((VAR48>VAR51  OR  VAR48=VAR51) ,明日重心涨跌幅,-99);
 {-99表示为已经在下跌趋势里};
-----------------------------------------------------------------------------------------------------------------------------------------------------
 -------------------------------------------------------------------------------------------------------------------------------------------------------
{指标名:日明}
 {高山的流水----趋势排序指标;预测明涨跌幅,飞狐、大智慧通用的2号版本}
 {说明:高山排序日周期使用}
X00:=C;
 MX000:=(0.3609454219*X00-0.03309329629*REF(X00,1)-0.04241822779*REF(X00,2)-0.026737249*REF(X00,3)-0.007010041271*REF(X00,4)-0.002652859952*REF(X00,5)-0.0008415042966*REF(X00,6)-0.0002891931964*REF(X00,7)-0.0000956265934*REF(X00,8)-0.0000321286052*REF(X00,9)-0.0000106773454*REF(X00,10)-0.0000035457562*REF(X00,11)-0.0000011670713*REF(X00,12) )/ (1-0.7522406533 );
明日重心涨跌幅:=(MX000-X00)/X00*100;
 {波段趋势}
VAR21:=(CLOSE-LLV(LOW,80))/(HHV(HIGH,80)-LLV(LOW,80))*200;
 VAR22:=SMA(VAR21,3,1);VAR23:=SMA(VAR22,3,1);
 VAR24:=3*VAR22-2*VAR23;VAR25:=LLV(LOW,5);VAR26:=HHV(HIGH,5);
 VAR27:=EMA((CLOSE-VAR25)/(VAR26-VAR25)*100,4)*2;
 VAR28:=EMA(0.667*REF(VAR27,1)+0.333*VAR27,2); VAR29:=3*VAR27-2*VAR28;
 VARA:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);
 VARB:=POW(MA(LOW,5),2)+MA(LOW,5);
 VARC:=POW(MA(HIGH,5),2)+MA(HIGH,5);
 VARD:=(VARA-LLV(VARB,64))/(HHV(VARC,64)-LLV(VARB,64))*150+65-10;
 VARE:=SMA(VARD,3,1)*1.5-100; VARF:=SMA(VARE,3,1);
 VAR30:=3*VARE-2*VARF;VAR31:=(HIGH+LOW+CLOSE*2)/4;
 VAR32:=EMA(VAR31,13);
 VAR33:=STD(VAR31,13);
 VAR34:=(VAR31-VAR32)*100/ VAR33;
 VAR35:=EMA(VAR34,5);
 VAR37:=EMA(VAR35,13)+200-100;
 VAR38:=EMA(VAR37,10);
 VAR39:=3*VAR37-2*VAR38;
 VAR1A:=VAR22+VAR27+VARE+VAR37;
 VAR1B:=VAR23+VAR28+VARF+VAR38;
 VAR1C:=VAR24+VAR29+VAR30+VAR39;
 VAR1D:=(HIGH+LOW+CLOSE)/3;
 VAR40:=(VAR1D-MA(VAR1D,34))/(0.015*AVEDEV(VAR1D,34));
 VAR42:=(HIGH+LOW+CLOSE+VAR1D)/4;
 VAR43:=EMA(VAR42,24);
 VAR44:=STD(VAR42,24);
 VAR45:=(VAR42-VAR43)/ VAR44*100;
 VAR46:=(VAR1D-MA(VAR1D,24))/(0.015*AVEDEV(VAR1D,24));
 VAR47:=EMA(VAR45,5);
 VAR2A:=((VAR47+VAR46+VAR40)/3+165)/4;
 VAR2C:=(VAR1A+VAR1B+VAR1C*30)/32/5-15;
 VAR2E:=(VAR2A+VAR2C)/2/1.1;
 VAR48:=EMA(VAR2E,3);
 VAR49:=EMA(VAR48,5);
 VAR51:=SMA(VAR48,2,1);
 {为了规避风险,设定了VAR48>=VAR51进行处理}
日明:IF((VAR48>VAR51  OR  VAR48=VAR51) ,明日重心涨跌幅,-99);
 {-99表示为已经在下跌趋势里};
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
{指标名:六十明}
 {高山的流水----趋势排序指标;预测明涨跌幅,飞狐、大智慧通用的2号版本}
 {说明:高山排序60分钟周期使用}
X00:=C;
 MX000:=(0.3609454219*X00-0.03309329629*REF(X00,1)-0.04241822779*REF(X00,2)-0.026737249*REF(X00,3)-0.007010041271*REF(X00,4)-0.002652859952*REF(X00,5)-0.0008415042966*REF(X00,6)-0.0002891931964*REF(X00,7)-0.0000956265934*REF(X00,8)-0.0000321286052*REF(X00,9)-0.0000106773454*REF(X00,10)-0.0000035457562*REF(X00,11)-0.0000011670713*REF(X00,12) )/ (1-0.7522406533 );
明日重心涨跌幅:=(MX000-X00)/X00*100;
 {波段趋势}
VAR21:=(CLOSE-LLV(LOW,80))/(HHV(HIGH,80)-LLV(LOW,80))*200;
 VAR22:=SMA(VAR21,3,1);VAR23:=SMA(VAR22,3,1);
 VAR24:=3*VAR22-2*VAR23;VAR25:=LLV(LOW,5);VAR26:=HHV(HIGH,5);
 VAR27:=EMA((CLOSE-VAR25)/(VAR26-VAR25)*100,4)*2;
 VAR28:=EMA(0.667*REF(VAR27,1)+0.333*VAR27,2); VAR29:=3*VAR27-2*VAR28;
 VARA:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);
 VARB:=POW(MA(LOW,5),2)+MA(LOW,5);
 VARC:=POW(MA(HIGH,5),2)+MA(HIGH,5);
 VARD:=(VARA-LLV(VARB,64))/(HHV(VARC,64)-LLV(VARB,64))*150+65-10;
 VARE:=SMA(VARD,3,1)*1.5-100; VARF:=SMA(VARE,3,1);
 VAR30:=3*VARE-2*VARF;VAR31:=(HIGH+LOW+CLOSE*2)/4;
 VAR32:=EMA(VAR31,13);
 VAR33:=STD(VAR31,13);
 VAR34:=(VAR31-VAR32)*100/ VAR33;
 VAR35:=EMA(VAR34,5);
 VAR37:=EMA(VAR35,13)+200-100;
 VAR38:=EMA(VAR37,10);
 VAR39:=3*VAR37-2*VAR38;
 VAR1A:=VAR22+VAR27+VARE+VAR37;
 VAR1B:=VAR23+VAR28+VARF+VAR38;
 VAR1C:=VAR24+VAR29+VAR30+VAR39;
 VAR1D:=(HIGH+LOW+CLOSE)/3;
 VAR40:=(VAR1D-MA(VAR1D,34))/(0.015*AVEDEV(VAR1D,34));
 VAR42:=(HIGH+LOW+CLOSE+VAR1D)/4;
 VAR43:=EMA(VAR42,24);
 VAR44:=STD(VAR42,24);
 VAR45:=(VAR42-VAR43)/ VAR44*100;
 VAR46:=(VAR1D-MA(VAR1D,24))/(0.015*AVEDEV(VAR1D,24));
 VAR47:=EMA(VAR45,5);
 VAR2A:=((VAR47+VAR46+VAR40)/3+165)/4;
 VAR2C:=(VAR1A+VAR1B+VAR1C*30)/32/5-15;
 VAR2E:=(VAR2A+VAR2C)/2/1.1;
 VAR48:=EMA(VAR2E,3);
 VAR49:=EMA(VAR48,5);
 VAR51:=SMA(VAR48,2,1);
 {为了规避风险,设定了VAR48>=VAR51进行处理}
六十明:IF((VAR48>VAR51  OR  VAR48=VAR51) ,明日重心涨跌幅,-99);
 {-99表示为已经在下跌趋势里};
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
{指标名:三十明}
 {高山的流水----趋势排序指标;预测明涨跌幅,飞狐、大智慧通用的2号版本}
 {说明:高山排序30分钟周期使用}
X00:=C;
 MX000:=(0.3609454219*X00-0.03309329629*REF(X00,1)-0.04241822779*REF(X00,2)-0.026737249*REF(X00,3)-0.007010041271*REF(X00,4)-0.002652859952*REF(X00,5)-0.0008415042966*REF(X00,6)-0.0002891931964*REF(X00,7)-0.0000956265934*REF(X00,8)-0.0000321286052*REF(X00,9)-0.0000106773454*REF(X00,10)-0.0000035457562*REF(X00,11)-0.0000011670713*REF(X00,12) )/ (1-0.7522406533 );
明日重心涨跌幅:=(MX000-X00)/X00*100;
 {波段趋势}
VAR21:=(CLOSE-LLV(LOW,80))/(HHV(HIGH,80)-LLV(LOW,80))*200;
 VAR22:=SMA(VAR21,3,1);VAR23:=SMA(VAR22,3,1);
 VAR24:=3*VAR22-2*VAR23;VAR25:=LLV(LOW,5);VAR26:=HHV(HIGH,5);
 VAR27:=EMA((CLOSE-VAR25)/(VAR26-VAR25)*100,4)*2;
 VAR28:=EMA(0.667*REF(VAR27,1)+0.333*VAR27,2); VAR29:=3*VAR27-2*VAR28;
 VARA:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);
 VARB:=POW(MA(LOW,5),2)+MA(LOW,5);
 VARC:=POW(MA(HIGH,5),2)+MA(HIGH,5);
 VARD:=(VARA-LLV(VARB,64))/(HHV(VARC,64)-LLV(VARB,64))*150+65-10;
 VARE:=SMA(VARD,3,1)*1.5-100; VARF:=SMA(VARE,3,1);
 VAR30:=3*VARE-2*VARF;VAR31:=(HIGH+LOW+CLOSE*2)/4;
 VAR32:=EMA(VAR31,13);
 VAR33:=STD(VAR31,13);
 VAR34:=(VAR31-VAR32)*100/ VAR33;
 VAR35:=EMA(VAR34,5);
 VAR37:=EMA(VAR35,13)+200-100;
 VAR38:=EMA(VAR37,10);
 VAR39:=3*VAR37-2*VAR38;
 VAR1A:=VAR22+VAR27+VARE+VAR37;
 VAR1B:=VAR23+VAR28+VARF+VAR38;
 VAR1C:=VAR24+VAR29+VAR30+VAR39;
 VAR1D:=(HIGH+LOW+CLOSE)/3;
 VAR40:=(VAR1D-MA(VAR1D,34))/(0.015*AVEDEV(VAR1D,34));
 VAR42:=(HIGH+LOW+CLOSE+VAR1D)/4;
 VAR43:=EMA(VAR42,24);
 VAR44:=STD(VAR42,24);
 VAR45:=(VAR42-VAR43)/ VAR44*100;
 VAR46:=(VAR1D-MA(VAR1D,24))/(0.015*AVEDEV(VAR1D,24));
 VAR47:=EMA(VAR45,5);
 VAR2A:=((VAR47+VAR46+VAR40)/3+165)/4;
 VAR2C:=(VAR1A+VAR1B+VAR1C*30)/32/5-15;
 VAR2E:=(VAR2A+VAR2C)/2/1.1;
 VAR48:=EMA(VAR2E,3);
 VAR49:=EMA(VAR48,5);
 VAR51:=SMA(VAR48,2,1);
 {为了规避风险,设定了VAR48>=VAR51进行处理}
三十明:IF((VAR48>VAR51  OR  VAR48=VAR51) ,明日重心涨跌幅,-99);
 {-99表示为已经在下跌趋势里};

 

资源下载链接   资源大小:unknow

手机移动版 - 关于我们 - 联系我们 - 广告合作 - 下载声明 - 网站帮助 - 友情链接 - 网站地图 - TOP
湘ICP备09016573号 增值电信业务经营ICP许可证:湘B2-20210269 湘公网安备43108102000039号
Copyright © GSZB.COM ,All Rights Reserved.
股票公式,股票指标,股票软件,股票知识