九毛八公式指标
VOLUME:VOL,VOLSTICK; MAVOL1:MA(VOLUME,1); MAVOL2:MA(VOLUME,2); MAVOL13:=MA(VOLUME,13); MAVOL21:=MA(VOLUME,21); MAVOL34:=MA(VOLUME,34); MAVOL43:=MA(VOLUME,43); MAVOL55:=MA(VOLUME,55); MAVOL120:=MA(VOLUME,120); MAVOL180:=MA(VOLUME,180); 铭180:MA(3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),180); 庄180:EMA(WINNER(C)*70,180); G:= (CROSS(MAVOL1,MAVOL180)) AND UPNDAY(MAVOL180,2); DRAWTEXT(G ,MAVOL1,'▲买'),COLORYELLOW; DD:= UPNDAY(MAVOL13,3)AND UPNDAY(MAVOL21,2)AND UPNDAY(MAVOL34,2)AND UPNDAY(MAVOL43,1)AND UPNDAY(MAVOL55,1)AND UPNDAY(MAVOL120,1)AND UPNDAY(庄180,3)AND UPNDAY(铭180,3); DRAWTEXT(DD ,MAVOL1,'▲卖'),COLORMAGENTA;
公式模块:
MAvol1:=MA(VOL,1);
MAVOL180:=MA(VOL,180); crOSS(MAVOL1,MAVOL180) AND UPNDAY(MAVOL180,2);