通达信目前指数每天有一个当前市场的统计的功能,显示各个档的数量,由于通达信的统计功能太弱了,所以只能借助大智慧,大智慧的横向统计功能我就不介绍了,坛子里面有介绍,具体方法大家自己找找。下面附上我的截图和引用所需要的公式。
统计做出来后发现大趋势上的研判是很准确的,就是在跌幅 -5%---- -7%这个档的数据和别的差距好大,不知道是什么原因
引用公式
{引用公式}
涨幅:c/ref(c,1)-1;
停板:between(涨幅,0.0989,0.11);
升4:between(涨幅,0.07,0.11);
升3:between(涨幅,0.05,0.07);
升2:between(涨幅,0.03,0.05);
升1:between(涨幅,0,0.03);
跌1:between(涨幅,-0.03,0);
跌2:between(涨幅,-0.05,-0.03);
跌3:between(涨幅,-0.05,-0.07);
跌4:between(涨幅,-0.07,-0.11);
跌停:between(涨幅,-0.0989,-0.11);
{显示公式}
升1:=selfdata('升1');
升2:=selfdata('升2');
升3:=selfdata('升3');
升4:=selfdata('升4');
升5:=selfdata('升5');
跌1:=selfdata('跌1');
跌2:=selfdata('跌2');
跌3:=selfdata('跌3');
跌4:=selfdata('跌4');
跌5:=selfdata('跌5');
总比例:=升1+升2+升3+升4+跌1+跌2+跌3+跌4;
升11:=升1/总比例;
升22:=升2/总比例;
升33:=升3/总比例;
升44:=升4/总比例;
跌11:=跌1/总比例;
跌22:=跌2/总比例;
跌33:=跌3/总比例;
跌44:=跌4/总比例;
STICKLINE(升44,(升44+升33+升22+升11+跌11+跌22+跌33+跌44),(升33+升22+升11+跌11+跌22+跌33+跌44),9,0),ColorFF1493 ;
STICKLINE(升33,(升33+升22+升11+跌11+跌22+跌33+跌44),(升22+升11+跌11+跌22+跌33+跌44),9,0),Color000099;
STICKLINE(升22,(升22+升11+跌11+跌22+跌33+跌44),(升11+跌11+跌22+跌33+跌44),9,0),Colorcc66cc;
STICKLINE(升11,(升11+跌11+跌22+跌33+跌44),(跌11+跌22+跌33+跌44),9,0),Color0033cc;
STICKLINE(跌11,(跌11+跌22+跌33+跌44),(跌22+跌33+跌44),9,0),Coloraaaaaa;
STICKLINE(跌22,(跌22+跌33+跌44),(跌33+跌44),9,0),color996600;
{STICKLINE(跌33,(跌33+跌44),跌44,9,0),colorblue;
STICKLINE(跌44,跌44,0,9,0),colorblack;};