135战法主图源码及选股公式

合集下载

最新通达信135战法主图指标(经实战检验)通达信指标公式源码

最新通达信135战法主图指标(经实战检验)通达信指标公式源码

最新通达信135战法主图指标(经实战检验)MA13:MA(C,13),COLORYELLOW;MA21:MA(C,21),POINTDOT,COLORGREEN;MA34:MA(C,34),COLORWHITE;MA55:MA(C,55),COLORFF00FF;MA89:MA(C,89),COLORFFCC66;EMA13:=EMA(C,13);EMA34:=EMA(C,34);EMA55:=EMA(C,55);AA1:=EMA55>EMA34 AND EMA34>MA13;AA2:=MA13>O;AA3:=EMA13>=REF(EMA13,1);AA4:=CROSS(C,MA13);红杏:=AA1 AND AA2 AND AA3 AND AA4;DRAWTEXT(红杏,L*0.98,'红杏'),COLORGREEN;BA1:=MA13>MA55; BA2:=COUNT(C>=O,5)=5;BA3:=COUNT((C-REF(C,1))/REF(C,1)*100<5,5)=5;BA4:=COUNT(BETWEEN((O-REF(C,1))/REF(C,1)*100,-2,2),5)=5;BA5:=COUNT(((H-C)/(C-O)*100<2 OR (H-C)/C*100<3),5)=5;BA6:=COUNT(((O-L)/(C-O)*100<2 OR (O-L)/O*100<3),5)=5; BA7:=(V>REF(V,1) AND REF(V,1)>REF(V,2)) OR (REF(V,1)>REF(V,2) AND REF(V,3)) OR (REF(V,2)>REF(V,3) AND REF(V,3)>REF(V,4)) OR (REF(V,3)>REF(V,4) AND REF(V,4)>REF(V,5));BA8:= (C-MA13)/MA13*100<12; BA:=BA1 AND BA2 AND BA3 AND BA4 AND BA5 AND BA6 AND BA7 AND BA8 AND REF(C,5)-REF(O,5)<0; BB1:=MA13<MA55 AND MA34<MA55 AND C>MA55; BB2:=COUNT(C>=O,5)=5;BB3:=COUNT((C-REF(C,1))/REF(C,1)*100<5,5)=5;BB4:=COUNT(BETWEEN((O-REF(C,1))/REF(C,1)*100,-2,2),5)=5;BB5:=COUNT(((H-C)/(C-O)*100<2 OR (H-C)/C*100<3),5)=5;BB6:=COUNT(((O-L)/(C-O)*100<2 OR (O-L)/O*100<3),5)=5; BB7:=(V>REF(V,1) AND REF(V,1)>REF(V,2)) OR (REF(V,1)>REF(V,2) AND REF(V,3)) OR (REF(V,2)>REF(V,3) AND REF(V,3)>REF(V,4)) OR (REF(V,3)>REF(V,4) AND REF(V,4)>REF(V,5)); BB:=BB1 AND BB2 AND BB3 AND BB4 AND BB5 AND BB6 AND BB7 AND REF(C,5)-REF(O,5)<0; 蚂蚁:=BA OR BB;DRAWTEXT(蚂蚁,H*1.06,'蚂蚁'),COLORYELLOW;CA1:=O<MA13 AND O<MA34 AND O<MA55;CA2:=C>MA13 AND C>MA34 AND C>MA55;CA3:=(C-REF(CLOSE,1))/REF(CLOSE,1)*100 > 5;一阳穿:=CA1 AND CA2 AND CA3;DRAWTEXT(一阳穿,H*1.03,'一阳穿'),COLORYELLOW;DA1:=MA13>MA55;DA2:=C>MA13;DA3:=(O<=REF(C,1) AND (C-REF(C,1))/REF(C,1)*100>6) OR (O>REF(C,1) AND(C-O)/O*100>6);DA4:=(C-MA13)/MA13*100 < 12;DA5:=(O-MA13)/MA13*100 < 3;DA6:=(O-MA13)/MA13*100 > -3;DA7:=(O-MA55)/MA55*100 < 12;DA8:=(MA13-MA55)/MA55*100 < 12;DA:=DA1 AND DA2 AND DA3 AND DA4 AND DA5 AND DA6 AND DA7 AND DA8;DB1:=MA13<MA55 AND MA34<MA55;DB2:=O>MA13 AND O>MA34 AND C>MA55;DB3:=(O<=REF(C,1) AND (C-REF(C,1))/REF(C,1)*100>6) OR (O>REF(C,1) AND(C-O)/O*100>6);DB4:=(O-MA55)/MA55*100 < 3;DB5:=(O-MA55)/MA55*100 > -3;DB:=DB1 AND DB2 AND DB3 AND DB4 AND DB5;揭竿起:=DA OR DB;DRAWTEXT(揭竿起,H*1.03,'揭竿起'),COLORYELLOW;FA1:=MA34<MA55 AND C>MA13 AND C>MA55;FA2:=CROSS(MA13,MA55) AND C>O;FA3:=(O-MA13)/MA13*100<5;FA4:=(H-C)/(C-O)*100<2 OR (H-C)/C*100<3;FA5:=(O-L)/(C-O)*100<2 OR (O-L)/O*100<3;FA6:=V>REF(V,1) OR V>MA(V,5) OR (MA(V,5)>MA(V,10) AND V>MA(V,10));FA:=FA1 AND FA2 AND FA3 AND FA4 AND FA5 AND FA6;FB1:=MA34<MA55 AND C>MA13 AND C>MA55;FB2:=CROSS(MA13,MA55) AND C<=O;FB3:=(C-MA13)/MA13*100<5;FB4:=(H-O)/(O-C)*100<2 OR (H-O)/C*100<3;FB5:=(C-L)/(O-C)*100<2 OR (C-L)/O*100<3;FB6:=V<REF(V,1) OR V<MA(V,5) OR (MA(V,5)>MA(V,10) AND V<MA(V,10));FB:=FB1 AND FB2 AND FB3 AND FB4 AND FB5 AND FB6;红黑客:=FA OR FB;DRAWTEXT(红黑客,H*1.02,'红黑客'),COLORFF00FF;GA1:=MA13>MA55 AND MA34>MA55; GA2:=CROSS(MA13,MA34); GA3:=C>MA13 AND C>MA34; GA4:=(C-MA13)/MA13*100<12; GA5:=MA(V,5)>MA(V,21); 梅二开:=GA1 AND GA2 AND GA3 AND GA4 AND GA5;DRAWTEXT(梅二开,MA34*0.98,'梅二开'),COLORWHITE;GB1:=MA13>MA34 AND MA13>MA55 AND C>MA55;GB2:=CROSS(MA34,MA55);GB3:=(C-MA13)/MA13*100<12 AND (MA13-MA55)/MA55*100<10;GB:=GB1 AND GB2 AND GB3;DRAWTEXT(GB,MA55*0.95,'均线互换'),COLORWHITE;GR1:=BARSLAST(BETWEEN("BIAS.BIAS2"(6,13,24),0,5) );GR2:=EMA13>EMA34 AND EMA34>EMA55 AND EMA13>REF(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;。

最新通达信135战法主图指标(经实战检验)

最新通达信135战法主图指标(经实战检验)

最新通达信135战法主图指标(经实战检验)最新通达信135战法主图指标(经实战检验)MA13:MA(C,13),COLORYELLOW;MA21:MA(C,21),POINTDOT,COLORGREEN;MA34:MA(C,34),COLORWHITE;MA55:MA(C,55),COLORFF00FF;MA89:MA(C,89),COLORFFCC66;EMA13:=EMA(C,13);EMA34:=EMA(C,34);EMA55:=EMA(C,55);AA1:=EMA55>EMA34 AND EMA34>MA13;AA2:=MA13>O;AA3:=EMA13>=REF(EMA13,1);AA4:=CROSS(C,MA13);红杏:=AA1 AND AA2 AND AA3 AND AA4;DRAWTEXT(红杏,L*0.98,红杏),COLORGREEN;BA1:=MA13>MA55; BA2:=COUNT(C>=O,5)=5; BA3:=COUNT((C-REF(C,1))/REF(C,1)*100<5,5)=5;BA4:=COUNT(BETWEEN((O-REF(C,1))/REF(C,1)*100,-2,2),5)=5; BA5:=COUNT(((H-C)/(C-O)*100<2 OR (H-C)/C*100<3),5)=5; BA6:=COUNT(((O-L)/(C-O)*100<2 OR (O-L)/O*100<3),5)=5; BA7:=(V>REF(V,1) AND REF(V,1)>REF(V,2)) OR (REF(V,1)>REF(V,2) AND REF(V,3)) OR (REF(V,2)>REF(V,3) AND REF(V,3)>REF(V,4)) OR (REF(V,3)>REF(V,4) AND REF(V,4)>REF(V,5));BA8:= (C-MA13)/MA13*100<12; BA:=BA1 AND BA2 AND BA3 AND BA4 AND BA5 AND BA6 AND BA7 AND BA8 AND REF(C,5)-REF(O,5)<0; BB1:=MA13<MA55 AND MA34<MA55 AND C>MA55; BB2:=COUNT(C>=O,5)=5; BB3:=COUNT((C-REF(C,1))/REF(C,1)*100<5,5)=5; BB4:=COUNT(BETWEEN((O-REF(C,1))/REF(C,1)*100,-2,2),5)=5; BB5:=COUNT(((H-C)/(C-O)*100<2 OR (H-C)/C*100<3),5)=5; BB6:=COUNT(((O-L)/(C-O)*100<2 OR (O-L)/O*100<3),5)=5; BB7:=(V>REF(V,1) AND REF(V,1)>REF(V,2)) OR (REF(V,1)>REF(V,2) AND REF(V,3)) OR (REF(V,2)>REF(V,3) AND REF(V,3)>REF(V,4)) OR (REF(V,3)>REF(V,4) AND REF(V,4)>REF(V,5)); BB:=BB1 AND BB2 AND BB3 AND BB4 AND BB5 AND BB6 AND BB7 AND REF(C,5)-REF(O,5)<0; 蚂蚁:=BA OR BB;DRAWTEXT(蚂蚁,H*1.06,蚂蚁),COLORYELLOW;CA1:=O<MA13 AND O<MA34 AND O<MA55;CA2:=C>MA13 AND C>MA34 AND C>MA55;CA3:=(C-REF(CLOSE,1))/REF(CLOSE,1)*100 > 5;一阳穿:=CA1 AND CA2 AND CA3;DRAWTEXT(一阳穿,H*1.03,一阳穿),COLORYELLOW;DA1:=MA13>MA55;DA2:=C>MA13;DA3:=(O<=REF(C,1) AND (C-REF(C,1))/REF(C,1)*100>6) OR (O>REF(C,1) AND (C-O)/O*100>6);DA4:=(C-MA13)/MA13*100 < 12;DA5:=(O-MA13)/MA13*100 < 3;DA6:=(O-MA13)/MA13*100 > -3;DA7:=(O-MA55)/MA55*100 < 12;DA8:=(MA13-MA55)/MA55*100 < 12;DA:=DA1 AND DA2 AND DA3 AND DA4 AND DA5 AND DA6 AND DA7 AND DA8;DB1:=MA13<MA55 AND MA34<MA55;DB2:=O>MA13 AND O>MA34 AND C>MA55;DB3:=(O<=REF(C,1) AND (C-REF(C,1))/REF(C,1)*100>6) OR (O>REF(C,1) AND (C-O)/O*100>6);DB4:=(O-MA55)/MA55*100 < 3;DB5:=(O-MA55)/MA55*100 > -3;DB:=DB1 AND DB2 AND DB3 AND DB4 AND DB5;揭竿起:=DA OR DB;DRAWTEXT(揭竿起,H*1.03,揭竿起),COLORYELLOW;FA1:=MA34<MA55 AND C>MA13 AND C>MA55;FA2:=CROSS(MA13,MA55) AND C>O;FA3:=(O-MA13)/MA13*100<5;FA4:=(H-C)/(C-O)*100<2 OR (H-C)/C*100<3;FA5:=(O-L)/(C-O)*100<2 OR (O-L)/O*100<3;FA6:=V>REF(V,1) OR V>MA(V,5) OR (MA(V,5)>MA(V,10) AND V>MA(V,10));FA:=FA1 AND FA2 AND FA3 AND FA4 AND FA5 AND FA6;FB1:=MA34<MA55 AND C>MA13 AND C>MA55;FB2:=CROSS(MA13,MA55) AND C<=O;FB3:=(C-MA13)/MA13*100<5;FB4:=(H-O)/(O-C)*100<2 OR (H-O)/C*100<3;FB5:=(C-L)/(O-C)*100<2 OR (C-L)/O*100<3;FB6:=V<REF(V,1) OR V<MA(V,5) OR (MA(V,5)>MA(V,10) AND V<MA(V,10));FB:=FB1 AND FB2 AND FB3 AND FB4 AND FB5 AND FB6;红黑客:=FA OR FB;DRAWTEXT(红黑客,H*1.02,红黑客),COLORFF00FF;GA1:=MA13>MA55 AND MA34>MA55; GA2:=CROSS(MA13,MA34); GA3:=C>MA13 AND C>MA34; GA4:=(C-MA13)/MA13*100<12; GA5:=MA(V,5)>MA(V,21); 梅二开:=GA1 AND GA2 AND GA3 AND GA4 AND GA5;DRAWTEXT(梅二开,MA34*0.98,梅二开),COLORWHITE;GB1:=MA13>MA34 AND MA13>MA55 AND C>MA55;GB2:=CROSS(MA34,MA55);GB3:=(C-MA13)/MA13*100<12 AND (MA13-MA55)/MA55*100<10;GB:=GB1 AND GB2 AND GB3;DRAWTEXT(GB,MA55*0.95,均线互换),COLORWHITE;GR1:=BARSLAST(BETWEEN("BIAS.BIAS2"(6,13,24),0,5) );GR2:=EMA13>EMA34 AND EMA34>EMA55 AND EMA13>REF(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;。

135战法运用实战心得及选股公式

135战法运用实战心得及选股公式

135战法运用实战心得及选股公式处于底部阶断的战法红杏出墙、蚂蚁上树、动感地带、金屋藏娇、日月合璧、破镜重圆、XXX、九九艳阳天、马失前蹄、绝处逢生、八仙过海、串阳、十全十美、四渡赤水。

处于拉升阶断的战法黑客点击、红衣女侠、海底捞月、均线互换、三线推进、梅开二度、投石问路、三军集结、一阳穿三线、揭竿而起、双蹄并进。

处于整理阶断的战法浪子回头、走四方、暗渡陈仓、一石两鸟、双飞燕、XXX、四星望月、星星点灯、小鸟依人、立竿见影、串阴。

处于顶部阶断的战法一枝独秀、独上高楼、见好就收、分道扬镳、突出得围、明修栈道、拖泥带水、金蝉脱壳、一箭穿心、过河拆桥、狗急跳墙、一剑封喉、节外生枝、笑里藏刀、一阴破三线、落井下石、晨钟暮鼓。

使用原则13日均线是135系统的风向标,它的变化预示着股价未来的运行方向。

(也是判断股票强弱的一种标志。

倘若股价穿越13日均线并能沿着13日均线稳步盘升,股价的上升空间将极为广阔;若不能,其上升间则极其有限;如果支股票经过大幅拉升以后,13日均线开始走软,意味着行情将结束,应随时准备出局;如果股价有效跌破13日均线,要坚决清仓,)34日均线是属于中线,只有34日均线上穿55日均线,【均线互换】完成以后,真正意义上的上涨行情才正式展开。

55日均线是界定股票中期趋向的重要界限,是界定股票牛熊的分水岭。

股价只有站在55日均线当前才有上涨的可能。

135均线系统找到了股价启动的临界点,以及股价行进过程中所处的具体位置,这无疑把握了操作上的主动权。

135均线系统是一个中线操作方法,它是根据主力的建仓时间和股价的运行特点精心设置的,但也有自已的局限。

一、参数设置:13、34、55二、持股时间:一般掌握在26个交易日左右,最长不超55个交易日。

三、操盘原则:135均线操作系统的最高原则是纪律1、按图索,守株待兔。

2、重兵出击,快速撤离。

3、谨慎加油,随时刹车。

4、拒绝盘整,死不补仓(不抢反弹)。

5、常捂资金短捂股,强做弱休常空仓。

【股票指标公式下载】-【大智慧】135战法(生命线、趋势)

【股票指标公式下载】-【大智慧】135战法(生命线、趋势)

【大智慧】135战法(生命线、趋势)-指标公式源码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(CLOSE>OPEN,OPEN,LOW,1*0.5,0),COLOR0726CA;STICKLINE(CLOSE>OPEN,CLOSE,HIGH,1*0.5,0),COLOR0726CA;STICKLINE(OPEN>CLOSE,CLOSE,LOW,1*0.5,0),COLORDE9100;STICKLINE(OPEN>CLOSE,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 C>AAA,AAA*0.95,'十日三十度角'),COLORFF00FF;ar1:=ema55>ema34 and ema34>ema13;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))/c<0.2;br3:=c>ema55 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) orref(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)*100>0.5;cr2:=v>ma(v,5)*0.6;cr3:=count(cross(ema13,ema55),3)=1;cr4:=abs(ema34-ema55)/ema55<0.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:=ema13>ema34 and ema34<ema55;dr2:=BARSLAST(cross(c,ema55) );dr3:=h=hhv(h,dr2);dr4:=BARSLAST(dr3);dr5:=count(o>c and c<ref(c,1) and c>ema55 andBETWEEN((c-ema55)/ema55,0,0.02),dr4)=1;dr6:=c>ref(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:=ema13>ema34 and ema34>ema55 and ema13>ref(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 orc/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 orc/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 orc/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),'卖出'),colorFF0000;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:=C>MA(C,13) AND OPEN<MA(C,13);{一阳三线}YY3:=C>MA(C,34) AND OPEN<MA(C,34);YY5:=C>MA(C,55) AND OPEN<MA(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/OPEN>1.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:=C<OPEN AND REF(C,1)<REF(OPEN,1);JW2:=OPEN<REF(C,1) AND C>REF(L,1);JW3:=O<MA(C,13) AND O<MA(C,34) AND O<MA(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/O>1.02 AND H/C>1.02 AND O/L<1.02;{收阳有上影}YZ2:=REF(C,1)>REF(O,1) AND O>MA(C,11);{昨收阳今大于均线}YZ:=YZ1 AND YZ2 AND Y>10;X11:DRAWTEXT(YZ,HIGH+0.2,'一枝独秀'),COLORF00FF0;DS1:=OPEN/C>1.04 AND O/REF(C,1)>1.03;{高开收阴}DS2:=V*100/FINANCE2(7)>0.08 AND Y>8;{换手高涨幅大}DS:=DS1 AND DS2;X12:DRAWTEXT(DS,HIGH+0.2,'独上高楼'),COLORGREEN;YJ1:=H/O>1.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:=C<MA(C,13) AND OPEN>MA(C,13);{断头铡刀}TT3:=C<MA(C,34) AND OPEN>MA(C,34);TT5:=C<MA(C,55) AND OPEN>MA(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(CLOSE<VAR10 AND VOL/240>MA(VOL,5)/240 AND CLOSE>REF (CLOSE,1)*1.08 AND CLOSE<MA(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,'买');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 CLOSE>REF(OPEN,1),L*0.97,'克阴'),COLORFF00FF;X22:DRAWTEXT(REF(CLOSE,1)>REF(OPEN,1) AND CLOSE<REF(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战法(生命线、趋势)-指标公式效果图(文档来源:若水财经社区)。

请高手将这些135战法选股公式(同花顺用)转通达信用

请高手将这些135战法选股公式(同花顺用)转通达信用

请高手将这些135战法选股公式(同花顺用)转通达信用【红杏】:55线下股价上穿13线MA13:=MA(C,13);EMA13:=EMA(C,13);EMA34:=EMA(C,34);EMA55:=EMA(C,55);A1:=EMA55>EMA34 AND EMA34>EMA13;A2:=MA13>O;A3:=CROSS(C,MA13);红杏:=A1 AND A2 AND A3;注:在“红杏”这个信号的公式里,我没有设置13要走平或者起翘,并且设定空头排列的时候应用了“EMA(指数平滑移动平均线)”,而不是“MA(简单平均线),这样就不会漏掉新股(这里指日线图中还没有出现34或55的股票)。

如果要求13线走平或起翘情况下的“红杏”,则公式如下:MA13:=MA(C,13);EMA13:=EMA(C,13);EMA34:=EMA(C,34);EMA55:=EMA(C,55);A1:=EMA55>EMA34 AND EMA34>EMA13;A2:=MA13>O;A3:=EMA13>=REF(EMA13,2);A4:=CROSS(C,MA13);红杏:=A1 AND A2 AND A3 AND A4;【一阳穿】:一阳上穿135线MA13:=MA(C,13);MA34:=MA(C,34);MA55:=MA(C,55);A1:=OA2:=C>MA13 AND C>MA34 AND C>MA55;A3:=(C-REF(CLOSE,1))/REF(CLOSE,1)*100 > 5;一阳穿:=A1 AND A2 AND A3;【黑客红衣】:13线上穿55MA13:=MA(C,13);MA34:=MA(C,34);MA55:=MA(C,55);A1:=MA34MA13 AND C>MA55;A2:=CROSS(MA13,MA55);A3:=(O-MA55)/MA55*100<6 OR (C-MA13)/MA13*100<6; 黑客红衣:=A1 AND A2 AND A3;【多头列】:135线形成多头排列MA13:=MA(C,13);MA34:=MA(C,34);MA55:=MA(C,55);A1:=MA13>MA34 AND MA34>=MA55;A2:=CROSS(MA34,MA55);A3:=(MA13-MA55)/MA55*100 < 8;A4:=(O-MA13)/MA13*100 < 6;A5:=(C-MA13)/MA13*100 < 12;A6:=C>MA55;多头列:=A1 AND A2 AND A3 AND A4 AND A5 AND A6;【梅开二度】:55线上13上穿34MA13:=MA(C,13);MA34:=MA(C,34);MA55:=MA(C,55);A1:=MA13>MA55 AND MA34>MA55;A2:=CROSS(MA13,MA34);A3:=C>MA13 AND C>MA34;梅开二度:=A1 AND A2 AND A3;【揭竿起】:股价从135线上揭竿而起MA13:=MA(C,13);MA34:=MA(C,34);MA55:=MA(C,55);A1:=MA13>MA55;A2:=C>MA13;A3:=(O<=REF(C,1) AND (C-REF(C,1))/REF(C,1)*100>6) OR (O>REF(C,1) AND (C-O)/O*100>6);A4:=(C-MA13)/MA13*100 < 12;A5:=(O-MA13)/MA13*100 < 3;A6:=(O-MA13)/MA13*100 > -3;A7:=(O-MA55)/MA55*100 < 12;A8:=(MA13-MA55)/MA55*100 < 12;AA:=A1 AND A2 AND A3 AND A4 AND A5 AND A6 AND A7 AND A8;B1:=MA13B2:=O>MA13 AND O>MA34 AND C>MA55;B3:=(O<=REF(C,1) AND (C-REF(C,1))/REF(C,1)*100>6) OR (O>REF(C,1) AND (C-O)/O*100>6);B4:=(O-MA55)/MA55*100 < 3;B5:=(O-MA55)/MA55*100 > -3;BB:=B1 AND B2 AND B3 AND B4 AND B5;揭竿起:=AA OR BB;注:揭竿起这个信号比较抽象,编写稍有难度,考虑到多、空头的不同情况,只能让该公式尽量涉及又不至于遗漏,精确度较差,但在实盘监控的时候已经可以确保我们能够及时发现可能形成揭竿起的股票了。

135战法公式源码(通达讯与大智慧)付说明

135战法公式源码(通达讯与大智慧)付说明

135战法公式源码(通达讯和大智慧)付说明{135战法} (主图)N 3 10 5EMA13:EMA(C,13),COLORWHITE,LINETHICK2;EMA34:EMA(C,34),COLORYELLOW;EMA55:EMA(C,55),COLORFF00FF;EMA120:EMA(C,120),COLORFFCC66;AR1:=EMA55>EMA34 AND EMA34>EMA13;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,'红杏出墙'),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<0.2;BR3:=C>EMA55 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)*100>0.5;CR2:=V>MA(V,5)*0.6;CR3:=COUNT(CROSS(EMA13,EMA55),3)=1;CR4:=ABS(EMA34-EMA55)/EMA55<0.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:=EMA13>EMA34 AND EMA34<EMA55;DR2:=BARSLAST(CROSS(C,EMA55) );DR3:=H=HHV(H,DR2);DR4:=BARSLAST(DR3);DR5:=COUNT(O>C AND C<REF(C,1) AND C>EMA55 AND BETWEEN((C-EMA55)/EMA55,0,0.02),DR4)=1;DR6:=C>REF(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),LINETHICK2,COLORWHITE;}GR1:=BARSLAST(BETWEEN("BIAS.BIAS2"(6,13,24),0,5) );GR2:=EMA13>EMA34 AND EMA34>EMA55 AND EMA13>REF(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;STICKLINE(GR6 AND GR7,H,H+0.09,4,0),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){ AND CROSS(C,EMA120)};DRAWTEXT(HR2 AND FILTER(HR2,10),L-0.09,'三线推进'),COLORFFC8FF;("135"均线系统的获利目标是"双十获利"原则,即持股20个交易日,获利20%)(红杏出墙是135系统的第一买点,属底部形态,红杏出墙的持股时间为10天,获利10%) 红杏出墙卖股票,操作手法有两套。

135战法指标主图附图

135战法指标主图附图

135战法指标主图附图1》主图指标N :=5;EMA13:EMA(C,13),COLORWHITE,LINETHICK2;EMA34:EMA(C,34),COLORYELLOW;EMA55:EMA(C,55),COLORFF00FF;EMA120:EMA(C,120),COLORFFCC66,COLORRED,LINETHICK2 ;AR1:=EMA55&gt;EMA34 AND EMA34&gt;EMA13;AR2:=BARSLAST((C-EMA13)/EMA13*100&lt;-6);AR3:=EMA13&gt;=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,'红杏出墙'),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&lt;0.2;BR3:=C&gt;EMA55 AND (REF(C,1)&lt;REF(EMA55,1) ORREF(C,2)&lt;REF(EMA55,2) OR REF(C,3)&lt;REF(EMA55,3)OR REF(C,4)&lt;REF(EMA55,4) OR REF(C,5)&lt;REF(EMA55,5));BR4:=BR1 AND BR2 AND BR3;DRAWTEXT(BR4 AND FILTER(BR4,10),L-0.09,'蚂蚁上树'),COLOR00C5FF,COLORLIGREEN;STICKLINE(BR4 ANDFILTER(BR4,10),H,L,0.5,1),COLOR00C5FF,COLORLIGREEN; {STICKLINE(BR4 ANDFILTER(BR4,10),O,C,6,1),LINETHICK2,COLOR00C5FF;}CR1:=(C-REF(C,1))/REF(C,1)*100&gt;0.5;CR2:=V&gt;MA(V,5)*0.6;CR3:=COUNT(CROSS(EMA13,EMA55),3)=1;CR4:=ABS(EMA34-EMA55)/EMA55&lt;0.03;CR5:=EMA55&lt;=EMA120 AND EMA55&gt;=REF(EMA55,1); CR6:=FILTER(CR1 AND CR2 AND CR3 AND CR4 ANDCR5,2);{STICKLINE(CR6,H,L,0.5,1),COLORF00FF0;}{STICKLINE(CR6,O,C,6,1),LINETHICK2,COLORF00FF0;} DRAWTEXT(CR6,L-0.09,'红衣侠女'),COLORF00FF0,COLORLIRED;DR1:=EMA13&gt;EMA34 AND EMA34&lt;EMA55;DR2:=BARSLAST(CROSS(C,EMA55) );DR3:=H=HHV(H,DR2);DR4:=BARSLAST(DR3);DR5:=COUNT(O&gt;C AND C&lt;REF(C,1) AND C&gt;EMA55 AND BETWEEN((C-EMA55)/EMA55,0,0.02),DR4)=1;DR6:=C&gt;REF(C,1) ;DR7:= DR1 AND DR5 AND DR6 ;DR8:=DR7 AND FILTER(DR7 ,10);DRAWTEXT(DR8,L-0.09,'黑客点击'),COLORD6BA63,COLORMAGENTA;{STICKLINE(DR8,H,L,0.5,1),COLORD6BA63;}STICKLINE(DR8,O,C,6,1),LINETHICK2,COLORD6BA63,COLOR MAGENTA;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,'梅开二度'),COLORRED;STICKLINE(FR,H,L,0.5,1),COLORRED;{STICKLINE(FR,O,C,6,1),LINETHICK2,COLORWHITE;}GR1:=BARSLAST(BETWEEN("BIAS.BIAS2"(6,13,24),0,5) );GR2:=EMA13&gt;EMA34 AND EMA34&gt;EMA55 AND EMA13&gt;REF(EMA13,1);GR3:=COUNT("BIAS.BIAS2"(6,13,24)&gt;10 ANDH=HHV(H,GR1),GR1);GR4:=H=HHV(H,GR1);GR5:="MACD.MACD"(12,26,9)&lt;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:=EMA13&gt;=REF(EMA13,3) ANDEMA34&gt;=REF(EMA34,1) AND EMA55&gt;=REF(EMA55,1) AND CROSS(C,EMA13)AND CROSS(C,EMA34) AND CROSS(C,EMA55){ AND CROSS(C,EMA120)};DRAWTEXT(HR2 AND FILTER(HR2,10),L-0.09,'三线推进'),COLORFFC8FF,COLORBLUE;2》附图指标EMA13:=MA(C,13);EMA34:=MA(C,34);EMA55:=MA(C,55);HX1:=EMA55&gt;EMA34 AND EMA34&gt;EMA13;HX2:=C&gt;=OPEN;HX3:=C/REF(C,1)&gt;=1.01;HX4:=EMA13&gt;=REF(EMA13,1);HX5:=COUNT(CROSS(C,EMA13),2)=1;HX6:=V&gt;=MA(V,5)*0.55*2;红杏出墙:IF(HX1 AND HX2 AND HX3 AND HX4 AND HX5 AND HX6,1,0),COLORYELLOW,LINETHICK2;EMA120:=MA(C,120);HY1:=C&gt;OPEN;HY2:=C/REF(C,1)&gt;=1.01;HY3:=ABS(EMA34-EMA55)/EMA55&lt;0.10 ANDABS(EMA55-REF(EMA55,5))&lt;=0.05*EMA55;HY4:=COUNT(CROSS(EMA13,EMA55),2)=1;HY5:=EMA13&gt;=REF(EMA13,1);HY6:=C/EMA13&lt;=1.12 AND C&gt;EMA13 ANDC&gt;EMA55;HY7:=V&gt;=MA(V,5)*0.6*2;红衣侠女:IF(HY1 AND HY2 AND HY3 AND HY4 AND HY5 AND HY6 AND HY7,1.5,0),COLORLIRED,LINETHICK2;HK1:=C&lt;OPEN;HK2:=C/REF(C,1)&lt;1.0;HK3:=COUNT(CROSS(EMA13,EMA55),3)=1;HK4:=ABS(EMA34-EMA55)/EMA55&lt;0.10 ANDABS(EMA55-REF(EMA55,5))&lt;=0.05*EMA55;HK5:=C/EMA13&lt;=1.08 AND C&gt;EMA13 ANDC&gt;EMA55;HK6:=V&lt;=MA(V,5)*0.425*2;黑客点击:IF(HK1 AND HK2 AND HK3 AND HK4 AND HK5 AND HK6,2,0),LINETHICK2;YY1:=C&gt;EMA13 AND OPEN&lt;EMA13;YY2:=C&gt;EMA34 AND OPEN&lt;EMA34;YY3:=C&gt;EMA55 AND OPEN&lt;EMA55;YY4:=ABS(REF(EMA13,1)-REF(EMA34,1))&lt;=0.1*REF(EMA13,1) ANDABS(REF(EMA13,1)-REF(EMA55,1))&lt;=0.1*REF(EMA13,1) ;YY5:=ABS(REF(EMA13,2)-REF(EMA34,2))&lt;=0.1*REF(EMA13,2) ANDABS(REF(EMA13,2)-REF(EMA55,2))&lt;=0.1*REF(EMA13,2) ;YY6:=V&gt;=MA(V,5)*0.6*2;一阳穿三线:IF(YY1 AND YY2 AND YY3 AND YY4 AND YY5 AND YY6,2.5,0),COLORGREEN,LINETHICK2;JG1:=ABS(REF(EMA13,1)-REF(EMA34,1))&lt;=0.1*REF(EMA13,1) ANDABS(REF(EMA13,1)-REF(EMA55,1))&lt;=0.1*REF(EMA13,1) ;JG2:=ABS(REF(EMA13,2)-REF(EMA34,2))&lt;=0.1*REF(EMA13,2) ANDABS(REF(EMA13,2)-REF(EMA55,2))&lt;=0.1*REF(EMA13,2) ;JG3:=C&gt;OPEN;JG4:=C/REF(C,1)&gt;=1.02;{涨幅2%}JG5:=C&lt;=EMA13*1.1 AND C&gt;=1.0*EMA13 AND OPEN&gt;=0.9*EMA13;JG6:=C&gt;=1.0*EMA34 AND OPEN&gt;=0.9*EMA34;JG7:=C&gt;=1.0*EMA55 AND OPEN&gt;=0.9*EMA55;JG8:=EMA13&gt;=REF(EMA13,1);JG9:=V&gt;=MA(V,5)*0.6*2;揭竿而起:IF(JG1 AND JG2 AND JG3 AND JG4 AND JG5 ANDJG6 AND JG7 AND JG8 ANDJG9,3,0),COLORLIBLUE,LINETHICK2;MK1:=EMA13&gt;EMA55 AND EMA34&gt;EMA55;MK2:=CROSS(EMA13,EMA34);MK3:=EMA13&gt;=REF(EMA13,1);MK4:=C&gt;OPEN;MK5:=C/REF(C,1)&gt;=1.02;{涨幅2%}MK6:=V&gt;=MA(V,5)*0.6*2;梅开二度:IF(MK1 AND MK2 AND MK3 AND MK4 AND MK5 AND MK6,3.5,0),COLORRED,LINETHICK2;BR1:=COUNT(BETWEEN((C-REF(C,1))/REF(C,1)*100,0,5) ,5)=5;BR2:=ABS((EMA13-EMA34)+(EMA34-EMA55))/C&lt;0.2;BR3:=C&gt;EMA55 AND (REF(C,1)&lt;REF(EMA55,1) OR REF(C,2)&lt;REF(EMA55,2) ORREF(C,3)&lt;REF(EMA55,3) OR REF(C,4)&lt;REF(EMA55,4) OR REF(C,5)&lt;REF(EMA55,5));蚂蚁上树:IF(BR1 AND BR2 ANDBR3,4,0),COLORLIGREEN,LINETHICK2;HR2:=EMA13&gt;=REF(EMA13,3) ANDEMA34&gt;=REF(EMA34,1) AND EMA55&gt;=REF(EMA55,1) AND CROSS(C,EMA13) AND CROSS(C,EMA34) ANDCROSS(C,EMA55);三线推进:IF((HR2 ANDFILTER(HR2,10)),4.5,0),COLORBLUE,LINETHICK2;3&gt;&gt;选股1.{梅开二度选股}EMA13:=EMA(C,13);EMA34:=EMA(C,34);梅开二度:BARSLAST(REF(CROSS(EMA34,EMA13),1)) AND CROSS(EMA13,EMA34);2.{黑客点击选股}EMA13:=EMA(C,13);EMA34:=EMA(C,34);EMA55:=EMA(C,55);DR1:=EMA13&gt;EMA34 AND EMA34&lt;EMA55;DR2:=BARSLAST(CROSS(C,EMA55) );DR3:=H=HHV(H,DR2);DR4:=BARSLAST(DR3);DR5:=COUNT(O&gt;C AND C&lt;REF(C,1) AND C&gt;EMA55 AND BETWEEN((C-EMA55)/EMA55,0,0.02),DR4)=1;DR6:=C&gt;REF(C,1) ;DR7:=DR1 AND DR5 AND DR6 ;黑客点击:DR7 AND FILTER(DR7,10);3.{红衣侠女选股}EMA13:=EMA(C,13);EMA34:=EMA(C,34);EMA55:=EMA(C,55);EMA120:=EMA(C,120);CR1:=(C-REF(C,1))/REF(C,1)*100&gt;0.5;CR2:=V&gt;MA(V,5)*0.6;CR3:=COUNT(CROSS(EMA13,EMA55),3)=1;CR4:=ABS(EMA34-EMA55)/EMA55&lt;0.03;CR5:=EMA55&lt;=EMA120 AND EMA55&gt;=REF(EMA55,1); 红衣侠女:FILTER(CR1 AND CR2 AND CR3 AND CR4 AND CR5,2);4.{三线推进选股}EMA13:=EMA(C,13);。

