指标先容: ! {( Q0 o1 [6 u t& G% T
+ ~+ z& M3 F, |3 _# z& K( t9 j% G一三五战法指标,符合各种形态时皆有信号提示,在使用这个指标之前,可以上网先查一下该战法的具体阐明。 ) m$ e, V1 k& S: `
9 I4 J/ d7 |/ Q2 c
公式源码:
: M' h. E R; w8 N: T
7 U6 e5 w, k# NEMA13:EMA(C,13),colorred,LINETHICK2;
8 y. q9 X2 D+ P) o( V7 U5 Y2 IEMA34:EMA(C,34),coloryellow;
+ s4 X0 U/ X4 `) z9 o+ SEMA55:EMA(C,55),COLORFF00FF;0 q; X" c% C0 m4 a3 b |0 b. v6 V
EMA120:EMA(C,89),COLORFFCC66;1 n- S1 g0 I3 ?9 O' P* d# ?
AR1:=EMA55>EMA34 AND EMA34>EMA13;
. y/ I2 d( t; R+ V. t7 `AR2:=BARSLAST((C-EMA13)/EMA13*100=REF(EMA13,2); }8 Y& R2 E. h0 o
AR4:=COUNT(CROSS(C,EMA13),AR2)=1;
0 h0 u7 P9 ]: p( {AR5:=AR1 AND AR2 AND AR3 AND AR4;& ?/ r8 _6 b# y Y9 L) K$ V/ \
AR6:=AR5 AND FILTER(AR5,10);$ j4 a/ W% N O: I/ Q' v4 {
DRAWTEXT(AR6,L-0.09,'不安于室'),coloryellow;
5 n) w# Q2 f/ w& e! u) L/ S' d' _{STICKLINE(AR6,H,L,0.5,1),coloryellow;
/ F) b- w) C* X. B r( {( DSTICKLINE(AR6,O,C,6,1),LINETHICK2,coloryellow;}) X/ h8 t6 j5 \! Z6 I! \
BR1:=COUNT(BETWEEN((C-REF(C,1))/REF(C,1)*100,0,5) ,5)=5;+ [, O M. d* y3 p. I' |7 W
BR2:=ABS((EMA13-EMA34)+(EMA34-EMA55))/CEMA55 AND (REF(C,1) BR4:=BR1 AND BR2 AND BR3;; j4 E O% U+ O/ i# }
DRAWTEXT(BR4 AND FILTER(BR4,10),L-0.09,'蚂蚁上树'),COLOR00C5FF;
$ H8 u" H& S! k9 P) Y" U{STICKLINE(BR4 AND FILTER(BR4,10),H,L,0.5,1),COLOR00C5FF;
, R. f' j9 G8 ]6 ]STICKLINE(BR4 AND FILTER(BR4,10),O,C,6,1),LINETHICK2,COLOR00C5FF;}
( ~, e- e, u; m$ O% [$ m* dCR1:=(C-REF(C,1))/REF(C,1)*100>0.5;
6 K O W @( g8 X. {CR2:=V>MA(V,5)*0.6;% Z+ @# w$ j* |- N) n! \
CR3:=COUNT(CROSS(EMA13,EMA55),3)=1;
3 ^/ N& c8 s% L# _7 \% X5 L9 \CR4:=ABS(EMA34-EMA55)/EMA55EMA34 AND EMA34 DR2:=BARSLAST(CROSS(C,EMA55) ); ^4 f, y# T$ r( l4 y: V
DR3:=H=HHV(H,DR2);
# k+ H8 m! `: L* Q) ]2 k: kDR4:=BARSLAST(DR3);
" l6 r/ V# x0 G2 U' xDR5:=COUNT(O>C AND CEMA55 AND BETWEEN((C-EMA55)/EMA55,0,0.02),DR4)=1;* I3 Y9 l3 b% w: o6 h$ T
DR6:=C>REF(C,1) ;
6 `5 N8 O( i) K& w, Q1 l/ ODR7:= DR1 AND DR5 AND DR6 ;
1 m; ?$ Y$ {' j0 r0 N/ wDR8:=DR7 AND FILTER(DR7 ,10);
9 g8 d* b; a/ q& t& u( @DRAWTEXT(DR8,L-0.09,'黑客点击'),COLORD6BA63;# u) m* ?3 x; d, ]
{STICKLINE(DR8,H,L,0.5,1),COLORD6BA63;
7 i" i2 [% }+ xSTICKLINE(DR8,O,C,6,1),LINETHICK2,COLORD6BA63;}3 u; \, P# m0 A2 P* r
ER:=BARSLAST(REF(CROSS(EMA55,EMA34),1)) AND CROSS(EMA34,EMA55); l! Y M/ U/ [* t2 l0 J) T9 o
DRAWTEXT(ER,L-0.09,'均线交换'),COLOR0099FF;
. w5 Q; C6 c8 k. i3 q{STICKLINE(ER,H,L,0.5,1),COLOR0099FF;2 ]( f0 [% b* T: ?0 ~
STICKLINE(ER,O,C,6,1),LINETHICK2,COLOR0099FF;}" ]( c& A) J8 g/ M/ e
FR:=BARSLAST(REF(CROSS(EMA34,EMA13),1)) AND CROSS(EMA13,EMA34);
9 u h+ n [ X# zDRAWTEXT(FR,L-0.09,'梅开二度'),colorwhite;5 z3 Y5 b* U% n
STICKLINE(FR,H,L,0,1),colorwhite;
0 @1 T4 `. j* k2 d1 ` l+ f/ WSTICKLINE(FR,O,C,3,1),LINETHICK2,colorwhite;
9 d$ w' m5 r3 w7 J$ B( yGR1:=BARSLAST(BETWEEN("BIAS.BIAS2"(6,13,24),0,5) );
, a5 Q, i% I" W3 d6 ?GR2:=EMA13>EMA34 AND EMA34>EMA55 AND EMA13>REF(EMA13,1);
8 c, {# Y) ~1 |( p) b/ Y2 qGR3:=COUNT("BIAS.BIAS2"(6,13,24)>10 AND H=HHV(H,GR1),GR1);
, t+ d/ k2 d% i3 ^" @GR4:=H=HHV(H,GR1);- F) o m: W- c- A; {! E
GR5:="MACD.MACD"(12,26,9) GR6:=GR2 AND GR3 AND GR4;
( {, q6 V3 ?; aGR7:=GR2 AND GR3 AND GR4 AND GR5;
$ q p7 x1 v1 G6 D% B/ c9 EDRAWTEXT(GR6 AND GR7,H+0.13,'见好就收!'),COLOR00FF00;6 j2 f' b8 t& c7 K* V3 l7 t, }
{STICKLINE(GR6 AND GR7,H,H+0.09,4,0),COLOR00FF00;}: V' K( W# [5 X" q, J
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);" J: f5 X* _- c' u% l
DRAWTEXT(HR2 AND FILTER(HR2,10),L-0.09,'三线推进'),COLORFFC8FF;
& B& ]2 ]. f1 JSTICKLINE(HR2 AND FILTER(HR2,10),H,L,0,1),COLORFFC8FF;
/ d! X+ F0 J7 @# A8 ?/ u- PSTICKLINE(HR2 AND FILTER(HR2,10),O,C,3,1),LINETHICK2,COLORFFC8FF; |