本日给各人个主图,应该说是经典融合,重要采取凯恩斯的五线着花主图,5,14,25,60,90,120几条均线,压力支持位一清二楚,再团结凯恩斯的八卦箱体数据,五线着花有短线中线之分,短线我用的是5日均线上穿14日,各人可以根据本身的投资风俗改成14上穿25即中线着花。(五线着花简单说就是几条均线粘合,然后向上发散,是绝佳买点);别的尚有一些交易点,顶底指示,顶底背离,角度线,时间窗等等,看指标源码本身相识6 X6 X" U L J6 t
五线着花主图(n赋值1,100,5。m赋值1,100,13), Q" e! ]0 A a. p9 g) c0 O
: e4 c: r% ]9 }: S, @) @3 R/ ]8 C8 N% j6 u0 T& [- E2 O" H J j9 H% L
EMA5:EMA(C,5);
/ @" x, D- s X4 K0 w, h/ WEMA14:EMA(C,14),COLORRED,LINETHICK2;
y) f/ |! A/ J8 bEMA25:EMA(C,25),COLORYELLOW,LINETHICK2;
. T) ?- f, {- c% z6 m! Q3 z' ~$ I! _2 A: J2 }$ D! K
EMA60:EMA(C,60),COLORFF00FF;( I' |$ b# X1 p2 B9 u7 ~$ A2 {# ~
EMA90:EMA(C,90),COLORGREEN;
& S, P# A: k* _EMA120:EMA(C,120),COLORBLUE;& ]* U% E, U* q; G" d9 Y
M1:=1000*EMA14/EMA25=870;$ ~1 f0 ?* j' |8 C
M2:=1000*EMA25/EMA60=875;* p" N& H& D5 ~# T* P
M3:=1000*EMA60/EMA90=880;& ]* L8 K* b, e4 c
M4:=1000*EMA90/EMA120=885;
9 O& y& f. u, |5 K# _! @DRAWICON(M1 AND M2 AND M3 AND M4 AND CROSS(EMA5,EMA14),L-0.20,9);
a( [' x( b" `+ L& A! p' F3 ]3 J: |, h' D' q9 u
{N:1 100 5 M:1 100 13}
' L+ v, n$ E, S5 L上:=EMA(C,3),COLORRED,LINETHICK1;
2 }% |! r7 w7 y/ f% {中:=EMA(C,5),COLOR00FF00,LINETHICK1; ' V; @& E" Q9 Y/ t) Y% b0 @1 C! S, _
下:=EMA(中,5),COLORWHITE,LINETHICK1; * d- _( ^" F0 x) c7 ^. |, U
( }, }3 N; M9 b5 x% d5 p
$ H8 c7 B7 j' r7 I
8 G' @& B8 s' X& l; m4 R T$ Q趋势线:=EMA(((SLOPE(CLOSE,21) * 20) + CLOSE),42),POINTDOT,COLORFF00FF,LINETHICK4; Y+ t6 a# N$ x* u; g0 R: `
V1:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
/ C( L0 A1 t* S5 M9 @! `) AV2:=(1-7/100)*(DMA(CLOSE,V1)); - s2 H3 T9 y' F" |" O1 w
V3:=(1+7/100)*(DMA(CLOSE,V1)); * F( J5 K- h6 @/ ~
V5:=MA((LOW+HIGH+CLOSE)/3,5);
% ]- j- t+ E3 s4 d$ p支持:=REFDATE(V2,DATE),POINTDOT,LINETHICK3,COLORCC66FF; ' s% |% |$ I0 A0 Q v
阻力:=REFDATE(V3,DATE),POINTDOT,LINETHICK3,COLORGREEN; 5 D6 v# S+ }" v4 d
MA1:=MEMA(CLOSE,5); - x4 [! D; H' U- Q, s
MA2:=ATAN((MA1/REF(MA1,1)-1)*100)*180/3.1416;
- F* x% ^; A6 Z2 K3 `6 tMA3:=IF(MA2>0,MA2,MA2); : m# d2 f h9 X( }: o# ~
MA5:=MA(CLOSE,N),COLOR888899; - k( {8 t8 v: b$ v% v" E7 B
MA13:=MA(CLOSE,M),COLORFF00F0,LINETHICK2;
+ @4 v0 q" T6 D1 e/ o; GVAR1:=CLOSE=HHV(C,4) AND (REF(C,1)>=REF(C,2) OR REF(C,1)>=REF(C,3))
% i, }$ B% |) w$ ]- k: n4 b$ n- P2 ^0 iOR REF(C,1)=HHV(C,4) AND CLOSE>=REF(C,2) OR REF(C,2)=HHV(C,4) AND 3 T5 K" Y' p( d, j4 X
REF(C,3)=LLV(C,4) AND C>=REF(C,1) OR REF(C,3)=HHV(C,4) AND
. l" r$ S- B% G1 y- l% pC>=REF(C,1) AND C>=REF(C,2);
- V8 H, Q1 [/ `! Q! |! v2 H, sVAR2:=CLOSE=HHV(C,4) AND REF(C,1)=LLV(C,4);
6 `+ C6 ?. e2 X, XVAR3:=CLOSE=LLV(C,4) AND (REF(C,1)=0,MA13,DRAWNULL),COLORYELLOW,LINETHICK2; ! Y k8 R2 C( b2 h! G
回调:=IF(MA30,MA13,DRAWNULL),COLORGREEN,LINETHICK2;
0 Q- K9 t+ T7 U{KDJ}
K# |4 X9 j! p6 i/ nRSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; : M! ]& A1 A- S
K:=SMA(RSV,3,1);
/ _; M! q( e' r VD:=SMA(K,3,1); 6 X: t/ a& g" J
J:=3*K-2*D;
6 V h* m) ?, P s0 e0 z金叉:=CROSS(J,D); ' N% \( g; |+ H6 P4 q
死叉:=CROSS(D,J); * ~# e6 Y! i+ G0 B( u0 F
买1:=(VAR14 OR VAR15) AND VAR11; + Y8 b- ~* e0 L1 j6 v
买2:=(VAR14 OR VAR15) AND VAR4;
5 U4 K9 v: c/ Q* |0 B7 v0 ?买3:=(VAR14 OR VAR15) AND VAR2;
, z: u9 s, w1 x O; z' w: @买4:=(VAR2 AND VAR11) OR (VAR4 AND VAR11);
! Y9 u! [$ K: z( R1 ~/ ^买5:=(金叉 AND VAR4) OR (金叉 AND VAR2) OR (金叉 AND VAR11); % n3 h+ K/ d( t) @: E( d; k
{涨停}
5 S; @( |, }- h5 }STICKLINE(CLOSE>REF(CLOSE,1)*1.0985 AND CLOSE=HIGH,CLOSE,OPEN,4,-1),
8 d- o7 t# d! }. L3 d% h0 M4 d" JCOLOR00FFFF; ' Y' y1 C5 G) s) D I
{跌停} 0 G: K' [( `4 B: G
STICKLINE(CLOSE=CLOSE,CLOSE,OPEN,3.3,0),COLORFF7700;
: x. R8 F2 I6 N. ?/ lSTICKLINE(OPEN>=CLOSE,CLOSE,OPEN,2.4,0),COLORFF9900; & t0 X2 {( g* \" r) z: _% p- _7 {* [
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,1.3,0),COLORFFBB00;
% U" t+ a/ h, `) }STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,0.8,0),COLORCYAN; 6 {& M8 d8 A( H& Z; _% z
{红}
6 m2 S, X# J- S* VSTICKLINE(CLOSE>OPEN,CLOSE,OPEN,3.3,0),COLOR000099; ; e9 m7 e; Z) r0 L. [6 _( c
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2.4,0),COLOR0000CC;
7 L" }4 o) n5 [6 U9 a: {- LSTICKLINE(CLOSE>OPEN,CLOSE,OPEN,1.3,0),COLOR0000FF;
' q) C/ B( }$ Q1 m! Z9 V( tSTICKLINE(CLOSE>OPEN,CLOSE,OPEN,0.8,0),COLORCC66FF;
6 n7 {1 _- N, X* D: j{绿} / Y9 T0 P$ \" V4 L+ r
STICKLINE(VAR3,OPEN,(OPEN+CLOSE)/2,3.3,0),COLOR009900; }3 x5 Z6 E# z q: L
STICKLINE(VAR3,OPEN,(OPEN+CLOSE)/2,2.4,0),COLOR00BB00; , K. I! i( C% E0 D- W& G2 e! c
STICKLINE(VAR3,OPEN,(OPEN+CLOSE)/2,1.3,0),COLOR00DD00; P7 Q1 Y6 d5 S$ M o- b
STICKLINE(VAR3,OPEN,(OPEN+CLOSE)/2,0.8,0),COLOR00FF00; 5 n* ?# |3 D; G6 q. L
{灰} 1 k& \: n) D3 t. z
STICKLINE(VAR4,OPEN,(OPEN+CLOSE)/2,3.3,0),COLOR999999;
2 ]( J* G, x- o+ b& Q+ mSTICKLINE(VAR4,OPEN,(OPEN+CLOSE)/2,2.2,0),COLORBBBBBB; 8 l& x" L* r5 Z" T1 D) N6 y
STICKLINE(VAR4,OPEN,(OPEN+CLOSE)/2,1.3,0),COLORDDDDDD; " ]9 `$ Z% F |1 D% x
STICKLINE(VAR4,OPEN,(OPEN+CLOSE)/2,0.8,0),COLORFFFFFF; ; q- Y* c5 v0 \5 }. D4 R
STICKLINE(金叉,OPEN,CLOSE,1,0),COLORYELLOW; 4 _' ?# y. u1 w# a( B3 C# r
STICKLINE(死叉,OPEN,CLOSE,1,0),COLOR000099;
2 o8 d P$ O1 {6 |- r0 hDRAWICON(VAR16,LOW-0.02,7);
( _6 T7 j. E' GDRAWICON(买1 OR 买2 OR 买3 OR 买4 OR 买5,LOW-0.01,1);
- b+ j' z: B- [( w( DDRAWICON(死叉 OR VAR12 OR CROSS(40,VAR9),HIGH+0.01,2); ! t6 p, Z' x& K0 ^
& Z3 a, Y% f1 m0 k" _) u1 y) o. {+ ~3 S1 y/ ?$ X' J# Y. L% \
X1:=(C+L+H)/3; # [& _% T' ?6 N( R
BB13:=ATAN(EMA(X1,13)-REF(EMA(X1,13),1))*3.1416*10; 3 L: u2 w4 Q8 s( {7 _: s
EMA8:=EMA(C,8); . E4 `- u7 Q/ b! d
DRAWTEXT(FILTER(BB13>1 AND EMA(X1,13)>REF(EMA(X1,8),1),10),
. [$ d l& D) U2 j8 P* P H5 sEMA8,''∠45升''),COLORWHITE; & q! q* Z/ j( {% i
' J6 N, i4 J* e% X5 H- UVAR81:=1;
/ y1 l9 \5 t! Y" HVAR82:=((((2*CLOSE)+HIGH)+LOW) / 4);
/ Q3 j9 g; K; t+ y b低金叉进:=20,COLORYELLOW,LINETHICK2; ; x! I6 Y' J; ^' D9 e) W1 x% a" K
高死叉出:=90,COLORGREEN,LINETHICK3; o- b: e9 X1 J; f f7 g0 X
VAR84:=LLV(LOW,5);
3 M$ ^7 o2 e2 p6 {; |, Q+ g& LVAR85:=HHV(HIGH,4); - L- J! v' d8 J' q: k
C1:=(EMA((((VAR82-VAR84)/(VAR85-VAR84))*100),4)*VAR81),COLORFF00FF,LINETHICK2; # b- _; c: N) M" N( V: N
C2:=(EMA(((0.667*REF(C1,1))+(0.333*C1)),2)*VAR81),COLORFFFFFF,LINETHICK2;
8 C& Q- T* b+ ` Y- K条件:=CROSS(C1,C2) AND C190;
% R; h0 ?1 E, [9 O7 MTJ1:=CROSS(C1,C2);
& [2 T' }/ j) V9 W1 ]TJ2:=CROSS(C2,C1);
- u# o7 }) F9 g6 T0 w( i0 C+ STJ3:=CROSS(C1,C2) AND REF(C1,1)80; * F" T/ s% q* K' q- E+ x, G
DRAWTEXT(条件0,H*1.02,''S''),COLORBLUE; 1 Z, `) E9 S' z- M b9 X3 A# |/ s, ~
{DRAWTEXT(CROSS(C1,75),H*1.013,''险区''),COLORGREEN;}
, W x( ?5 a; }& Z* cDRAWTEXT(TJ3,L*0.98,''买底''),COLORFF00FF; $ }+ N$ o/ F7 f! e8 U: ^7 \
DRAWTEXT(TJ4,H*1.02,''逃顶''),COLORGREEN; 4 R! I7 J- D7 s% a& Z0 c
+ r* V- w+ F. a& M3 R4 J9 y! o$ ~0 n) W$ D# ^7 o, u
E1:=BARSCOUNT(C);
; `6 A3 ^3 n+ z1 lAH:=HHV(H,200); 4 _- A6 N/ j# @( H$ O8 y' t1 X5 r
AL:=LLV(L,200); - w1 F8 K$ V8 U' [4 ]) P M
B0:=(AH-AL)/40; 3 _7 y. |- _! h9 x, D9 k3 F
KB1:=H+B0; . G5 t: I6 w, c/ @# B3 K/ G
KB2:=L-B0; ! H: J. j& b7 B) u8 T) c
STICKLINE((E1+0)/34=FLOOR((E1+0)/34),KB2,KB2-0.8*B0,1,0),COLORYELLOW,LINETHICK3; / V8 M1 G+ \& h! M5 I9 A3 |
DRAWTEXT((E1+0)/34=FLOOR((E1+0)/34),KB2-B0,''时窗''),COLORYELLOW;
9 G- P( V" ~7 ?, |" {8 @
! T( q" o; \( ]1 A. m" t0 n8 C水平面:=EMA(CLOSE,89),COLOR3399FF;
7 `5 l3 v/ A7 A1 h8 }AAA:=(3*C+H+L+O)/6;
" T L% I2 u3 I @5 c z短趋:=(8*AAA+7*REF(AAA,1)+6*REF(AAA,2)+5*REF(AAA,3)+4*REF(AAA,4)+3*REF(AAA,5)+2*REF(AAA,6)+REF(AAA,8))/36; 5 y6 a+ K& S v7 A6 J
中趋:=(LLV(短趋,2)+LLV(短趋,4)+LLV(短趋,6))/3;
; w# C5 O3 P6 v! N }8 ?6 M7 |{STICKLINE(C>中趋,短趋,中趋,0,0),COLORYELLOW;} : W) P/ Z7 H2 T
TTJ1:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>短趋; 4 u) j( c' K4 U9 f! @$ v
立桩量:=FILTER(TTJ1,5); 1 ?% T1 o: b# p- v8 _, H
TTJ2:=IF(BARSLAST(立桩量)=1 AND CLOSE>REF(HIGH,1),1,IF(BARSLAST(立桩量)=2 AND CLOSE>REF(HIGH,2),1,IF(BARSLAST(立桩量)=3 AND CLOSE>REF(HIGH,3),1,0)));
1 c& K/ ^- Y0 ]: R$ T; }突破:=TTJ2=1; ; L: h2 U5 P4 M
TTJ3:=IF(BARSLAST(立桩量)=1 AND CLOSE>REF(LOW,1),1,IF(BARSLAST(立桩量)=2 AND CLOSE>REF(LOW,2),1,IF(BARSLAST(立桩量)=3 AND CLOSE>REF(LOW,3),1,0))); * C, r6 l9 ?: d2 y1 i- E
三天法则:=TTJ3=1;
: @% Z" L/ I. s. K$ a, o1 e0 ~建立:=三天法则 AND 突破;
' L0 X# p; o" \条件建立:=FILTER(建立,3);
0 B1 O* Q/ b7 y1 |DRAWICON(条件建立,L*0.91,1);
& c% I8 ?! h& ~5 _! BDRAWTEXT(条件建立,L*0.91,''立桩''),COLORFF26FF; 2 A2 Q+ A, U2 c4 j& G
MA(C,9),LINETHICK0,COLORYELLOW; % u- p/ F7 w& n+ j. r- e
MA(C,21),LINETHICK0,COLORRED;
3 }* c" o4 u* G$ Z% X, ~& `IF(MA(C,9)C AND . d8 p4 F% Z' ?/ B" D/ q, T& @
REF("KDJ.K",BARSLAST(REF(CROSS("KDJ.K","KDJ.D"),1))+1)C AND 1 m- b! H5 |8 e
REF("RSI.RSI1",BARSLAST(REF(CROSS("RSI.RSI1","RSI.RSI2"),1))+1) 9 ~1 B6 H) U' G* C2 Y9 s! W0 e
0,L-0.18,''◆R'');{RSI底背离};
; ?$ h8 ^, X: MDRAWTEXT(REF(C,BARSLAST(REF(CROSS("MACD.DEA","MACD.DIF"),1))+1)"MACD.DIF" AND CROSS("MACD.DEA","MACD.DIF")
! S* U0 ?' R3 x" Y! _# m>0,H+0.16,''★M''),COLORGREEN;{MACD顶背离}; * h# m5 S2 L" F
DRAWTEXT(REF(C,BARSLAST(REF(CROSS("KDJ.D","KDJ.K"),1))+1)"KDJ.K" AND CROSS("KDJ.D","KDJ.K")>0,H+0.08,''◎K'');{KDJ顶背离} 7 j7 r9 u# [" A; |( I1 r
DRAWTEXT(REF(C,BARSLAST(REF(CROSS("RSI.RSI2","RSI.RSI1"),1))+1)"RSI.RSI1" 8 M/ z" L$ Z; {: R4 i8 e! J
AND CROSS("RSI.RSI2","RSI.RSI1")> |