神奇的135战法

神奇的135战法

神奇的135战法,即用(13、34、55)三根均线交易1.【红杏出墙】●形态特征:均线系统成典型的空头排列,股价长期下跌并远离长期均线,这时13日均线由下降趋于走平,股价从下向上突破13日均线,并且在13日均线上企稳,我们把这根站在13日均线上的阳线称之为“红杏出墙”。

●形成机理:股价的连续下跌使空方能量得到了有效的释放,导致股价远离平均成本,由于股价有向平均成本靠拢的趋势,而且远离均线的幅度越大,其回归的可能性和扭转力度就越大。

13日均线有降趋平,表明股价已经从长期跌势中止跌企稳。

由于均线的助涨作用这就有可能出现扭转向上的趋势。

13日均线一旦有趋平或者向上翘起,股价自然就会沿着此趋势运行一段时间。

由跌趋平到翘起的过程中,股价重心随之上移。

但是,由于股价刚刚脱离底部区域,上升空间一般都不会太大,因此,投资者对“红杏出墙”的获利空间期望值不要太高,目标界定在10%左右,持股时间在10个交易日左右较为实际。

为安全期间,坚持“双十获利”是一个明智的选择,即持股10天,获利10%了结。

2.【蚂蚁上树】●形态特征:股价经过长期的缩量下跌以后,两条略微向右下方倾斜的主均线相距很近或基本持平。

