私募

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

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

[复制链接]
发表于 2019-5-22 01:09:21 | 显示全部楼层 |阅读模式
{N;10,1,60}
5 a' X* N) `8 I' P7 P
/ D4 S6 s; V- j8 AR5:MA(CLOSE,5),PRECIS2,colorRED,linethick2;0 L7 z+ |8 `" `; Q
R10:MA(CLOSE,10),PRECIS2,color009900,linethick2;
  I) S) Q, o' s; c- Q- U# N( qR20:=MA(CLOSE,20);0 o6 s6 C9 v& {
R30:MA(CLOSE,30),colorff9933,POINTDOT;
6 W9 V+ {& ~" D8 |. t$ U* g7 D" Y5 OR60:MA(CLOSE,60),PRECIS2,linethick1,COLOR00ffff,POINTDOT;
7 p: S8 U, c9 {. P7 n( I$ P强弱:ema(cost(60),10),PRECIS2,COLORffff00,POINTDOT,LINETHICK1;
$ ?4 z3 B' B  b: Vlhnh:=BARSLAST(DISPSTATUS=1)+1;3 N3 F6 E; |; W2 N
nnl:=DISPSTATUS=2;' U6 D( A! ?7 {* C; B* S% u9 m  p
P:=BACKSET(nnl,hhvBARS(h,lhnh)+1);
" S- p; |$ J; _B:=P>REF(P,1);9 D+ D4 {1 j2 U  H4 K
P2:=BACKSET(nnl,LLVBARS(L,lhnh)+1);8 P1 w9 Y3 r7 m$ c3 x; G
B2:=P2>REF(P2,1);
9 d& |4 I$ W- Z+ N( P高:REF(H,BARSLAST(b)),PRECIS2,COLORRED,LINETHICK1;" p# H6 v' w' Q5 u3 Q/ f
DRAWTEXT(nnl,高,''高: ¥''+高),ALIGN2,COLORGREEN;& c; j& N3 f% G" K
低:REF(L,BARSLAST(B2)),PRECIS2,COLORGREEN,LINETHICK1;
" T7 O; T& G- ]! d" s/ \DRAWTEXT(nnl,低*1.009,''低: ¥''+低),ALIGN2,COLORGREEN;
, h1 I4 q( G! P% h: M# R9 }F6(高-低)*0.236)+低,PRECIS0,COLORA9A9A9;( K2 q9 v* M# M6 ^% y
DRAWTEXT(BARSLAST(B)>BARSLAST(B2) and nnl,F6,''0.236: ¥''+F6),ALIGN2,COLORGREEN;( N3 w% Z  i% ]4 h5 f( ^2 Z4 w) B! n
F2:((高-低)*0.382)+低,PRECIS0,COLORA9A9A9;
- |0 @* {$ c/ d$ L; ?+ z) tDRAWTEXT(BARSLAST(B)>BARSLAST(B2) and nnl,F2,''0.382: ¥''+F2),ALIGN2,COLORGREEN;* I" j, X% X5 L, [' h* q
F3:((高-低)*0.5)+低,PRECIS0,COLOR5F9EA0;
+ F* A8 U, c1 ^% S- l9 w9 FDRAWTEXT(nnl,F3,''0.5:¥''+F3),ALIGN2,COLORGREEN;2 ~) o" B3 N& V! Q
F4:((高-低)*0.618)+低,PRECIS0,COLORA9A9A9;
. ^% e; |) d) s  W: fDRAWTEXT(BARSLAST(B)>BARSLAST(B2)and nnl,F4,''0.618: ¥''+F4),ALIGN2,COLORGREEN;
( Y9 q" ]  n* AF5:((高-低)*0.764)+低,PRECIS0,COLORA9A9A9;! w. ]3 T1 V4 T$ f& G# ^
DRAWTEXT(BARSLAST(B)>BARSLAST(B2) and nnl,F5,''0.764: ¥''+F5),ALIGN2,COLORGREEN;
) U0 Q2 \1 R; F. i' J. P8 YPDAY1 := BARSLAST(CROSS(R5,R60));{5日均线上穿60日均线}
- L; y7 s# J. ZPDAY2 := BARSLAST(CROSS(R10,R60));{10日均线上穿60日均线,至此形成颈部}( b* V% Q$ x  F% L  n
PDAY3 := BARSLAST(HIGH=HHV(HIGH,PDAY2));{形成头部,要下跌}
8 }$ l9 T8 I% U+ Q0 _9 APDAY4 := BARSLAST(CROSS(R10,R5));{下跌后,5日均线和10日均线死叉}9 Y! U. d; U$ X+ s* E" v! I! b
PDAY5 := BARSLAST(CROSS(R5,R10));{回落不久,5日均线和10日均线形成金叉,形成D部}
  ?* ]2 ^$ g4 Y" o; x; ?A1:= 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);
