私募

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

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

[复制链接]
发表于 2019-5-22 01:03:16 | 显示全部楼层 |阅读模式
VAR1:=(100 - ((90 * (HHV(HIGH,14) - CLOSE)) / (HHV(HIGH,14) - LLV(LOW,14))));4 A7 u- }6 X" i* d! i
VAR2:=(100 - ((90 * (HHV(HIGH,14) - CLOSE)) / (HHV(HIGH,14) - LLV(LOW,14))));. i# }: a) x* m: q& A6 k$ A
VAR3:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34));2 F' f1 n* B- f( t$ o, {
DIR1:=ABS(CLOSE-REF(CLOSE,5));  |: U9 r4 y5 C; z7 `
VIR1:=SUM(ABS(CLOSE-REF(CLOSE,1)),5);& H* R3 D* l- Q1 R# u& D( ^
ER1:=DIR1/VIR1;
  ~8 S0 `/ W: T2 u' p, F7 I3 QCS1:=ER1*(0.8-2/8)+2/8;
: X/ x; I7 P* A2 _" V+ R( WCQ1:=CS1*CS1;
) ?1 N+ b' R2 TAMA1:EMA(DMA(CLOSE,CQ1),2) ,COLORWHITE;6 \4 p) D" f) f% x! z
DIR2:=ABS(CLOSE-REF(CLOSE,10));; \, J4 I! v3 H9 F) B6 t5 ?' S. G. ?
VIR2:=SUM(ABS(CLOSE-REF(CLOSE,1)),10);. O/ G% n9 g+ K7 V8 Y
ER2:=DIR2/VIR2;
0 p; H6 t+ u: u9 c6 kCS2:=ER2*(0.8-2/24)+2/24;6 l- `2 p' i% A; Q/ ~0 r) q9 i, e
CQ2:=CS2*CS2;
' ~- `8 w* B2 XAMA2:EMA(DMA(CLOSE,CQ2),2),COLORGREEN,LINETHICK2;. y1 h' U3 d: \! W/ r
AMA3:IF(AMA2/REF(AMA2,1)>0.997,AMA2,DRAWNULL),COLORYELLOW,LINETHICK2;" m/ l/ M/ [5 M% i. p& O; R
AMA4:IF(AMA2/REF(AMA2,1)>1.001,AMA2,DRAWNULL),COLORRED,LINETHICK2;+ u6 B. n; F/ `8 ^& Q( O
STICKLINE((VAR2 < MA(VAR3,6)),CLOSE,OPEN,3,1),COLOR008000;4 Q* V$ T7 _4 c4 i' u
STICKLINE((VAR2 > MA(VAR3,6)),OPEN,CLOSE,3,1),COLORRED;0 C- ~  i4 A% V% V' d: P0 x: q
STICKLINE(((OPEN > CLOSE) AND (VAR2 > MA(VAR3,6))),(OPEN * 0.998),(CLOSE * 1.0001),2.3,0),COLOR008000;
( |6 m" ?: r1 a! l0 e( fSTICKLINE(((OPEN < CLOSE) AND (VAR2 < MA(VAR3,6))),(CLOSE * 0.998),(OPEN * 1.002),2.3,0),COLORRED;
2 W8 z. C1 x* G- F$ jSTICKLINE(((OPEN > CLOSE) AND (VAR2 < MA(VAR3,6))),CLOSE,OPEN,2.3,0),COLOR008000;
3 E4 v8 z7 X6 d  FDRAWICON(CROSS(VAR2,MA(VAR3,6)),(LOW - (LOW*0.04)),7);  [- E- w3 e; w; R9 F" m
DRAWICON(CROSS(MA(VAR3,6),VAR1),(HIGH+(HIGH*0.03)),8);2 N+ p$ f. |2 U8 g$ A7 g
PT:=REF(H,1)-REF(L,1);2 F! i1 `. Y  a% V
CDP:=(REF(H,1)+REF(L,1)+REF(C,1)*2)/4;9 F. ~# A8 G3 q! `
AH:=CDP+PT;
! i& K4 T/ G- A# |# B# Y" A- s$ WAL:=CDP-PT;
2 K; F" y, }7 R) S- C, S) xNH:=CDP*2-REF(L,1);
/ @" Z$ u& Z5 A, M! U' i0 Q: YNL:=CDP*2-REF(H,1);
1 T- Q/ @0 z! m- D% A7 L  p强:IF(AH>REF(C,1)*1.1,REF(C,1)*1.1,AH)NODRAW;; W. @$ m6 \6 a" X$ j
阻:IF(NH>强,(强-CDP)*0.618+CDP,NH)NODRAW,COLORCYAN;& }; `+ l( P; M
M:=IF(AL
http://www.simu001.cn/x73503x1x1.html
最好的私募社区 | 第一私募论坛 | http://www.simu001.cn

精彩推荐

回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-24 01:22 , Processed in 1.136774 second(s), 25 queries .

Powered by www.simu001.cn X3.4

Copyright © 2001-2021, Tencent Cloud.

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