通达信趋势和位置 转载和谐完全加密指标!

[复制链接]
查看64 | 回复0 | 2022-7-8 08:03:47 | 显示全部楼层 |阅读模式

转载和谐完全加密通达信指标!

{趋势和位置}

轴:0,COLORGREEN;

XA_1:=1;

DB:(EMA(CLOSE,8)-EMA(CLOSE,26))*XA_1,COLORWHITE,LINETHICK2;

XA_2:=CLOSE>MA(CLOSE,5) OR (MA(CLOSE,5)>REF(MA(CLOSE,5),1) AND (HIGH+LOW)/2>MA(CLOSE,5));

XA_3:=CLOSE>EMA(CLOSE,5) OR (EMA(CLOSE,5)>REF(EMA(CLOSE,5),1) AND (HIGH+LOW)/2>EMA(CLOSE,5));

XA_4:=XA_2 OR XA_3;

红:IF(DB>=REF(DB,1) OR XA_4,DB,DRAWNULL),COLORRED,LINETHICK2;

XA_5:=MACD.DIF#WEEK*XA_1;

XA_6:=(BARSLAST(XA_5<REF(XA_5,1) OR XA_5>REF(XA_5,1))+1)*XA_1;

DDA:EMA(EMA(XA_5,XA_6+5),XA_6+5)*XA_1,COLORBLUE,LINETHICK2;

XA_7:=MACD.MACD#WEEK*XA_1;

粉:IF(DDA>=REF(DDA,XA_6),DDA,DRAWNULL),COLORMAGENTA,LINETHICK2;

浅绿:IF(XA_7>=REF(XA_7,XA_6),DDA,DRAWNULL),COLORLICYAN,LINETHICK2;

黄:IF(XA_7>=REF(XA_7,XA_6) AND DDA>=REF(DDA,XA_6),DDA,DRAWNULL),COLORYELLOW,LINETHICK2;
 

643133671.png

643133671.png

回复

使用道具 举报

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

本版积分规则