在论坛一段时间了,从老师那学到了很多,转载了别家高手的一组指标公式,盼望对各人有资助!
# u5 N( ~% z2 X' \* N提示:信号只是参考,决议在人脑,规律是乐成的包管!!+ e0 ?/ W, F( ^, l a( x" @7 F$ E
& V2 U4 H' l5 ^- {) X8 K9 q/ NN:=55;
' B" C( e# r, _WLCLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100,LINETHICK2,COLOR0000FF;
" e; b! R/ U8 f DWLT:MA(WL,89),COLOR00FFFF,LINETHICK2;
, h5 F3 E ^) y0 DWLT1:=CROSS(WL,WLT);, R* c% p2 R0 @: X; A
WLT11:=CROSS(WL,-10);
9 ]6 v' w# p5 M7 W1 D5 SWLT2:=FILTER(WLT1,8);2 D- r4 ~6 v9 a4 [. k
SKY:10,POINTDOT,COLORFF0000,LINETHICK1;4 A" O4 @6 S* q n+ j: ~/ m1 B3 `
SEA:-10,POINTDOT,COLORFF00FF,LINETHICK1;
5 b, s3 N# P' D* Y7 l/ a' Y4 WDRAWICON(WLT2,WLT,23);
! C; x2 E9 d KDRAWICON(WLT11,SEA,15);
1 z9 T% f1 Q4 Q% u" zWLT3:=COUNT(WL>10,5)>=3;
. L0 h& w+ m# c; g; S( MWLT33:=CROSS(10,WL); U w8 N% O9 ^* n& t2 _0 w
SEL:=WLT3 AND WLT33;
# z( \/ {1 L, W# F7 C# p, [ RDRAWICON(SEL,10,19);
' N% J# n3 y) q) n5 tSTICKLINE(WL>10,WL,10,0.001,0),COLOR00FF00; i" j) ^) u* O: D; ^
STICKLINE(WLDIF底),1,0);
8 ^) |6 v; G9 d i2 Y- `! |. SDDD:=EXIST(偏离,20) AND SLOPE(DEA,2)>=0;
# `( V& h! }& W- C& }HRY:=FILTER(DDD,10);0 y, \/ P& w' M2 {* I) G
STICKLINE(HRY,-5,-10,3,0),COLOR00FFFF;
8 p4 V* T( s+ Z+ bDRAWTEXT(HRY,-5,'M背'),COLOR00FFFF;' E( C! I3 ^, G4 }
{YYY:COUNT(偏离,5);}
" ]/ q3 C1 l/ \$ t: q" w+ c' y- N' B2 HDIF顶:=HHV(DIF,120);
0 d5 p) ^. V# U6 w& r最高价:=H=HHV(H,120);
& R) ^: { Z }# _. f9 h* B距今高:=BARSLAST(最高价);: z" Q. x; f2 [- p( ~" y
偏离高:=IF((距今高=0 AND DIF0,-1,0),13),NODRAW;, ]/ @/ e/ R3 q# H# s
STICKLINE(RSI底背,-10,-5,3,0),COLOR0000FF;3 t, ~% Q5 }: ^( \
DRAWTEXT(RSI底背,-5,'R背'),COLOR0000FF;* g0 o2 \7 Z8 f4 F( U, e9 w5 [
KDJ顶背:FILTER(IF(D2>0,1,0),13),NODRAW; X1 N" Q9 T) l1 X# {
STICKLINE(KDJ顶背,10,5,3,0),COLORFFFF00;
* A3 z2 q9 V8 z* [9 M& S, y0 G- {DRAWTEXT(KDJ顶背,5,'K背'),COLORFFFF00;
B% s+ A3 |' z C; d, i% qRSI顶背:FILTER(IF(D3>0,1,0),13),NODRAW; : I7 y. ^$ Z1 x
STICKLINE(RSI顶背,10,5,3,0),COLOR00FF00;' h) X$ ?8 a( K" A
DRAWTEXT(RSI顶背,5,'R背'),COLOR00FF00;3 R: l+ \7 s" f( g* |
DRAWTEXT(REF("KDJ.J",1)0,-4,'短'),COLORRED ;
& k2 q! g- c. t G! nSTICKLINE(REF("KDJ.J",1)0,-10,-5,3,0),COLOR00FFFF;
5 Q! B7 d; b2 A. X4 y' }# tAA1:=HHV(H,55);
: j. z- s: n8 P- r: Y2 }5 b* f$ y- YBB1:=REF(H,13);
+ H7 m* x! `( s, `/ O& s; iTJ1:=AA1=BB1;
P8 T: W: E, m' r- _4 oXX:=LLV(L,55);
1 Y: G9 z; O9 Y6 C, DYY:=REF(L,13);" g) s7 k, S& ]& ~: p4 y
YY1:=REF(L,21);! E ]# W: \6 R) B6 b; h
TJ2:=XX=YY;/ ~+ e% K3 \9 Q( Y
TJ3:=XX=YY1;- M1 A, q l+ B; Y( @% f& [+ ~
XG:=TJ1 OR TJ2;, g. g4 C) q$ u9 J) V' B6 I
DRAWTEXT(TJ2,-6,'离底13'),COLOR00FF00;
7 _. u8 r/ r" V: v7 VSTICKLINE(TJ2 ,-10,-6,2,0),COLOR00FF00; 9 Z* P; A0 C/ ~# W
DRAWTEXT(TJ3,-4,'离底21'),COLOR00FFFF;( R, f2 W' S$ u- K
STICKLINE(TJ3 ,-10,-4,2,0),COLOR00FFFF;
. g. j9 S! K0 S. k" P- wDRAWTEXT(TJ1,-6,'离高13'),COLOR0000FF;3 T0 S. k1 c1 {( l& ]
STICKLINE(TJ1 ,-10,-6,2,0),COLOR0000FF; c3 ]+ i$ f0 @/ E& \5 \$ m
LV:=MA(C,24);" x! }) O3 @3 E7 L& p! g
HR0:=HHV(HIGH,N);
0 O4 l1 q o4 _) p$ k! ~1 L4 THRY0:=LLV(LOW,N);% w( Y9 f- ^0 D& ~( I& ~* n. F
HRY110:=HR0*HRY0;8 G J/ D+ O% ^1 E
HRY330:=SQRT(HRY110);+ ^3 S/ p8 n; e, i7 r, B* z
NS1:=C>HRY330 AND HRY330 >=REF(HRY330,1) AND C>LV;
; U# y; o# ?2 b! r- m0 M8 F4 CSTICKLINE(C>0,-10,-11.5,3,0),COLORFF0000;
7 j- w# f" V8 C, Q& @* f/ RSTICKLINE(WLT2 OR WL>WLT,-10,-11.5,3,0),COLOR00FFFF;0 v" n! y# [; M7 F2 r. j! f
STICKLINE(NS1,-10,-11.5,3,0),COLOR0000FF;
+ {5 ~; d% P, vDRAWTEXT(FILTER(NS1,21),-11,'持股'),COLORFFFFFF;8 j1 A6 E9 @, V7 Y2 w& a
DRAWTEXT(FILTER(WLT2 OR WL>WLT,13),-11,'买入 |