继前一个量柱副图上再新增刻度31与21位
{说明:黄色为倍量柱,白色为并肩平量柱,紫色为缩倍柱,蓝色为百日低量柱,假阴真阳还原为空心红柱,有上影线的为长阴短柱, 内有红实线为百日高量柱。按王子老师的理论,当出现3个百日低量后,外加3个倍量柱后就可准备了;当超过了百日高量柱后三天价没有跌的也可以准备了。}
TOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))));
MTIME:=MOD(FROMOPEN,TOTAL);
CTIME:=IF(MTIME<0.5,TOTAL,MTIME);
VVOL:IF((CURRBARSCOUNT=1 AND DYNAINFO(8)>1),VOL*(TOTAL+3)/(CTIME+3),DRAWNULL),NODRAW;
STICKLINE((CURRBARSCOUNT=1 AND DYNAINFO(8)>1),VVOL,0,-1,-1),COLOR00C0C0;
低量:=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;
EYW:=V/2;
SYW:=V-V/3;
STICKLINE(V,EYW,EYW,2,1),COLORRED;
STICKLINE(V,SYW,SYW,2,1),COLORYELLOW;
谢谢楼主分享 谢谢分享。 谢谢楼主的分享 发错地方了吧 szwzs 发表于 2021-1-14 16:00
发错地方了吧
级别不够,哈哈!
还在不断学习中...... liudeshengaa 发表于 2021-1-17 12:22
级别不够,哈哈!
还在不断学习中......
不会吧,发在股票公式频道要三年级以上吗? 谢谢楼主的分享! 谢谢楼主的分享! 感谢楼主分享..... 学习了 感谢楼主辛苦了
页:
[1]