13日均线由下跌开始走平,股价踏上13日均线后,一连续上攻的小阳线缓步攀升,把股价轻松的送上55日均线。

我们把这几根持续上升的小阳线称之为“蚂蚁上树”。

●形成机理:由于股价的长期下跌,是做空能量消耗殆尽,这是,主力已建仓完毕,一旦指数配合随时可能向上拉升。

为了不引起市场注意,主力仍在有计划的现价买入,一来测试以下盘面,而来做做拉升前的热身。

因此,对于形成蚂蚁上树走势的个股要极为关注,一旦发现他放量上攻,就毫不犹豫的跟进。

3.【黑客点击】●形态特征:股价从前期的一个明显高点开始回落,在底部区域经过充分整理后,或采用“蚂蚁上树”方式小阳推进,或有节奏的放量提升,股价有效突破55日均线后开始回落,但在55日均线附近获得支撑,如果K线收阴,回落的股价在13日均线与55日均线的结点处,即“黑客点击”形态成立。

135战法(整理)

135战法(整理)

135战法简介“135”战法即13日均线、34日均线、55日均线组合系统的简称。

135均线系统视角独特,操作简便,实战性强。

“135”战法是一套精确的股价定位系统,它从技术上解决了“在山前就知道山后面有什么”的难题。

