最新通达信135战法主图指标(经实战检验)揭竿起 红黑客 梅二开

2015-12-10 21:47:00来源:本站整理浏览:252

最新通达信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;




 

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式