指标先容: 1 q/ i% D) g- L, j
3 g% b8 \( `8 w5 s. M一三五战法指标,符合各种形态时皆有信号提示,在利用这个指标之前,可以上网先查一下该战法的具体分析。
; Y9 a# w4 A Z+ |: \6 M) y" F5 _ e4 x) w" D
公式源码:
- {( M( K! [ `; N/ j
* @- x: M, e0 d* V& [EMA13:EMA(C,13),colorred,LINETHICK2;5 w$ E( S9 F- |
EMA34:EMA(C,34),coloryellow;
7 W/ Y! C8 d# M$ QEMA55:EMA(C,55),COLORFF00FF;0 l" M3 E5 s2 e' R$ T! N4 m5 `
EMA120:EMA(C,89),COLORFFCC66;) W+ L: P. ?! K, T; g
AR1:=EMA55>EMA34 AND EMA34>EMA13;
; t3 ?+ O! J) [- P1 m8 QAR2:=BARSLAST((C-EMA13)/EMA13*100=REF(EMA13,2);* ]! g) U7 j% ]. F4 \3 p6 y5 k
AR4:=COUNT(CROSS(C,EMA13),AR2)=1;6 a' r& v. G& G; H o: y) t* K) @
AR5:=AR1 AND AR2 AND AR3 AND AR4;
! b* _# g( ?1 dAR6:=AR5 AND FILTER(AR5,10);# F6 d5 f/ A' v; O6 M# i
DRAWTEXT(AR6,L-0.09,'不安于室'),coloryellow;" R" O) B( u! s1 m
{STICKLINE(AR6,H,L,0.5,1),coloryellow;3 R, Q9 x# k# J& C( v4 R% H7 U( g9 S
STICKLINE(AR6,O,C,6,1),LINETHICK2,coloryellow;}
3 p; i4 s6 F' X X- e# UBR1:=COUNT(BETWEEN((C-REF(C,1))/REF(C,1)*100,0,5) ,5)=5;. o: w' L! T5 o* o6 }1 z
BR2:=ABS((EMA13-EMA34)+(EMA34-EMA55))/CEMA55 AND (REF(C,1) BR4:=BR1 AND BR2 AND BR3;
0 Q; P) A) H5 l5 tDRAWTEXT(BR4 AND FILTER(BR4,10),L-0.09,'蚂蚁上树'),COLOR00C5FF;
2 i' h# }+ c1 ]! u3 C2 K i$ F{STICKLINE(BR4 AND FILTER(BR4,10),H,L,0.5,1),COLOR00C5FF;
7 W% ?' h; }2 l' F8 ySTICKLINE(BR4 AND FILTER(BR4,10),O,C,6,1),LINETHICK2,COLOR00C5FF;}
0 }4 z# {; ~! f8 Q B; c; TCR1:=(C-REF(C,1))/REF(C,1)*100>0.5; x; v ^# c4 s" } M. r: c" |7 g: j
CR2:=V>MA(V,5)*0.6;
' x, V; g3 o6 b+ zCR3:=COUNT(CROSS(EMA13,EMA55),3)=1;; t& m0 E4 d1 Q3 s. e9 p1 _
CR4:=ABS(EMA34-EMA55)/EMA55EMA34 AND EMA34 DR2:=BARSLAST(CROSS(C,EMA55) );+ P5 E' n9 I) n5 a+ S. R, ^! X
DR3:=H=HHV(H,DR2);; k3 T0 ~3 y4 X: M0 t% n
DR4:=BARSLAST(DR3);
- F( R1 q+ F3 V5 T) b" V% ^DR5:=COUNT(O>C AND CEMA55 AND BETWEEN((C-EMA55)/EMA55,0,0.02),DR4)=1;
1 D$ [4 C7 [1 X$ N* uDR6:=C>REF(C,1) ;
1 [) \8 A. H1 m( |0 y' F& Z/ |! WDR7:= DR1 AND DR5 AND DR6 ;, c$ c7 b, ]5 ~: J9 u: n& R. n
DR8:=DR7 AND FILTER(DR7 ,10);
4 F/ p3 Q( M' ^! \( }$ z8 Y; |DRAWTEXT(DR8,L-0.09,'黑客点击'),COLORD6BA63;1 B( \5 l$ K* v/ G
{STICKLINE(DR8,H,L,0.5,1),COLORD6BA63;. k' t& m: q, H. M" F
STICKLINE(DR8,O,C,6,1),LINETHICK2,COLORD6BA63;}
. }5 j/ `( c2 E3 c; h D& C* AER:=BARSLAST(REF(CROSS(EMA55,EMA34),1)) AND CROSS(EMA34,EMA55);' T' y- o0 S7 a0 B! E4 Y
DRAWTEXT(ER,L-0.09,'均线交换'),COLOR0099FF;
8 O. Q% K, S4 V! T+ h7 s* \{STICKLINE(ER,H,L,0.5,1),COLOR0099FF;
! }; y* R# S, N5 pSTICKLINE(ER,O,C,6,1),LINETHICK2,COLOR0099FF;}
; J4 }" j3 f5 W" t1 N" E8 _FR:=BARSLAST(REF(CROSS(EMA34,EMA13),1)) AND CROSS(EMA13,EMA34);5 R- B7 T% x$ O
DRAWTEXT(FR,L-0.09,'梅开二度'),colorwhite;
2 I6 q! _6 x- X* nSTICKLINE(FR,H,L,0,1),colorwhite;. |' M7 N9 L3 F* z& f. ]
STICKLINE(FR,O,C,3,1),LINETHICK2,colorwhite;* z7 h( h7 H# {
GR1:=BARSLAST(BETWEEN("BIAS.BIAS2"(6,13,24),0,5) );7 o f) ?* F) ]! S
GR2:=EMA13>EMA34 AND EMA34>EMA55 AND EMA13>REF(EMA13,1);! a9 F# r7 I2 Z
GR3:=COUNT("BIAS.BIAS2"(6,13,24)>10 AND H=HHV(H,GR1),GR1);
+ J$ l$ ~0 U6 rGR4:=H=HHV(H,GR1);
# T' B) V* l0 }GR5:="MACD.MACD"(12,26,9) GR6:=GR2 AND GR3 AND GR4;# o6 V. T6 k% W7 k9 n8 D8 O9 T
GR7:=GR2 AND GR3 AND GR4 AND GR5;
; D9 s/ Z) n/ {DRAWTEXT(GR6 AND GR7,H+0.13,'见好就收!'),COLOR00FF00;* j8 f8 C2 r! n3 N+ k+ B
{STICKLINE(GR6 AND GR7,H,H+0.09,4,0),COLOR00FF00;}
1 y+ j0 j2 ~% Y4 K( sHR2:=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);) f0 n. s8 J5 v8 d9 q( K# d* t
DRAWTEXT(HR2 AND FILTER(HR2,10),L-0.09,'三线推进'),COLORFFC8FF;
8 r) Q+ r* o8 k( f* ^STICKLINE(HR2 AND FILTER(HR2,10),H,L,0,1),COLORFFC8FF;" I4 \9 V2 k z' j
STICKLINE(HR2 AND FILTER(HR2,10),O,C,3,1),LINETHICK2,COLORFFC8FF; |