只要记住每个买卖点的名称和市场含义,实践中严格遵循“进退有据,速战急归”的原则,就能够输小钱获大利。

可以肯定地说,如果“心随股走,及时跟变”的理念能够在每个投资者的心里登陆,相信在未来的岁月里一定能够成为股市大赢家。

“135”战法由投资理念、交易指令、操作程序和操盘原则四大部分构成。

1、投资理念:炒股的成功,不仅仅是技术上的提升,重要的是理念上的突破和行为上的节制。

操作的成败源于每个人的理念,理念决定行为,行为决定结果,理念上一点点闪失,便意味着操作的彻底失败。

我们的投资理念是:“进退有据,速战急归”、“心随股走,及时跟变”。

2、交易指令:“135”各种买卖点的总称。

任何一个技术形态必须经过技术合成和股价定位以后才能决定买卖。

严把买进关是“135”战法中的重中之重。

3、操作程序:根据不同的技术形态采取不同的资金布局,但必须按照进退程序进行。

进场按照“搜索、确认、切入、控制”四个步骤进行;退场按照“量叉”主动撤离、“价叉”马不停蹄、“阳叉”勿失良机、“技叉”清仓完毕四个步骤进行。

4、操盘原则:①按图索骥,守株待兔。

②进退有据,速战急归。

③谨慎加油,随时刹车。

④拒绝盘整,死不补仓。

⑤常捂资金短捂股,强做弱休常空仓。

⑥敢于认错,勇于改错。

⑦心随股走,及时跟变。

⑧沉着应对,善打敢拚。

⑨雷厉风行,令行禁止。

⑩曙光初照积极行动,夕阳西下鸣金收兵。

投资的风险不是来自股市本身,而是来自规则不明的操作。

庄家没有固定的“发情期”,因此,我们必须“心随股走,及时跟变”。

按图索骥与守株待兔1、按图索骥和守株待兔的市场含义这本是两个风马牛不相及的成语,并且都是贬义词。

笔者却把它作为操作原则并恪守之,这是因为: "按图索骥"在一定意义上,反映了事物的内在规律,而"守株待兔"则告诫人们做任何事情都要有耐心。

135战法所有公式全编写主图通达信指标公式源码

135战法所有公式全编写主图通达信指标公式源码

135战法所有公式全编写主图通达信指标公式源码135所有战法全编写,分享给大家,对照《135战法》书籍研究收获更大。

所有公式都包含在一个文本里方便大家下载。

里面添加了详细注释,方便大家学习和理解。

主图显示,更加直观。

注释详细,分享给大家,对照《135战法》书籍研究收获更大EMA13:MA(C,13),COLORWHITE,LINETHICK2;EMA34:MA(C,34),COLORYELLOW;EMA55:MA(C,55),COLORFF00FF;{红杏出墙}HX1:=EMA13HX2:=BARSLAST((C-EMA13)/EMA13*100<-6);{收盘价在13均线%6到现在的天数}HX3:=ABS(1-EMA55/REF(C,1))>0.1;HX6:=BARSLAST(CROSS(EMA55,EMA34))>=20;{13日均线下降趋于走平}HX4:=ABS(1-REF(EMA13,1)/EMA13)<0.004 AND CHX5:=REF(C,1)EMA13 AND C>O;HX7:=HX1 {AND HX3} AND HX4 AND HX5 ;HX8:=HX7 AND FILTER(HX7,10);{满足后10天内不标记}DRAWTEXT(HX8,L-0.05,'红杏出墙'),COLORYELLOW;{金屋藏娇}JWCJ1:=CJWCJ2:=O<=REF(C,1) AND L>=REF(L,1);JWCJ3:=REF(C,1)/REF(L,1)>1.02;JWCJ4:=EMA13JWCJ:=JWCJ1 AND JWCJ2 AND JWCJ3 AND JWCJ4;DRAWTEXT(JWCJ,LOW-0.2,'金屋藏娇'),COLORYELLOW;{马失前蹄}MSQT1:=EMA55/EMA13>1.04 AND EMA13/C>1.03;MSQT2:=O<=REF(L,1) AND REF(O,1)/REF(C,1)>1.03;MSQT:= MSQT1 AND MSQT2;DRAWTEXT(MSQT,(O+C)/2,'马失前蹄'),COLORYELLOW;{日月合璧}RYHB1:=REF(O,1)<=REF(C,2) AND REF(C,1)<0.02;RYHB2:=C>O AND ABS(1-C/REF(O,1))<0.025 AND ABS(1-O/ REF(C,1))<0.025;RYHB3:=EMA13<0.01 AND (EMA13RYHB4:=REF(L,1)<=LLV(REF(L,1),10);RYHB:=RYHB1 AND RYHB2 AND RYHB3 AND RYHB4;DRAWTEXT(RYHB ,LOW,'日月合璧'),COLORYELLOW;{黑客点击}DJ1:=EMA13>EMA34 AND EMA34DJ2:=O>EMA55;{开盘价大于55日均线}DJ3:=CROSS(EMA13,EMA55) OR ABS(1-EMA13/EMA55)<0.002;DJ4:=O>C AND CHKDJ:= DJ2 AND DJ3 AND DJ4;DRAWTEXT(HKDJ AND FILTER(HKDJ,10),L-0.03,'黑客点击'),C OLORD6BA63;{海底捞月}LY1:=COUNT(ABS(1-EMA55/EMA34)<0.1,20)>=16;LY2:=COUNT(CROSS(EMA34,EMA13),40)>=1 AND COUNT(C ROSS(EMA55,EMA13),40)>=1;LY3:=CROSS(EMA13,EMA55);HDLY:=LY1 AND LY2 AND LY3;DRAWTEXT(HDLY AND FILTER(HDLY,5),L-0.25,'海底捞月'),COL ORGREEN;{均线互换}JXHH:=BARSLAST(REF(CROSS(EMA55,EMA34),1)) AND CRO SS(EMA34,EMA55);DRAWTEXT(JXHH,L+0.09,'均线互换'),COLOR0099FF;{突出重围}TCCW1:=REF(EMA55,1)TCCW2:=EMA13<0.008;TCCW:=TCCW1 AND TCCW2;DRAWTEXT(TCCW AND FILTER(TCCW,5),H+0.01,'突出重围'),C OLORF00FF0;{揭竿而起}MAX3:=MAX(MAX(EMA13,EMA34),EMA55);MIN3:=MIN(MIN(EMA13,EMA34),EMA55);JG1:=ABS(EMA13-EMA34)JG2:=ABS(EMA34-EMA55)JG3:=C>=O*1.03 AND C>MAX3;{阳线3%}JG4:=O>MIN3 AND OJG5:=C>REF(H,5);JG6:=(C-EMA34)/EMA34<=0.15;{控制价高}JG7:=V>MA(V,5) AND MA(V,10);JGEQ:=JG1 AND JG2 AND JG3 AND JG4 AND JG5 AND JG6 AND JG7;DRAWTEXT(JGEQ,H+0.1,'揭竿而起'),COLORGREEN;{一阳三线}YY1:=C>EMA13 AND OYY2:=C>EMA34 AND OYY3:=C>EMA55 AND OYYSX:=YY1 AND YY2 AND YY3;DRAWTEXT(YYSX,H+0.1,'一阳三线'),COLORRED;{红衣侠女}XN1:=ABS(1-HHV(EMA55,5)/LLV(EMA55,5))<0.02;XN2:=CROSS(EMA13,EMA55) OR ABS(1-EMA13/EMA55)<0. 002;XN3:=C>O AND V>REF(V,1) AND C>EMA55;HYXN:=XN1 AND XN2 AND XN3;DRAWTEXT(HYXN AND FILTER(HYXN,5),L-0.05,'红衣侠女'),C OLORF00FF0;{梅开二度}MKED1:=BARSLAST(REF(CROSS(EMA34,EMA13),1));MKED2:=COUNT(H>=EMA55,MKED1)=MKED1;MKED:=MKED2 AND CROSS(EMA13,EMA34);DRAWTEXT(MKED,L-0.1,'梅开二度'),COLOR0044FF;{破镜重圆}PJCY1:=REF(O,1)/REF(C,1)>1.02;PJCY2:=O<=REF(C,1) AND C>=REF(O,1);PJCY3:=(ABS(1-REF(C,1)/EMA55)<0.05 OR ABS(1-C/EMA55) <0.05 OR ABS(1-MA(C,2)/EMA55)<0.05);PJCY4:=EMA13>EMA55 OR EMA13>MA(EMA13,5);PJCY:=PJCY1 AND PJCY2 AND PJCY3 AND PJCY4;DRAWTEXT(PJCY,LOW,'破镜重圆'),COLORYELLOW;{三线推进}MAX4:=MAX(MAX(MAX(EMA13,EMA34),EMA55),H);MIN4:=MIN(MIN(MIN(EMA13,EMA34),EMA55),L);SXTJ1:=HHV(MAX4,60);SXTJ2:=LLV(MIN4,60);SXTJ3:=EVERY(ABS(1-SXTJ1/SXTJ2)<0.3,20);SXTJ:=SXTJ3 AND (YYSX OR JGEQ);DRAWTEXT(SXTJ AND FILTER(SXTJ,10),H+0.25,'三线推进'),CO LOR00C5FF;{双蹄并进}STBJ1:=CROSS(DMI.PDI,DMI.MDI);STBJ2:=ABS(1-DMI.ADX/DMI.ADXR)<0.1;STBJ:=STBJ1 AND STBJ2;DRAWTEXT(STBJ,(O+C)/2,'双蹄并进'),COLORGREEN;{步步高}BBG1:=C>=REF(C,1) AND REF(C,1)>=REF(C,2);{3日内收盘价都比前日收盘价高}BBG2:=V>=REF(V,1) AND REF(V,1)>=REF(V,2);{3日内量都比前日量高}BBG3:=COUNT(C>=O,3)=3;BBG:=BBG1 AND BBG2 AND BBG3;DRAWTEXT(BBG AND FILTER(BBG,3),(C+O)/2,'步步高'),COLO RFF00FF;{四星望月}SXWY1:=COUNT(C>=O AND C/O<1.03,4)=4;SXWY2:=(ABS(EMA13-EMA34)+ABS(EMA34-EMA55))/C<0.1; {主均线相距很近或基本持平}SXWY3:=EMA13SXWY:=SXWY1 AND SXWY2 AND SXWY3;DRAWTEXT(SXWY AND FILTER(SXWY,5),H,'四星望月'),COLOR 00C5FF;{小鸟依人}XNYR1:=REF(C,1)/REF(O,1)>1.05;XNYR2:=O<=REF(C,1) AND ABS(1-C/O)<0.02;XNYR3:=COUNT(JGEQ OR YYSX OR HYXN,10)>=1 AND CO UNT(JGEQ OR YYSX OR HYXN,2)=0;XNYR:=XNYR1 AND XNYR2 AND XNYR3;DRAWTEXT(XNYR,H+0.01,'小鸟依人'),COLORBLUE;{走四方}ZSF1:=REF(C,4)>REF(O,4) AND (REF(C,4)>EMA13 OR REF(C, 4)>EMA34) AND (ABS(1-REF(EMA55,4)/EMA55)<0.01 OR MA(E MA55,4)>REF(EMA55,5));ZSF2:=COUNT(ABS((1-REF(C,1)/C)*100)<3,4)=4 AND MA(V, 4)ZSF:=ZSF1 AND ZSF2;DRAWTEXT(ZSF AND FILTER(ZSF,4),L-0.1,'走四方'),COLORBLU E;{三剑客}SJK1:=EMA13>EMA34 AND EMA34>EMA55;SJK2:=COUNT(C<=O AND O/C<1.03,3)=3 AND COUNT(ABS (1-REF(C,1)/C)<1.03,2)=2;SJK:=SJK1 AND SJK2;DRAWTEXT(SJK AND FILTER(SJK,3),L,'三剑客'),COLORYELLO W;{浪子回头}LZ1:=REF(C,2)LZ2:=C<=REF(C,1) AND REF(C,1)<=REF(C,2);LZ3:=MA(V,3)LZ4:=REF(C,3)>EMA13 AND (C>EMA55 OR ABS(1-C/EMA55) <0.01);LZHT:=LZ1 AND LZ2 AND LZ3 AND LZ4;DRAWTEXT(LZHT AND FILTER(LZHT,5),L-0.1,'浪子回头'),COL OR00FF99;{一石二鸟}YSEN1:=REF(C,2)>REF(O,2) AND REF(C,1)YSEN2:=REF(C,2)>EMA55 AND EMA13>EMA55 AND EMA13>=MA(EMA13,5);YSEN3:=REF(V,2)>REF(V,1) AND REF(V,2)>V;YSEN:=YSEN1 AND YSEN2 AND YSEN3;DRAWTEXT(YSEN,H+0.01,'一石二鸟'),COLORBLUE;{星星点灯}XXDD1:=ABS(1-C/O)*100<=2.5 AND H/MAX(C,O)>1.03 AN D REF(C,1)/REF(O,1)>1.05;XXDD2:=O>=REF(C,1) AND ABS(1-REF(EMA13,1)/EMA55)< 0.1};XXDD:=XXDD1 AND XXDD2;DRAWTEXT(XXDD,(O+C)/2,'星星点灯'),COLORGREEN;{蚂蚁上树}BR1:=COUNT(BETWEEN(((C-O)/O)*100,0,5) ,5)=5;{5日内收盘价都比前日收盘价高}BR2:=(ABS(EMA13-EMA34)+ABS(EMA34-EMA55))/C<0.1;{主均线相距很近或基本持平}BR3:=C>EMA55 AND COUNT(L=1;{股价送上55日均线}MYSS:=BR1 AND BR2 AND BR3;DRAWTEXT(MYSS AND FILTER(MYSS,5),H,'蚂蚁上树'),COLOR 00C5FF;{投石问路}TSWL1:=CROSS(EMA13,EMA34) AND EMA13DRAWTEXT(TSWL1,L-0.1,'投石问路'),COLOR0044FF;{绝处逢生}JCFS1:=EMA55>EMA13 AND EMA13>C;JCFS2:=O<=REF(L,1) AND C/O>1.05;JCFS:= JCFS1 AND JCFS2;DRAWTEXT(JCFS,H,'绝处逢生'),COLORYELLOW;{三军集结}SJJJ3:=REF(EMA55,1)>REF(EMA13,1);SJJJ4:=ABS(1-(MAX(MAX(EMA34,EMA55),EMA13)/MIN(MIN(EMA13,EMA34),EMA55)))<0.005;SJJJ:=SJJJ3 AND SJJJ4;DRAWTEXT(SJJJ AND FILTER(SJJJ,5),L-0.1,'三军集结'),COLOR0 044FF;{双飞燕}SFY1:=EMA13>EMA34 AND EMA34>EMA55;SFY2:=REF(O,1)>=REF(C,2) AND O>=REF(C,1) AND REF(C,2)> =REF(O,2);SFY3:=COUNT(C>O AND C/O<1.02,2)=2 OR COUNT(C<1.0 2,2)=2;SFY4:= VSFY:=SFY1 AND SFY2 AND SFY3 AND SFY4;DRAWTEXT(SFY AND FILTER(SFY,2),L,'双飞燕'),COLORYELLO W;{暗度陈仓}ADCC1:=O/C>1.05 AND EMA13/EMA55<1.1 AND EMA13> MA(EMA13,5);ADCC2:=O/REF(C,1)<1.03;{V<2};ADCC:=ADCC1 AND ADCC2;DRAWTEXT(ADCC,(C+O)/2,'暗度陈仓'),COLOR00C5FF;{立竿见影}LGJY1:=O<=REF(C,1) AND VLGJY2:=COUNT(JGEQ OR YYSX OR HYXN,2)=1;LGJY:=LGJY1 AND LGJY2;DRAWTEXT(LGJY,H+0.1,'立竿见影'),COLORBLUE;{一枝独秀}YZ1:=C/O>1.01 AND H/C>1.025 ;{收阳有上影}YZ2:=EMA13>MAX(EMA34,EMA55) AND C>1.05*EMA13 A ND O>MA(C,11);{昨收阳今大于均线}YZDX:=YZ1 AND YZ2;DRAWTEXT(YZDX,(H+C)/2,'一枝独秀'),COLORF00FF0;{一剑封喉}YJFH1:=REF(C,1)>=REF(O,1);YJFH2:=H/MAX(C,O)>=1.035 ;YJFH3:=V/MA(REF(V,1),11)>3 AND EMA13/EMA55>1.05;YJFH:=YJFH1 AND YJFH2 AND YJFH3;DRAWTEXT(YJFH,(H+L)/2,'一剑封喉'),COLORF00FF0;{狗急跳墙}GJTQ1:=O/REF(C,1)>1.02 AND L>REF(C,1);GJTQ2:=V>MA(V,5);GJTQ3:=EMA13/EMA55>1.1;GJTQ:=GJTQ1 AND GJTQ2 AND GJTQ3;DRAWTEXT(GJTQ,(O+C)/2,'狗急跳墙'),COLORF00FF0;{笑里藏刀}XLCD1:=REF(H,1)/MAX(REF(C,1),REF(O,1))>1.04;XLCD2:=H=REF(C,1);XLCD3:=EMA13/EMA55>1.05 AND C/EMA13>1.03;XLCD:=XLCD1 AND XLCD2 AND XLCD3;DRAWTEXT(XLCD,(O+C)/2,'笑里藏刀'),COLORF00FF0;{独上高楼}DSGL1:=REF(C,1)>=REF(O,1);DSGL2:=O/REF(C,1)>1.029 AND O/C>1.03 AND O/MAX(EM A13,EMA55)>1.03;DSGL:=DSGL1 AND DSGL2;DRAWTEXT(DSGL,(O+C)/2,'独上高楼'),COLORF00FF0;{金蝉脱壳}JCTQ1:=C1.1 OR (C/MIN(EMA13,EMA55)>1.1)) AND EMA13> MA(EMA13,5);JCTQ2:=REF(O,1)>=REF(C,2) AND REF(C,1)>REF(O,1) AND O <=REF(C,1) AND C>REF(O,1);JCTQ:=JCTQ1 AND JCTQ2;DRAWTEXT(JCTQ,(O+C)/2,'金蝉脱壳'),COLORF00FF0;{见好就收}Y:=(EMA13-EMA55)/EMA13*100;JHJX:=REF(Y,1)<=10 AND Y>10;{DRAWICON(JHJX,H,1);}DRAWTEXT(JHJX,H,'见好就收'),COLORF00FF0;{一箭穿心}YJCX:=CROSS(EMA55,EMA13);DRAWTEXT(YJCX,L-0.1,'一箭穿心'),COLOR0044FF;{明修栈道}MXZD1:=C/O>1.07;MXZD2:=EMA13>HHV(REF(EMA13,1),5) AND V>HHV(REF(V, 1),10) AND V/MA(REF(V,1),5)>2;MXZD:=MXZD1 AND MXZD2;DRAWTEXT(MXZD,H+0.01,'明修栈道'),COLORF00FF0;{拖泥带水}TNDS1:=O/REF(C,1)>1.05 AND MIN(C,O)/L>1.03;TNDS2:=C/MAX(EMA13,EMA55)>1.03 AND C>REF(C,1);TNDS:=TNDS1 AND TNDS2;DRAWTEXT(TNDS,(O+C)/2,'拖泥带水'),COLORF00FF0;{晨钟暮鼓}CZMG1:=REF(C,1)/REF(O,1)>1.05 AND REF(V,1)/REF(V,2)>2 A ND HSL>3;CZMG2:=C>O AND VCZMG:=CZMG1 AND CZMG2;DRAWTEXT(CZMG,H,'晨钟暮鼓'),COLORF00FF0;{落井下石}LJXS1:=O1.05 AND CDRAWTEXT(LJXS1,H+0.01,'落井下石'),COLOR00C5FF;{节外生枝}JWSZ1:=EMA13>MAX(EMA34,EMA55) AND EMA13/EMA55> 1.1 AND REF(C,1)>1.04*EMA13 AND REF(C,1)/REF(O,1)>1.04;JWSZ2:=ABS(1-C/O)<0.015 AND ABS(1-REF(C,1)/C)<0.02;JWSZ:=JWSZ1 AND JWSZ2;DRAWTEXT(JWSZ,(H+C)/2,'节外生枝'),COLORF00FF0;{过河拆桥}GHCQ1:=C=1.04;GHCQ2:=O>EMA13 AND CGHCQ3:=EMA13/EMA55>1.1 AND ABS(1-EMA13/MA(EMA1 3,3))<0.02;GHCQ:=GHCQ1 AND GHCQ2 AND GHCQ3;DRAWTEXT(GHCQ,(O+C)/2,'过河拆桥'),COLORF00FF0;{分道扬镳}FDYB:=CROSS(EMA34,EMA13) AND EMA34>EMA55;DRAWTEXT(FDYB,L-0.1,'分道扬镳'),COLOR0044FF;{一阴三线}YYSX1:=CEMA13;{一阴三线}YYSX2:=CEMA34;YYSX3:=CEMA55;YYYSX:=YYSX1 AND YYSX2 AND YYSX3;DRAWTEXT(YYYSX,H+0.1,'一阴三线'),COLORF00FF0;。

