看看这个指标满意不?图片演示在下面网址里
n:=17;
LH:=79;
EMA1:EMA(C,1);
ema13:ema(c,13),COLORFF8080;
ema34:ema(c,34),colorFFFF00;
ema55:ema(c,55),colorff00ff;
ema120:ema(c,120),COLORGREEN;
MA30:MA(C,30),COLORYELLOW,POINTDOT,LINETHICK2;
生命线:eMA(CLOSE,453),colorff00ff,POINTDOT,LINETHICK2;
LOCK:=1;
M8:=EMA(CLOSE,8);
M13:=EMA(M8,13);
VAR1:=EMA(M13,62);
VAR2:=(CLOSE+HIGH+LOW)/3;
VAR3:=EMA(VAR2,10)*LOCK;
VAR4:=REF(VAR3,1)*LOCK;
STICKLINE(OPEN=CLOSE,CLOSE,OPEN,9*0.5,0),COLORFF5B00;
STICKLINE(OPEN=CLOSE,CLOSE,OPEN,8*0.5,0),COLORFF6C00;
STICKLINE(OPEN=CLOSE,CLOSE,OPEN,7*0.5,0),COLORFF7B00;
STICKLINE(OPEN=CLOSE,CLOSE,OPEN,6*0.5,0),COLORFF9C00;
STICKLINE(OPEN=CLOSE,CLOSE,OPEN,5*0.5,0),COLORFFBE00;
STICKLINE(OPEN=CLOSE,CLOSE,OPEN,3.5*0.5,0),COLORFFCC00;
STICKLINE(OPEN=CLOSE,CLOSE,OPEN,1.5*0.5,0),COLORFFFF00;
STICKLINE(CLOSE=OPEN,CLOSE,OPEN,9*0.5,0),COLOR070084;
STICKLINE(CLOSE=OPEN,CLOSE,OPEN,8*0.5,0),COLOR0000A3;
STICKLINE(CLOSE=OPEN,CLOSE,OPEN,7*0.5,0),COLOR0000B7;
STICKLINE(CLOSE=OPEN,CLOSE,OPEN,6*0.5,0),COLOR0000CD;
STICKLINE(CLOSE=OPEN,CLOSE,OPEN,5*0.5,0),COLOR0000E9;
STICKLINE(CLOSE=OPEN,CLOSE,OPEN,3*0.5,0),COLOR0754E9;
STICKLINE(CLOSE=OPEN,CLOSE,OPEN,1.5*0.5,0),COLOR076EF3;
STICKLINE(CLOSE=OPEN,CLOSE,OPEN,1*0.5,0),COLOR077BF3;
STICKLINE(CLOSEOPEN,OPEN,LOW,1*0.5,0),COLOR0726CA;
STICKLINE(CLOSEOPEN,CLOSE,HIGH,1*0.5,0),COLOR0726CA;
STICKLINE(OPENCLOSE,CLOSE,LOW,1*0.5,0),COLORDE9100;
STICKLINE(OPENCLOSE,OPEN,HIGH,1*0.5,0),COLORDE9100;
AAA:=MA(C,10);
BBB:=ATAN((AAA/REF(AAA,1)-1)*100)*180/3.1416;
CCC:=FILTER(CROSS(BBB,30),5);
DRAWTEXT(CCC AND CAAA,AAA*0.95,'十日30∠'),COLORFF00FF;
ar1:=ema55ema34 and ema34ema13;
ar2:=BARSLAST((c-ema13)/ema13*100-6);
ar3:=ema13=ref(ema13,2);
ar4:=count(cross(c,ema13),ar2)=1;
ar5:=ar1 and ar2 and ar3 and ar4;
ar6:=ar5 and filter(ar5,10);
drawtext(ar6,l-0.09,'红杏出墙'),COLOR00ccff;
stickline(ar6,h,l,0.5,1),COLOR00ccff;
stickline(ar6,o,c,6,1),linethick2,COLOR00ccff;
br1:=count(BETWEEN((c-ref(c,1))/ref(c,1)*100,0,5) ,5)=5;
br2:=abs((ema13-ema34)+(ema34-ema55))/c0.2;
br3:=cema55 and (ref(c,1)ref(ema55,1) or ref(c,2)ref(ema55,2) or ref(c,3)ref(ema55,3) or ref(c,4)ref(ema55,4) or ref(c,5)ref(ema55,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)*1000.5;
cr2:=vma(v,5)*0.6;
cr3:=count(cross(ema13,ema55),3)=1;
cr4:=abs(ema34-ema55)/ema550.03;
cr5:=ema55=ema120 and ema55=ref(ema55,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;
drawtext(cr6,l-0.09,'红衣侠女'),colorf00ff0;
dr1:=ema13ema34 and ema34ema55;
dr2:=BARSLAST(cross(c,ema55) );
dr3:=h=hhv(h,dr2);
dr4:=BARSLAST(dr3);
dr5:=count(oc and cref(c,1) and cema55 and BETWEEN((c-ema55)/ema55,0,0.02),dr4)=1;
dr6:=cref(c,1) ;
dr7:= dr1 and dr5 and dr6 ;
dr8:=dr7 and FILTER(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)) and cross(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)) and cross(ema13,ema34);
DRAWTEXT(fr,l-0.09,'梅开二度'),colorwhite;
stickline(fr,h,l,0.5,1),colorwhite;
stickline(fr,o,c,6,1),linethick1,colorwhite;
gr1:=BARSLAST(BETWEEN("bias.bias2"(6,13,24),0,5) );
gr2:=ema13ema34 and ema34ema55 and ema13ref(ema13,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;
DRAWTEXT(gr6 and gr7,h+0.1,'▼'),color00ff00;
hr2:=ema13=ref(ema13,3) and ema34=ref(ema34,1) and ema55=ref(ema55,1) and cross(c,ema13) and cross(c,ema34) and cross(c,ema55);
DRAWTEXT(hr2 and filter(hr2,10),h+0.1,'▲'),colorFFC8FF;
DRAWTEXT(hr2 and filter(hr2,10),h+0.5,'揭竿而起'),color9900cc;
DRAWTEXT(hr2 and filter(hr2,10),l-0.09,'三线推进'),COLORYELLOW;
stickline(hr2 and filter(hr2,10),h,l,0.5,1),COLORYELLOW;
stickline(hr2 and filter(hr2,10),o,c,6,1),linethick2,COLORYELLOW;
SK:= EMA(Var1,13)-EMA(Var1,73);
SD:= EMA(SK,2);
drawtext((cross(sk,sd) and sk-0.04 and (c-ref(c,1))/ref(c,1)=0.03) or (cross(sk,sd) and sk=-0.14 )
or (cross(sk,sd) and sk=0.05 and (v/ma(v,5)2 or c/ref(c,1)0.035)) ,l*0.99,'短'),COLOR0000cc;
stickline((cross(sk,sd) and sk-0.04 and (c-ref(c,1))/ref(c,1)=0.03) or (cross(sk,sd) and sk=-0.14 )
or (cross(sk,sd) and sk=0.05 and (v/ma(v,5)2 or c/ref(c,1)0.035)),h,l,0.5,0),COLOR0000cc;
stickline((cross(sk,sd) and sk-0.04 and (c-ref(c,1))/ref(c,1)=0.03) or (cross(sk,sd) and sk=-0.14 )
or (cross(sk,sd) and sk=0.05 and (v/ma(v,5)2 or c/ref(c,1)0.035)),o,c,10,1),linethick1,COLOR0000cc;
MA1:=MA(((HIGH + LOW) / 2),5);MA2:=MA(((HIGH + LOW) / 2),35);x:=((MA1 - MA2) * 100);
均势一:=(((((((((CLOSE + REF(CLOSE,1)) + REF(CLOSE,2)) + REF(CLOSE,3)) + REF(CLOSE,4)) + REF(CLOSE,5)) + REF(CLOSE,6)) + REF(CLOSE,7)) + REF(CLOSE,8)) / 9);
均势二:=((((CLOSE + REF(CLOSE,1)) + REF(CLOSE,2)) + REF(CLOSE,3)) / 4);
趋势一:=((((均势一 - REF(均势一,1)) / REF(均势一,1)) * 1000) + 50);
趋势二:=((((均势二 - REF(均势二,1)) / REF(均势二,1)) * 1000) + 50);
波段高位:= (CROSS(趋势一,趋势二) AND (COUNT((CLOSE REF(HIGH,1)),12) 5));
LC:=REF(CLOSE,1);
方向值:=((SMA(MAX((CLOSE - LC),0),6,1) / SMA(ABS((CLOSE - LC)),6,1)) * 100);
短抄一:=((CROSS(趋势二,(趋势一 + 2)) AND (x 0)) AND ((方向值 10) OR (REF(方向值,1) 10)));
短抄二:=((((CROSS(趋势二,MA1) AND (MA1 20)) AND (方向值 趋势二)) AND (x 0)) AND
(((趋势二 20) OR (REF(趋势二,1) 15)) OR (REF(趋势二,2) 15)));
DRAWTEXT((短抄一 OR 短抄二),(LOW * 0.99),'短底'),Color0000FF;
DRAWTEXT(波段高位,(HIGH * 1.03),'卖出'),colorWhite;
DRAWICON(波段高位,(HIGH * 1.06),2),colorFF0000;DRAWICON((短抄一 OR 短抄二),(LOW * 0.97),1);
V5:=EMA(CLOSE,1);主线:=EMA(V5,5) ;
本:=EMA(HHV(主线,5),1);
急进:=EMA(HHV(本,17),1);
稳健:=EMA(HHV(急进,17),2);
投资:EMA(HHV(稳健,17),3),linethick2, colorgray;
Y:=(MA(C,13)-MA(C,55))/MA(C,13)*100;
YY1:=CMA(C,13) AND OPENMA(C,13);{一阳三线}
YY3:=CMA(C,34) AND OPENMA(C,34);
YY5:=CMA(C,55) AND OPENMA(C,55);
X2:DRAWTEXT(YY1 AND YY5 AND YY3,LOW-0.1,'一阳三线'),COLORRED;
SJ1:=ABS(MA(CLOSE,13)-MA(CLOSE,34))C*0.01;{13线34线55线接近}
SJ2:=ABS(MA(CLOSE,34)-MA(CLOSE,55))C*0.01;
SJ3:=CROSS(MA(CLOSE,13),MA(CLOSE,55));{13线上穿55线}
X3:DRAWTEXT(SJ1 AND SJ2 AND SJ3,HIGH+0.1,'三军集结'),COLORRED;
RY1:=C/OPEN1.04;{阳线4%}
RY2:=REF(OPEN,1)/REF(CLOSE,1)1.04;{阴线4%}
RY3:=ABS(OPEN-REF(C,1))C*0.02 AND ABS(C-REF(OPEN,1))C*0.02;{两线相等}
X4:DRAWTEXT(RY1 AND RY2 AND RY3 ,LOW,'日月合璧'),COLORYELLOW;
JW1:=COPEN AND REF(C,1)REF(OPEN,1);
JW2:=OPENREF(C,1) AND CREF(L,1);
JW3:=OMA(C,13) AND OMA(C,34) AND OMA(C,55);
JW:=JW1 AND JW2 AND JW3;
X8:DRAWTEXT(JW,LOW-0.2,'金屋藏娇'),COLORYELLOW;
TS1:=CROSS(MA(C,13),MA(C,34));{13线上穿34线}
TS2:=MA(C,13)MA(C,55);
TS:=TS1 AND TS2;
X9:DRAWTEXT(TS,LOW-0.2,'投石问路'),COLORF00FF0;
YZ1:=C/O1.02 AND H/C1.02 AND O/L1.02;{收阳有上影}
YZ2:=REF(C,1)REF(O,1) AND OMA(C,11);{昨收阳 今大于均线}
YZ:=YZ1 AND YZ2 AND Y10;
X11:DRAWTEXT(YZ,HIGH+0.2,'一枝独秀'),COLORF00FF0;
DS1:=OPEN/C1.04 AND O/REF(C,1)1.03;{高开收阴}
DS2:=V*100/FINANCE2(7)0.08 AND Y8;{换手高涨幅大}
DS:=DS1 AND DS2;
X12:DRAWTEXT(DS,HIGH+0.2,'独上高楼'),COLORGREEN;
YJ1:=H/O1.04;
YJ2:=ABS(C-O)C*0.03;
YJ3:=C/MA(C,13)1.1;
YJ:=YJ1 AND YJ2 AND DS2 AND YJ3 AND YZ2;
X13:DRAWTEXT(YJ,HIGH+0.3,'一剑封喉'),COLORRED;
T:=(MA(C,13)-MA(C,55))/MA(C,13)*100;
TT1:=CMA(C,13) AND OPENMA(C,13);{断头铡刀}
TT3:=CMA(C,34) AND OPENMA(C,34);
TT5:=CMA(C,55) AND OPENMA(C,55);
x28:DRAWTEXT(TT1 AND TT5 AND TT3,LOW-0.6,'断头铡刀'),COLORRED;
x39:DRAWTEXT(CROSS(eMA34,eMA13),eMA34*1.01,'S分道扬镳'), COLOR00FF00;
x30:DRAWTEXT(CROSS(eMA55,eMA13),eMA55*1.01,'S一箭穿心'), COLOR00FF00;
X31:DRAWTEXT(CROSS(eMA55,eMA34),eMA55*1.01,'S各自为政'), COLOR00FF00;
VAR10:=MA(CLOSE,80)-MA(CLOSE,10)/3;
VAR11:=REF(CLOSE,1);
VAR12:=(SMA(MAX(CLOSE-VAR11,0),N,1))/(SMA(ABS(CLOSE-VAR11),N,1))*100;
X14:DRAWTEXT(IF(CLOSEVAR10 AND VOL/240MA(VOL,5)/240 AND CLOSEREF
(CLOSE,1)*1.08 AND CLOSEMA(CLOSE,13)*1.3,1,0),LOW-0.7,'进场'),COLORRED;
X16:DRAWTEXT(CROSS(LH,VAR12),HIGH*1.04,'获利减仓');
X17:DRAWTEXT(CROSS(VAR3,VAR4),L-0.3,'买'),COLORRed;
X18:DRAWTEXT(CROSS(eMA13,eMA34),H+0.5,'投石,增持'),COLORYELLOW;
X19:DRAWTEXT(CROSS(eMA13,eMA55),H+0.3,'红客,加仓'),COLORYELLOW;
X20:DRAWTEXT(CROSS(eMA34,eMA55),L-0.5,'互换,重仓'),COLORYELLOW;
X21:DRAWTEXT(REF(CLOSE,1)REF(OPEN,1) AND CLOSEREF(OPEN,1),
L*0.97,'克阴'),COLORFF00FF;
X22:DRAWTEXT(REF(CLOSE,1)REF(OPEN,1) AND CLOSEREF(OPEN,1),
H*1.05,'克阳'),COLOR00FF00;
X23:DRAWICON(CROSS(eMA13,eMA34),eMA34,1);
X24:DRAWICON(CROSS(eMA13,eMA55),eMA55,1);
X25:DRAWICON(CROSS(eMA34,eMA55),eMA55,1);
STICKLINE(HR2 AND FILTER(HR2,10),H,L,0,1),COLORFFC8FF;
FF:=EMA(CLOSE,3);MA15:=EMA(CLOSE,21);
DRAWTEXT(CROSS(FF,MA15),(LOW * 0.99),'←底背'),COLORA6E500;
RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);
DRAWTEXT(CROSS(88,RSI),(HIGH * 1.04),'←顶背'),COLOR1880FF;
X35:DRAWICON(CROSS(eMA13,eMA34),eMA34,1);
X36:DRAWICON(CROSS(eMA13,eMA55),eMA55,1);
X37:DRAWICON(CROSS(eMA34,eMA55),eMA55,1);
X38:DRAWICON(CROSS(eMA34,eMA13),eMA34,2);
X139:DRAWICON(CROSS(eMA55,eMA13),eMA55,2);
X40:DRAWICON(CROSS(eMA55,eMA34),eMA55,2);
方法有两种:第一种:选择要放大或缩小的图形,右击剪切。然后再右击粘贴为块。这样就可以随便放大或缩小了,而且尺寸不变,不过有一个不好的地方,就是修改麻烦点,都要进入块里;第二种:新建一个标注样式,主单位里面的比例因子要按你缩放的大小调整。且成反比。比如你此图要放大两部的话,那么这里的比例因子就是0.5也就是1/2.就是缩小两部。注:比如放大三倍的话,你就在此比例因子里输入1/3,也就是0.3333333333333;
看看我这个均线怎么样?图片演示下面网址里有.
n:=17;
LH:=79;
EMA1:EMA(C,1);
ema13:ema(c,13),COLORFF8080;
ema34:ema(c,34),colorFFFF00;
ema55:ema(c,55),colorff00ff;
ema120:ema(c,120),COLORGREEN;
MA30:MA(C,30),COLORYELLOW,POINTDOT,LINETHICK2;
生命线:eMA(CLOSE,453),colorff00ff,POINTDOT,LINETHICK2;
LOCK:=1;
M8:=EMA(CLOSE,8);
M13:=EMA(M8,13);
VAR1:=EMA(M13,62);
VAR2:=(CLOSE+HIGH+LOW)/3;
VAR3:=EMA(VAR2,10)*LOCK;
VAR4:=REF(VAR3,1)*LOCK;
STICKLINE(OPEN=CLOSE,CLOSE,OPEN,9*0.5,0),COLORFF5B00;
STICKLINE(OPEN=CLOSE,CLOSE,OPEN,8*0.5,0),COLORFF6C00;
STICKLINE(OPEN=CLOSE,CLOSE,OPEN,7*0.5,0),COLORFF7B00;
STICKLINE(OPEN=CLOSE,CLOSE,OPEN,6*0.5,0),COLORFF9C00;
STICKLINE(OPEN=CLOSE,CLOSE,OPEN,5*0.5,0),COLORFFBE00;
STICKLINE(OPEN=CLOSE,CLOSE,OPEN,3.5*0.5,0),COLORFFCC00;
STICKLINE(OPEN=CLOSE,CLOSE,OPEN,1.5*0.5,0),COLORFFFF00;
STICKLINE(CLOSE=OPEN,CLOSE,OPEN,9*0.5,0),COLOR070084;
STICKLINE(CLOSE=OPEN,CLOSE,OPEN,8*0.5,0),COLOR0000A3;
STICKLINE(CLOSE=OPEN,CLOSE,OPEN,7*0.5,0),COLOR0000B7;
STICKLINE(CLOSE=OPEN,CLOSE,OPEN,6*0.5,0),COLOR0000CD;
STICKLINE(CLOSE=OPEN,CLOSE,OPEN,5*0.5,0),COLOR0000E9;
STICKLINE(CLOSE=OPEN,CLOSE,OPEN,3*0.5,0),COLOR0754E9;
STICKLINE(CLOSE=OPEN,CLOSE,OPEN,1.5*0.5,0),COLOR076EF3;
STICKLINE(CLOSE=OPEN,CLOSE,OPEN,1*0.5,0),COLOR077BF3;
STICKLINE(CLOSEOPEN,OPEN,LOW,1*0.5,0),COLOR0726CA;
STICKLINE(CLOSEOPEN,CLOSE,HIGH,1*0.5,0),COLOR0726CA;
STICKLINE(OPENCLOSE,CLOSE,LOW,1*0.5,0),COLORDE9100;
STICKLINE(OPENCLOSE,OPEN,HIGH,1*0.5,0),COLORDE9100;
AAA:=MA(C,10);
BBB:=ATAN((AAA/REF(AAA,1)-1)*100)*180/3.1416;
CCC:=FILTER(CROSS(BBB,30),5);
DRAWTEXT(CCC AND CAAA,AAA*0.95,'十日30∠'),COLORFF00FF;
ar1:=ema55ema34 and ema34ema13;
ar2:=BARSLAST((c-ema13)/ema13*100-6);
ar3:=ema13=ref(ema13,2);
ar4:=count(cross(c,ema13),ar2)=1;
ar5:=ar1 and ar2 and ar3 and ar4;
ar6:=ar5 and filter(ar5,10);
drawtext(ar6,l-0.09,'红杏出墙'),COLOR00ccff;
stickline(ar6,h,l,0.5,1),COLOR00ccff;
stickline(ar6,o,c,6,1),linethick2,COLOR00ccff;
br1:=count(BETWEEN((c-ref(c,1))/ref(c,1)*100,0,5) ,5)=5;
br2:=abs((ema13-ema34)+(ema34-ema55))/c0.2;
br3:=cema55 and (ref(c,1)ref(ema55,1) or ref(c,2)ref(ema55,2) or ref(c,3)ref(ema55,3) or ref(c,4)ref(ema55,4) or ref(c,5)ref(ema55,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)*1000.5;
cr2:=vma(v,5)*0.6;
cr3:=count(cross(ema13,ema55),3)=1;
cr4:=abs(ema34-ema55)/ema550.03;
cr5:=ema55=ema120 and ema55=ref(ema55,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;
drawtext(cr6,l-0.09,'红衣侠女'),colorf00ff0;
dr1:=ema13ema34 and ema34ema55;
dr2:=BARSLAST(cross(c,ema55) );
dr3:=h=hhv(h,dr2);
dr4:=BARSLAST(dr3);
dr5:=count(oc and cref(c,1) and cema55 and BETWEEN((c-ema55)/ema55,0,0.02),dr4)=1;
dr6:=cref(c,1) ;
dr7:= dr1 and dr5 and dr6 ;
dr8:=dr7 and FILTER(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)) and cross(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)) and cross(ema13,ema34);
DRAWTEXT(fr,l-0.09,'梅开二度'),colorwhite;
stickline(fr,h,l,0.5,1),colorwhite;
stickline(fr,o,c,6,1),linethick1,colorwhite;
gr1:=BARSLAST(BETWEEN("bias.bias2"(6,13,24),0,5) );
gr2:=ema13ema34 and ema34ema55 and ema13ref(ema13,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;
DRAWTEXT(gr6 and gr7,h+0.1,'▼'),color00ff00;
hr2:=ema13=ref(ema13,3) and ema34=ref(ema34,1) and ema55=ref(ema55,1) and cross(c,ema13) and cross(c,ema34) and cross(c,ema55);
DRAWTEXT(hr2 and filter(hr2,10),h+0.1,'▲'),colorFFC8FF;
DRAWTEXT(hr2 and filter(hr2,10),h+0.5,'揭竿而起'),color9900cc;
DRAWTEXT(hr2 and filter(hr2,10),l-0.09,'三线推进'),COLORYELLOW;
stickline(hr2 and filter(hr2,10),h,l,0.5,1),COLORYELLOW;
stickline(hr2 and filter(hr2,10),o,c,6,1),linethick2,COLORYELLOW;
SK:= EMA(Var1,13)-EMA(Var1,73);
SD:= EMA(SK,2);
drawtext((cross(sk,sd) and sk-0.04 and (c-ref(c,1))/ref(c,1)=0.03) or (cross(sk,sd) and sk=-0.14 )
or (cross(sk,sd) and sk=0.05 and (v/ma(v,5)2 or c/ref(c,1)0.035)) ,l*0.99,'短'),COLOR0000cc;
stickline((cross(sk,sd) and sk-0.04 and (c-ref(c,1))/ref(c,1)=0.03) or (cross(sk,sd) and sk=-0.14 )
or (cross(sk,sd) and sk=0.05 and (v/ma(v,5)2 or c/ref(c,1)0.035)),h,l,0.5,0),COLOR0000cc;
stickline((cross(sk,sd) and sk-0.04 and (c-ref(c,1))/ref(c,1)=0.03) or (cross(sk,sd) and sk=-0.14 )
or (cross(sk,sd) and sk=0.05 and (v/ma(v,5)2 or c/ref(c,1)0.035)),o,c,10,1),linethick1,COLOR0000cc;
MA1:=MA(((HIGH + LOW) / 2),5);MA2:=MA(((HIGH + LOW) / 2),35);x:=((MA1 - MA2) * 100);
均势一:=(((((((((CLOSE + REF(CLOSE,1)) + REF(CLOSE,2)) + REF(CLOSE,3)) + REF(CLOSE,4)) + REF(CLOSE,5)) + REF(CLOSE,6)) + REF(CLOSE,7)) + REF(CLOSE,8)) / 9);
均势二:=((((CLOSE + REF(CLOSE,1)) + REF(CLOSE,2)) + REF(CLOSE,3)) / 4);
趋势一:=((((均势一 - REF(均势一,1)) / REF(均势一,1)) * 1000) + 50);
趋势二:=((((均势二 - REF(均势二,1)) / REF(均势二,1)) * 1000) + 50);
波段高位:= (CROSS(趋势一,趋势二) AND (COUNT((CLOSE REF(HIGH,1)),12) 5));
LC:=REF(CLOSE,1);
方向值:=((SMA(MAX((CLOSE - LC),0),6,1) / SMA(ABS((CLOSE - LC)),6,1)) * 100);
短抄一:=((CROSS(趋势二,(趋势一 + 2)) AND (x 0)) AND ((方向值 10) OR (REF(方向值,1) 10)));
短抄二:=((((CROSS(趋势二,MA1) AND (MA1 20)) AND (方向值 趋势二)) AND (x 0)) AND
(((趋势二 20) OR (REF(趋势二,1) 15)) OR (REF(趋势二,2) 15)));
DRAWTEXT((短抄一 OR 短抄二),(LOW * 0.99),'短底'),Color0000FF;
DRAWTEXT(波段高位,(HIGH * 1.03),'卖出'),colorWhite;
DRAWICON(波段高位,(HIGH * 1.06),2),colorFF0000;DRAWICON((短抄一 OR 短抄二),(LOW * 0.97),1);
V5:=EMA(CLOSE,1);主线:=EMA(V5,5) ;
本:=EMA(HHV(主线,5),1);
急进:=EMA(HHV(本,17),1);
稳健:=EMA(HHV(急进,17),2);
投资:EMA(HHV(稳健,17),3),linethick2, colorgray;
Y:=(MA(C,13)-MA(C,55))/MA(C,13)*100;
YY1:=CMA(C,13) AND OPENMA(C,13);{一阳三线}
YY3:=CMA(C,34) AND OPENMA(C,34);
YY5:=CMA(C,55) AND OPENMA(C,55);
X2:DRAWTEXT(YY1 AND YY5 AND YY3,LOW-0.1,'一阳三线'),COLORRED;
SJ1:=ABS(MA(CLOSE,13)-MA(CLOSE,34))C*0.01;{13线34线55线接近}
SJ2:=ABS(MA(CLOSE,34)-MA(CLOSE,55))C*0.01;
SJ3:=CROSS(MA(CLOSE,13),MA(CLOSE,55));{13线上穿55线}
X3:DRAWTEXT(SJ1 AND SJ2 AND SJ3,HIGH+0.1,'三军集结'),COLORRED;
RY1:=C/OPEN1.04;{阳线4%}
RY2:=REF(OPEN,1)/REF(CLOSE,1)1.04;{阴线4%}
RY3:=ABS(OPEN-REF(C,1))C*0.02 AND ABS(C-REF(OPEN,1))C*0.02;{两线相等}
X4:DRAWTEXT(RY1 AND RY2 AND RY3 ,LOW,'日月合璧'),COLORYELLOW;
JW1:=COPEN AND REF(C,1)REF(OPEN,1);
JW2:=OPENREF(C,1) AND CREF(L,1);
JW3:=OMA(C,13) AND OMA(C,34) AND OMA(C,55);
JW:=JW1 AND JW2 AND JW3;
X8:DRAWTEXT(JW,LOW-0.2,'金屋藏娇'),COLORYELLOW;
TS1:=CROSS(MA(C,13),MA(C,34));{13线上穿34线}
TS2:=MA(C,13)MA(C,55);
TS:=TS1 AND TS2;
X9:DRAWTEXT(TS,LOW-0.2,'投石问路'),COLORF00FF0;
YZ1:=C/O1.02 AND H/C1.02 AND O/L1.02;{收阳有上影}
YZ2:=REF(C,1)REF(O,1) AND OMA(C,11);{昨收阳 今大于均线}
YZ:=YZ1 AND YZ2 AND Y10;
X11:DRAWTEXT(YZ,HIGH+0.2,'一枝独秀'),COLORF00FF0;
DS1:=OPEN/C1.04 AND O/REF(C,1)1.03;{高开收阴}
DS2:=V*100/FINANCE2(7)0.08 AND Y8;{换手高涨幅大}
DS:=DS1 AND DS2;
X12:DRAWTEXT(DS,HIGH+0.2,'独上高楼'),COLORGREEN;
YJ1:=H/O1.04;
YJ2:=ABS(C-O)C*0.03;
YJ3:=C/MA(C,13)1.1;
YJ:=YJ1 AND YJ2 AND DS2 AND YJ3 AND YZ2;
X13:DRAWTEXT(YJ,HIGH+0.3,'一剑封喉'),COLORRED;
T:=(MA(C,13)-MA(C,55))/MA(C,13)*100;
TT1:=CMA(C,13) AND OPENMA(C,13);{断头铡刀}
TT3:=CMA(C,34) AND OPENMA(C,34);
TT5:=CMA(C,55) AND OPENMA(C,55);
x28:DRAWTEXT(TT1 AND TT5 AND TT3,LOW-0.6,'断头铡刀'),COLORRED;
x39:DRAWTEXT(CROSS(eMA34,eMA13),eMA34*1.01,'S分道扬镳'), COLOR00FF00;
x30:DRAWTEXT(CROSS(eMA55,eMA13),eMA55*1.01,'S一箭穿心'), COLOR00FF00;
X31:DRAWTEXT(CROSS(eMA55,eMA34),eMA55*1.01,'S各自为政'), COLOR00FF00;
VAR10:=MA(CLOSE,80)-MA(CLOSE,10)/3;
VAR11:=REF(CLOSE,1);
VAR12:=(SMA(MAX(CLOSE-VAR11,0),N,1))/(SMA(ABS(CLOSE-VAR11),N,1))*100;
X14:DRAWTEXT(IF(CLOSEVAR10 AND VOL/240MA(VOL,5)/240 AND CLOSEREF
(CLOSE,1)*1.08 AND CLOSEMA(CLOSE,13)*1.3,1,0),LOW-0.7,'进场'),COLORRED;
X16:DRAWTEXT(CROSS(LH,VAR12),HIGH*1.04,'获利减仓');
X17:DRAWTEXT(CROSS(VAR3,VAR4),L-0.3,'买'),COLORRed;
X18:DRAWTEXT(CROSS(eMA13,eMA34),H+0.5,'投石,增持'),COLORYELLOW;
X19:DRAWTEXT(CROSS(eMA13,eMA55),H+0.3,'红客,加仓'),COLORYELLOW;
X20:DRAWTEXT(CROSS(eMA34,eMA55),L-0.5,'互换,重仓'),COLORYELLOW;
X21:DRAWTEXT(REF(CLOSE,1)REF(OPEN,1) AND CLOSEREF(OPEN,1),
L*0.97,'克阴'),COLORFF00FF;
X22:DRAWTEXT(REF(CLOSE,1)REF(OPEN,1) AND CLOSEREF(OPEN,1),
H*1.05,'克阳'),COLOR00FF00;
X23:DRAWICON(CROSS(eMA13,eMA34),eMA34,1);
X24:DRAWICON(CROSS(eMA13,eMA55),eMA55,1);
X25:DRAWICON(CROSS(eMA34,eMA55),eMA55,1);
STICKLINE(HR2 AND FILTER(HR2,10),H,L,0,1),COLORFFC8FF;
FF:=EMA(CLOSE,3);MA15:=EMA(CLOSE,21);
DRAWTEXT(CROSS(FF,MA15),(LOW * 0.99),'←底背'),COLORA6E500;
RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);
DRAWTEXT(CROSS(88,RSI),(HIGH * 1.04),'←顶背'),COLOR1880FF;
X35:DRAWICON(CROSS(eMA13,eMA34),eMA34,1);
X36:DRAWICON(CROSS(eMA13,eMA55),eMA55,1);
X37:DRAWICON(CROSS(eMA34,eMA55),eMA55,1);
X38:DRAWICON(CROSS(eMA34,eMA13),eMA34,2);
X139:DRAWICON(CROSS(eMA55,eMA13),eMA55,2);
X40:DRAWICON(CROSS(eMA55,eMA34),eMA55,2);
n:=17;
LH:=79;
EMA1:EMA(C,1);
ema13:ema(c,13),COLORFF8080;
ema34:ema(c,34),colorFFFF00;
ema55:ema(c,55),colorff00ff;
ema120:ema(c,120),COLORGREEN;
MA30:MA(C,30),COLORYELLOW,POINTDOT,LINETHICK2;
生命线:eMA(CLOSE,453),colorff00ff,POINTDOT,LINETHICK2;
LOCK:=1;
M8:=EMA(CLOSE,8);
M13:=EMA(M8,13);
VAR1:=EMA(M13,62);
VAR2:=(CLOSE+HIGH+LOW)/3;
VAR3:=EMA(VAR2,10)*LOCK;
VAR4:=REF(VAR3,1)*LOCK;
STICKLINE(OPEN=CLOSE,CLOSE,OPEN,9*0.5,0),COLORFF5B00;
STICKLINE(OPEN=CLOSE,CLOSE,OPEN,8*0.5,0),COLORFF6C00;
STICKLINE(OPEN=CLOSE,CLOSE,OPEN,7*0.5,0),COLORFF7B00;
STICKLINE(OPEN=CLOSE,CLOSE,OPEN,6*0.5,0),COLORFF9C00;
STICKLINE(OPEN=CLOSE,CLOSE,OPEN,5*0.5,0),COLORFFBE00;
STICKLINE(OPEN=CLOSE,CLOSE,OPEN,3.5*0.5,0),COLORFFCC00;
STICKLINE(OPEN=CLOSE,CLOSE,OPEN,1.5*0.5,0),COLORFFFF00;
STICKLINE(CLOSE=OPEN,CLOSE,OPEN,9*0.5,0),COLOR070084;
STICKLINE(CLOSE=OPEN,CLOSE,OPEN,8*0.5,0),COLOR0000A3;
STICKLINE(CLOSE=OPEN,CLOSE,OPEN,7*0.5,0),COLOR0000B7;
STICKLINE(CLOSE=OPEN,CLOSE,OPEN,6*0.5,0),COLOR0000CD;
STICKLINE(CLOSE=OPEN,CLOSE,OPEN,5*0.5,0),COLOR0000E9;
STICKLINE(CLOSE=OPEN,CLOSE,OPEN,3*0.5,0),COLOR0754E9;
STICKLINE(CLOSE=OPEN,CLOSE,OPEN,1.5*0.5,0),COLOR076EF3;
STICKLINE(CLOSE=OPEN,CLOSE,OPEN,1*0.5,0),COLOR077BF3;
STICKLINE(CLOSEOPEN,OPEN,LOW,1*0.5,0),COLOR0726CA;
STICKLINE(CLOSEOPEN,CLOSE,HIGH,1*0.5,0),COLOR0726CA;
STICKLINE(OPENCLOSE,CLOSE,LOW,1*0.5,0),COLORDE9100;
STICKLINE(OPENCLOSE,OPEN,HIGH,1*0.5,0),COLORDE9100;
AAA:=MA(C,10);
BBB:=ATAN((AAA/REF(AAA,1)-1)*100)*180/3.1416;
CCC:=FILTER(CROSS(BBB,30),5);
DRAWTEXT(CCC AND CAAA,AAA*0.95,'十日30∠'),COLORFF00FF;
ar1:=ema55ema34 and ema34ema13;
ar2:=BARSLAST((c-ema13)/ema13*100-6);
ar3:=ema13=ref(ema13,2);
ar4:=count(cross(c,ema13),ar2)=1;
ar5:=ar1 and ar2 and ar3 and ar4;
ar6:=ar5 and filter(ar5,10);
drawtext(ar6,l-0.09,'红杏出墙'),COLOR00ccff;
stickline(ar6,h,l,0.5,1),COLOR00ccff;
stickline(ar6,o,c,6,1),linethick2,COLOR00ccff;
br1:=count(BETWEEN((c-ref(c,1))/ref(c,1)*100,0,5) ,5)=5;
br2:=abs((ema13-ema34)+(ema34-ema55))/c0.2;
br3:=cema55 and (ref(c,1)ref(ema55,1) or ref(c,2)ref(ema55,2) or ref(c,3)ref(ema55,3) or ref(c,4)ref(ema55,4) or ref(c,5)ref(ema55,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)*1000.5;
cr2:=vma(v,5)*0.6;
cr3:=count(cross(ema13,ema55),3)=1;
cr4:=abs(ema34-ema55)/ema550.03;
cr5:=ema55=ema120 and ema55=ref(ema55,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;
drawtext(cr6,l-0.09,'红衣侠女'),colorf00ff0;
dr1:=ema13ema34 and ema34ema55;
dr2:=BARSLAST(cross(c,ema55) );
dr3:=h=hhv(h,dr2);
dr4:=BARSLAST(dr3);
dr5:=count(oc and cref(c,1) and cema55 and BETWEEN((c-ema55)/ema55,0,0.02),dr4)=1;
dr6:=cref(c,1) ;
dr7:= dr1 and dr5 and dr6 ;
dr8:=dr7 and FILTER(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)) and cross(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)) and cross(ema13,ema34);
DRAWTEXT(fr,l-0.09,'梅开二度'),colorwhite;
stickline(fr,h,l,0.5,1),colorwhite;
stickline(fr,o,c,6,1),linethick1,colorwhite;
gr1:=BARSLAST(BETWEEN("bias.bias2"(6,13,24),0,5) );
gr2:=ema13ema34 and ema34ema55 and ema13ref(ema13,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;
DRAWTEXT(gr6 and gr7,h+0.1,'▼'),color00ff00;
hr2:=ema13=ref(ema13,3) and ema34=ref(ema34,1) and ema55=ref(ema55,1) and cross(c,ema13) and cross(c,ema34) and cross(c,ema55);
DRAWTEXT(hr2 and filter(hr2,10),h+0.1,'▲'),colorFFC8FF;
DRAWTEXT(hr2 and filter(hr2,10),h+0.5,'揭竿而起'),color9900cc;
DRAWTEXT(hr2 and filter(hr2,10),l-0.09,'三线推进'),COLORYELLOW;
stickline(hr2 and filter(hr2,10),h,l,0.5,1),COLORYELLOW;
stickline(hr2 and filter(hr2,10),o,c,6,1),linethick2,COLORYELLOW;
SK:= EMA(Var1,13)-EMA(Var1,73);
SD:= EMA(SK,2);
drawtext((cross(sk,sd) and sk-0.04 and (c-ref(c,1))/ref(c,1)=0.03) or (cross(sk,sd) and sk=-0.14 )
or (cross(sk,sd) and sk=0.05 and (v/ma(v,5)2 or c/ref(c,1)0.035)) ,l*0.99,'短'),COLOR0000cc;
stickline((cross(sk,sd) and sk-0.04 and (c-ref(c,1))/ref(c,1)=0.03) or (cross(sk,sd) and sk=-0.14 )
or (cross(sk,sd) and sk=0.05 and (v/ma(v,5)2 or c/ref(c,1)0.035)),h,l,0.5,0),COLOR0000cc;
stickline((cross(sk,sd) and sk-0.04 and (c-ref(c,1))/ref(c,1)=0.03) or (cross(sk,sd) and sk=-0.14 )
or (cross(sk,sd) and sk=0.05 and (v/ma(v,5)2 or c/ref(c,1)0.035)),o,c,10,1),linethick1,COLOR0000cc;
MA1:=MA(((HIGH + LOW) / 2),5);MA2:=MA(((HIGH + LOW) / 2),35);x:=((MA1 - MA2) * 100);
均势一:=(((((((((CLOSE + REF(CLOSE,1)) + REF(CLOSE,2)) + REF(CLOSE,3)) + REF(CLOSE,4)) + REF(CLOSE,5)) + REF(CLOSE,6)) + REF(CLOSE,7)) + REF(CLOSE,8)) / 9);
均势二:=((((CLOSE + REF(CLOSE,1)) + REF(CLOSE,2)) + REF(CLOSE,3)) / 4);
趋势一:=((((均势一 - REF(均势一,1)) / REF(均势一,1)) * 1000) + 50);
趋势二:=((((均势二 - REF(均势二,1)) / REF(均势二,1)) * 1000) + 50);
波段高位:=(CROSS(趋势一,趋势二) AND (COUNT((CLOSE REF(HIGH,1)),12) 5));
LC:=REF(CLOSE,1);
方向值:=((SMA(MAX((CLOSE - LC),0),6,1) / SMA(ABS((CLOSE - LC)),6,1)) * 100);
短抄一:=((CROSS(趋势二,(趋势一 + 2)) AND (x 0)) AND ((方向值 10) OR (REF(方向值,1) 10)));
短抄二:=((((CROSS(趋势二,MA1) AND (MA1 20)) AND (方向值 趋势二)) AND (x 0)) AND
(((趋势二 20) OR (REF(趋势二,1) 15)) OR (REF(趋势二,2) 15)));
DRAWTEXT((短抄一 OR 短抄二),(LOW * 0.99),'短底'),Color0000FF;
DRAWTEXT(波段高位,(HIGH * 1.03),'卖出'),colorWhite;
DRAWICON(波段高位,(HIGH * 1.06),2),colorFF0000;DRAWICON((短抄一 OR 短抄二),(LOW * 0.97),1);
V5:=EMA(CLOSE,1);主线:=EMA(V5,5) ;
本:=EMA(HHV(主线,5),1);
急进:=EMA(HHV(本,17),1);
稳健:=EMA(HHV(急进,17),2);
投资:EMA(HHV(稳健,17),3),linethick2, colorgray;
Y:=(MA(C,13)-MA(C,55))/MA(C,13)*100;
YY1:=CMA(C,13) AND OPENMA(C,13);{一阳三线}
YY3:=CMA(C,34) AND OPENMA(C,34);
YY5:=CMA(C,55) AND OPENMA(C,55);
X2:DRAWTEXT(YY1 AND YY5 AND YY3,LOW-0.1,'一阳三线'),COLORRED;
SJ1:=ABS(MA(CLOSE,13)-MA(CLOSE,34))C*0.01;{13线34线55线接近}
SJ2:=ABS(MA(CLOSE,34)-MA(CLOSE,55))C*0.01;
SJ3:=CROSS(MA(CLOSE,13),MA(CLOSE,55));{13线上穿55线}
X3:DRAWTEXT(SJ1 AND SJ2 AND SJ3,HIGH+0.1,'三军集结'),COLORRED;
RY1:=C/OPEN1.04;{阳线4%}
RY2:=REF(OPEN,1)/REF(CLOSE,1)1.04;{阴线4%}
RY3:=ABS(OPEN-REF(C,1))C*0.02 AND ABS(C-REF(OPEN,1))C*0.02;{两线相等}
X4:DRAWTEXT(RY1 AND RY2 AND RY3 ,LOW,'日月合璧'),COLORYELLOW;
JW1:=COPEN AND REF(C,1)REF(OPEN,1);
JW2:=OPENREF(C,1) AND CREF(L,1);
JW3:=OMA(C,13) AND OMA(C,34) AND OMA(C,55);
JW:=JW1 AND JW2 AND JW3;
X8:DRAWTEXT(JW,LOW-0.2,'金屋藏娇'),COLORYELLOW;
TS1:=CROSS(MA(C,13),MA(C,34));{13线上穿34线}
TS2:=MA(C,13)MA(C,55);
TS:=TS1 AND TS2;
X9:DRAWTEXT(TS,LOW-0.2,'投石问路'),COLORF00FF0;
YZ1:=C/O1.02 AND H/C1.02 AND O/L1.02;{收阳有上影}
YZ2:=REF(C,1)REF(O,1) AND OMA(C,11);{昨收阳 今大于均线}
YZ:=YZ1 AND YZ2 AND Y10;
X11:DRAWTEXT(YZ,HIGH+0.2,'一枝独秀'),COLORF00FF0;
DS1:=OPEN/C1.04 AND O/REF(C,1)1.03;{高开收阴}
DS2:=V*100/FINANCE2(7)0.08 AND Y8;{换手高涨幅大}
DS:=DS1 AND DS2;
X12:DRAWTEXT(DS,HIGH+0.2,'独上高楼'),COLORGREEN;
YJ1:=H/O1.04;
YJ2:=ABS(C-O)C*0.03;
YJ3:=C/MA(C,13)1.1;
YJ:=YJ1 AND YJ2 AND DS2 AND YJ3 AND YZ2;
X13:DRAWTEXT(YJ,HIGH+0.3,'一剑封喉'),COLORRED;
T:=(MA(C,13)-MA(C,55))/MA(C,13)*100;
TT1:=CMA(C,13) AND OPENMA(C,13);{断头铡刀}
TT3:=CMA(C,34) AND OPENMA(C,34);
TT5:=CMA(C,55) AND OPENMA(C,55);
x28:DRAWTEXT(TT1 AND TT5 AND TT3,LOW-0.6,'断头铡刀'),COLORRED;
x39:DRAWTEXT(CROSS(eMA34,eMA13),eMA34*1.01,'S分道扬镳'), COLOR00FF00;
x30:DRAWTEXT(CROSS(eMA55,eMA13),eMA55*1.01,'S一箭穿心'), COLOR00FF00;
X31:DRAWTEXT(CROSS(eMA55,eMA34),eMA55*1.01,'S各自为政'), COLOR00FF00;
VAR10:=MA(CLOSE,80)-MA(CLOSE,10)/3;
VAR11:=REF(CLOSE,1);
VAR12:=(SMA(MAX(CLOSE-VAR11,0),N,1))/(SMA(ABS(CLOSE-VAR11),N,1))*100;
X14:DRAWTEXT(IF(CLOSEVAR10 AND VOL/240MA(VOL,5)/240 AND CLOSEREF
(CLOSE,1)*1.08 AND CLOSEMA(CLOSE,13)*1.3,1,0),LOW-0.7,'进场'),COLORRED;
X16:DRAWTEXT(CROSS(LH,VAR12),HIGH*1.04,'获利减仓');
X17:DRAWTEXT(CROSS(VAR3,VAR4),L-0.3,'买'),COLORRed;
X18:DRAWTEXT(CROSS(eMA13,eMA34),H+0.5,'投石,增持'),COLORYELLOW;
X19:DRAWTEXT(CROSS(eMA13,eMA55),H+0.3,'红客,加仓'),COLORYELLOW;
X20:DRAWTEXT(CROSS(eMA34,eMA55),L-0.5,'互换,重仓'),COLORYELLOW;
X21:DRAWTEXT(REF(CLOSE,1)REF(OPEN,1) AND CLOSEREF(OPEN,1),
L*0.97,'克阴'),COLORFF00FF;
X22:DRAWTEXT(REF(CLOSE,1)REF(OPEN,1) AND CLOSEREF(OPEN,1),
H*1.05,'克阳'),COLOR00FF00;
X23:DRAWICON(CROSS(eMA13,eMA34),eMA34,1);
X24:DRAWICON(CROSS(eMA13,eMA55),eMA55,1);
X25:DRAWICON(CROSS(eMA34,eMA55),eMA55,1);
STICKLINE(HR2 AND FILTER(HR2,10),H,L,0,1),COLORFFC8FF;
FF:=EMA(CLOSE,3);MA15:=EMA(CLOSE,21);
DRAWTEXT(CROSS(FF,MA15),(LOW * 0.99),'←底背'),COLORA6E500;
RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);
DRAWTEXT(CROSS(88,RSI),(HIGH * 1.04),'←顶背'),COLOR1880FF;
X35:DRAWICON(CROSS(eMA13,eMA34),eMA34,1);
X36:DRAWICON(CROSS(eMA13,eMA55),eMA55,1);
X37:DRAWICON(CROSS(eMA34,eMA55),eMA55,1);
X38:DRAWICON(CROSS(eMA34,eMA13),eMA34,2);
X139:DRAWICON(CROSS(eMA55,eMA13),eMA55,2);
X40:DRAWICON(CROSS(eMA55,eMA34),eMA55,2);
135即13日均线、34日均线、55日均线组合系统的简称。135均线系统视角独特,操作简便,实战性强。该指标选择的买卖点只是组合系统的一部分,该系统有13个以上买卖点:如底部形态之“红杏出墙“和“蚂蚁上树“;即将拉升的启动形态之“黑客点击“和“红衣侠女“;中途的整理形态之“走四方“和“浪子回头“;顶部形态之“见好就收“和“独上高楼“;其他形态还有“均线互换“、“三线推进“、“梅开二度“等。该指标选用了以上的8种,用来实战也足够了。简要介绍如下:
1、红杏出墙
形态特征:13日均线由下降趋于走平。股价从下向上突破 13日均线,并且在13日均线上企稳,这根站在13日均线上的阳线称之为"红杏出墙"。红杏出墙是135均线的第一买点,也是行情最初启动点。
2、蚂蚁上树
形态特征:两条略微向右下方倾斜的主均线相距很近或基本持平。股价踏上13日均线后,以连续上攻的小阳线缓步盘升,把股价轻松地送上55日均线。这几根持续上升的小阳线称之为"蚂蚁上树"。"蚂蚁上树"的出现,是股价见底,开始转强的标志。
3、黑客点击
形态特征:股价有效突破55日均线后开始回落,但在55日均线附近获得支撑,如果K线收阴,回落的股价恰好落在13日均线与55日均线的结点处,即"黑客点击"形态成立。是即将拉升的标志之一。"黑客点击"出现以后,应密切关注均线系统以及量能的变化,一旦发现放量上攻,要毫不犹豫地进场为庄家抬轿,当股价有了20%左右的涨幅以后,若发现上攻力度减弱,13日均线有走软迹象,应先出局观望。
4、红衣侠女
形态特征:股价经过长期下跌或充分调整以后,55日均线基本处于水平状态。股价沿着13日均线爬至55日均线附近进行窄幅整理。在13日均线上穿55日均线之日,如果股价携量上攻,形态即告成立。把站在"右上角"结点处的那根阳线称之为"红衣侠女"。是即将拉升的标志之二。
5、梅开二度
形态特征:13日均线向上穿越55日均线以后,股价滞涨回落,13日均线弱势下叉34日均线,随着股价的止跌企稳,13日均线开始勾头向上二次穿越34日均线,我们把在主均线之上的13日均线金叉穿越34日均线,称之为"梅开二度"。属上升中继形态。
6、均线互换
形态特征:前期34日均线顺势上穿55日均线。34日均线下穿再上穿55日均线的过程,就是"均线互换"。"均线互换"的完成,标志着股价开始走强,此后均线系统构成的多头排列,支持股价延续上行趋势,后市必有一波上攻行情。
7、三线推进
形态特征:股价长期在底部区域昏昏欲睡,均线系统呈胶合状态或间距极小的多头或空头排列,股价始终在三线附近小幅波动,时间一般持续半年左右。此时如出现一阳穿三线或股价在三线上揭竿而起,"三线推进"形态即告成立。那将是绝佳进场时机。
8、海底捞月
形态特征:中长期均线能够长时间保持平行移动,说明市场对目前的股价趋于认同,同时也封闭了股价在短期内的下跌空间。13日均线弱势下叉中长期均线并在其不远处作半弧状运动,显示上方抛压并不沉重,暗示回档幅度不会太深。13日均线重新上穿55日均线,表明有新的资金进场,均线系统可望迅速构成多头排列状态,从而支持股价继续上行
所谓K线图,就是将各种股票每日、每周、每月的开盘价、收盘价、最高价、最低价等涨跌变化状况,用图形的方式表现出来。K线又称阴阳线、棒线、红黑线或蜡烛线,它起 源于日本德川幕府时代(1603~1867年)的米市交易,用来计算米价每天的涨跌,后来人们把它引入股票市场价格走势的分析中,目前已成为股票技术分析中的重要方法。
如下图,K线最上方的一条细线称为上影线,中间的一条粗线为实体。下面的一条细线为下影线。当收盘价高于开盘价,也就是股价走势呈上升趋势时,我们称这种情况下的K线为阳线,中部的实体以空白或红色表示。这时,上影线的长度表示最高价和收盘价之间的价差,实体的长短代表收盘价与开盘价之间的价差,下影线的长度则代表开盘价和最低价之间的差距。
当收盘价低于开盘价,也就是股价走势呈下降趋势时,我们称这种情况下的K线为阴线。中部的实体为黑色。此时,上影线的长度表示最高价和开盘价之间的价差,实体的长
短代表开盘价比收盘价高出的幅度,下影线的长度则由收盘价和最低价之间的价差大小所决定.
需要说明的是,阳线、阴线与人们通常讲的涨跌有所不同。一般人们讲的涨跌是指当日收盘价与上个交易日收盘价之问的比较。当K线为阳线时,并不意味着股价比前一天涨了,只是表示当天收盘价高于当天开盘价。例如某只股票前一个交易日收盘价为20元,当日开盘价、最高价、最低价和收盘价分别为18元、21元、17元、19元,则该只股票比前一个交易日跌了1元,K线图为一个上影线长度2元,下影线长度1元,实体为1元的阳线。
一般而言,阳线表示买盘较强,卖盘较弱,这时,由于股票供不应求,会导致股价的上扬。阴线表示卖盘较强,买盘较弱。此时,由于股票的持有者急于抛出股票,致使股价下挫。同时,上影线越长,表示上档的卖压越强,即意味着股价上升时,会遇到较大的抛压;下影线越长,表示下档的承接力道越强,意味着股价下跌时,会有较多的投资者利用这一机会购进股票。
然而,K线图往往受到多种因素的影响.用其预测股价涨跌并非能做到百分之百的准确。另外,对于同一种图形、许多人也会有不同的理解,做出不同的解释。因此,在运用K线图时。一定要与其他多种因素以及其他技术指标结合起来,进行综合分析和判断。
K线图形 名称 意 义
下影阳线 (先跌后涨型)开市后价格大幅下跌,后又回升到高位收市。后市承接力强, 暗示上升力强,可能是上涨的先兆。
收盘光头阳线 (先跌后涨型) 开市下跌后掉头回升,以全日最高价收市,可见上升动力大。
光头阳线 (大阳线) 全日节节上升,有强烈的涨势。如果在跌市中出现,可能是跌 市结束的信号。
开盘光头阳线 (上升抵抗型) 上升力强,但受阻挡,应谨慎。若是在持续上涨之 后,可能是下跌的先兆;若是在下跌中的反弹行情,则多头实力不足,仍将下跌。
小阳线 (欲涨乏力型) 行情扑朔迷离,涨跌难有明确估计。如果出现在强烈持续上升 之后,表示高位震荡,持续力不足,可能是下跌的征兆。如果在长期下跌之后出现,表示欲振乏力,可能继续下跌。
上影阳线市场上升趋势减弱,在较高价位明显受阻,后市有可能下跌。
光头阴线 (大阴线) 整日下跌,后市疲弱,行情极坏,还要下跌,在空头市场经常出现。如连续出现数根大阴线,可能有反弹行情。
上影阴线 (上涨后跌型) 先涨后跌,底部支撑力不大,在涨市中出现有可能是结束升市的信号。
收盘光头阴线 (先涨后跌型) 行情先涨后跌,卖方势强,行情看跌。
小阴线 (短黑线) 行情混乱,涨跌难以估计。如果出现在持续上升之后,表示高位震荡,可能是下跌的先兆。
开盘光头阴跌 (下跌抵抗型) 行情下跌后受到承接,显示有反弹迹象。
下影阴线 (欲跌不能型) 暗示底部有较强支撑力,后市可能趋于上升。如果在持续上升的行情中出现,仍将会持续上升;如果出现在持续下跌的行情中,将可能弹升。 四值同时线市场疲弱,交易量小,投资者观望。这种一个价位的情况中在冷清股市中出现。
十字星 大市正处于转变之时,可能是股市转向的信号。 大十字星代表多空搏斗型,表明当日多空双方势均力敌,次日股价走势如在上影线部分,表明多头势强,可买进;反之,则卖出。 小十字星小幅度的僵局型态,应静观其变后再定。不能涨跌大势,将会持续发展。
T字型 (多胜线) 转跌为升的讯号,后市可能持续上升。多方实力胜于空方,在牛市中出现,可能续涨,在熊市中出现,可能反弹。
倒T字型 (空胜线) 表示卖方实力胜于买方,是强烈下跌的讯号。在牛市行情中出现,可能下跌;在熊市行情中出现,可能持续下跌。
参考资料:文章来源 股市马经
天下 的自考英语两试题皆是雷同 的吗尔念 晓得详细 的相闭事宜,无关测验 的,便是要考白话 甚么的吗?借有易没有易。0 八年 一0月自考英语两测验 试题及参照谜底 ( 二00 八- 一0- 二 七 0 一:0 三:0 二) 标签:0 八年 一0月 自考 试题 谜底 学育 1、双选题: 一、It...
剧情吧工夫 : 二0 一 四- 一0- 二 三 一 五: 二 四: 二 四 闪电侠第一季第 一散剧情先容 被闪电击外的超才能 者。 Barry Allen是一个很心爱的小男孩,已经的他也领有一个幸祸完善 的野庭。但是 正在他十一岁的时刻 ,从天而降的劫难 让他的野庭分崩离析 ,她的母...
收集 二0 二0- 一0- 二 七 0 二:0 九: 五 一 五 二年夜 野皆 晓得,事宜 营销正在各年夜 品牌脚上皆玩患上特殊 六。尤为是互联网私司,正在事宜 营销上的弄法 否谓是层见叠出让人目眩 纷乱 。而房天产那个止业便十分特殊,岂论 是由于 止业配景 ,照样 业内的规矩 限定 ,房天产的...
跟着 互联网正在外国快要 二0年的成长 ,内容范畴 也从本去傻年夜 乌精的拼流质,入进了垂曲范畴 的粗根细做时期 。尔信任 许多 作过互联网经营的小同伴 ,必然 打仗 过内容经营,或者者博职作内容经营。然则 ,许多 自以为作了良久 内容经营的小同伴 ,其真仅仅一个“文字编纂 ”罢了 ,为何必修 ...
SpruceMail 是一款 SaaS 产物 ,否赞助 私司宣布 赔钱的 Facebook 告白 。产物 的代价 定位很单纯:Facebook 告白 是庞大 的。您要合腾许多 工作 ,否能很快几千美圆便花失落 了却归报甚微。SpruceMail 来除了了那种庞大 性,从一开端 便为您提求一个无利否图...
正在咱们的搜刮 引擎劣化工 做外,否能许多 同伙 会碰到 如许 一个答题,网站一点儿症结 词排名没有错,然则 点击拜访 的没有多,以至有同伙 曾经查询拜访 过,领现有时刻 排名靠前的拜访 质比靠后的点击率更 低,有些网站拜访 质很下,然则 网站告白 的点击率很低,产物 发卖 型网站也会异样碰到 那...