同花顺黑马起飞副图指标
源码
乖离率:(C-MA(C,250))/MA(C,250)*100; n1:=BARSLAST(CROSS(C,MA(C,250))); n2:=BARSLAST(CROSS(MA(C,250),C)); 长趋势:IF(n1 峰值乖离:HHV(乖离率,长趋势); n3:=BARSLAST(C MA(C,120) AND CROSS(C,WMA(C,14))); n4:=BARSLAST(CROSS(WMA(C,14),C) AND C MA(C,120)); 短线跟踪:IF(n3 短线涨幅:(C-REF(C,短线跟踪))/REF(C,短线跟踪); 长涨幅:(C-REF(C,长趋势))/REF(C,长趋势); 换手:=VOL/CAPITAL*100 ; //百日换手:SUM(换手,100); 短线换手:=SUM(换手,0)-REF(SUM(换手,0),短线跟踪); 跟踪系数:短线涨幅/短线换手*100;