同花顺 指标公式 神奇均线-九大绝招(主图 源码 无未来 用法)
该均线系统视角独特,操作简便,实战性强。
系统13个买卖点:
超买,超卖,主线突破,强力主线,均线金叉,均线死叉等等;
同花顺 副图,叠加主图 指标公式:
主线:EMA(C,13),colorred,linethick2;月线雷打不动:EMA(C,34),coloryellow;
超跌大胆跟进:EMA(C,55),colorff00ff;年线参考不大:EMA(C,120),colorffcc66;
ar1:=超跌大胆跟进>月线雷打不动 AND 月线雷打不动>主线;ar2:=BARSLAST((C-主线)/主线*100<-6);
ar3:=主线>=REF(主线,2);ar4:=COUNT(CROSS(C,主线),ar2)=1;
ar5:=ar1 AND ar2 AND ar3 AND ar4;ar6:=ar5 AND
FILTER(ar5,10);
DRAWTEXT(ar6,L-0.09,'← 超卖'),coloryellow;STICKLINE(ar6,H,L,0.5,1),coloryellow;
STICKLINE(ar6,O,C,6,1),linethick2,coloryellow;
br1:=COUNT(BETWEEN((C-REF(C,1))/REF(C,1)*100,0,5)
,5)=5;
br2:=ABS((主线-月线雷打不动)+(月线雷打不动-超跌大胆跟进))/C<0.2;
br3:=C>超跌大胆跟进 AND
(REF(C,1)<REF(超跌大胆跟进,1) OR REF(C,2)<REF(超跌大胆跟进,2) OR
REF(C,3)<REF(超跌大胆跟进,3) OR REF(C,4)<REF(超跌大胆跟进,4) OR
REF(C,5)<REF(超跌大胆跟进,5));
br4:=br1 AND br2 AND br3;DRAWTEXT(br4 AND
FILTER(br4,10),L-0.09,'蚂蚁上树'),color00C5FF;
STICKLINE(br4 AND
FILTER(br4,10),H,L,0.5,1),color00C5FF;
STICKLINE(br4 AND
FILTER(br4,10),O,C,6,1),linethick2,color00C5FF;
cr1:=(C-REF(C,1))/REF(C,1)*100>0.5;cr2:=V>MA(V,5)*0.6;
cr3:=COUNT(CROSS(主线,超跌大胆跟进),3)=1;cr4:=ABS(月线雷打不动-超跌大胆跟进)/超跌大胆跟进<0.03;
cr5:=超跌大胆跟进<=年线参考不大
AND 超跌大胆跟进>=REF(超跌大胆跟进,1);
cr6:=FILTER(cr1 AND cr2 AND cr3 AND cr4 AND
cr5,2);
STICKLINE(cr6,H,L,0.5,1),colorf00ff0;STICKLINE(cr6,O,C,6,1),linethick2,colorf00ff0;
dr1:=主线>月线雷打不动 AND 月线雷打不动<超跌大胆跟进;
dr2:=BARSLAST(CROSS(C,超跌大胆跟进)
);dr3:=H=HHV(H,dr2);dr4:=BARSLAST(dr3);
dr5:=COUNT(O>C AND C<REF(C,1)
AND C>超跌大胆跟进 AND BETWEEN((C-超跌大胆跟进)/超跌大胆跟进,0,0.02),dr4)=1;
dr6:=C>REF(C,1)
;dr7:= dr1 AND dr5 AND dr6 ;dr8:=dr7 AND FILTER(dr7
,10);
STICKLINE(dr8,H,L,0.5,1),colord6ba63;
STICKLINE(dr8,O,C,6,1),linethick2,colord6ba63;
er:=BARSLAST(REF(CROSS(超跌大胆跟进,月线雷打不动),1))
AND
CROSS(月线雷打不动,超跌大胆跟进);
DRAWTEXT(er,L-0.09,'均线互换'),color0099ff;
STICKLINE(er,H,L,0.5,1),color0099ff;
STICKLINE(er,O,C,6,1),linethick2,color0099ff;
fr:=BARSLAST(REF(CROSS(月线雷打不动,主线),1))
AND
CROSS(主线,月线雷打不动);
DRAWTEXT(fr,L-0.09,'梅开二度'),colorwhite;
STICKLINE(fr,H,L,0.5,1),colorwhite;
STICKLINE(fr,O,C,6,1),linethick2,colorwhite;
gr1:=BARSLAST(BETWEEN("bias.bias2"(6,13,24),0,5)
);
gr2:=主线>月线雷打不动 AND 月线雷打不动>超跌大胆跟进 AND
主线>REF(主线,1);
gr3:=COUNT("bias.bias2"(6,13,24)>10 AND
H=HHV(H,gr1),gr1);gr4:=H=HHV(H,gr1);
gr5:="macd.macd"(12,26,9)<REF("macd.macd"(12,26,9),1);
gr6:=gr2
AND gr3 AND gr4;gr7:=gr2 AND gr3 AND gr4 AND gr5;
DRAWTEXT(gr6 AND gr7,H+0.13,'← 超买'),color00ff00;
STICKLINE(gr6 AND gr7,H,H+0.09,4,0),color00ff00;
hr2:=主线>=REF(主线,3) AND 月线雷打不动>=REF(月线雷打不动,1) AND 超跌大胆跟进>=REF(超跌大胆跟进,1) AND CROSS(C,主线) AND
CROSS(C,月线雷打不动) AND CROSS(C,超跌大胆跟进);
DRAWTEXT(hr2 AND FILTER(hr2,10),L-0.09,'三线推进'),colorFFC8FF;
STICKLINE(hr2 AND FILTER(hr2,10),H,L,0.5,1),colorFFC8FF;
STICKLINE(hr2 AND FILTER(hr2,10),O,C,6,1),linethick2,colorFFC8FF;
评论(0)