HJ_1:=vol*CLOSE;
HJ_2:=SUM(HJ_1,1)/SUM(VOL,1);
HJ_3:=EMA(HJ_2,17);
HJ_4:=(HJ_2-HJ_3)*100/HJ_2;
HJ_5:=IF(HJ_4 0 AND 0 =REF(HJ_4,1),6,DRAWNULL);
HJ_6:=IF(REF(HJ_4,1) 3 AND REF(HJ_4,1) 0 AND HJ_4-REF(HJ_4,1) 6,6,DRAWNULL);
HJ_7:=(CLOSE+HIGH+LOW)/3;
HJ_8:=EMA(HJ_7,5);
HJ_9:=REF(HJ_8,1);
HJ_10:=IF(HJ_8 HJ_9,0,DRAWNULL);
HJ_11:=IF(EMA(CLOSE,3) REF(EMA(CLOSE,3),1),3,DRAWNULL);
HJ_12:=100-90*(HHV(HIGH,20)-CLOSE)/(HHV(HIGH,20)-LLV(LOW,20));
HJ_13:=100-90*(HHV(HIGH,20)-CLOSE)/(HHV(HIGH,20)-LLV(LOW,20));
HJ_14:=100-MA(100*(HHV(HIGH,5)-CLOSE)/(HHV(HIGH,5)-LLV(LOW,5)),34);
HJ_15:=IF(CLOSE (HIGH+LOW)/2,1,0)+IF(crOSS(HJ_13,MA(HJ_14,5)),2,0)+IF(HJ_11=3,1,0)+IF(HJ_10=0,1,0)+IF(HJ_5=6,2,0)+IF(HJ_6=6,2,0);
HJ_16:=HJ_15
沪深总上涨家数:DYNAINFO(60),NODRAW,COLORRED;
沪深总下跌家数:DYNAINFO(61),NODRAW,COLORGREEN;
沪深总成交金额:DYNAINFO(62)/100000000,NODRAW,COLORWHITE;
HJ_17:=macd.DIF REF(MacD.DIF,1) AND REF(MACD.DIF,1) REF(MACD.DIF,2);
HJ_18:=100*(CLOSE-REF(CLOSE,1))/REF(CLOSE,1);
HJ_19:=IF(CLOSE REF(OPEN,1) AND HJ_18 0,1,0);
HJ_20:=IF(CLOSE REF(OPEN,2) AND HJ_18 0,1,0);
HJ_21:=HJ_19=0 AND REF(HJ_19,1)=1 AND HJ_20=0 AND REF(HJ_20,1)=1;
HJ_22:=HJ_17 AND HJ_21;
XG:HJ_16 AND HJ_22 AND C MA(C,20) AND MA(C,20) REF(MA(C,20),1),COLORCYAN;