金相投资 通达信股票软件指标公式布林135(主图、源码、贴图、说明)

金相投资 通达信股票软件指标公式布林135(主图、源码、贴图、说明)

金相投资通达信股票软件指标公式布林135(主图、源码、贴图、说明)BOLL:EMA(C,25)COLORMAGENTA,LINETHICK2;UPPER:=BOLL+2*STD(CLOSE,25)COLORYELLOW,CROSSDOT;LOWER:=BOLL-2*STD(CLOSE,25)COLORLICYAN,CROSSDOT; {DRAWBAND(BOLL,RGB(139,0,139),REF(BOLL,1),RGB(65,105,225));} DRAWBAND(UPPER,RGB(139,0,139),BOLL,DRAWNULL);DRAWBAND(BOLL,RGB(65,105,225),LOWER,DRAWNULL);EMA13:EMA(CLOSE,13)COLORWHITE,LINETHICK1;EMA34:EMA(CLOSE,34)COLORGREEN,LINETHICK1;EMA55:EMA(CLOSE,55)COLORCYAN,LINETHICK1;{阳K线}STICKLINE(CLOSE>=OPEN,C,O,4.7,0),COLOR000033;STICKLINE(CLOSE>=OPEN,C,O,3.9,0),COLOR000055;STICKLINE(CLOSE>=OPEN,C,O,3,0),COLOR000077;STICKLINE(CLOSE>=OPEN,C,O,2.1,0),COLOR000099;STICKLINE(CLOSE>=OPEN,C,O,1,0),COLOR0000DD;{阳线上下影}STICKLINE(CLOSE>=OPEN,L,H,0,0), COLORRED;{阴K线}STICKLINE(CLOSE<OPEN,C,O,4.7,0),COLOR003300;STICKLINE(CLOSE<OPEN,C,O,3.9,0),COLOR005500;STICKLINE(CLOSE<OPEN,C,O,3,0),COLOR007700;STICKLINE(CLOSE<OPEN,C,O,2.1,0),COLOR009900;STICKLINE(CLOSE<OPEN,C,O,1,0),COLOR00DD00;{阴线上下影}STICKLINE(CLOSE<OPEN,L,H,0,0),COLOR00EC00;XU:PEAK(C,IF(PERIOD<5,5,10),1)*0.999,COLORFFCC99,LINETHICK2;{箱顶} XD:TROUGH(C,IF(PERIOD<5,5,10),1)*0.998,COLORFF99CC,LINETHICK2;{箱底}XH:=(XU-XD)/XD*100,NODRAW,COLORYELLOW;XDU:=IF(EMA(EMA(EMA(C,2),2),2)>REF(EMA(EMA(EMA(C,2),2),2),1),XD,XU); XR:=(C-XDU)/XDU*100,COLORRED,NODRAW;XTB:=XD!=REF(XD,2) && XD=REF(XD,1);XTS:=XU!=REF(XU,2) && XU=REF(XU,1);DRAWICON(XTB,MIN(XD,L)*0.991,1);DRAWTEXT(XTB,MIN(XD,L)*0.988,'[下跌终点,上升起点!满仓]'),COLOR0000DD; DRAWICON(XTS,MAX(XU,H)*1.001,2);DRAWTEXT(XTS,MIN(XU,H)*1.004,'[上升终点,下跌起点!清仓]')COLOR00DD00;上升段:DRAWLINE(XTB,MIN(LLV(L,1),XD),XTS,MAX(HHV(H,1),XU),0)COLOR000099,LINETHICK2;{XTBL}下跌段:DRAWLINE(XTS,MAX(HHV(H,1),XU),XTB,MIN(LLV(L,1),XD),0)COLOR009900,LINETHICK2;{XTSL}Y:=(EMA(C,13)-EMA(C,55))/EMA(C,13)*100;生命线:=EMA(CLOSE,34)COLORMAGENTA,POINTDOT,LINETHICK4;EMA120:=EMA(CLOSE,120);{135均线战法}{一、底部起涨}{1.金屋藏娇}JW1:=C<OPEN AND REF(C,1)<REF(OPEN,1);JW2:=OPEN<REF(C,1) AND C>REF(L,1);JW3:=O<EMA(C,13) AND O<EMA(C,34) AND O<EMA(C,55);JW:=JW1 AND JW2 AND JW3;DRAWTEXT(JW,LOW-0.2,'金屋藏娇'),COLORYELLOW;{2.红杏出墙}AR1:=EMA55>EMA34 AND EMA34>EMA13;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,'红杏出墙'),COLORYELLOW;STICKLINE(AR6,H,L,0.5,1),COLORYELLOW;STICKLINE(AR6,O,C,6,1),LINETHICK2,COLORYELLOW;{3.投石问路}TS1:=CROSS(EMA(C,13),EMA(C,34));{11线上穿34线}TS2:=EMA(C,13)<EMA(C,55);DRAWTEXT(TS,H*1.001,'投石问路'),COLORF00FF0;{二.上涨“拼命三郎”要及时满仓跟进}{1.铤而走险}JG1:=ABS(EMA(C,13)-EMA(C,34))<C*0.02 AND ABS(EMA(C,13)-EMA(C,55))<C*0.02;JG2:=O>EMA(C,13) OR O=EMA(C,13);JG3:=C/OPEN>1.03 ; {阳线3%}JG:=JG1 AND JG2 AND JG3;DRAWTEXT(JG,LOW-0.2,'铤而走险'),COLORYELLOW;{2.一阳三线}YY1:=C>EMA(C,13) AND OPEN<EMA(C,13);YY3:=C>EMA(C,34) AND OPEN<EMA(C,34);YY5:=C>EMA(C,55) AND OPEN<EMA(C,55);DRAWTEXT(YY1 AND YY5 AND YY3,LOW*0.998,'一阳三线'),COLORRED;{3.红衣侠女}CR1:=(C-REF(C,1))/REF(C,1)*100>0.5;CR2:=V>MA(V,5)*0.6;CR3:=COUNT(CROSS(EMA13,EMA55),3)=1;CR4:=ABS(EMA34-EMA55)/EMA55<0.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.996,'红衣侠女')COLORRED,{COLORF00FF0};{黑客点击}HK1:=CROSS(EMA(C,13),EMA(C,55));{11线上穿55线}HK2:=C<O;{当日收阴}HK3:=ABS(L-EMA(C,13))<C*0.03 OR ABS(C-EMA(C,13))<C*0.04;{收盘价或最低价在13线} HK:=HK1 AND HK2 AND HK3;DRAWTEXT(HK,EMA13,'黑客点击'),COLORGREEN;{三军聚集}SJ1:=ABS(EMA(CLOSE,13)-EMA(CLOSE,34))<C*0.01;{13线34线55线接近} SJ2:=ABS(EMA(CLOSE,34)-EMA(CLOSE,55))<C*0.01;SJ3:=CROSS(EMA(CLOSE,13),EMA(CLOSE,55));{13线上穿55线} DRAWTEXT(SJ1 AND SJ2 AND SJ3,HIGH+0.1,'三军聚集'),COLORRED;{ 日月合璧}RY1:=C/OPEN>1.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;{两线相等}DRAWTEXT(RY1 AND RY2 AND RY3 ,LOW*0.996,'日月合璧'),COLORYELLOW; {梅开二度}MK1:=EMA(C,13)>EMA(C,55) AND EMA(C,34)>EMA(C,55);DRAWTEXT(MK,H*1.002,'梅开二度'),COLORADEAEA;{蚂蚁上树}BR1:=COUNT(BETWEEN((C-REF(C,1))/REF(C,1)*100,0,5) ,5)=5; BR2:=ABS ((EMA13-EMA34)+(EMA34-EMA55))/C<0.2;BR3:=C>EMA55 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.999,'蚂蚁上树'),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;} { 均线交换}ER:=BARSLAST(REF(CROSS(EMA55,EMA34),1)) AND CROSS(EMA34,EMA55); DRAWTEXT(ER,EMA34*1.001,'均线交换'),COLOR0099FF;{STICKLINE(ER,H,L,0.5,1),COLOR0099FF;STICKLINE(ER,O,C,6,1),LINETHICK2,COLOR0099FF;{见好就收}GR1:=BARSLAST(BETWEEN("BIAS.BIAS2"(6,13,24),0,5) ); {内容来至小牛炒股公式网}GR2:=EMA13>EMA34 AND EMA34>EMA55 AND EMA13>REF(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;STICKLINE(GR6 AND GR7,H,H+0.09,4,0),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*1.002,'三线推进'),COLORFFC8FF; {STICKLINE(HR2 AND FILTER(HR2,10),H,L,0,1),COLORFFC8FF;STICKLINE(HR2 AND FILTER(HR2,10),O,C,3,1),LINETHICK2,COLORFFC8FF;} {卖出形态}{1.一枝独秀}YZ1:=C/O>1.02 AND H/C>1.02 AND O/L<1.02;{收阳有上影}YZ2:=REF(C,1)>REF(O,1) AND O>EMA(C,13);{昨收阳今大于均线} {本文来至小牛网}YZ:=YZ1 AND YZ2 AND Y>10;DRAWTEXT(YZ,HIGH+0.2,'一枝独秀'),COLORF00FF0;{2.独上高楼}DS1:=OPEN/C>1.04 AND O/REF(C,1)>1.03;{高开收阴}DS2:=V*100/FINANCE(7)>0.08 AND Y>8;{换手高涨幅大}DS:=DS1 AND DS2;DRAWTEXT(DS,HIGH+0.2,'独上高楼'),COLORGREEN;{3.一剑封喉}YJ1:=H/O>1.04;YJ2:=ABS(C-O)<C*0.03;YJ3:=C/EMA(C,13)>1.1;YJ:=YJ1 AND YJ2 AND DS2 AND YJ3 AND YZ2;DRAWTEXT(YJ,HIGH+0.3,'一剑封喉'),COLORRED;{断头铡刀}T:=(MA(C,13)-MA(C,55))/MA(C,13)*100;TT1:=C<MA(C,13) AND OPEN>MA(C,13);TT3:=C<MA(C,34) AND OPEN>MA(C,34);TT5:=C<MA(C,55) AND OPEN>MA(C,55);X28:DRAWTEXT(TT1 AND TT5 AND TT3,LOW*0.99,'断头铡刀'),COLORWHITE; X30:DRAWTEXT(CROSS(EMA55,EMA13),EMA55*0.997,'一剑穿心'), COLOR00FF00;{ X39:DRAWTEXT(CROSS(EMA34,EMA13),EMA34*1.003,'分道扬镳'), COLOR00FF00;X31:DRAWTEXT(CROSS(EMA55,EMA34),EMA55*1.0,'各执一词'), COLOR00FF00;};。

同花顺股神135战法指标公式

同花顺股神135战法指标公式

同花顺股神135战法指标公式ma1:=MA(CLOSE,5);MA2:=MA(CLOSE,13);MA3:=MA(CLOSE,21);MA4:=MA(CLOSE,34);MA5:=MA(CLOSE,55);大盘6日:=(INDEXC-MA(INDEXC,6))/MA(INDEXC,6)*100;大盘12日:=(INDEXC-MA(INDEXC,12))/MA(INDEXC,12)*100;大盘24日:=(INDEXC-MA(INDEXC,24))/MA(INDEXC,24)*100;大盘:(大盘6日 + 大盘12日 + 大盘24日)/3,colorwhite;个股6日:=(C-MA(C,6))/MA(C,6)*100;个股12日:=(C-MA(C,12))/MA(C,12)*100;个股24日:=(C-MA(C,24))/MA(C,24)*100;个股:(个股6日 + 个股12日 + 个股24日)/3,coloryellow;强势出击:IF(大盘>REF(大盘,1) AND CROSS(个股,大盘),10,0 ),NODRAW;STICKLINE(强势出击,0.1,6,3,0),COLORF00FF0;出击:=IF(CROSS(个股,0),5,0);穿大盘:=IF(CROSS(个股,大盘),10,0);JJ:=(HIGH+LOW+CLOSE)/3;QJ0:=VOL/IF(HIGH=LOW,4,HIGH-LOW);QJ1:=QJ0*(MIN(OPEN,CLOSE)-LOW);QJ2:=QJ0*(JJ-MIN(CLOSE,OPEN));QJ3:=QJ0*(HIGH-MAX(OPEN,CLOSE));QJ4:=QJ0*(MAX(CLOSE,OPEN)-JJ);ddx:=IF(HIGH=LOW,4*QJ0,((QJ1+QJ2)-(QJ3+QJ4)))/SUM(VOL,10)*100;DDY:=((QJ2+QJ4)-(QJ1+QJ3))/SUM(VOL,10)*100;DDZ:=((QJ1+QJ2)-(QJ3+QJ4))/((QJ1+QJ2)+(QJ3+QJ4))*100*17;强势YJ:=DDX>2 AND DDZ>100 AND DDY>3 AND VOL/CAPITAL*100>3;强势出击预警:个股24日>0 AND 出击>0 AND 穿大盘>0 AND 强势YJ>0 AND MA2>REF(MA2,1),colorred;五强:=MA1>REF(MA1,1);十三强:=MA2>REF(MA2,1);二十一强:=MA3>REF(MA3,1);三十四强:=MA4>REF(MA4,1),;五十五强:=MA5>REF(MA5,1),;小均强:=五强 AND 十三强,;均强:=十三强 AND 二十一强 AND 三十四强;大均强:=十三强 AND 二十一强 AND 三十四强 AND 五十五强;JJD:=(H+L+C)/3;强势线1:=HHV(MA((((LOW + HIGH) + CLOSE) / 3),8),60),colorred,LINETHICK2;强势线2:=HHV(MA((((LOW + HIGH) + CLOSE) / 3.18),8),20),colorwhite,LINETHICK2;强势线3:=HHV(MA((((LOW + HIGH) + CLOSE) / 3.258),8),10),coloryellow,LINETHICK2;强势线4:=HHV(MA((((LOW + HIGH) + CLOSE) / 3.08),80),13),colorlimagenta,LINETHICK2;开始走强1:=强势线1>REF(强势线1,1);开始走强2:=强势线2>REF(强势线2,1);开始走强3:=强势线3>REF(强势线3,1);开始走强4:=强势线4>REF(强势线3,1);双强1:=开始走强1 AND 开始走强2;双强2:=开始走强2 AND 开始走强3,;双强3:=开始走强2 AND 开始走强3;双强4:=开始走强3 AND 开始走强4;三强:=开始走强1 AND 开始走强2 AND 开始走强3;四强:=开始走强1 AND 开始走强2 AND 开始走强3 AND 开始走强4;强势为王:双强1 OR 双强2 OR 双强3 OR 双强4 OR 三强 OR 四强,,colorlimagenta,LINETHICK2;低位主升:=五强 AND 十三强 AND 五十五强;主升浪:=五强 AND 十三强 AND 二十一强;大主升浪:=十三强 AND 二十一强 AND 五十五强;大主升浪2:=五强 AND 十三强 AND 二十一强 AND 五十五强;总主升:=主升浪 AND 大主升浪 AND 大主升浪2;总主升浪:低位主升 OR 主升浪 OR 大主升浪 OR 大主升浪2 OR 总主升;VAR31:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));主买:=IF(CLOSE>OPEN,VAR31*(HIGH-LOW),IF(CLOSE<OPEN,VAR31*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));大资金YJ主升浪:强势YJ>0 AND 主升浪>0 AND 主买>2700,colorgreen;STICKLINE(大资金YJ主升浪,0.3,4,2,1),colorgreen;N:=34;TYP:=(2*C+H+L)/4;HLNT:=(TYP-LLV(L,N))/(HHV(H,N)-LLV(L,N))*100;HLN:=SMA(HLNT,20,1),colorred;HLNS:=SMA(HLN,5,1),colorgreen;主升买:CROSS(HLN,HLNS) AND HLNS<85,colormagenta,NODRAW;主升阶段卖:=HLN<REF(HLN,1) AND REF(HLN,1)<REF(HLN,2) AND HLN>HLNS;主升卖:=CROSS(HLNS,HLN);卖:=IF(主升卖,20,100),colorgreen,NODRAW;DRAWICON(主升买>0,1.1,1);AAA2:=SUM(IF( CLOSE>REF(CLOSE,1),VOL*C,0),0); AAA3:=SUM(IF( CLOSE<REF(CLOSE,1),VOL*C,0),0); AAA4:=SUM(IF( CLOSE=REF(CLOSE,1),VOL*C,0),0); BB1:=0;净流入万元:=(AAA2-AAA3-0.5*AAA4);PM:=MA(净流入万元,1);PMA:=PM/REF(PM,1)>1;PMB:=REF(PMA,1)<1 AND PMA;同花顺宁俊明135战法指标公式实例图解:。

