【新MA指標源碼】通達信股軟一目了然的【新MA】指標,源碼如下:
3日:MA(C,3),COLORFFFF00; 8日:MA(C,8); 30日:MA(C,30); 65日:MA(C,65),LINETHICK2; 139日:MA(C,139),LINETHICK2; VAR1:=(C+L+H)/3; VAR2:=EMA(VAR1,6); VAR3:=EMA(VAR2,5); VAR4:=EMA(VAR3,12); VAR5:=EMA(VAR4,5); STICKLINE(VAR2>=VAR3,VAR2,VAR3,1,0),COLORRED; STICKLINE(VAR2<VAR3,VAR2,VAR3,1,0), COLORYELLOW; STICKLINE(VAR4>=VAR5,VAR4,VAR5,1,0),COLORFF00FF; STICKLINE(VAR4<VAR5,VAR4,VAR5,1,0), COLOR88AAFF; |
|