指标先容:
! n) A q" d8 B6 ?3 s1 I2 ? a3 l7 b* K7 B K' M% P. t
一三五战法指标,符合各种形态时皆有信号提示,在利用这个指标之前,可以上网先查一下该战法的具体分析。
4 g: d5 ?- ?! |" @3 h" u; k) Y$ E% j9 J( [4 y, Q( A
公式源码:
; B$ b: b# R# a4 S# J- b# H) ~1 t6 J6 n0 T6 W; g: ` U$ {% \9 D
EMA13:EMA(C,13),colorred,LINETHICK2;
# I* b) `6 \0 O3 k! ?. @6 _7 PEMA34:EMA(C,34),coloryellow;2 u. n a9 b- t, l) [/ x+ j' b
EMA55:EMA(C,55),COLORFF00FF;
* `! ^8 s2 S. S2 Q+ T. {5 jEMA120:EMA(C,89),COLORFFCC66;
9 `; _7 W+ L7 G1 F& J& }AR1:=EMA55>EMA34 AND EMA34>EMA13;
3 ], b. b1 s8 @; R, a5 JAR2:=BARSLAST((C-EMA13)/EMA13*100=REF(EMA13,2);8 R, C# D! L4 L& l7 c! l
AR4:=COUNT(CROSS(C,EMA13),AR2)=1;1 j: n3 P" N+ `/ C. @$ x
AR5:=AR1 AND AR2 AND AR3 AND AR4;
, R& E! i8 a; M+ M7 ]' pAR6:=AR5 AND FILTER(AR5,10);
; |3 \' l3 `4 gDRAWTEXT(AR6,L-0.09,'不安于室'),coloryellow;
. {: K6 u0 T! Y- \: E{STICKLINE(AR6,H,L,0.5,1),coloryellow;
* s- L0 X+ q2 ESTICKLINE(AR6,O,C,6,1),LINETHICK2,coloryellow;}' b9 Z" J+ D9 |1 D1 q
BR1:=COUNT(BETWEEN((C-REF(C,1))/REF(C,1)*100,0,5) ,5)=5;
2 n6 h5 v8 K6 s; g9 aBR2:=ABS((EMA13-EMA34)+(EMA34-EMA55))/CEMA55 AND (REF(C,1) BR4:=BR1 AND BR2 AND BR3;
+ R+ i6 F# M/ SDRAWTEXT(BR4 AND FILTER(BR4,10),L-0.09,'蚂蚁上树'),COLOR00C5FF;
" ?# H0 W) Q' R" r" `$ |1 |" k# @' g1 G: z{STICKLINE(BR4 AND FILTER(BR4,10),H,L,0.5,1),COLOR00C5FF; r* H' A9 O3 w5 y! t
STICKLINE(BR4 AND FILTER(BR4,10),O,C,6,1),LINETHICK2,COLOR00C5FF;}! ^0 T1 S" }1 q0 w6 ?5 L
CR1:=(C-REF(C,1))/REF(C,1)*100>0.5;9 d8 B. R) N/ ?& n# D
CR2:=V>MA(V,5)*0.6;+ X9 u, x) @* x/ [9 z. n3 p
CR3:=COUNT(CROSS(EMA13,EMA55),3)=1;
, V3 H. r/ g I+ NCR4:=ABS(EMA34-EMA55)/EMA55EMA34 AND EMA34 DR2:=BARSLAST(CROSS(C,EMA55) );0 y7 L; i2 N4 T6 S5 K3 |+ R" `5 n
DR3:=H=HHV(H,DR2);
1 I% E2 n. e9 p/ j! t: B6 E2 i+ SDR4:=BARSLAST(DR3);7 l7 E) w5 W. T" h: R+ D- G
DR5:=COUNT(O>C AND CEMA55 AND BETWEEN((C-EMA55)/EMA55,0,0.02),DR4)=1;, w2 O& N& z* R3 ~
DR6:=C>REF(C,1) ;. q7 m2 Z+ M @2 [- r
DR7:= DR1 AND DR5 AND DR6 ;
9 |# @, h5 {6 h* I7 hDR8:=DR7 AND FILTER(DR7 ,10);
& o, D/ S3 I- z' d2 v( E+ K0 wDRAWTEXT(DR8,L-0.09,'黑客点击'),COLORD6BA63;3 J R f/ X$ c7 c
{STICKLINE(DR8,H,L,0.5,1),COLORD6BA63;) N. _6 E) K. {! u% B5 T) X
STICKLINE(DR8,O,C,6,1),LINETHICK2,COLORD6BA63;}
$ N: I3 f2 o: D# ~# N$ cER:=BARSLAST(REF(CROSS(EMA55,EMA34),1)) AND CROSS(EMA34,EMA55);
# n- S" t4 I1 V* h% f CDRAWTEXT(ER,L-0.09,'均线交换'),COLOR0099FF;( @( c6 P* K* O6 T( f; [) v% `. h
{STICKLINE(ER,H,L,0.5,1),COLOR0099FF;
% p N/ p/ S) x3 k/ m) |1 BSTICKLINE(ER,O,C,6,1),LINETHICK2,COLOR0099FF;}
6 J/ j+ ~* F$ ?0 v0 X' N0 aFR:=BARSLAST(REF(CROSS(EMA34,EMA13),1)) AND CROSS(EMA13,EMA34);
# q1 M8 w2 g3 I- ]) SDRAWTEXT(FR,L-0.09,'梅开二度'),colorwhite;
& T, F' ?% D$ H- D' T! m8 WSTICKLINE(FR,H,L,0,1),colorwhite;# t7 Z+ |1 J3 B; ]( B( X2 E
STICKLINE(FR,O,C,3,1),LINETHICK2,colorwhite;
' |( M" O9 C: ]4 a' BGR1:=BARSLAST(BETWEEN("BIAS.BIAS2"(6,13,24),0,5) );, s% X" y+ ]# s7 u8 `1 S- ]
GR2:=EMA13>EMA34 AND EMA34>EMA55 AND EMA13>REF(EMA13,1);* Y1 I, ~, G0 T. ~
GR3:=COUNT("BIAS.BIAS2"(6,13,24)>10 AND H=HHV(H,GR1),GR1);% T. ^2 Q# E/ ?' {0 [ Z# K+ I
GR4:=H=HHV(H,GR1);
, b( x1 U# R4 F' b3 b6 C+ w, bGR5:="MACD.MACD"(12,26,9) GR6:=GR2 AND GR3 AND GR4; d/ ~9 e/ y9 ^ z1 F Y
GR7:=GR2 AND GR3 AND GR4 AND GR5;
X2 T# e v9 S6 UDRAWTEXT(GR6 AND GR7,H+0.13,'见好就收!'),COLOR00FF00;' l& ~+ L8 v- Z6 p9 D' l1 L6 p
{STICKLINE(GR6 AND GR7,H,H+0.09,4,0),COLOR00FF00;}( `8 x) i# T5 H1 ^+ n/ x4 A3 Z
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);
' d7 b( h0 z) U9 H% V+ Q) ~3 n- f6 dDRAWTEXT(HR2 AND FILTER(HR2,10),L-0.09,'三线推进'),COLORFFC8FF;
$ w/ g2 t3 w: \; {1 h# j5 A' qSTICKLINE(HR2 AND FILTER(HR2,10),H,L,0,1),COLORFFC8FF;
6 R6 B5 h( U$ k$ BSTICKLINE(HR2 AND FILTER(HR2,10),O,C,3,1),LINETHICK2,COLORFFC8FF; |