通达信变色均线系统源码副图

[复制链接]
查看89 | 回复0 | 2022-7-24 07:56:37 | 显示全部楼层 |阅读模式

变色均线系统
 

{变色均线}
 MA5:MA(C,5),COLORWHITE,LINETHICK1;
 IF(MA5>=REF(MA5,1),MA5,DRAWNULL),COLORRED,LINETHICK1;
 IF(MA5<=REF(MA5,1),MA5,DRAWNULL),COLORGREEN,LINETHICK1;
 MA13:MA(C,13),COLORWHITE,LINETHICK1;
 IF(MA13>=REF(MA13,1),MA13,DRAWNULL),COLORRED,LINETHICK1;
 IF(MA13<=REF(MA13,1),MA13,DRAWNULL),COLORGREEN,LINETHICK1;
 MA34:MA(C,34),COLORWHITE,LINETHICK2;
 IF(MA34>=REF(MA34,1),MA34,DRAWNULL),COLORRED,LINETHICK2;
 IF(MA34<=REF(MA34,1),MA34,DRAWNULL),COLORGREEN,LINETHICK2;
 MA55:MA(C,55),COLORWHITE,LINETHICK2;
 IF(MA55>=REF(MA55,1),MA55,DRAWNULL),COLORRED,LINETHICK2;
 IF(MA55<=REF(MA55,1),MA55,DRAWNULL),COLORGREEN,LINETHICK2;
 MA89:MA(C,89),COLORWHITE,LINETHICK2;
 IF(MA89>=REF(MA89,1),MA89,DRAWNULL),COLORRED,LINETHICK2;
 IF(MA89<=REF(MA89,1),MA89,DRAWNULL),COLORGREEN,LINETHICK2;
 MA123:MA(C,123),COLORWHITE,LINETHICK2;
 IF(MA123>=REF(MA123,1),MA123,DRAWNULL),COLORRED,LINETHICK2;
 IF(MA123<=REF(MA123,1),MA123,DRAWNULL),COLORGREEN,LINETHICK2;
 MA144:MA(C,144),COLORWHITE,LINETHICK2;
 IF(MA144>=REF(MA144,1),MA144,DRAWNULL),COLORRED,LINETHICK2;
 IF(MA144<=REF(MA144,1),MA144,DRAWNULL),COLORGREEN,LINETHICK2;
 MA178:MA(C,178),COLORWHITE,LINETHICK2;
 IF(MA178>=REF(MA178,1),MA178,DRAWNULL),COLORRED,LINETHICK2;
 IF(MA178<=REF(MA178,1),MA178,DRAWNULL),COLORGREEN,LINETHICK2;
 MA250:MA(C,250),COLORWHITE,LINETHICK2;
 IF(MA250>=REF(MA250,1),MA250,DRAWNULL),COLORRED,LINETHICK2;
 IF(MA250<=REF(MA250,1),MA250,DRAWNULL),COLORGREEN,LINETHICK2;

1523266133.jpg

1523266133.jpg

 

回复

使用道具 举报

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

本版积分规则