通达信趋势线主图指标公式
2019/12/26 18:31:21
{N= 3 M=30}
A:=MA(CLOSE,17)+ABS(MA(CLOSE,17)-REF(MA(CLOSE,17),1));
B:=MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1);
分水岭:=IF(MA(CLOSE,17)<B,B,MA(CLOSE,17)),COLORFF00FF,LINETHICK2;
操作线:=分水岭-(EMA(C,3)-分水岭),COLOR00FFFF,LINETHICK2;
PM:MA(C,3),COLORWHITE,LINETHICK3;
IF(PM>REF(PM,1),PM,DRAWNULL),COLORRED,LINETHICK2;
IF(PM=REF(PM,1),PM,DRAWNULL),COLORRED;
IF(PM<REF(PM,1),PM,DRAWNULL),COLORFF9900,LINETHICK2;
MA3:MA(C,3),LINETHICK;
MA30:MA(C,30),LINETHICK4,COLORYELLOW;
{MA20:MA(C,20),LINETHICK1.5;}
MA60:MA(C,60),LINETHICK5;
{MA250:MA(C,250),LINETHICK1.5;}
{M1:EMA(C,5),COLORRED,LINETHICK2;
M2:=EMA(M1,5),COLORGREEN;
M3:=EMA(M2,5),COLORGREEN;
M4:=EMA(M3,5),COLORGREEN;
M5:=EMA(M4,5),COLORGREEN;
M1S:IF(M1>REF(M1,1),M1,DRAWNULL),COLORYELLOW;
M2S:=IF(M2>REF(M2,1),M2,DRAWNULL),,COLORYELLOW;
M3S:=IF(M3>REF(M3,1),M3,DRAWNULL),,COLORYELLOW;
M4S:=IF(M4>REF(M4,1),M4,DRAWNULL),,COLORYELLOW;
M5S:=IF(M5>REF(M5,1),M5,DRAWNULL),,COLORYELLOW;};
看股 吧公式 www.kang uba.com
其它股票公式列表