M1 3 100 5
M2 3 100 60
N 3 200 15
以上参数请自行设定
预测量:IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,VOL),VOLSTICK;
MAVOL1:MA(预测量,M1);
MAVOL2:MA(预测量,M2);
BB:=CROSS(MAVOL1,MAVOL2);
CC:=CROSS(MAVOL2,MAVOL1);
STICKLINE(BB,0,VOL,1.5,0),COLORYELLOW;
STICKLINE(CC,0,VOL,1.5,0),COLORGREEN;
地量:=预测量<=LLV(V,N);
DRAWICON(地量,MA(预测量,60),25);
DRAWICON((MA(V,4)*4+V)/5>=MA(V,60) AND MA(V,5)<MA(V,60),预测量*1.2,1);
当出现(地量)时报警,出现(黄线)时报警,出现(绿线)时报警。选股公式如下:
M1:=5;
M2:=60;
N:=15;
预测量:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,VOL);
MAVOL1:=MA(预测量,M1);
MAVOL2:=MA(预测量,M2);
BB:=CROSS(MAVOL1,MAVOL2);
CC:=CROSS(MAVOL2,MAVOL1);
地量:=预测量<=LLV(V,N);
XG:BB OR CC OR 地量;
|