回复 187# 时机波
T60:=VOL=HHV(VOL,60);
T100:=VOL=HHV(VOL,100);
T2:=VOL/REF(VOL,1)>=3;
T3:=REF(CLOSE,1)/REF( OPEN,1)<3;
五星上将:=(T60 AND T2 AND T3) OR (T100 AND T2 AND T3);
DRAWTEXT(五星上将,HIGH*1.01,'★'),ALIGN0,color0000ff;
TY:=CLOSE;
AA1:=REF(TY,10)=HHV(TY,2*10+1); BB1:=FILTER(AA1,10); C1:=BACKSET(BB1,10+1); HD:=FILTER(C1,10);
AA2:=REF(TY,10)=LLV(TY,2*10+1); B2:=FILTER(AA2,10); CC2:=BACKSET(B2,10+1); LD:=FILTER(CC2,10);
前期高位:REF(HIGH,BARSLAST(HD)),COLOR00FF00,POINTDOT,LINETHICK3;
前期低位:REF(LOW,BARSLAST(LD)),COLORff4444,POINTDOT,LINETHICK3;
{求位置坐标}
PHD:=IF(LLV(LOW,3)>=REF(HIGH,3),REF(HIGH,3),IF((LLV(LOW,3)>=REF(CLOSE,3) AND REF(CLOSE,3)>REF(OPEN,3)),REF(CLOSE,3),REF(OPEN,3)));
{画量柱标识:}
倍量黄金柱:=LLV(LOW,3)>REF(LOW,3) AND HHV(VOL,3)<REF(VOL,3) AND REF(CLOSE,3)>REF(OPEN,3) AND REF(VOL,3)>=2*REF(VOL,4);
平量黄金柱:=LLV(LOW,3)>REF(LOW,3) AND HHV(VOL,3)<REF(VOL,3) AND REF(CLOSE,3)>REF(OPEN,3) AND ABS(REF(VOL,3)-REF(VOL,4))/REF(VOL,4)<=0.05;
梯量黄金柱:=LLV(LOW,3)>REF(LOW,3) AND HHV(VOL,3)<REF(VOL,3) AND REF(VOL,5)>REF(VOL,6) AND REF(VOL,4)>REF(VOL,5) AND REF(VOL,3)>REF(VOL,4);
STICKLINE(倍量黄金柱,CLOSE,OPEN,8,0),COLOR99ffff;
STICKLINE(倍量黄金柱,HIGH,LOW,0,0),COLOR99ffff;
STICKLINE(平量黄金柱,CLOSE,OPEN,8,0),COLORff00ff;
STICKLINE(平量黄金柱,HIGH,LOW,0,0),COLORff00ff;
STICKLINE(梯量黄金柱,CLOSE,OPEN,8,0),COLORffffff;
STICKLINE(梯量黄金柱,HIGH,LOW,0,0),COLORffffff;
{在K线图上标示量柱类型}
倍量:=DRAWICON((VOL>REF(VOL,1)*2.0 OR VOL=REF(VOL,1)*2.0) AND CLOSE>REF(CLOSE,1),(CLOSE+OPEN)/2,'s10');
倍缩:=DRAWICON(VOL<=REF(VOL,1)*0.5,(CLOSE+OPEN)/2,'s12');
低量:=VOL<REF(LLV(VOL,13),1);
地量:=VOL<REF(LLV(VOL,100),1);
平量:=DRAWICON(ABS(VOL-HHV(REF(VOL,1),5))/HHV(REF(VOL,1),5)<=0.03 OR ABS(VOL-REF(VOL,1))/REF(VOL,1)<=0.03,(CLOSE+OPEN)/2,'s31');
DRAWTEXT(倍量黄金柱,PHD*0.996,'倍'),COLOR99ffff;
DRAWTEXT(平量黄金柱,PHD*0.996,' 平'),COLORff00ff;
DRAWTEXT(梯量黄金柱,PHD*0.996,' 梯'),COLORffffff;
STICKLINE((倍量黄金柱 or 平量黄金柱 or 梯量黄金柱),PHD*1.001,PHD,120,0),COLORYELLOW,LINETHICK1;
vV:='◆代码:'+STKLABEL;
EXPLAIN(1=1,vV),,Color4080FF;
EXPLAIN(1=1,'■所属板块:'+BLKNAME+'\n'),colorffff00;
EXPLAIN(1=1,' <一>.量柱的阶段性拐点标志--空间转化原则:'),color00ffff;
EXPLAIN(1=1,' 1.平台起柱:在K线整理平台上突然起柱;'),colord499ff;
EXPLAIN(1=1,' 2.凹口起柱:在K线逐步回调形成凹口时起柱.常见凹口倍量;'),colord499ff;
EXPLAIN(1=1,' 3.过顶起柱:过左峰起柱.常见过顶倍量;'),colord499ff;
EXPLAIN(1=1,' 4.触底起柱:触前期谷底起柱.常见触底倍量.'),colord499ff;
EXPLAIN(1=1,' <二>.量柱的集合定性--组合量柱:'),color00ffff;
EXPLAIN(1=1,' 1.低量柱+倍量柱:后市必大涨!'),colord499ff;
EXPLAIN(1=1,' 2.倍量柱+倍量柱:主庄控盘良好,急于拉升!'),colord499ff;
EXPLAIN(1=1,' 3.缩倍柱+倍量柱:机会就在眼前!'),colord499ff;
EXPLAIN(1=1,' <三>.量柱的三日定性--时间转化原则:'),color00ffff;
EXPLAIN(1=1,' 1.后三日价升量缩:转化为黄金柱;'),colord499ff;
EXPLAIN(1=1,' 2.后三日量柱先阴后阳:该量柱官升一级;'),colord499ff;
EXPLAIN(1=1,' 3.后三日量柱阴阳相间:量柱退化,走势面临调整;'),colord499ff;
EXPLAIN(1=1,' 4.后三日量柱实体逐步缩小:力量将衰退,面临调整.'),colord499ff;
看看,这是飞狐的,用用试试吧 |