短线战法---芝麻开花(原创源码无未来,大智慧通达信通用)
今天有点空余时间给大家发一个原创选股指标,形态特点为多头多日小阴小阳后中阳启动,取名为芝麻开花。指标为原创,无未来,通达信大智慧通用(选股指标源码见附件)
{芝麻开花可以叠加主图}
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
A1:=BETWEEN(REF(C,1)/REF(C,2),0.97,1.05) AND MAX(REF(C,1),REF(O,1))/MIN(REF(C,1),REF(O,1))<1.03;
A2:=C=HHV(C,5) AND C>O AND C/REF(C,1)>1.03;
A3:=MA(C,10)>MA(C,20) AND MA(C,20)>MA(C,30) AND MA(C,30)>MA(C,60) AND MA(C,30)>MA(C,120);
A4:=DIFF>DEA;
A5:=COUNT(REF(C,1)>REF(MA(C,20),1) AND REF(MA(C,10)>MA(C,20),1),5)=5;
XG1:=COUNT(A1,5)=5 AND A2 AND A3 AND A4;
DRAWTEXT(XGT,L*1.01,'←--芝麻开花'),colorwhite;
025444297.png
=============================
{芝麻开花选股}
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
A1:=BETWEEN(REF(C,1)/REF(C,2),0.97,1.05) AND MAX(REF(C,1),REF(O,1))/MIN(REF(C,1),REF(O,1))<1.03;
A2:=C=HHV(C,5) AND C>O AND C/REF(C,1)>1.03;
A3:=MA(C,10)>MA(C,20) AND MA(C,20)>MA(C,30) AND MA(C,30)>MA(C,60) AND MA(C,30)>MA(C,120);
A4:=DIFF>DEA;
A5:=COUNT(REF(C,1)>REF(MA(C,20),1) AND REF(MA(C,10)>MA(C,20),1),5)=5;
XG1:COUNT(A1,5)=5 AND A2 AND A3 AND A4 ;
025544235.png
|