135均量战法(成交量主图,源码,贴图,选股公式)

135均量战法(成交量主图,源码,贴图,选股公式)

135均量战法(成交量主图,源码,贴图,选股公式)源码:VOLUME:VOL,VOLSTICK;MA5V:MA(V,5),LINETHICK2,COLORYELLOW;MA35V:MA(V,35),LINETHICK2,COLORMAGENTA;MA135V:MA(V,135),LINETHICK2,COLORRED;RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; K:=SMA(RSV,3,1),COLORWHITE,LINETHICK3;D:=SMA(K,3,1),COLORYELLOW,LINETHICK3;J:=3*K-2*D,COLORYELLOW,LINETHICK2;WW:=VOL/REF(VOL,1)>2;GG:=C>O;STICKLINE (WW AND GG,0,VOL,0.01225,0),COLORGREEN; QQ:=C<O;STICKLINE (WW AND QQ,0,VOL*0.95,0.16,0),COLORRED;H60C:=HHV(C,60);除权:=EXIST(C/REF(C,1)<1-0.11,20),NODRAW;HC60跌幅:(H60C-C)/H60C,NODRAW;HC7跌幅:(HHV(C,7)-C)/HHV(C,7),NODRAW;HC60天数:HHVBARS(C,60),NODRAW;A1:=C>O AND V>MA135V AND CROSS(MA5V,MA135V); A1C:COUNT(A1,10),NODRAW;介入1:HC60天数>30 AND NOT(除权) AND ABS(C-O)/O<0.03 AND HC60跌幅>0.28 AND HC7跌幅>0.065 AND A1C=1 AND V<MA5V AND V<MA35V AND J<65,NODRAW;DRAWICON(介入1,MA5V*0.9,25);介入11:HC60天数>35 AND NOT(除权) AND ABS(C-O)/O<0.03 AND HC60跌幅>0.20 AND (HC7跌幅>0.10 OR (HC7跌幅>0.025 AND C>MA(C,20))) AND A1C=1 AND V>MA35V AND V<MA5V AND V<MA135V AND J<65,NODRAW;DRAWICON(介入11,MA5V*0.9,11);A2:=C>O AND V>MA135V AND CROSS(MA5V,MA35V) AND HC60跌幅>0.20;A2C:COUNT(A2,10),NODRAW;介入2:HC60天数>35 AND NOT(除权) AND ABS(C-O)/O<0.03 AND (O+C)/2<H60C*0.80 AND HC7跌幅>0.05 AND ((C-REF(LLV(C,7),1))/REF(LLV(C,7),1)<0.01 OR C>MA(C,20)) AND A2C=1 AND V<MA5V AND V<MA35V AND V<MA135V AND J<65,NODRAW;DRAWICON(介入2,MA5V*1.1,5);介入21:HC60天数>35 AND NOT(除权) AND HC60跌幅>0.35 AND ABS(C-O)/O<0.03 AND HC7跌幅>0.03 AND ((C-REF(LLV(C,7),1))/REF(LLV(C,7),1)<0.015) AND A2C=1 AND V<MA5V AND V<MA135V AND J<65,NODRAW;DRAWICON(介入21,MA5V*1.1,1);介入3:HC60天数>35 AND NOT(除权) AND ABS(C-O)/O<0.03 AND HC60跌幅>0.20 AND HC7跌幅>0.06 AND (A1C=1 ORA2C=1) AND V<MA5V AND MA5V<MA35V AND MA35V<MA135V AND J<65,NODRAW;DRAWICON(介入3,MA5V*1.3,7);介入4:HC60天数>35 AND NOT(除权) AND ABS(C-O)/O<0.03 AND (O+C)/2<HHV(C,13)*0.85 AND HHV(C,13)<H60C*0.85 AND A1C=1 AND V<MA5V AND MA5V<MA35V AND MA5V<MA135V AND MA5V<REF(MA5V,1) AND J<65,NODRAW;DRAWICON(介入4,MA5V*1.4,9);选股公式:VOLUME:=VOL;MA5V:=MA(V,5);MA35V:=MA(V,35);MA135V:=MA(V,135);RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;WW:=VOL/REF(VOL,1)>2;GG:=C>O;QQ:=C<O;H60C:=HHV(C,60);除权:=EXIST(C/REF(C,1)<1-0.11,20);HC60跌幅:=(H60C-C)/H60C;HC7跌幅:=(HHV(C,7)-C)/HHV(C,7);HC60天数:=HHVBARS(C,60);A1:=C>O AND V>MA135V AND CROSS(MA5V,MA135V);A1C:=COUNT(A1,10);介入1:=HC60天数>30 AND NOT(除权) AND ABS(C-O)/O<0.03 AND HC60跌幅>0.28 AND HC7跌幅>0.065 AND A1C=1 AND V<MA5V AND V<MA35V AND J<65;介入11:=HC60天数>35 AND NOT(除权) AND ABS(C-O)/O<0.03 AND HC60跌幅>0.20 AND (HC7跌幅>0.10 OR (HC7跌幅>0.025 AND C>MA(C,20))) AND A1C=1 AND V>MA35V AND V<MA5V AND V<MA135V AND J<65;A2:=C>O AND V>MA135V AND CROSS(MA5V,MA35V) AND HC60跌幅>0.20;A2C:=COUNT(A2,10);介入2:=HC60天数>35 AND NOT(除权) AND ABS(C-O)/O<0.03 AND (O+C)/2<H60C*0.80 AND HC7跌幅>0.05 AND ((C-REF(LLV(C,7),1))/REF(LLV(C,7),1)<0.01 OR C>MA(C,20)) AND A2C=1 AND V<MA5V AND V<MA35V AND V<MA135V AND J<65;介入21:=HC60天数>35 AND NOT(除权) AND HC60跌幅>0.35 AND ABS(C-O)/O<0.03 AND HC7跌幅>0.03 AND ((C-REF(LLV(C,7),1))/REF(LLV(C,7),1)<0.015) AND A2C=1 AND V<MA5V AND V<MA135V AND J<65;介入3:=HC60天数>35 AND NOT(除权) AND ABS(C-O)/O<0.03 AND HC60跌幅>0.20 AND HC7跌幅>0.06 AND (A1C=1 OR A2C=1) AND V<MA5V AND MA5V<MA35V AND MA35V<MA135V AND J<65;介入4:=HC60天数>35 AND NOT(除权) AND ABS(C-O)/O<0.03 AND (O+C)/2<HHV(C,13)*0.85 AND HHV(C,13)<H60C*0.85 AND A1C=1 AND V<MA5V AND MA5V<MA35V AND MA5V<MA135V AND MA5V<REF(MA5V,1) AND J<65;{ 以上公式整体完毕,选股共介入1 ,介入11,介入2,介入21,介入3,介入4,几个条件一:如果你需要用一个条件选股比如介入11选股在下面直接打 '介入11;' 单引号不需要,运行就是选介入11成立的股票。

通达信公式指标135战法主图指标公式

通达信公式指标135战法主图指标公式

通达信135战法主图指标公式MA55:MA(C,55),COLORRED,LINETHICK1;MA34:MA(C,34),COLORFFFFFF,LINETHICK1;MA13:MA(C,13),COLORFF00FF,LINETHICK2;HH:=HHV(H,321);DRAWICON(CROSS(MA13,MA34) AND C<HH*0.6,MA13,25); DRAWICON(CROSS(MA34,MA55) AND C<HH*0.6,MA55,23);135均线战法构成口诀一三五线有文章,时空坐标能捉庄。

格兰威尔八法则,费波纳奇内中藏。

短期均线是十三,时间之窗不简单。

判断股票强弱势,十三均线秤一杆。

倘若股价穿十三,并沿该线稳升攀。

上升空间将极广,倘若不能则有限。

股价经过大涨后,十三走软现彷徨。

意味行情将结束,时刻准备来空仓。

倘若股价破十三,坚决出局全清仓。

中期均线三十四,承上启下别小看。

三四上穿五十五,均线互换才有样。

多头排列完成后,正式行情才开展。

长期均线五十五,中长趋势分界桩。

界定牛熊分水岭,江恩周期时间窗。

股价站上五十五,才有可能往上涨。

股价启动临界点,一三五线早周详。

股价处在何位置,时空坐标来度量。

不同类型之股票,形态结果却一样。

凡能大涨之股票,涨前形态类似像。

股价上涨之规律,一三五线破迷盲。

不贪不躁是胜道,按图索骥不用慌。

强做弱休常空仓,守株待兔也风光。

(135:即13日均线、34日均线、55日均线组合系统的简称)股。

135均线主图+选股指标+详细用法

135均线主图+选股指标+详细用法

通达信135均线主图+选股指标+详细用法TDX135主图EMA13:EMA(C,13),COLORRED,LINETHICK2;EMA34:EMA(C,34),COLORYELLOW;EMA55:EMA(C,55),COLORFF00FF;EMA120:EMA(C,120),COLORFFCC66;AR1:=EMA55>EMA34 AND EMA34>EMA13;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,'红杏出墙'),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<0.2;BR3:=C>EMA55 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) ORREF(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)*100>0.5;CR2:=V>MA(V,5)*0.6;CR3:=COUNT(CROSS(EMA13,EMA55),3)=1;CR4:=ABS(EMA34-EMA55)/EMA55<0.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:=EMA13>EMA34 AND EMA34<EMA55;DR2:=BARSLAST(CROSS(C,EMA55) );DR3:=H=HHV(H,DR2);DR4:=BARSLAST(DR3);DR5:=COUNT(O>C AND C<REF(C,1) AND C>EMA55 ANDBETWEEN((C-EMA55)/EMA55,0,0.02),DR4)=1;DR6:=C>REF(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,1),COLORWHITE;STICKLINE(FR,O,C,3,1),LINETHICK2,COLORWHITE;GR1:=BARSLAST(BETWEEN("BIAS.BIAS2"(6,13,24),0,5) );GR2:=EMA13>EMA34 AND EMA34>EMA55 AND EMA13>REF(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; {STICKLINE(GR6 AND GR7,H,H+0.09,4,0),COLOR00FF00;}HR2:=EMA13>=REF(EMA13,3) AND EMA34>=REF(EMA34,1) ANDEMA55>=REF(EMA55,1) AND CROSS(C,EMA13) AND CROSS(C,EMA34) AND CROSS(C,EMA55);DRAWTEXT(HR2 AND FILTER(HR2,10),L-0.09,'三线推进'),COLORFFC8FF; STICKLINE(HR2 AND FILTER(HR2,10),H,L,0,1),COLORFFC8FF;STICKLINE(HR2 AND FILTER(HR2,10),O,C,3,1),LINETHICK2,COLORFFC8FF; {股海网提供:}以下是全部选股公式部分,请根据需要,选择使用!{红杏出墙选股}EMA13:=EMA(C,13);EMA34:=EMA(C,34);EMA55:=EMA(C,55);AR1:=EMA55>EMA34 AND EMA34>EMA13;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;红杏出墙:AR5 AND FILTER(AR5,10);{蚂蚁上树选股}EMA13:=EMA(C,13);EMA34:=EMA(C,34);EMA55:=EMA(C,55);BR1:=COUNT(BETWEEN((C-REF(C,1))/REF(C,1)*100,0,5) ,5)=5;BR2:=ABS((EMA13-EMA34)+(EMA34-EMA55))/C<0.2;BR3:=C>EMA55 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));蚂蚁上树:BR1 AND BR2 AND BR3;{红衣侠女选股}EMA13:=EMA(C,13);EMA34:=EMA(C,34);EMA55:=EMA(C,55);EMA120:=EMA(C,120);CR1:=(C-REF(C,1))/REF(C,1)*100>0.5;CR2:=V>MA(V,5)*0.6;CR3:=COUNT(CROSS(EMA13,EMA55),3)=1;CR4:=ABS(EMA34-EMA55)/EMA55<0.03;CR5:=EMA55<=EMA120 AND EMA55>=REF(EMA55,1);红衣侠女:FILTER(CR1 AND CR2 AND CR3 AND CR4 AND CR5,2);{黑客点击选股}EMA13:=EMA(C,13);EMA34:=EMA(C,34);EMA55:=EMA(C,55);DR1:=EMA13>EMA34 AND EMA34<EMA55;DR2:=BARSLAST(CROSS(C,EMA55) );DR3:=H=HHV(H,DR2);DR4:=BARSLAST(DR3);DR5:=COUNT(O>C AND C<REF(C,1) AND C>EMA55 ANDBETWEEN((C-EMA55)/EMA55,0,0.02),DR4)=1;DR6:=C>REF(C,1) ;DR7:=DR1 AND DR5 AND DR6 ;黑客点击:FILTER(DR7,10) AND DR7;{均线互换选股}EMA34:=EMA(C,34);EMA55:=EMA(C,55);均线互换:BARSLAST(REF(CROSS(EMA55,EMA34),1)) ANDCROSS(EMA34,EMA55);{梅开二度选股}EMA13:=EMA(C,13);EMA34:=EMA(C,34);梅开二度:BARSLAST(REF(CROSS(EMA34,EMA13),1)) ANDCROSS(EMA13,EMA34);{三线推进选股}EMA13:=EMA(C,13);EMA34:=EMA(C,34);EMA55:=EMA(C,55);HR2:=EMA13>=REF(EMA13,3) AND EMA34>=REF(EMA34,1) ANDEMA55>=REF(EMA55,1) AND CROSS(C,EMA13) ANDCROSS(C,EMA34) AND CROSS(C,EMA55);三线推进:(HR2 AND FILTER(HR2,10));135均线战法简要介绍如下:135均线即13日均线、34日均线、55日均线组合系统的简称。

