私募

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

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

[复制链接]
发表于 2019-5-22 01:03:16 | 显示全部楼层 |阅读模式
VAR1:=(100 - ((90 * (HHV(HIGH,14) - CLOSE)) / (HHV(HIGH,14) - LLV(LOW,14))));. L% Z7 y; a3 r2 I+ @/ R  ]
VAR2:=(100 - ((90 * (HHV(HIGH,14) - CLOSE)) / (HHV(HIGH,14) - LLV(LOW,14))));+ [& |6 t( c& h6 B
VAR3:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34));! G: p4 A2 Y$ w+ o' b- q4 Q; D# h
DIR1:=ABS(CLOSE-REF(CLOSE,5));8 R/ C+ d% }( y& g; G
VIR1:=SUM(ABS(CLOSE-REF(CLOSE,1)),5);4 i* H! r) l' r
ER1:=DIR1/VIR1;  R  Y3 q. H/ `/ d9 u
CS1:=ER1*(0.8-2/8)+2/8;
& O  R# o. ^9 S" qCQ1:=CS1*CS1;" X& O- Q$ e) r5 B! y4 W
AMA1:EMA(DMA(CLOSE,CQ1),2) ,COLORWHITE;4 t" |) j' H! ]% m4 l
DIR2:=ABS(CLOSE-REF(CLOSE,10));
' ?! i& D5 ?, Q( xVIR2:=SUM(ABS(CLOSE-REF(CLOSE,1)),10);9 }) F# u! q  w. L
ER2:=DIR2/VIR2;% r; y7 G3 \+ n* N# Q
CS2:=ER2*(0.8-2/24)+2/24;' H% ]" x7 m2 L! G, v' z
CQ2:=CS2*CS2;7 S2 J1 M4 Z1 u4 f$ s! U) j
AMA2:EMA(DMA(CLOSE,CQ2),2),COLORGREEN,LINETHICK2;
5 z' o4 H( n6 d, {: z* ~AMA3:IF(AMA2/REF(AMA2,1)>0.997,AMA2,DRAWNULL),COLORYELLOW,LINETHICK2;
7 M# b# z/ N9 w, `7 P( x- ^/ ~AMA4:IF(AMA2/REF(AMA2,1)>1.001,AMA2,DRAWNULL),COLORRED,LINETHICK2;/ {2 B  z7 a6 f4 t3 L% M4 y5 S, W
STICKLINE((VAR2 < MA(VAR3,6)),CLOSE,OPEN,3,1),COLOR008000;
' N$ G  ^: n* W3 G% j, c8 ySTICKLINE((VAR2 > MA(VAR3,6)),OPEN,CLOSE,3,1),COLORRED;$ `$ R# B- ?2 m9 d  t+ p
STICKLINE(((OPEN > CLOSE) AND (VAR2 > MA(VAR3,6))),(OPEN * 0.998),(CLOSE * 1.0001),2.3,0),COLOR008000;
3 C3 t0 k7 v$ K) ESTICKLINE(((OPEN < CLOSE) AND (VAR2 < MA(VAR3,6))),(CLOSE * 0.998),(OPEN * 1.002),2.3,0),COLORRED;! G) f* r0 Q1 v+ }8 r* K, h
STICKLINE(((OPEN > CLOSE) AND (VAR2 < MA(VAR3,6))),CLOSE,OPEN,2.3,0),COLOR008000;
& K/ v$ C6 v) J' A# n& k3 \2 T; kDRAWICON(CROSS(VAR2,MA(VAR3,6)),(LOW - (LOW*0.04)),7);
+ w3 J5 e9 F: w2 r" {. ?; Q% aDRAWICON(CROSS(MA(VAR3,6),VAR1),(HIGH+(HIGH*0.03)),8);5 j/ B& r+ I+ a- _9 c
PT:=REF(H,1)-REF(L,1);" J& O9 y8 A/ D
CDP:=(REF(H,1)+REF(L,1)+REF(C,1)*2)/4;
+ B' }  k  E8 h  w0 w( A! kAH:=CDP+PT;
( Q0 x* y2 [1 |/ k1 WAL:=CDP-PT;
+ z4 U+ T6 v, X" UNH:=CDP*2-REF(L,1);# h0 b$ _/ W7 x6 u* y
NL:=CDP*2-REF(H,1);
/ i8 \& O: }" B/ {/ x6 L强:IF(AH>REF(C,1)*1.1,REF(C,1)*1.1,AH)NODRAW;
- _* C& A+ k. V: Q0 L阻:IF(NH>强,(强-CDP)*0.618+CDP,NH)NODRAW,COLORCYAN;
* o1 T+ |1 l( V$ F6 `M:=IF(AL
http://www.simu001.cn/x73503x1x1.html
最好的私募社区 | 第一私募论坛 | http://www.simu001.cn

精彩推荐

回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-4-4 23:36 , Processed in 0.394504 second(s), 25 queries .

Powered by www.simu001.cn X3.4

Copyright © 2001-2021, Tencent Cloud.

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