大智慧个股热度指标公式
2021/3/24 18:44:29
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;
投 股票网 www. tou18.cn
股市公式下载推荐