通达信最好的指标公式135均线B炒股票K线系统主图公式源码

通达信最好的指标公式135均线B炒股票K线系统主图公式源码

通达信最好的指标公式135均线B炒股票K线系统主图公式源码MA11:MA(CLOSE,10),COLORRED;MA33:MA(CLOSE,30),COLORYELLOW;MA55:MA(CLOSE,55),COLORBLUE;年线:MA(CLOSE,250),COLORGREEN;Y:=(MA(C,11)-MA(C,55))/MA(C,11)*100;{135均线战法}YY1:=C>MA(C,11) AND OPEN<MA(C,11);{一阳三线}YY3:=C>MA(C,33) AND OPEN<MA(C,33);YY5:=C>MA(C,55) AND OPEN<MA(C,55);DRAWTEXT(YY1 AND YY5 AND YY3,LOW-0.1,'一阳三线'),COLORRED;SJ1:=ABS(MA(CLOSE,11)-MA(CLOSE,33))<C*0.01;{11线33线55线接近}SJ2:=ABS(MA(CLOSE,33)-MA(CLOSE,55))<C*0.01;SJ3:=CROSS(MA(CLOSE,11),MA(CLOSE,55));{11线上穿55线}DRAWTEXT(SJ1 AND SJ2 AND SJ3,HIGH+0.1,'三军集合'),COLORRED;RY1:=C/OPEN>1.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;{两线相等}DRAWTEXT(RY1 AND RY2 AND RY3 ,LOW,'日月合璧'),COLORYELLOW;HK1:=CROSS(MA(C,11),MA(C,55));{11线上穿55线}HK2:=C<O;{当日收阴}HK3:=ABS(L-MA(C,11))<C*0.03 OR ABS(C-MA(C,11))<C*0.04;{收盘价或最低价在11线}HK:=HK1 AND HK2 AND HK3;DRAWTEXT(HK,LOW,'黑客点击'),COLORGREEN;JG1:=ABS(MA(C,11)-MA(C,33))<C*0.02 AND ABS(MA(C,11)-MA(C,55))<C*0.02;JG2:=O>MA(C,11) OR O=MA(C,11);JG3:=C/OPEN>1.03 ; {阳线3%}JG:=JG1 AND JG2 AND JG3;DRAWTEXT(JG,LOW-0.2,'揭竿而起'),COLORYELLOW;HY1:=CROSS(MA(C,11),MA(C,55));{11线上穿55线}HY2:=OPEN<C AND C/OPEN>1.02; {阳线3%}HY3:=ABS(OPEN-MA(C,11))<C*0.05;{开盘在11线附近}HY:=HY1 AND HY2 AND HY3;DRAWTEXT(HY,LOW,'红衣侠女'),COLORRED;JW1:=C<OPEN AND REF(C,1)<REF(OPEN,1);JW2:=OPEN<REF(C,1) AND C>REF(L,1);JW3:=O<MA(C,11) AND O<MA(C,33) AND O<MA(C,55);JW:=JW1 AND JW2 AND JW3;DRAWTEXT(JW,LOW-0.2,'金屋藏娇'),COLORYELLOW;TS1:=CROSS(MA(C,11),MA(C,33));{11线上穿33线}TS2:=MA(C,11)<MA(C,55);TS:=TS1 AND TS2;DRAWTEXT(TS,LOW-0.2,'投石问路'),COLORF00FF0;MK1:=MA(C,11)>MA(C,55) AND MA(C,33)>MA(C,55);MK:=TS1 AND MK1;DRAWTEXT(MK,H+0.4,'梅开二度'),COLORF00FF0;YZ1:=C/O>1.02 AND H/C>1.02 AND O/L<1.02;{收阳有上影} YZ2:=REF(C,1)>REF(O,1) AND O>MA(C,11);{昨收阳今大于均线}YZ:=YZ1 AND YZ2 AND Y>10;DRAWTEXT(YZ,HIGH+0.2,'一枝独秀'),COLORF00FF0;DS1:=OPEN/C>1.04 AND O/REF(C,1)>1.03;{高开收阴}DS2:=V*100/FINANCE(7)>0.08 AND Y>8;{换手高涨幅大}DS:=DS1 AND DS2;DRAWTEXT(DS,HIGH+0.2,'独上高楼'),COLORGREEN;YJ1:=H/O>1.04;YJ2:=ABS(C-O)<C*0.03;YJ3:=C/MA(C,11)>1.1;YJ:=YJ1 AND YJ2 AND DS2 AND YJ3 AND YZ2;DRAWTEXT(YJ,HIGH+0.3,'一剑封喉'),COLORRED;。

