私募

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

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

[复制链接]
发表于 2019-5-22 01:03:16 | 显示全部楼层 |阅读模式
VAR1:=(100 - ((90 * (HHV(HIGH,14) - CLOSE)) / (HHV(HIGH,14) - LLV(LOW,14))));
$ i3 e# S0 D/ k1 RVAR2:=(100 - ((90 * (HHV(HIGH,14) - CLOSE)) / (HHV(HIGH,14) - LLV(LOW,14))));
- G1 H  W; K( Z' j/ O8 TVAR3:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34));0 T5 b; ?# I5 q2 ~, D0 a
DIR1:=ABS(CLOSE-REF(CLOSE,5));
( e3 I( K" x. q9 p- s9 ]* JVIR1:=SUM(ABS(CLOSE-REF(CLOSE,1)),5);( C) ]* Y& v; O
ER1:=DIR1/VIR1;4 y/ y$ p+ H  m$ h* r9 r
CS1:=ER1*(0.8-2/8)+2/8;" P+ N5 O9 M2 v; A9 g4 S
CQ1:=CS1*CS1;
9 \) X$ |$ K( Z9 O4 Y3 t* Z4 f! Q& nAMA1:EMA(DMA(CLOSE,CQ1),2) ,COLORWHITE;
( s- M1 F: N+ E5 H* vDIR2:=ABS(CLOSE-REF(CLOSE,10));
( O  q1 J8 ]" ?, i$ F4 C. X$ E. eVIR2:=SUM(ABS(CLOSE-REF(CLOSE,1)),10);3 p$ r% p: U  u+ o% q4 L
ER2:=DIR2/VIR2;
/ k8 A: J& P6 a3 [+ [3 w7 x' JCS2:=ER2*(0.8-2/24)+2/24;
5 G- [, _5 N& _3 m/ c) fCQ2:=CS2*CS2;
* b, c. s: J9 e3 J+ X& ~) Q- c3 M3 EAMA2:EMA(DMA(CLOSE,CQ2),2),COLORGREEN,LINETHICK2;4 I, W. ^% M9 t/ L  `: m
AMA3:IF(AMA2/REF(AMA2,1)>0.997,AMA2,DRAWNULL),COLORYELLOW,LINETHICK2;8 ~9 J& ]% F" T% x
AMA4:IF(AMA2/REF(AMA2,1)>1.001,AMA2,DRAWNULL),COLORRED,LINETHICK2;! p, z, B1 l: Y2 O- _; t
STICKLINE((VAR2 < MA(VAR3,6)),CLOSE,OPEN,3,1),COLOR008000;
# n9 D6 j: F) H+ V+ ?5 Z8 X, G% ]% hSTICKLINE((VAR2 > MA(VAR3,6)),OPEN,CLOSE,3,1),COLORRED;
1 M6 }; J- P8 R8 E7 FSTICKLINE(((OPEN > CLOSE) AND (VAR2 > MA(VAR3,6))),(OPEN * 0.998),(CLOSE * 1.0001),2.3,0),COLOR008000;8 u0 x8 x) p" t5 G' t
STICKLINE(((OPEN < CLOSE) AND (VAR2 < MA(VAR3,6))),(CLOSE * 0.998),(OPEN * 1.002),2.3,0),COLORRED;
5 C, u2 s2 T& ^* T  C& K$ iSTICKLINE(((OPEN > CLOSE) AND (VAR2 < MA(VAR3,6))),CLOSE,OPEN,2.3,0),COLOR008000;
7 z8 S- m7 X1 L( EDRAWICON(CROSS(VAR2,MA(VAR3,6)),(LOW - (LOW*0.04)),7);
6 |; v9 W2 K: d# q6 {4 _9 z, H' A7 wDRAWICON(CROSS(MA(VAR3,6),VAR1),(HIGH+(HIGH*0.03)),8);( O+ L' c# R7 [- y
PT:=REF(H,1)-REF(L,1);0 r0 {  n( j/ P2 f3 z; ^; k. O
CDP:=(REF(H,1)+REF(L,1)+REF(C,1)*2)/4;8 s! ?* Q# a. g. _- ]
AH:=CDP+PT;- s0 K  A! d$ z6 S& G, x; O
AL:=CDP-PT;
! _7 R7 o, x5 Y% ~0 T) v% }+ vNH:=CDP*2-REF(L,1);5 ^, K" w# Y8 x
NL:=CDP*2-REF(H,1);+ t$ B. I' J2 e: G9 a
强:IF(AH>REF(C,1)*1.1,REF(C,1)*1.1,AH)NODRAW;
+ n: L5 o0 ?/ j/ k' b5 b阻:IF(NH>强,(强-CDP)*0.618+CDP,NH)NODRAW,COLORCYAN;
7 a" ^9 d2 _- FM:=IF(AL
http://www.simu001.cn/x73503x1x1.html
最好的私募社区 | 第一私募论坛 | http://www.simu001.cn

精彩推荐

回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-4-3 08:07 , Processed in 0.672736 second(s), 26 queries .

Powered by www.simu001.cn X3.4

Copyright © 2001-2021, Tencent Cloud.

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