私募

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

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

[复制链接]
发表于 2019-5-22 01:09:21 | 显示全部楼层 |阅读模式
{N;10,1,60}
& I) F! [! V6 x+ O1 K0 f" v# E3 K1 {% s. u2 a
R5:MA(CLOSE,5),PRECIS2,colorRED,linethick2;6 `) Q4 z7 ]2 N; A& I
R10:MA(CLOSE,10),PRECIS2,color009900,linethick2;/ ]1 l! x: ~5 E& T# E
R20:=MA(CLOSE,20);
6 `4 A, B1 G" ]R30:MA(CLOSE,30),colorff9933,POINTDOT;$ H' F2 U9 G# q2 P2 H
R60:MA(CLOSE,60),PRECIS2,linethick1,COLOR00ffff,POINTDOT;
" J. p0 G4 \7 T0 r" F3 k强弱:ema(cost(60),10),PRECIS2,COLORffff00,POINTDOT,LINETHICK1;
" v: D+ E& l+ c% r) vlhnh:=BARSLAST(DISPSTATUS=1)+1;' T3 P$ I3 k3 u3 u9 ~1 \
nnl:=DISPSTATUS=2;
+ v& y$ l; r3 M: [8 {" v9 TP:=BACKSET(nnl,hhvBARS(h,lhnh)+1);
9 g7 E9 N: N% LB:=P>REF(P,1);
9 y) y1 ^& K) P0 H1 oP2:=BACKSET(nnl,LLVBARS(L,lhnh)+1);: a( W  z1 A  ^: I; W
B2:=P2>REF(P2,1); 4 u9 d8 x. G0 u& O% H( ]
高:REF(H,BARSLAST(b)),PRECIS2,COLORRED,LINETHICK1;: [6 k* `' z# H8 |: E9 T7 y
DRAWTEXT(nnl,高,''高: ¥''+高),ALIGN2,COLORGREEN;! Q+ ]- v- J" L' O* |# ^
低:REF(L,BARSLAST(B2)),PRECIS2,COLORGREEN,LINETHICK1;
7 G3 v0 S% e8 G% f+ u# [- ZDRAWTEXT(nnl,低*1.009,''低: ¥''+低),ALIGN2,COLORGREEN;7 L8 W7 }  s  `" a) ~3 s
F6(高-低)*0.236)+低,PRECIS0,COLORA9A9A9;2 ~% G# u, K4 i% S
DRAWTEXT(BARSLAST(B)>BARSLAST(B2) and nnl,F6,''0.236: ¥''+F6),ALIGN2,COLORGREEN;  o* J) f, n- F4 k" W: i
F2:((高-低)*0.382)+低,PRECIS0,COLORA9A9A9;$ V* C' s3 k% A" b! \* y1 v
DRAWTEXT(BARSLAST(B)>BARSLAST(B2) and nnl,F2,''0.382: ¥''+F2),ALIGN2,COLORGREEN;
5 e9 E5 R% v" J  Z, pF3:((高-低)*0.5)+低,PRECIS0,COLOR5F9EA0;
6 N1 P% M$ r4 J5 s  LDRAWTEXT(nnl,F3,''0.5:¥''+F3),ALIGN2,COLORGREEN;
. o( j4 P$ O! U! J! @7 ZF4:((高-低)*0.618)+低,PRECIS0,COLORA9A9A9;$ e% u7 _  E0 T
DRAWTEXT(BARSLAST(B)>BARSLAST(B2)and nnl,F4,''0.618: ¥''+F4),ALIGN2,COLORGREEN;# ]6 h' F* P4 D' u$ Q, k) c7 P; L
F5:((高-低)*0.764)+低,PRECIS0,COLORA9A9A9;
8 S- E5 B0 V" B9 U8 g7 sDRAWTEXT(BARSLAST(B)>BARSLAST(B2) and nnl,F5,''0.764: ¥''+F5),ALIGN2,COLORGREEN;1 J& W! s: n( K4 Q9 |2 |
PDAY1 := BARSLAST(CROSS(R5,R60));{5日均线上穿60日均线}
. h' D' w& I) E' X- }PDAY2 := BARSLAST(CROSS(R10,R60));{10日均线上穿60日均线,至此形成颈部}
, W: X" v; A4 B$ RPDAY3 := BARSLAST(HIGH=HHV(HIGH,PDAY2));{形成头部,要下跌}( I9 C4 x; U* Z
PDAY4 := BARSLAST(CROSS(R10,R5));{下跌后,5日均线和10日均线死叉}5 ^) s* ]0 x! `) R( {5 P0 {
PDAY5 := BARSLAST(CROSS(R5,R10));{回落不久,5日均线和10日均线形成金叉,形成D部}
9 J  Z$ E" @6 n" ~- v. E  J8 NA1:= 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);
. q. @9 e  ]# H2 f1 A$ SBB:=FILTER( A1 AND A2 AND MA(C,5)>=MA(C,10) AND MA(C,10)>MA(C,60),5);
4 B4 a* `, a: Z: q, U3 T有戏:=IF(AA AND BB,1,0);, E0 h$ i# u  m4 J! a$ o
DRAWICON(AA AND BB ,LOW*0.99,1),ALIGN1;
! H% X" W( d/ k; `" ?A0:=AMOUNT/VOL/100;
# D- G. K. s5 }0 ^A3:=(EMA(A0,3)>EMA(A0,7) AND EMA(A0,7)>EMA(A0,13) AND EMA(A0,13)>EMA(A0,21));# B5 m0 V  D6 K) @7 q& m2 a5 ]8 ^
DRAWTEXT(A3,MA(C,60)*1.009,''*''),ALIGN1,color00ffff;
/ [, O# g$ B: kGJ:=(C+H+L+O)/4;
8 F( W, F4 K/ [" b$ C明阻:=L+(GJ-L)+(C-L);8 V; c5 }  G/ J; U. k1 v- b
明支:=L+(C-GJ);
7 z8 t! M$ r( e: o阻:REF(明阻 , 1),LINETHICK0,PRECIS2,COLORRED;
1 L1 t9 H' t# a5 ^6 s支:REF(明支 , 1),LINETHICK0,PRECIS2,COLORFF00FF;
" N: ], L5 ]3 |% O. \( @STICKLINE(DISPSTATUS=2  AND C>=阻,阻*1.001,阻*0.999,15,0),COLOR0000FF;
2 b" z/ q9 c, G* JSTICKLINE(DISPSTATUS=2  AND C=支,支*1.001,支*0.999,15,0),COLORFF00FF;
' d0 V5 g; [8 o. g+ uSTICKLINE(DISPSTATUS=2  AND CZX;1 i  ?2 Z) T$ c! D, t
短买:=IF(DXGD AND BETWEEN(DX,0,60) AND ZX>0,1,0);/ o3 |) x* R. X2 W
中买:=IF(ZXGD AND BETWEEN(DX,0,50) AND BETWEEN(CX,0,50),1,0);  ?* g3 B7 d7 g
DTPL:=DX>ZX AND ZX>CX AND CX>0;
, T& G% f$ u! q$ t4 E( d: |" Z1 PQSXS:=DX>REF(DX,1) AND ZX>REF(ZX,1);
. G' Q. j' b1 [2 mTSJC:=CROSS(DX,CX) AND CROSS(ZX,CX);% {: H7 i# }1 O
优选:=IF(CROSS(DTPL,0.8) AND (TSJC OR COUNT(QSXS,3)=3) AND CX=5 AND XD AND DF AND DDSJ80;( @9 h7 o( i2 i: n5 Q
底:=跌6 AND 跌9;7 T# n  S! p  D, o& X
TYP := (HIGH + LOW + CLOSE)/3;) Z6 b1 S, a* V
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
* B8 T, e- V' rA:=REF(C,1);
& h5 J. Y  S% y# V9 J; o" PRSI:=SMA(MAX(C-A,0),6,1)/SMA(ABS(C-A),6,1)*100;% @4 N+ |# v  k, o
A11:=(C/MA(C,5)-1)*100
http://www.simu001.cn/x73699x1x1.html
最好的私募社区 | 第一私募论坛 | http://www.simu001.cn

精彩推荐

回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-24 01:40 , Processed in 0.366251 second(s), 27 queries .

Powered by www.simu001.cn X3.4

Copyright © 2001-2021, Tencent Cloud.

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