通达信MACD与EXPAM共振主图及选股指标公式

通达信大牛飞天选股指标公式

通达信MACD与EXPAM共振主图及选股指标公式:

E8:expma(C,8),COLORLIRED;

P:=PSY.PSY;

MP:=PSY.PSYMA;

T:=BArslAst(crOSS(P,MP));

T8:=BARSLAST(CROSS(C,E8));

TM:=BARSLAST(CROSS(macd.DIF,MacD.DEA));

XG1:=T>15 AND T8=0 AND TM=0;

STICKLINE(XG1,L,H,0,0),COLORFF0088;

STICKLINE(XG1,CLOSE,OPEN,3,0),COLORFF0011;

STICKLINE(XG1,CLOSE,OPEN,2.8,0),COLORFF0022;

STICKLINE(XG1,CLOSE,OPEN,2.5,0),COLORFF0033;

STICKLINE(XG1,CLOSE,OPEN,2.2,0),COLORFF0044;

STICKLINE(XG1,CLOSE,OPEN,1.7,0),COLORFF0055;

STICKLINE(XG1,CLOSE,OPEN,1.2,0),COLORFF0066;

STICKLINE(XG1,CLOSE,OPEN,0.7,0),COLORFF0077;

STICKLINE(XG1,CLOSE,OPEN,0.2,0),COLORFF0088;

DRAWICON(XG1,L*0.94,7);

通达信锁住主力主图指标公式