同花顺公式教程 同花顺均线MACD共振系统指标公式
2016-08-20 10:37 股票知识 zhishi.southmoney.com
P:=2;N:=20;
MA5:MA(C,5);
MA10:MA(C,10);
MA20:MA(C,20),Linethick2;
MA30:MA(C,30),Linethick3;
MA60:MA(C,60),Linethick4;
MID : MA(CLOSE,20);
UPPER: MID + P*STD(CLOSE,N);
LOWER: MID - P*STD(CLOSE,N);
DRAWGBK(MA20>=MA60),RGB(0,0,0);
DRAWGBK(MA20<MA60),RGB(80,100,120);
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
DRAWICON(CROSS(DEA,DIFF) AND MA20>MA60,H*1.01,2);
DRAWICON(CROSS(DIFF,DEA) AND MA20>MA60,L*0.99,1);
更多股票公式相关资讯请关注南方财富网
股票知识网声明:资讯来源于合作媒体及机构,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。