私募

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

[选股技巧] 求教老师将这个公式源码改成大智慧新一代能用!

[复制链接]
发表于 2019-5-22 01:03:16 | 显示全部楼层 |阅读模式
VAR1:=(100 - ((90 * (HHV(HIGH,14) - CLOSE)) / (HHV(HIGH,14) - LLV(LOW,14))));5 Y& Z) ^, ?0 V8 ~& d& B- G: e# j7 L
VAR2:=(100 - ((90 * (HHV(HIGH,14) - CLOSE)) / (HHV(HIGH,14) - LLV(LOW,14))));2 f7 f. \8 C$ c
VAR3:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34));/ n2 d( M6 K( U  Y* ]. u2 b) {
DIR1:=ABS(CLOSE-REF(CLOSE,5));
2 T" I" A9 l1 D1 oVIR1:=SUM(ABS(CLOSE-REF(CLOSE,1)),5);
! ], X0 o! Z$ s6 UER1:=DIR1/VIR1;
  w) l( }( s6 F3 c9 `' ^CS1:=ER1*(0.8-2/8)+2/8;; K/ C9 X& B7 U! ?2 O" F$ ]1 A
CQ1:=CS1*CS1;
6 @5 c; R' ~$ zAMA1:EMA(DMA(CLOSE,CQ1),2) ,COLORWHITE;
# n- A  n( k( ?: cDIR2:=ABS(CLOSE-REF(CLOSE,10));5 o6 @, O: Q1 S( @
VIR2:=SUM(ABS(CLOSE-REF(CLOSE,1)),10);6 f, j4 W1 E3 C/ @8 G
ER2:=DIR2/VIR2;
" A1 {) q* w8 W3 ^# TCS2:=ER2*(0.8-2/24)+2/24;- c. u7 Z( A$ @, k5 R* D
CQ2:=CS2*CS2;  B1 d4 H7 i5 f, o6 r
AMA2:EMA(DMA(CLOSE,CQ2),2),COLORGREEN,LINETHICK2;
  u" v; n& w0 {3 vAMA3:IF(AMA2/REF(AMA2,1)>0.997,AMA2,DRAWNULL),COLORYELLOW,LINETHICK2;
+ I. u! q* o6 Z1 [AMA4:IF(AMA2/REF(AMA2,1)>1.001,AMA2,DRAWNULL),COLORRED,LINETHICK2;2 X# z4 p/ u7 V% e; Z
STICKLINE((VAR2 < MA(VAR3,6)),CLOSE,OPEN,3,1),COLOR008000;
: {, M& b7 R3 ?# Z3 L9 SSTICKLINE((VAR2 > MA(VAR3,6)),OPEN,CLOSE,3,1),COLORRED;
- ?, Y( d: |$ q  SSTICKLINE(((OPEN > CLOSE) AND (VAR2 > MA(VAR3,6))),(OPEN * 0.998),(CLOSE * 1.0001),2.3,0),COLOR008000;
( p, G% }6 D3 j- t1 I- H$ }: MSTICKLINE(((OPEN < CLOSE) AND (VAR2 < MA(VAR3,6))),(CLOSE * 0.998),(OPEN * 1.002),2.3,0),COLORRED;
1 W$ V+ ~/ q% L1 |" JSTICKLINE(((OPEN > CLOSE) AND (VAR2 < MA(VAR3,6))),CLOSE,OPEN,2.3,0),COLOR008000;2 B/ m: ?, f  e- C+ m
DRAWICON(CROSS(VAR2,MA(VAR3,6)),(LOW - (LOW*0.04)),7);% r# P+ [$ y" z. C
DRAWICON(CROSS(MA(VAR3,6),VAR1),(HIGH+(HIGH*0.03)),8);) d1 p2 t: \: r, i6 e! s
PT:=REF(H,1)-REF(L,1);
2 e, T' ]8 E6 k( e7 C4 o. r) XCDP:=(REF(H,1)+REF(L,1)+REF(C,1)*2)/4;8 p; A+ J% W5 D( c( m! S+ P3 s
AH:=CDP+PT;1 S; [3 D: K5 P: t* I- b
AL:=CDP-PT;
4 H5 M- @/ ]" x; ]# `% u& P6 `4 O6 J1 o/ _NH:=CDP*2-REF(L,1);
; }% k0 f( E, Y3 z0 f, iNL:=CDP*2-REF(H,1);! U# u& B" C6 C( ~
强:IF(AH>REF(C,1)*1.1,REF(C,1)*1.1,AH)NODRAW;
, U' [+ l' ~+ I, B) J阻:IF(NH>强,(强-CDP)*0.618+CDP,NH)NODRAW,COLORCYAN;0 u3 Z; T2 e2 R% o
M:=IF(AL
http://www.simu001.cn/x73503x1x1.html
最好的私募社区 | 第一私募论坛 | http://www.simu001.cn

精彩推荐

回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-1-23 06:14 , Processed in 0.361503 second(s), 25 queries .

Powered by www.simu001.cn X3.4

Copyright © 2001-2021, Tencent Cloud.

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