提示大家一定要自己思考 MAQG 指标公式 通达信指标 源码 贴图
2018-05-03 08:45:00来源:本站整理浏览:255
提示大家一定要自己思考 MAQG 指标公式 通达信指标 源码 贴图
MA5:=EMA(EMA(EMA(EMA(EMA(EMA(EMA(EMA(CLOSE,2),2),2),2),2),2),2),2);
MA6:=SMA(MA5,3,1);
MA7:=EMA(EMA(EMA(EMA(EMA(EMA(EMA(EMA(HIGH,2),2),2),2),2),2),2),2);
MA13:MA(CLOSE,13),COLORMAGENTA;
MA21:MA(CLOSE,IF(BARSSINCE(CLOSE>0)<21,BARSSINCE(CLOSE>0),21)),COLORGREEN;
MA34:MA(CLOSE,IF(BARSSINCE(CLOSE>0)<34,BARSSINCE(CLOSE>0),34)),COLORWHITE;
MA55:MA(CLOSE,IF(BARSSINCE(CLOSE>0)<55,BARSSINCE(CLOSE>0),55)),COLORLIBLUE,LINETHICK2;
MA90:MA(CLOSE,IF(BARSSINCE(CLOSE>0)<90,BARSSINCE(CLOSE>0),90)),COLORWHITE,LINETHICK2;
MA120:MA(CLOSE,IF(BARSSINCE(CLOSE>0)<144,BARSSINCE(CLOSE>0),144)),COLORYELLOW,LINETHICK2;
MA240:MA(CLOSE,IF(BARSSINCE(CLOSE>0)<250,BARSSINCE(CLOSE>0),250)),COLORGREEN,LINETHICK2;
NOTEXT1:IF(MA55>REF(MA55,1),MA55,DRAWNULL),COLORMAGENTA,LINETHICK2;
NOTEXT2:IF(MA90>REF(MA90,1),MA90,DRAWNULL),COLORRED,LINETHICK2;
NOTEXT3:IF(MA120>REF(MA120,1),MA120,DRAWNULL),COLORRED,LINETHICK2;
NOTEXT4:IF(MA240>REF(MA240,1),MA240,DRAWNULL),COLORRED,LINETHICK2;
ZFA:=(CLOSE/REF(CLOSE,1)-1)*100;
ZFB:=(CLOSE/OPEN-1)*100;
ZF:=MAX(ZFA,ZFB);
TDXSTEP300:STICKLINE(ZF>9.6,OPEN,CLOSE,3,0),COLOR00CCCC;
TDXSTEP301:STICKLINE(ZF>9.6,OPEN,CLOSE,2,0),COLOR00DDDD;
TDXSTEP302:STICKLINE(ZF>9.6,OPEN,CLOSE,1.3,0),COLOR00ECEC;
TDXSTEP303:STICKLINE(ZF>9.6,OPEN,CLOSE,0.3,0),COLOR0FFFFF;
{-----------------------------------}