BB:MA(AA,2),COLORYELLOW,LINETHICK2;
DRAWBAND(AA,RGB(255,0,0),BB,RGB(0,255,0));
CC:EMA(MA(AA,4),2),COLORWHITE,LINETHICK2;
CC2:EMA(MA(CC,2),2),COLORWHITE,LINETHICK2;
DRAWBAND(CC,RGB(128,10,0),CC2,RGB(0,0,128));
DRAWBAND(BB,RGB(128,120,0),CC,RGB(0,100,128));
DD:EMA(MA(AA,8),2),COLORBLUE,LINETHICK2;
DD2:EMA(MA(DD,2),2),COLORBLUE,LINETHICK2;
DRAWBAND(DD,RGB(128,120,0),DD2,RGB(0,100,128));
DRAWBAND(CC2,RGB(220,220,0),DD,RGB(220,220,220));
STICKLINE(AA 0.5,AA,0.5,0,0),COLORLIGREEN;
STICKLINE(AA 0.5 AND AA REF(AA,1),AA,0.5,0,0),COLORLIRED;
XG:CROSS(BB,0.3)*0.3+0.5,LINETHICK2,COLORRED;
STICKLINE(XG 0.50,XG,0.5,5,1),COLORWHITE;
NN:EMA(IF(AA 0.40,0,AA-0.40),2),COLORWHITE,LINETHICK4;
NN2:MA(MA(NN,2),2),COLORWHITE,LINETHICK4;
DRAWBAND(NN,RGB(255,0,0),NN2,RGB(0,255,0));
DRAWBAND(NN2,RGB(128,120,0),0,RGB(0,100,128));