马上注册,享用更多功能,让你轻松玩转本论坛。
您需要 登录 才可以下载或查看,没有账号?立即注册
×
根据《量柱擒涨停》一书中的各种黄金柱定义,编写如下公式,请大家指正:
SLZ:=V<REF(V,1) AND C>REF(C,1);XBL:=V>=REF(V,1)*1.1 AND V<REF(V,1)*1.9 AND C>REF(C,1);
BLZ:=V>=REF(V,1)*1.9 AND C>REF(C,1);
GLZ:=V=HHV(V,5) AND C>REF(C,1);
TLZ:=V>REF(V,1) AND REF(V,1)>REF(V,2) AND C>REF(C,1) AND REF(C,1)>REF(C,2);
PLZ:=V>=REF(V,1)*0.95 AND V<=REF(V,1)*1.05 AND C>REF(C,1);
小倍阳黄金柱:REF(XBL,3)=1 AND MA(C,3)>=REF(C,3) AND LLV(L,3)>REF(L,3) AND MA(V,3)<REF(V,3),COLORWHITE,LINETHICK2;
缩量黄金柱:REF(SLZ,3)=1 AND MA(C,3)>=REF(C,3) AND LLV(L,3)>REF(L,3) AND MA(V,3)<REF(V,3),COLORGRAY,LINETHICK2;
倍量黄金柱:REF(BLZ,3)=1 AND MA(C,3)>=REF(C,3) AND LLV(L,3)>REF(L,3) AND MA(V,3)<REF(V,3),COLORgreen,lineTHICK1;
高量黄金柱:REF(GLZ,3)=1 AND MA(C,3)>=REF(C,3) AND LLV(L,3)>REF(L,3) AND MA(V,3)<REF(V,3),COLORRED,LINETHICK3;
梯量黄金柱:REF(TLZ,3)=1 AND MA(C,3)>=REF(C,3) AND LLV(L,3)>REF(L,3) AND MA(V,3)<REF(V,3),COLORBLUE,LINETHICK2;
平量黄金柱:REF(PLZ,3)=1 AND MA(C,3)>REF(C,3) AND LLV(L,3)>REF(L,3) AND MA(V,3)<REF(V,3),COLORYELLOW;
|