私募

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

[选股技巧] 《原创》MACD个性化副图(通达信)

[复制链接]
发表于 2019-5-22 00:59:48 | 显示全部楼层 |阅读模式
DIF:100*(EMA(CLOSE,5)/EMA(CLOSE,34)-1);
' x: `3 V8 O  \2 z4 fDEA:EMA(DIF,5);BOLL:=MA(CLOSE,21);4 @# N2 d: X! g/ K& l' ~
MACDDIF-DEA)*2,COLORSTICK;* K: o, _% K& n- P. ]0 P2 ^, }
UB:=BOLL+2*STD(CLOSE,21);+ d1 K/ X* x. Q) Z7 ]
LB:=BOLL-2*STD(CLOSE,21);; [( D; X- M: x& T; _
T1:=LONGCROSS(CLOSE,LB*0.98,2);T2:=LONGCROSS(UB,CLOSE*1.02,2);
! R' N: W6 v. aGT:=DIF-REF(DIF,1);T3:=LONGCROSS(GT,0,2);
, e7 ]2 c- Z' a0 ~6 w7 O$ eMT:=MACD-REF(MACD,1);T4:=LONGCROSS(MT,0,2);
1 d* W, m' {2 |' N* f. HGD:=LONGCROSS(DIF,DEA,3); M5:=MA(CLOSE,5);( ~' Y% H4 j, Y: [2 f
A1:=SUMBARS(GD,1);A2:=SUMBARS(GD,2);A3:=SUMBARS(GD,3);
6 z* t9 }/ K! p, A% X$ }' kB1:=SUMBARS(T4,1);B2:=SUMBARS(T4,2);B3:=SUMBARS(T4,3);
; P/ c# j  M/ V" q( eM0:=REF(MACD,B1*(B1>2)),NODRAW; M1:=MIN(REF(MACD,B2),REF(MACD,B3)),NODRAW;' j1 T2 X, V) |& ^2 Y; b
Z0:=REF(DIF,A1*(A1>2)),NODRAW;Z1:=MIN(REF(DIF,A2),REF(DIF,A3));
. F0 c8 K" @& H, P  I# X背离选:=DIF>Z1 AND MACD>M1 AND CROSS((M5-REF(M5,1)),0),NODRAW,COLORRED;
% X0 z- |6 c/ Z0 J9 A7 V减仓:=(CLOSE
http://www.simu001.cn/x72951x1x1.html
最好的私募社区 | 第一私募论坛 | http://www.simu001.cn

精彩推荐

回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-28 10:43 , Processed in 0.355645 second(s), 26 queries .

Powered by www.simu001.cn X3.4

Copyright © 2001-2021, Tencent Cloud.

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