9 a4 w2 @- M  F4 xBB:=FILTER( A1 AND A2 AND MA(C,5)>=MA(C,10) AND MA(C,10)>MA(C,60),5);# D9 e3 L3 A( E* @) q
有戏:=IF(AA AND BB,1,0);9 l& j1 w5 ~' ~
DRAWICON(AA AND BB ,LOW*0.99,1),ALIGN1;
2 b' n& P+ Y2 J6 J) [A0:=AMOUNT/VOL/100;9 J: Q. ^  e! s) l1 [6 h  d
A3:=(EMA(A0,3)>EMA(A0,7) AND EMA(A0,7)>EMA(A0,13) AND EMA(A0,13)>EMA(A0,21));. L( }& L: M. I2 Q5 j9 f  r3 g
DRAWTEXT(A3,MA(C,60)*1.009,''*''),ALIGN1,color00ffff;7 o8 C8 L8 \9 z: l& g3 Z+ ~* G
GJ:=(C+H+L+O)/4;. t" y" a5 Y! e0 t
明阻:=L+(GJ-L)+(C-L);# z9 X+ V9 m9 S' a
明支:=L+(C-GJ);6 \: {3 z/ {" P: J3 C
阻:REF(明阻 , 1),LINETHICK0,PRECIS2,COLORRED;2 _- ^  s+ {( A2 M+ B
支:REF(明支 , 1),LINETHICK0,PRECIS2,COLORFF00FF;7 ^/ `6 v3 Q% a
STICKLINE(DISPSTATUS=2  AND C>=阻,阻*1.001,阻*0.999,15,0),COLOR0000FF;* t5 ^! t! L( l# v- M) |. T9 X
STICKLINE(DISPSTATUS=2  AND C=支,支*1.001,支*0.999,15,0),COLORFF00FF;" r$ E2 g* R; h2 C. F5 L
STICKLINE(DISPSTATUS=2  AND CZX;8 K5 m6 B3 y& w' `- [
短买:=IF(DXGD AND BETWEEN(DX,0,60) AND ZX>0,1,0);
. l& M4 J- W: A" l" w中买:=IF(ZXGD AND BETWEEN(DX,0,50) AND BETWEEN(CX,0,50),1,0);) @5 X' J& n! ?  ?4 h: A5 [' N- z
DTPL:=DX>ZX AND ZX>CX AND CX>0;8 p6 n3 r2 H) d. M8 Y, i# h5 j4 ]  t9 A
QSXS:=DX>REF(DX,1) AND ZX>REF(ZX,1);- c8 R, L& s) K4 y
TSJC:=CROSS(DX,CX) AND CROSS(ZX,CX);8 F3 e0 V7 z; o0 F! ^7 E
优选:=IF(CROSS(DTPL,0.8) AND (TSJC OR COUNT(QSXS,3)=3) AND CX=5 AND XD AND DF AND DDSJ80;
- ?, p! ^/ @$ e底:=跌6 AND 跌9;: p6 ]" S, W6 w
TYP := (HIGH + LOW + CLOSE)/3;- i0 _' a( x$ ?: ]% }2 C6 |
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));) V: s8 c! w. \, \: n2 F
A:=REF(C,1);
9 m- G! r8 `! H0 ~RSI:=SMA(MAX(C-A,0),6,1)/SMA(ABS(C-A),6,1)*100;- _; Q3 f# e6 l; ]9 ^+ Q3 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-27 17:27 , Processed in 3.040924 second(s), 26 queries .

Powered by www.simu001.cn X3.4

Copyright © 2001-2021, Tencent Cloud.

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