通达信西电喝酒副图源码
西电喝酒源码:
XD:=(HHV(H,21)-C)/(HHV(H,21)-LLV(L,21))*100;
CD:=(C-LLV(L,21))/(HHV(H,21)-LLV(L,21))*100;
西电喝酒:=CD-XD;
STICKLINE(HHV(MA(西电喝酒,5),5)>44
AND (C=HHV(C,10) OR H=HHV(H,10)),0,50,1,0),COLORFF0099;
STICKLINE(HHV(MA(西电喝酒,5),5)>44
AND (C=HHV(C,10) OR H=HHV(H,10)),50,48,1.5,0),COLOR0080FF;
HIGHLY:IF(HHV(MA(西电喝酒,5),5)>44 AND (C=HHV(C,10) OR
H=HHV(H,10)),40,DRAWNULL),VOLSTICK,COLORMAGENTA;