在论坛一段时间了,从老师那学到了很多,转载了别家高手的一组指标公式,盼望对各人有资助!
0 c" H) p9 G5 ]# A提示:信号只是参考,决议在人脑,规律是乐成的包管!!
# p5 M& Q+ h. [6 z! ^, s$ }- m u. \' d1 z1 o, F
N:=55;4 F" r f2 z4 l8 K. G
WLCLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100,LINETHICK2,COLOR0000FF;
7 u' J" y) |; t) ~# h3 S) NWLT:MA(WL,89),COLOR00FFFF,LINETHICK2;
& @0 P, a7 M1 m9 HWLT1:=CROSS(WL,WLT);8 R/ \4 j2 x3 o; p" u$ Y }5 D
WLT11:=CROSS(WL,-10);
2 r" {% e4 R6 j9 o& o+ o0 e, V+ BWLT2:=FILTER(WLT1,8);* b; V3 c0 Q( C# M$ z
SKY:10,POINTDOT,COLORFF0000,LINETHICK1;/ o% }1 z" p$ c. [
SEA:-10,POINTDOT,COLORFF00FF,LINETHICK1;
& m( d6 R) Q G5 `- }# F ODRAWICON(WLT2,WLT,23);
+ Q# ]4 H, d: [- [5 N1 BDRAWICON(WLT11,SEA,15);' D) [$ [3 w3 I$ @1 W) N, P" Y
WLT3:=COUNT(WL>10,5)>=3;2 {) I4 R8 h a3 J' I- i
WLT33:=CROSS(10,WL);
+ J, D% d6 t: m' S ~5 \- N: zSEL:=WLT3 AND WLT33;9 P1 ~$ c2 A8 C: f) P. D0 {
DRAWICON(SEL,10,19);
) \7 e# t4 }# w8 x: \ gSTICKLINE(WL>10,WL,10,0.001,0),COLOR00FF00;
8 G+ [6 m2 k: P6 p# A# NSTICKLINE(WLDIF底),1,0);
: s6 {2 s" m. `: X# rDDD:=EXIST(偏离,20) AND SLOPE(DEA,2)>=0;
6 T- d/ Q/ y# [% H. {2 QHRY:=FILTER(DDD,10);+ L; t& c2 I: G' @5 Q: h3 p" u
STICKLINE(HRY,-5,-10,3,0),COLOR00FFFF;
9 L4 X5 L& ]& _% m. p5 Z7 n4 pDRAWTEXT(HRY,-5,'M背'),COLOR00FFFF;
; w5 d x; Z2 U- {. x: U{YYY:COUNT(偏离,5);}; l0 l0 z/ Y: n$ T) m
DIF顶:=HHV(DIF,120);
% p/ _: k5 w/ j( p# u: \8 w& n最高价:=H=HHV(H,120);
" N/ T2 R4 ?- H9 G5 ]7 M距今高:=BARSLAST(最高价);
% T' c5 O5 n, ]7 T9 H偏离高:=IF((距今高=0 AND DIF0,-1,0),13),NODRAW;: k) r, T7 l. {/ r$ |
STICKLINE(RSI底背,-10,-5,3,0),COLOR0000FF;; c5 G1 T/ D1 _5 b
DRAWTEXT(RSI底背,-5,'R背'),COLOR0000FF;+ V* U( B( a9 ^2 d+ E) A" H
KDJ顶背:FILTER(IF(D2>0,1,0),13),NODRAW; I [9 _( t! c+ {$ {1 d
STICKLINE(KDJ顶背,10,5,3,0),COLORFFFF00;
5 k: t: @+ _. W! ]0 {DRAWTEXT(KDJ顶背,5,'K背'),COLORFFFF00;
0 v# C) P- m2 i) z3 ]* J! g) }( QRSI顶背:FILTER(IF(D3>0,1,0),13),NODRAW; & Q& y+ L' E' d9 X- |. X/ U* s
STICKLINE(RSI顶背,10,5,3,0),COLOR00FF00;
1 l4 r5 p6 ?! K# r9 ?% IDRAWTEXT(RSI顶背,5,'R背'),COLOR00FF00;
: I9 M: n( f4 j0 X+ i- i. I) VDRAWTEXT(REF("KDJ.J",1)0,-4,'短'),COLORRED ;
$ d; q `) G7 t; |! l: XSTICKLINE(REF("KDJ.J",1)0,-10,-5,3,0),COLOR00FFFF; m" W) N& J: y2 h3 y
AA1:=HHV(H,55);
4 A; \$ L" r1 {3 sBB1:=REF(H,13);
1 Y( O4 B: q7 x7 s1 z! pTJ1:=AA1=BB1; T2 R+ `1 y; Q: D
XX:=LLV(L,55);( K% W8 r/ ` H' a& M
YY:=REF(L,13);
# h; k5 a* U5 xYY1:=REF(L,21);
5 {3 F* [/ c- a0 e8 OTJ2:=XX=YY;9 Y4 X& c ~3 u% z2 D, @; L o
TJ3:=XX=YY1;9 a$ k( t! e# t e' i. g
XG:=TJ1 OR TJ2;- g2 a+ W4 h! b6 T. n# g
DRAWTEXT(TJ2,-6,'离底13'),COLOR00FF00;1 D- D9 R' a( ~- o# N
STICKLINE(TJ2 ,-10,-6,2,0),COLOR00FF00;
2 y9 {4 P6 n; T# `6 d2 vDRAWTEXT(TJ3,-4,'离底21'),COLOR00FFFF;
( a" d5 M* L- |& r6 fSTICKLINE(TJ3 ,-10,-4,2,0),COLOR00FFFF;
$ E9 ^# Y: |! FDRAWTEXT(TJ1,-6,'离高13'),COLOR0000FF;0 J- s9 m- j- X/ @
STICKLINE(TJ1 ,-10,-6,2,0),COLOR0000FF;
: W5 a% Y$ N' k; {+ n& `LV:=MA(C,24);
) S* v8 Z! _9 J5 f' W; [HR0:=HHV(HIGH,N);
( H' ]$ { B6 `4 V7 O5 ZHRY0:=LLV(LOW,N);
5 L2 j. d+ a2 J' o% G BHRY110:=HR0*HRY0;
6 z3 t! ^3 `( t. G+ N& e' D% `HRY330:=SQRT(HRY110);
8 q# L' P: o( u" M3 [2 _& fNS1:=C>HRY330 AND HRY330 >=REF(HRY330,1) AND C>LV;
+ n; R. C" L# _4 w* k2 wSTICKLINE(C>0,-10,-11.5,3,0),COLORFF0000;- _, S4 `5 }! K! j. h6 [3 T
STICKLINE(WLT2 OR WL>WLT,-10,-11.5,3,0),COLOR00FFFF;) f1 g/ }) t$ @9 N' K
STICKLINE(NS1,-10,-11.5,3,0),COLOR0000FF;
0 l% _6 ~: L& A' o2 y/ j( _; IDRAWTEXT(FILTER(NS1,21),-11,'持股'),COLORFFFFFF;: K6 R/ U3 f3 k! d* j: j
DRAWTEXT(FILTER(WLT2 OR WL>WLT,13),-11,'买入 |