大智慧个股热度指标公式

a1:=ema(c,1);
a2:=ema(c,5);
a3:=ema(c,10);
a4:=ema(c,20);
a5:=ema(c,30);
a6:=ema(c,60);
a7:=if(a1-a2>=0,1,0);
a8:=if(a1-a3>=0,1,0);
a9:=if(a1-a4>=0,1,0);
a10:=if(a1-a5>=0,1,0);
a11:=if(a1-a6>=0,1,0);
a12:=(a7+a8+a9+a10+a11);
短线:a1;
中线:a6;
热度:a12,linethick0;
partline(短线,a12=0,rgb(0,102,0),a12=1,rgb(0,200,0),a12=2,rgb(0,244,0),a12=3,rgb(244,244,0),a12=4,rgb(255,102,0),a12=5,rgb(220,20,60));
partline(中线,a12=0,rgb(0,102,0),a12=1,rgb(0,200,0),a12=2,rgb(0,244,0),a12=3,rgb(0,244,0),a12=4,rgb(244,244,0),a12=5,rgb(220,20,60));
a13:=短线-中线;
stickline(a12=0 and 短线>=中线,中线*1.01,短线*0.99,5,0),color006600;
stickline(a12=0 and 短线<中线,短线*1.01,中线*0.99,5,0),color006600;
stickline(a12=1 and 短线>=中线,中线*1.01,短线-a13*0.47,5,0),color00c800;
stickline(a12=1 and 短线>=中线,短线-a13*0.53,短线*0.99,5,0),color006600;
stickline(a12=1 and 短线<中线,短线*1.01,短线-a13*0.47,5,0),color00c800;
stickline(a12=1 and 短线<中线,短线-a13*0.53,中线*0.99,5,0),color006600;
stickline(a12=2 and 短线>=中线,中线*1.01,短线-a13*0.47,5,0),color00f400;
stickline(a12=2 and 短线>=中线,短线-a13*0.53,短线*0.99,5,0),color00c800;
stickline(a12=2 and 短线<中线,短线*1.01,短线-a13*0.47,5,0),color00f400;
stickline(a12=2 and 短线<中线,短线-a13*0.53,中线*0.99,5,0),color00c800;
stickline(a12=3 and 短线>=中线,中线*1.01,短线-a13*0.47,5,0),coloryellow;
stickline(a12=3 and 短线>=中线,短线-a13*0.53,短线*0.99,5,0),color00f400;
stickline(a12=3 and 短线<中线,短线*1.01,短线-a13*0.47,5,0),coloryellow;
stickline(a12=3 and 短线<中线,短线-a13*0.53,中线*0.99,5,0),color00f400;
stickline(a12=4 and 短线>=中线,中线*1.01,短线-a13*0.47,5,0),color0066ff;
stickline(a12=4 and 短线>=中线,短线-a13*0.53,短线*0.99,5,0),coloryellow;
stickline(a12=4 and 短线<中线,短线*1.01,短线-a13*0.47,5,0),color0066ff;
stickline(a12=4 and 短线<中线,短线-a13*0.53,中线*0.99,5,0),coloryellow;
stickline(a12=5 and 短线>=中线,中线*1.01,短线*0.99,5,0),color3c14dc;
stickline(a12=5 and 短线<中线,短线*1.01,中线*0.99,5,0),color3c14dc;



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

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

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

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