VAR2:=SUM(VAR1,1)/SUM(VOL,1);
VAR3:=EMA(VAR2,17);
VAR4:=(VAR2-VAR3)*100/VAR2;
VAR5:=IF(VAR4>0 AND 0>=REF(VAR4,1),6,DRAWNULL);
VAR6:=IF(REF(VAR4,1)<3 AND REF(VAR4,1)>0 AND VAR4-REF(VAR4,1)>6,6,DRAWNULL);
VAR7:=(CLOSE+HIGH+LOW)/3;
VAR8:=EMA(VAR7,5);
VAR9:=REF(VAR8,1);
VAR10:=IF(VAR8>VAR9,0,DRAWNULL);
VAR11:=IF(EMA(CLOSE,3)>REF(EMA(CLOSE,3),1),3,DRAWNULL);
VAR12:=100-90*(HHV(HIGH,20)-CLOSE)/(HHV(HIGH,20)-LLV(LOW,20));
VAR13:=100-90*(HHV(HIGH,20)-CLOSE)/(HHV(HIGH,20)-LLV(LOW,20));
VAR14:=100-MA(100*(HHV(HIGH,5)-CLOSE)/(HHV(HIGH,5)-LLV(LOW,5)),34);
VAR15:=IF(CLOSE>(HIGH+LOW)/2,1,0)+IF(crOSS(VAR13,MA(VAR14,5)),2,0)+IF(VAR11=3,1,0)+IF(VAR10=0,1,0)+IF(VAR5=6,2,0)+IF(VAR6=6,2,0);
VAR16:=VAR15>=5;
沪深总上涨家数:DYNAINFO(60),NODRAW,COLORRED;
沪深总下跌家数:DYNAINFO(61),NODRAW,COLORGREEN;
沪深总成交金额:DYNAINFO(62)/100000000,NODRAW,COLORWHITE;
VAR17:=macd.DIF>REF(MacD.DIF,1) AND REF(MACD.DIF,1)VAR18:=100*(CLOSE-REF(CLOSE,1))/REF(CLOSE,1);
VAR19:=IF(CLOSEVAR20:=IF(CLOSEVAR21:=VAR19=0 AND REF(VAR19,1)=1 AND VAR20=0 AND REF(VAR20,1)=1;
VAR22:=VAR17 AND VAR21;
XG:VAR16 AND VAR22,COLORCYAN;