多空动脉-精品通达信指标公式源码分享
MA25:EMA(CLOSE,25);
FJ:EMA(CLOSE,905);
STICKLINE(MA25>FJ,MA25,FJ,1,0),COLORRED;
STICKLINE(MA25>FJ AND MA25<REF(MA25,1),MA25,FJ,1,0),COLORYELLOW;
STICKLINE(MA25>FJ AND FJ<REF(FJ,1),MA25,FJ,1,0),COLORCYAN;
STICKLINE(MA25<FJ,MA25,FJ,1,0),COLORGREEN;
STICKLINE(MA25<FJ AND MA25>REF(MA25,1),MA25,FJ,1,0),COLORCYAN;
STICKLINE(MA25<FJ AND FJ>REF(FJ,1),MA25,FJ,1,0),COLORLIRED;
DRAWICON(CROSS(MA25,FJ),FJ,23);
X_3:=MAX(DYNAINFO(3),DYNAINFO(5));
X_4:=MIN(DYNAINFO(3),DYNAINFO(6));
X_5:=(X_3-X_4);
Z1:(X_4+X_5*1),COLORYELLOW,LINETHICK4;
Z2:(X_4+X_5*0/8),COLORBROWN,LINETHICK6;
ZL:(X_4+X_5*7/8),COLOR00DD00;
ZC:(X_4+X_5*0.5/8),COLOR00DD00;
XJ:CLOSE,COLORWHITE,LINETHICK2;
STICKLINE(CROSS(ZC,XJ),ZC,ZL,1,0),COLORYELLOW;
DRAWTEXT(LONGCROSS(ZC,XJ,2),ZC*1.001,7),COLORYELLOW;
DRAWTEXT(LONGCROSS(XJ,ZL,2),XJ,8),COLORRED;
版权声明
本文版权归掌上指标所有。
未经许可,不得转载,转载请注明出处!