通达信变色均线通达信主图源码

 2023-10-29 12:10:02    通达信指标网  

通达信变色均线通达信主图源码


变色线

A:=(3*CLOSE+LOW+OPEN+HIGH)/6;

HJX21:=(21*A+20*REF(A,1)+19*REF(A,2)+18*REF(A,3)+17*REF(A,4)+16*REF(A,5)+

15*REF(A,6)+14*REF(A,7)+13*REF(A,8)+12*REF(A,9)+11*REF(A,10)+

10*REF(A,11)+9*REF(A,12)+8*REF(A,13)+7*REF(A,14)+6*REF(A,15)+

5*REF(A,16)+4*REF(A,17)+3*REF(A,18)+2*REF(A,19)+

REF(A,21))/231;

HJX3:=(3*A+2*REF(A,1)+REF(A,2))/6;

DC1:EMA(HJX3,4),COLORLIMAGENTA;

DC2:EMA(DC1,3),COLORRED;

DC3:EMA(DC1,7),COLORRED;

K1:=BACKSET(DC1<REF(DC1,1),2);

IF(K1,DC1,DRAWNULL),COLORGREEN,LINETHICK1;

K2:=BACKSET(DC2<REF(DC2,1),2);

IF(K2,DC2,DRAWNULL),COLORGREEN,LINETHICK1;

K3:=BACKSET(DC3<REF(DC3,1),2);

IF(K3,DC3,DRAWNULL),COLORGREEN,LINETHICK1;

  •  标签:  

原文链接:https://www.tdxzb.com/?id=1733

本文版权:如无特别标注,本站文章均为原创。

相关文章

服务热线

18020657357

微信客服

微信客服