网友求助:
请高手将多线成交量改成大智慧选股公式做预警用;改成通达信选股公式做预警用
多线成交量源码
VOLUME:VOL,VOLSTICK;
MAVOL1:MA(VOLUME,M1);
MAVOL2:MA(VOLUME,M2);
MAVOL3:MA(VOLUME,M3);
MAVOL4:MA(VOLUME,M4);
参数:M1 5 2 500
M2 35 2 500
M3 135 2 500
M4 55 2 500
选股公式一:当M1上穿M2,再上穿M3;同时股价在60线之上报警
选股公式二:当M1上穿M2,同时股价在60线之上报警
解答如下:
{1.}MAVOL1:=MA(V,5);
MAVOL2:=MA(V,35);
MAVOL3:=MA(V,135);
XG:CROSS(MAVOL1,MAVOL2) AND CROSS(MAVOL1,MAVOL3) AND C>MA(C,60);
=======================
{2.}MAVOL1:=MA(V,5);
MAVOL2:=MA(V,35);
XG:CROSS(MAVOL1,MAVOL2) AND C>MA(C,60);