N:=5;
X_1:=IF(SETCODE=0 OR SETCODE=1,100*VOL,VOL)/(FINANCE(7)/100);
X_2:=MA(DBQRV.ZS,N);
换手率:X_1,NODRAW,COLORGRAY;
X_3:=换手率/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主买:IF(CLOSE>OPEN,X_3*(HIGH-LOW),IF(CLOSE<OPEN,X_3*(HIGH-OPEN+(CLOSE-LOW)),换手率/2)),NODRAW,COLORRED;
主卖:IF(CLOSE>OPEN,X_3*(HIGH-CLOSE+(OPEN-LOW)),IF(CLOSE<OPEN,X_3*(HIGH-LOW),换手率/2)),NODRAW,COLORCYAN;
换手异动:换手率/MA(换手率,100)*100,NODRAW,COLORYELLOW;
主买均线:MA(主买,1),NODRAW,COLORRED;
主卖均线:MA(主卖,1),NODRAW,COLORCYAN;
换手率均线:MA(换手率,1),NODRAW;
换手异动60:EMA(换手异动,60),NODRAW;
换手异动5:EMA(换手异动,5),NODRAW;
IF(换手异动5<换手异动60+20,换手异动60+20,换手异动5),COLORRED;
EMA(换手异动,60)+20,COLORGRAY;