135战法主图源码及选股公式

135战法主图源码及选股公式

135战法主图源码及选股公式EMA13:EMA(C,13),COLORRED,LINETHICK2;EMA34:EMA(C,34),COLORYELLOW;EMA55:EMA(C,55),COLORFF00FF;EMA120:EMA(C,89),COLORFFCC66;AR1:=EMA55>EMA34 AND EMA34>EMA13;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,'红杏出墙'),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<0.2;BR3:=C>EMA55 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)*100>0.5;CR2:=V>MA(V,5)*0.6;CR3:=COUNT(CROSS(EMA13,EMA55),3)=1;CR4:=ABS(EMA34-EMA55)/EMA55<0.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:=EMA13>EMA34 AND EMA34<EMA55;DR2:=BARSLAST(CROSS(C,EMA55) );DR3:=H=HHV(H,DR2);DR4:=BARSLAST(DR3);DR5:=COUNT(O>C AND C<REF(C,1) AND C>EMA55 AND BETWEEN((C-EMA55)/EMA55,0,0.02),DR4)=1;DR6:=C>REF(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,1),COLORWHITE;STICKLINE(FR,O,C,3,1),LINETHICK2,COLORWHITE;GR1:=BARSLAST(BETWEEN("BIAS.BIAS2"(6,13,24),0,5) );GR2:=EMA13>EMA34 AND EMA34>EMA55 AND EMA13>REF(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;{STICKLINE(GR6 AND GR7,H,H+0.09,4,0),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),L-0.09,'三线推进'),COLORFFC8FF;STICKLINE(HR2 AND FILTER(HR2,10),H,L,0,1),COLORFFC8FF;STICKLINE(HR2 AND FILTER(HR2,10),O,C,3,1),LINETHICK2,COLORFFC8FF;以下是全部选股公式部分,请根据需要,选择使用!{红杏出墙选股}EMA13:=EMA(C,13);EMA34:=EMA(C,34);EMA55:=EMA(C,55);AR1:=EMA55>EMA34 AND EMA34>EMA13;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;红杏出墙:AR5 AND FILTER(AR5,10);{蚂蚁上树选股}EMA13:=EMA(C,13);EMA34:=EMA(C,34);EMA55:=EMA(C,55);BR1:=COUNT(BETWEEN((C-REF(C,1))/REF(C,1)*100,0,5) ,5)=5;BR2:=ABS((EMA13-EMA34)+(EMA34-EMA55))/C<0.2;BR3:=C>EMA55 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));蚂蚁上树:BR1 AND BR2 AND BR3;{红衣侠女选股}EMA13:=EMA(C,13);EMA34:=EMA(C,34);EMA55:=EMA(C,55);EMA120:=EMA(C,120);CR1:=(C-REF(C,1))/REF(C,1)*100>0.5;CR2:=V>MA(V,5)*0.6;CR3:=COUNT(CROSS(EMA13,EMA55),3)=1;CR4:=ABS(EMA34-EMA55)/EMA55<0.03;CR5:=EMA55<=EMA120 AND EMA55>=REF(EMA55,1);红衣侠女:FILTER(CR1 AND CR2 AND CR3 AND CR4 AND CR5,2);{黑客点击选股}EMA13:=EMA(C,13);EMA34:=EMA(C,34);EMA55:=EMA(C,55);DR1:=EMA13>EMA34 AND EMA34<EMA55;DR2:=BARSLAST(CROSS(C,EMA55) );DR3:=H=HHV(H,DR2);DR4:=BARSLAST(DR3);DR5:=COUNT(O>C AND C<REF(C,1) AND C>EMA55 AND BETWEEN((C-EMA55)/EMA55,0,0.02),DR4)=1;DR6:=C>REF(C,1) ;DR7:=DR1 AND DR5 AND DR6 ;黑客点击:FILTER(DR7,10) AND DR7;{均线互换选股}EMA34:=EMA(C,34);EMA55:=EMA(C,55);均线互换:BARSLAST(REF(CROSS(EMA55,EMA34),1)) AND CROSS(EMA34,EMA55);{梅开二度选股}EMA13:=EMA(C,13);EMA34:=EMA(C,34);梅开二度:BARSLAST(REF(CROSS(EMA34,EMA13),1)) AND CROSS(EMA13,EMA34);{三线推进选股}EMA13:=EMA(C,13);EMA34:=EMA(C,34);EMA55:=EMA(C,55);HR2:=EMA13>=REF(EMA13,3) AND EMA34>=REF(EMA34,1) AND EMA55>=REF(EMA55,1) AND CROSS(C,EMA13) ANDCROSS(C,EMA34) AND CROSS(C,EMA55);三线推进:(HR2 AND FILTER(HR2,10));。

股天乐讲135战法图

股天乐讲135战法图

股天乐讲135战法图01红杏出墙
1.1
02蚂蚁上树
2.2
2.4 03黑客点击
3.2
3.4
3.6 04红衣侠女
4.2
05红杏出墙
5.1.1
5.2.1
5.3.1
5.4 06海底捞月
6.1.2
6.2.2
07三线推理
7.1.1
7.2.1
7.3.1
08浪子回头
8.1 09梅开二度
10一枝独秀
10.1
11独上高楼
11.1
11.3
12见好就收
12.1
股天乐讲技术分析01看透技术分析
成功交易四阶段
核心要素1
核心要素2
技术分析本质1
技术分析本质2
投资与投机
02K线及K线组合形态导学
600151K线
K线基础
600796K线组合1 600796K线组合2
K线分类图K线组合形态
03均线及均线系统导学
三种趋势1
三种趋势2
三种趋势3
上升三段与下跌三段1
上升三段与下跌三段2 04形态及形态欺骗导学
底部形态
顶部形态
实战形态2
实战形态4
整理形态1
整理形态2 05量能及危险放量导学
放量离场
量能分类1
06实战盘口导学
盘口
实战盘口2。

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

135战法主图源码及选股公式EMA13:EMA(C,13),COLORRED,LINETHICK2;EMA34:EMA(C,34),COLORYELLOW;EMA55:EMA(C,55),COLORFF00FF;EMA120:EMA(C,89),COLORFFCC66;AR1:=EMA55>EMA34 AND EMA34>EMA13;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,'红杏出墙'),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<0.2;BR3:=C>EMA55 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)*100>0.5;CR2:=V>MA(V,5)*0.6;CR3:=COUNT(CROSS(EMA13,EMA55),3)=1;CR4:=ABS(EMA34-EMA55)/EMA55<0.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:=EMA13>EMA34 AND EMA34<EMA55;DR2:=BARSLAST(CROSS(C,EMA55) );DR3:=H=HHV(H,DR2);DR4:=BARSLAST(DR3);DR5:=COUNT(O>C AND C<REF(C,1) AND C>EMA55 AND BETWEEN((C-EMA55)/EMA55,0,0.02),DR4)=1;DR6:=C>REF(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,1),COLORWHITE;STICKLINE(FR,O,C,3,1),LINETHICK2,COLORWHITE;GR1:=BARSLAST(BETWEEN("BIAS.BIAS2"(6,13,24),0,5) );GR2:=EMA13>EMA34 AND EMA34>EMA55 AND EMA13>REF(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;{STICKLINE(GR6 AND GR7,H,H+0.09,4,0),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),L-0.09,'三线推进'),COLORFFC8FF;STICKLINE(HR2 AND FILTER(HR2,10),H,L,0,1),COLORFFC8FF;STICKLINE(HR2 AND FILTER(HR2,10),O,C,3,1),LINETHICK2,COLORFFC8FF;以下是全部选股公式部分,请根据需要,选择使用!{红杏出墙选股}EMA13:=EMA(C,13);EMA34:=EMA(C,34);EMA55:=EMA(C,55);AR1:=EMA55>EMA34 AND EMA34>EMA13;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;红杏出墙:AR5 AND FILTER(AR5,10);{蚂蚁上树选股}EMA13:=EMA(C,13);EMA34:=EMA(C,34);EMA55:=EMA(C,55);BR1:=COUNT(BETWEEN((C-REF(C,1))/REF(C,1)*100,0,5) ,5)=5;BR2:=ABS((EMA13-EMA34)+(EMA34-EMA55))/C<0.2;BR3:=C>EMA55 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));蚂蚁上树:BR1 AND BR2 AND BR3;{红衣侠女选股}EMA13:=EMA(C,13);EMA34:=EMA(C,34);EMA55:=EMA(C,55);EMA120:=EMA(C,120);CR1:=(C-REF(C,1))/REF(C,1)*100>0.5;CR2:=V>MA(V,5)*0.6;CR3:=COUNT(CROSS(EMA13,EMA55),3)=1;CR4:=ABS(EMA34-EMA55)/EMA55<0.03;CR5:=EMA55<=EMA120 AND EMA55>=REF(EMA55,1);红衣侠女:FILTER(CR1 AND CR2 AND CR3 AND CR4 AND CR5,2);{黑客点击选股}EMA13:=EMA(C,13);EMA34:=EMA(C,34);EMA55:=EMA(C,55);DR1:=EMA13>EMA34 AND EMA34<EMA55;DR2:=BARSLAST(CROSS(C,EMA55) );DR3:=H=HHV(H,DR2);DR4:=BARSLAST(DR3);DR5:=COUNT(O>C AND C<REF(C,1) AND C>EMA55 AND BETWEEN((C-EMA55)/EMA55,0,0.02),DR4)=1;DR6:=C>REF(C,1) ;DR7:=DR1 AND DR5 AND DR6 ;黑客点击:FILTER(DR7,10) AND DR7;{均线互换选股}EMA34:=EMA(C,34);EMA55:=EMA(C,55);均线互换:BARSLAST(REF(CROSS(EMA55,EMA34),1)) AND CROSS(EMA34,EMA55);{梅开二度选股}EMA13:=EMA(C,13);EMA34:=EMA(C,34);梅开二度:BARSLAST(REF(CROSS(EMA34,EMA13),1)) AND CROSS(EMA13,EMA34);{三线推进选股}EMA13:=EMA(C,13);EMA34:=EMA(C,34);EMA55:=EMA(C,55);HR2:=EMA13>=REF(EMA13,3) AND EMA34>=REF(EMA34,1) AND EMA55>=REF(EMA55,1) AND CROSS(C,EMA13) ANDCROSS(C,EMA34) AND CROSS(C,EMA55);三线推进:(HR2 AND FILTER(HR2,10));。

相关文档
最新文档