私募

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz

[选股技巧] [大智慧L2] 实战主图指标

[复制链接]
发表于 2019-5-22 01:09:21 | 显示全部楼层 |阅读模式
{N;10,1,60}
6 G7 P6 K$ `3 B& k, X( n3 v8 g; u) q
6 p; n$ F. R0 S2 m) [9 ]* iR5:MA(CLOSE,5),PRECIS2,colorRED,linethick2;. ]- I  `  ~9 l9 o0 U- X; ~
R10:MA(CLOSE,10),PRECIS2,color009900,linethick2;
6 o# D. P+ \! x  m5 x) o8 JR20:=MA(CLOSE,20);2 {- \' B6 ~* j( V( U* S
R30:MA(CLOSE,30),colorff9933,POINTDOT;
. J+ l7 Q0 C6 {R60:MA(CLOSE,60),PRECIS2,linethick1,COLOR00ffff,POINTDOT;
& D9 H' i& j  D, u6 x' q7 V强弱:ema(cost(60),10),PRECIS2,COLORffff00,POINTDOT,LINETHICK1;
' A: ?* |! G# C5 Ylhnh:=BARSLAST(DISPSTATUS=1)+1;
3 B& @  s4 j. ^2 X0 G  r6 knnl:=DISPSTATUS=2;
  R7 ^' x8 _8 ~P:=BACKSET(nnl,hhvBARS(h,lhnh)+1);
5 l% W( [. U, v# ?3 QB:=P>REF(P,1);# ]4 P, g3 f- Q! ]
P2:=BACKSET(nnl,LLVBARS(L,lhnh)+1);5 W7 t  }  Y. S2 m9 z
B2:=P2>REF(P2,1);
# R( p9 H, V2 b% V高:REF(H,BARSLAST(b)),PRECIS2,COLORRED,LINETHICK1;2 f9 q5 I5 L9 [6 v& W
DRAWTEXT(nnl,高,''高: ¥''+高),ALIGN2,COLORGREEN;
1 J' b1 s, W$ k低:REF(L,BARSLAST(B2)),PRECIS2,COLORGREEN,LINETHICK1;2 M4 H) T6 H$ ^  U! ?3 w
DRAWTEXT(nnl,低*1.009,''低: ¥''+低),ALIGN2,COLORGREEN;
4 f6 v0 I+ w* XF6(高-低)*0.236)+低,PRECIS0,COLORA9A9A9;- [! }( q  G$ K2 f/ P( M: r4 N
DRAWTEXT(BARSLAST(B)>BARSLAST(B2) and nnl,F6,''0.236: ¥''+F6),ALIGN2,COLORGREEN;7 j/ g! }, K+ ^
F2:((高-低)*0.382)+低,PRECIS0,COLORA9A9A9;4 z3 ?0 c; q: D' a
DRAWTEXT(BARSLAST(B)>BARSLAST(B2) and nnl,F2,''0.382: ¥''+F2),ALIGN2,COLORGREEN;
7 z$ X7 }6 y2 L4 b7 t! v0 cF3:((高-低)*0.5)+低,PRECIS0,COLOR5F9EA0;
4 }- l9 v, y/ m* D- N7 ?7 oDRAWTEXT(nnl,F3,''0.5:¥''+F3),ALIGN2,COLORGREEN;  _  A" A  N+ z4 [4 S
F4:((高-低)*0.618)+低,PRECIS0,COLORA9A9A9;9 a% N  E! s% M* Q/ H2 Z
DRAWTEXT(BARSLAST(B)>BARSLAST(B2)and nnl,F4,''0.618: ¥''+F4),ALIGN2,COLORGREEN;
* [* |! m7 T# P- m: k/ ?F5:((高-低)*0.764)+低,PRECIS0,COLORA9A9A9;9 ?& i. I$ ]3 Q6 n8 v3 l
DRAWTEXT(BARSLAST(B)>BARSLAST(B2) and nnl,F5,''0.764: ¥''+F5),ALIGN2,COLORGREEN;7 n3 a' J8 C4 V  V+ w2 |) H
PDAY1 := BARSLAST(CROSS(R5,R60));{5日均线上穿60日均线}' n' j* M) H9 I& V
PDAY2 := BARSLAST(CROSS(R10,R60));{10日均线上穿60日均线,至此形成颈部}
" L+ m# Q! ^& j" X! W4 dPDAY3 := BARSLAST(HIGH=HHV(HIGH,PDAY2));{形成头部,要下跌}
) N/ P3 p( j0 m( tPDAY4 := BARSLAST(CROSS(R10,R5));{下跌后,5日均线和10日均线死叉}; K; Q' c* f  d7 y  m7 ?' b  T
PDAY5 := BARSLAST(CROSS(R5,R10));{回落不久,5日均线和10日均线形成金叉,形成D部}
6 t/ v6 \7 B/ w# W7 cA1:= PDAY1&gtDAY2 AND PDAY2>PDAY3 AND PDAY3>PDAY4 AND PDAY4>PDAY5 AND PDAY5=MA(C,10) AND MA(C,10)>MA(C,60),10,0);
4 ?  X, X  j4 j) u: VBB:=FILTER( A1 AND A2 AND MA(C,5)>=MA(C,10) AND MA(C,10)>MA(C,60),5);
* @8 S. j! L& D  Y/ [7 I  t有戏:=IF(AA AND BB,1,0);) d/ E) j$ J0 \: h0 u4 W7 d$ }
DRAWICON(AA AND BB ,LOW*0.99,1),ALIGN1;
/ k. |8 A' P$ J  ?% \: L  L  L6 rA0:=AMOUNT/VOL/100;
$ H8 H' A; K5 y% J+ S0 J' y: zA3:=(EMA(A0,3)>EMA(A0,7) AND EMA(A0,7)>EMA(A0,13) AND EMA(A0,13)>EMA(A0,21));- {4 d8 C, P9 D( f% d2 c% h
DRAWTEXT(A3,MA(C,60)*1.009,''*''),ALIGN1,color00ffff;
$ Y% e, k5 `  V6 \1 S! @GJ:=(C+H+L+O)/4;; x! K/ e3 r0 z# R8 A9 H6 k
明阻:=L+(GJ-L)+(C-L);
/ m# G+ }0 L( A% R明支:=L+(C-GJ);
. ^! [! o* P$ w1 {" g阻:REF(明阻 , 1),LINETHICK0,PRECIS2,COLORRED;- J' Q/ r- G) F6 ?
支:REF(明支 , 1),LINETHICK0,PRECIS2,COLORFF00FF;4 Q& s+ @) |# o1 s* r5 {
STICKLINE(DISPSTATUS=2  AND C>=阻,阻*1.001,阻*0.999,15,0),COLOR0000FF;
8 [/ D" b; }2 ]1 |. oSTICKLINE(DISPSTATUS=2  AND C=支,支*1.001,支*0.999,15,0),COLORFF00FF;* d0 ^5 y6 q. Q
STICKLINE(DISPSTATUS=2  AND CZX;
- s9 S" M& V7 U& S  E短买:=IF(DXGD AND BETWEEN(DX,0,60) AND ZX>0,1,0);7 u) s3 {3 y: y/ r7 k; M4 {4 ~
中买:=IF(ZXGD AND BETWEEN(DX,0,50) AND BETWEEN(CX,0,50),1,0);
3 _  R( K8 ^7 A" vDTPL:=DX>ZX AND ZX>CX AND CX>0;" ?* }1 Y6 U- }4 r+ S7 t
QSXS:=DX>REF(DX,1) AND ZX>REF(ZX,1);
0 |# r+ t( V! H. g: FTSJC:=CROSS(DX,CX) AND CROSS(ZX,CX);
3 o0 U. {: R( A优选:=IF(CROSS(DTPL,0.8) AND (TSJC OR COUNT(QSXS,3)=3) AND CX=5 AND XD AND DF AND DDSJ80;
9 h# I* y* i) X9 z" D5 @6 ^$ m底:=跌6 AND 跌9;/ c- F. R0 C9 o6 Q- U
TYP := (HIGH + LOW + CLOSE)/3;
% _) Q! ]3 f8 A  Y. \0 FCCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
/ `: E: |$ Q, H( g* k3 iA:=REF(C,1);5 |% ~3 {7 B0 g
RSI:=SMA(MAX(C-A,0),6,1)/SMA(ABS(C-A),6,1)*100;
, I" F: U! o2 k- y/ M; ~1 dA11:=(C/MA(C,5)-1)*100
http://www.simu001.cn/x73699x1x1.html
最好的私募社区 | 第一私募论坛 | http://www.simu001.cn

精彩推荐

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|Archiver| ( 桂ICP备12001440号-3 )|网站地图

GMT+8, 2025-4-5 04:57 , Processed in 0.371847 second(s), 26 queries .

Powered by www.simu001.cn X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表