VMSD原版
2014-11-18 11:50:16点击:
RSV1:=(V-LLV(V,34))/(HHV(V,34)-LLV(V,34))*10000;
个股量:MA(RSV1,3);
RSV2:=(INDEXV-LLV(INDEXV,34))/(HHV(INDEXV,34)-LLV(INDEXV,34))*10000;
大盘量:MA(RSV2,3);
0,colorred,POINTDOT,LINETHICK2;
2000,colorred,POINTDOT,LINETHICK2;
5000,colorred,POINTDOT,LINETHICK2;
8000,colorred,POINTDOT,LINETHICK2;
10000,colorred,POINTDOT,LINETHICK2;
A1:=COUNT(个股量>REF(个股量,1),k)=k;
A2:=COUNT(大盘量<REF(大盘量,1),k)=k;
A3:=COUNT(个股量<REF(个股量,1),k)=k;
A4:=COUNT(大盘量>REF(大盘量,1),k)=k;
逆势放量:IF(A1 AND A2,25,0),LINETHICK0;
DRAWTEXT(逆势放量,10,'放'),colorred;
逆势缩量:IF(A3 AND A4,10,0),LINETHICK0;
DRAWTEXT(逆势缩量,10,'缩'),colorgreen;
参数K默认是2