以下是通达信神奇主图源码和截图
通达信神奇均线主图源码:
VAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5;
A1:(EMA(VAR1,3)+EMA(VAR1,6)+EMA(VAR1,12)+EMA(VAR1,24))/4;
A2:EMA(A1,2);
A3:EMA(A2,2);
A4:EMA(A3,2);
A5:EMA(A4,2);
A6:EMA(A5,2);
A7:EMA(A6,2);
A8:EMA(VAR1,2.78)*1.028,LINETHICK3;
A9:MA(OPEN,3.2)*1.028,LINETHICK3;
安全线:EMA(CLOSE,55),CIRCLEDOT;
ema13:ema(c,13),coloryellow,linethick2;
ema34:ema(c,34),colorwhite;
ema55:ema(c,55),colorff00ff;
ema120:ema(c,120),colorffcc66;
ar1:=ema55 ema34andema34 ema13;
ar2:=BArslAst((c-ema13)/ema13*100
ar3:=ema13 =ref(ema13,2);
ar4:=count(cross(c,ema13),ar2)=1;
ar5:=ar1andar2andar3andar4;
ar6:=ar5andfilter(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((ema13-ema34)+(ema34-ema55))/c
br3:=c ema55and(ref(c,1) ref(ema55,1)orref(c,2) ref(ema55,2)orref(c,3) ref(ema55,3)orref(c,4) ref(ema55,4)orref(c,5) ref(ema55,5));
br4:=br1andbr2andbr3;
drawtext(br4andfilter(br4,10),l-0.09,'蚂蚁上树'),color00C5FF;
stickline(br4andfilter(br4,10),h,l,0.5,1),color00C5FF;
stickline(br4andfilter(br4,10),o,c,6,1),linethick2,color00C5FF;
cr1:=(c-ref(c,1))/ref(c,1)*100
cr2:=v ma(v,5)*0.6;
cr3:=count(cross(ema13,ema55),3)=1;
cr4:=abs(ema34-ema55)/ema55 0.03;
cr5:=ema55 =ema120andema55 =ref(ema55,1);
cr6:=FILTER(cr1andcr2andcr3andcr4andcr5,2);
stickline(cr6,h,l,0.5,1),colorf00ff0;
stickline(cr6,o,c,6,1),linethick2,colorf00ff0;
drawtext(cr6,l-0.09,'红衣侠女'),colorf00ff0;
dr1:=ema13 ema34andema34 ema55;
dr2:=BARSLAST(cross(c,ema55));
dr3:=h=hhv(h,dr2);
dr4:=BARSLAST(dr3);
dr5:=count(o candc ref(c,1)andc ema55andBETWEEN((c-ema55)/ema55,0,0.02),dr4)=1;
dr6:=c ref(c,1);
dr7:=dr1anddr5anddr6;
dr8:=dr7andFILTER(dr7,10);
drawtext(dr8,l-0.09,'黑客点击'),colord6ba63;
stickline(dr8,h,l,0.5,1),colord6ba63;
stickline(dr8,o,c,6,1),linethick2,colord6ba63;
er:=barslast(ref(cross(ema55,ema34),1))andcross(ema34,ema55);
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(ema34,ema13),1))andcross(ema13,ema34);
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:=ema13 ema34andema34 ema55andema13 ref(ema13,1);
gr3:=count("bias.bias2"(6,13,24) 10andh=hhv(h,gr1),gr1);
gr4:=h=hhv(h,gr1);
gr5:=".macd"(12,26,9) ref("macd.macd"(12,26,9),1);
gr6:=gr2andgr3andgr4;
gr7:=gr2andgr3andgr4andgr5;
drawtext(gr6andgr7,h+0.13,'见好收!'),color00ff00;
stickline(gr6andgr7,h,h+0.09,4,0),color00ff00;
hr2:=ema13 =ref(ema13,3)andema34 =ref(ema34,1)andema55 =ref(ema55,1)andcross(c,ema13)andcross(c,ema34)andcross(c,ema55);
DRAWTEXT(hr2andfilter(hr2,10),l-0.09,'三线推进'),colorFFC8FF;
stickline(hr2andfilter(hr2,10),h,l,0.5,1),colorFFC8FF;
stickline(hr2andfilter(hr2,10),o,c,6,1),linethick2,colorFFC8FF;
N110030M11009
AA:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,N))/MA(CLOSE,N);
JAX:DMA(CLOSE,AA);
压力线:(1+M/100)*JAX;
支撑线:(1-M/100)*JAX;
通达信神奇均线主图截图