黑马起飞
2011-02-19 11:06:00来源:本站整理浏览:99
乖离率:(c-ma(c,250))/ma(c,250)*100;
n1:=barslast(cross(c,MA(c,250)));
n2:=barslast(cross(MA(c,250),c));
长期趋势:if(n1<n2,n1+1,0);
峰值乖离:hhv(乖离率,长期趋势);
长涨幅:(c-ref(c,长期趋势))/ref(c,长期趋势)*100;
n3:=barslast(cross(c,MA(c,20)));
n4:=barslast(cross(MA(c,20),c));
黑马跟踪:if(n3<n4,n3+1,0);
涨幅跟踪:(c-ref(c,黑马跟踪))/ref(c,黑马跟踪)*100;
换手:VOL/CAPITAL*100 ;
百日换手:sum(换手,100);
换手跟踪:sum(换手,0)-ref(sum(换手,0),黑马跟踪),colorff937f ;
跟踪系数:换手跟踪/涨幅跟踪,color00ff00 ;
n1:=barslast(cross(c,MA(c,250)));
n2:=barslast(cross(MA(c,250),c));
长期趋势:if(n1<n2,n1+1,0);
峰值乖离:hhv(乖离率,长期趋势);
长涨幅:(c-ref(c,长期趋势))/ref(c,长期趋势)*100;
n3:=barslast(cross(c,MA(c,20)));
n4:=barslast(cross(MA(c,20),c));
黑马跟踪:if(n3<n4,n3+1,0);
涨幅跟踪:(c-ref(c,黑马跟踪))/ref(c,黑马跟踪)*100;
换手:VOL/CAPITAL*100 ;
百日换手:sum(换手,100);
换手跟踪:sum(换手,0)-ref(sum(换手,0),黑马跟踪),colorff937f ;
跟踪系数:换手跟踪/涨幅跟踪,color00ff00 ;