马上注册,享用更多功能,让你轻松玩转本论坛。
您需要 登录 才可以下载或查看,没有账号?立即注册
×
倍量过左峰后的黄金柱,闭着眼睛买
PHD:=IF(LLV(L,3)>=REF(H,3),REF(H,3),IF((LLV(L,3)>=REF(C,3) && REF(C,3)>REF(O,3)),REF(C,3),
IF(LLV(L,3)>=REF(O,3) && REF(C,3)>REF(O,3),REF(O,3),REF(L,3))));{画线取点}
{黄金柱}
JJ:=(3*C+H+L+O)/6;
VAR1:=(8*JJ+7*REF(JJ,1)+6*REF(JJ,2)+5*REF(JJ,3)+4*REF(JJ,4)+3*REF(JJ,5)+2*REF(JJ,6)+REF(JJ,8))/36;
TJ1:=(VOL=HHV(VOL,10) AND V<HHV(V,100)) AND VOL>2*REF(VOL,1) AND CLOSE>VAR1 AND C>REF(C,1);
黄金柱:=FILTER(TJ1,5);
STICKLINE(黄金柱,OPEN,CLOSE,-1,0),COLORYELLOW;
{黄金柱性质}
A11:=(NDAY(C,O,3) AND REF(C,2)>=REF(C,3)) OR (MA(C,3)>=REF(C,3) AND C>=REF(C,3));
A12:=DOWNNDAY(V,3) OR MA(V,3)<=REF(V,3);
A13:=REF(黄金柱,3)=1;
优质黄金柱:=DRAWICON(A11 AND A12 AND A13,H+0.2,17);
DRAWTEXT(优质黄金柱,PHD*1.008,'←优'),COLORMAGENTA;
A21:=(NDAY(C,O,3) AND REF(C,2)>=REF(C,3)) OR (MA(C,3)>=REF(C,3) AND C>=REF(C,3));
A22:=DOWNNDAY(V,2);
A23:=REF(黄金柱,3)=1;
良质黄金柱:=DRAWICON(A21 AND A22 AND A23 !=优质黄金柱,H+0.2,17);
DRAWTEXT(良质黄金柱,PHD*1.008,'←良'),COLORYELLOW;
|