通达信关公门前耍大刀 MABD 解读 MACD源码
2016-02-19 10:48:00来源:本站整理浏览:220
R1:=5; R2:=5; R3:=5; R4:=5; M1:=10; M2:=10;
0,COLOR000080,LINETHICK2;
AVGP1:=MA(CLOSE,R1);
AVGP2:=MA(CLOSE,R2);
AVGP3:=MA(CLOSE,R3);
AVGP4:=MA(CLOSE,R4);
MAB1:=(CLOSE-AVGP1)/AVGP1*100;
MAB2:=(CLOSE-AVGP2)/AVGP2*100;
MAB3:=(CLOSE-AVGP3)/AVGP3*100;
MAB4:=(CLOSE-AVGP4)/AVGP4*100;
MAB:EMA((MAB1+MAB2+MAB3+MAB4)/4,M1),COLORC0C0C0;
MMAB:MA(MAB,M2),COLOR00D0E0;
MABD:MAB-MMAB, COLORSTICK;
{EXITLONG:MAB>-1 AND MMAB>-1 AND REF(MAB,3)<REF(MMAB,3) AND REF(MAB,1)>REF(MMAB,1) AND MAB<MMAB;};
- 上一篇公式:通达信买点出击选股公式
- 下一篇公式:通达信筹码估算源码副图