网友求助:

VOLUME:VOL,VOLSTICK;
MAVOL5:MA(VOLUME,5);
MAVOL35:MA(VOLUME,35);
MAVOL135:MA(VOLUME,135);
VOLUME5:=MA(VOLUME,5);
VOLUME35:=MA(VOLUME,35);
VOLUME135:=MA(VOLUME,135);

买入:=CROSS(VOLUME5,VOLUME135);
DRAWICON(买入,L*3000,9);
买入1:=CROSS(VOLUME35,VOLUME135);
DRAWICON(买入1,L*2000,5);
买入2:=CROSS(VOLUME5,VOLUME35);
DRAWICON(买入2,L*1000,1);

选股公式
VOLUME(当日成交量)大于MAVOL5(五日成交均量)
MAVOL5上穿MAVOL35
MAVOL5上穿MAVOL135

 

 

解答如下:

XG1:V>MA(V,5);

XG2:CROSS(MA(V,5),MA(V,35));

XG3:CROSS(MA(V,5),MA(V,135));