M4:=DMA((((HIGH + LOW) + (CLOSE * 2)) / 4),0.9);
M5:=(VOL / (((HIGH - LOW) * 2) - ABS((CLOSE - OPEN))));
M6:=(IF((CLOSE>OPEN),(M4*(HIGH-LOW)),IF((CLOSE< OPEN),(M4*((HIGH-OPEN)+(CLOSE-LOW))),(VOL/2)))+IF((CLOSE>OPEN),(0-(M5*((HIGH-CLOSE)+(OPEN-LOW)))),IF((CLOSE< OPEN),(0-(M5*(HIGH-LOW))),(0-(VOL/2)))));
M7:=(VOL/CAPITAL);{股票指标网}
M8:=((M6/20)/1.15);
DRAWICON(FILTER(((M8* 0.4) >= 0),13),L,1);
DRAWTEXT(FILTER(((M8* 0.4) >= 0),13),L*0.98,'加仓'),COLORRED;
DRAWICON(FILTER(((M8* 0.4) < 0),13),H*1.02,2);
STICKLINE(FILTER(((M8* 0.4) < 0),5),CLOSE,OPEN,3,0),COLORGREEN;
STICKLINE(FILTER(((M8*0.4)>=0),5),CLOSE,OPEN,3,0),COLORYELLOW;
STICKLINE(FILTER(((M8* 0.4) >= 0),5),L,H,0,0),COLOR8000FF;
STICKLINE(FILTER(((M8* 0.4) >= 0),1),CLOSE,OPEN,3,0),COLOR990099;
STICKLINE(FILTER(((M8*0.4)>=0),5),LLV(L,3),LLV(L,3),13,1),COLORRED,LINETHICK3;
STICKLINE(FILTER(((M8*0.4)< 1),15),HHV(H,10),HHV(H,10),28,1),COLORFFFF80,LINETHICK3;
DRAWTEXT(FILTER(((M8*0.4)< 1),15),HHV(H,10),' 减仓'),COLOR0080FF;