马上注册,享用更多功能,让你轻松玩转本论坛。
您需要 登录 才可以下载或查看,没有账号?立即注册
×
- {说明:黄色为倍量柱,白色为并肩平量柱,紫色为缩倍柱,
- 蓝色为百日低量柱,假阴真阳还原为空心红柱,有上影线的为长阴短柱, 内有红实线为百日高量柱。按王子老师的理论,当出现3个百日低量后,外加3个倍量柱后就可准备了;当超过了百日高量柱后三天价没有跌的也可以准备了。}
- 低量:=100;
- 百日高量:=100;
- H_L:=0.1*CONST(HHV(VOL,240));
- 量:VOL,VOLSTICK;
- 倍数:=1.9;
- 倍量:VOL>=REF(V,1)*倍数 AND V<REF(V,1)*2.9 AND (IF(C<O,C>REF(C,1),1)),COLORYELLOW,NODRAW;
- 倍缩:REF(V,1)>=VOL*倍数,COLORMAGENTA,NODRAW;
- 平量:RANGE(V/REF(V,1),0.97,1.03) AND BARSCOUNT(V)>=2,COLORWHITE,NODRAW;
- 地量:VOL=LLV(VOL,低量) AND BARSCOUNT(V)>=低量,COLORBLUE,NODRAW;
- 高量:VOL=HHV(VOL,百日高量) AND BARSCOUNT(V)>=百日高量,COLORRED,NODRAW;
- V1:=VOL*0.9;
- V2:=VOL*0.8;
- STICKLINE(倍量, 0,V1,1,0),COLORYELLOW;
- STICKLINE(平量,0,V1,1,0),COLORWHITE;
- STICKLINE(地量,0,V2,1,0),COLORBLUE;
- STICKLINE(高量,0,V2,0.5,0),COLORRED;
- STICKLINE(倍缩,0,V*0.45,1,0),COLORMAGENTA;
- V100:= V<=LLV(V,100)*1.2 AND V>0 AND BARSCOUNT(V)>=100;
- 百日地量群:=COUNT(V100,5)>=3;
- DRAWTEXT(FILTER(百日地量群,4),V+3*H_L,'地量群'),COLORYELLOW;
- STICKLINE(C/REF(C,1)<=0.96 AND V<HHV(V,30)/倍数,V,V+H_L,0,0),COLORCYAN;
- TJ:=C<O;
- TJ1:=C>REF(C,1) AND TJ;
- TJ2:=AMOUNT/V/100>REF(C,1) AND O>REF(C,1) AND NOT(TJ1) AND TJ;
- STICKLINE(TJ1,VOL,0,-1,1),COLORRED;
- STICKLINE(TJ2,VOL,0,-1,1),COLORRED;
- 地量线:REF(V,BARSLAST(地量)),COLORBLUE,POINTDOT;
- STICKLINE(V,地量线,地量线,8,0),COLORBLUE;
- 高量线:REF(V,BARSLAST(高量)),COLORRED,POINTDOT;
- STICKLINE(V,高量线,高量线,8,0),COLORRED;
复制代码 效果如下图
|