2014倾情巨献-顺上飞系列之三部曲(原创源码无未来,通达信、大智慧选股副图通用)
为感谢论坛各位朋友的鼎力支持,特献上个人原创顺上飞系列之三部曲,个人编写指标基本都是基于K线形态、均线系统和量能上,希望此系列指标能在实站中带给大家帮助。今天先推出前三部曲,今后会继续推出顺上飞系列后续部曲。
第一部:顺上包阴(均线多头上涨途中,主力为了能更好的上涨利用巨阴线洗盘,长阳包阴后继续上攻)
第二部:顺上长影(均线多头上涨途中,主力为了能更好的上涨利用长影线洗盘,放量阳线突破上影后继续上攻)
第三部:顺上双燕(均线多头上涨途中,主力为了能更好的上涨利用小阴小阳洗盘,放量阳线起飞)
顺上飞系列之三部曲都是以均线系统多头向上为基础,然后在上涨途中进行洗盘(巨阴、长上影、小阴小阳洗盘)后继续上攻,见图。
{顺上包阴}
U1:=MA(C,5)>MA(C,10)AND MA(C,10)>MA(C,20)AND MA(C,10)>MA(C,30) AND MA(C,30)>MA(C,60);
U2:=MA(C,5)>REF(MA(C,5),1) AND MA(C,10)>REF(MA(C,10),1) AND MA(C,20)>REF(MA(C,20),1) AND MA(C,30)>REF(MA(C,30),1);
SSXG:=U1 AND U2;
{阳包阴}
H1:=(REF(C,1)/REF(C,2)<0.96) OR (REF(O,1)/REF(C,1)>1.04);
H2:=C/REF(C,1)>1.041 AND C>REF(O,1) ;
XGH1:=H1 AND H2;
Y1:=REF(O,1)/REF(C,1)>1.05;
Y2:=C/REF(C,1)>1.041 AND C>REF(O,1) AND L<REF(C,1);
XGH2:=Y1 AND Y2;
XGY:=XGH1 OR XGH2;
{组合}
ZHXG:SSXG AND XGY;
{顺上长影}
U1:=MA(C,5)>MA(C,10)AND MA(C,10)>MA(C,20)AND MA(C,10)>MA(C,30) AND MA(C,30)>MA(C,60);
U2:=MA(C,5)>REF(MA(C,5),1) AND MA(C,10)>REF(MA(C,10),1) AND MA(C,20)>REF(MA(C,20),1) AND MA(C,30)>REF(MA(C,30),1);
SSXG:=U1 AND U2;
{长上影线 + 次日突破上影顶}
A1:=C>MA(C,5) AND C>MA(C,10) AND C>MA(C,20) AND MA(C,5)>MA(C,10);
A2:=REF((H-MAX(O,C))/MAX(O,C)*100>3,1) AND REF((MIN(O,C)-L)/L*100<2,1);
A3:=O<REF(O,1) AND C>REF(H,1);
XG1:=A1 AND A2 AND A3;
{组合}
XGXG:SSXG AND XG1;
{顺上飞燕}
U1:=MA(C,5)>MA(C,10)AND MA(C,10)>MA(C,20)AND MA(C,10)>MA(C,30) AND MA(C,30)>MA(C,60);
U2:=MA(C,5)>REF(MA(C,5),1) AND MA(C,10)>REF(MA(C,10),1) AND MA(C,20)>REF(MA(C,20),1) AND MA(C,30)>REF(MA(C,30),1);
SSXG:=U1 AND U2;
{双飞燕}
BB1:=REF(C,3)/REF(C,4)>1.09 AND REF(H,3)>REF(O,3) AND REF(C,2)/REF(C,3)<1.09 AND REF(C,4)/REF(C,5)<1.09;
BB2:=(C>REF(C,3) AND C/REF(C,1)>1.041) AND COUNT(BETWEEN(REF(C,1)/REF(C,2),1.05,0.97),2)=2;
BB3:=REF(O,1)/REF(C,3)<1.05 AND REF(O,2)/REF(C,3)<1.05;
BB4:=(REF(C,3)/REF(C,1)<1.02 AND REF(C,3)/REF(C,2)<1.02);
XGB1:=BB1 AND BB2 AND BB3 AND BB4;
ZHXG:SSXG AND XGB1;
|