波段彩云主图指标 通达信公式

[复制链接]
查看64 | 回复0 | 2021-8-20 14:59:47 | 显示全部楼层 |阅读模式

AE:=EMA(CLOSE,5);

BE:=MA(CLOSE,20);

红多:STICKLINE(AE>BE,AE,BE,0.02,0),COLORRED;

绿空:STICKLINE(AE<BE,AE,BE,0.02,1),COLOR00FF00;

VS01:=(CLOSE+HIGH+LOW)/3;

VS02:=EMA(VS01,10);

VS03:=REF(VS02,1);

彩带:VS02,COLORWHITE,LINETHICK0;

DRAWBAND(AE,RGB(255,172,172),BE,RGB(57,134,124));

DRAWBAND(VS02,RGB(255,255,255),VS03,RGB(0,0,151));

STICKLINE(AE>BE AND (AE-BE)>REF((AE-BE),1),AE,BE,0.02,1),COLORRED;

STICKLINE(AE<BE AND (BE-AE)>REF((BE-AE),1),AE,BE,0.02,1),COLOR00FF00;

STICKLINE(VS02>VS03,VS02,VS03,0.02,1),COLORWHITE;

STICKLINE(VS02<VS03,VS02,VS03,0.02,1),COLOR970000;

回复

使用道具 举报

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

本版积分规则