ma25:ema(CLOSE,25);
FJ:EMA(CLOSE,905);
STICKLINE(MA25>FJ,MA25,FJ,1,0),COLORWHITE;
STICKLINE(MA25>FJ AND MA25<REF(MA25,1),MA25,FJ,1,0),COLORBLUE;
STICKLINE(MA25>FJ AND FJ<REF(FJ,1),MA25,FJ,1,0),COLORGREEN;
STICKLINE(MA25<FJ,MA25,FJ,1,0),COLORCYAN;
STICKLINE(MA25<FJ AND MA25>REF(MA25,1),MA25,FJ,1,0),COLORGREEN;
STICKLINE(MA25<FJ AND FJ>REF(FJ,1),MA25,FJ,1,0),COLORLICYAN;
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),COLORBLUE,LINETHICK4;
Z2:(X_4+X_5*0/8),COLORGRAY,LINETHICK6;
ZL:(X_4+X_5*7/8),COLOR00DD00;
ZC:(X_4+X_5*0.5/8),COLOR00DD00;
XJ:CLOSE,COLORRED,LINETHICK2;
STICKLINE(CROSS(ZC,XJ),ZC,ZL,1,0),COLORBLUE;
DRAWTEXT(LONGCROSS(ZC,XJ,2),ZC*1.001,7),COLORBLUE;
DRAWTEXT(LONGCROSS(XJ,ZL,2),XJ,8),COLORWHITE;
;