通达信指标——寻底MACD(副图)

[复制链接]
查看77 | 回复0 | 2024-12-20 22:57:55 | 显示全部楼层 |阅读模式
d1.png

VAR1:=(MA(CLOSE,80)-MA(CLOSE,13)/3);
VAR2:=( MA((CLOSE-VAR1)/VAR1,1));
买点1: IF(CROSS(VAR2,0) AND LOW/REF(HIGH,1)REF(VAR2,1),3)=3 AND
COUNT(VAR2REF(HIGH,1)) AND
CLOSE>REF(CLOSE,1),20,0);
MMA:=EMA(VAR2,12)*0.7;
MMB:=EMA(VAR2,3);
快到底:IF(LLV(MMB-MMA,12)>0,0,-30),LINETHICK2,COLORGREEN;
底初选股:IF( CROSS(0, LLV(MMB-MMA,12)),10,0),LINETHICK0;
DIFF:( EMA(CLOSE,12) - EMA(CLOSE,26))*100,COLORRED;
DEA: EMA(DIFF,9),COLORFFFFFF,LINETHICK1;
MACD:= 2*(DIFF-DEA);
{PARTLINE(DIFF,DIFF>=REF(DIFF,1),RGB(255,0,0),
DIFF
抄底:IF(快到底0,35 ,1 );
STICKLINE(MACD0,0,MACD,2,0),COLORGREEN;
STICKLINE(MACDREF(MACD,1)AND MACD,0,MACD,2,0),COLORYELLOW;
STICKLINE(MACD>REF(MACD,1)AND MACD>0,0,MACD,3,0),COLORMAGENTA;

 

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

本版积分规则

557

主题

0

回帖

4068

积分

游资

积分
4068