N:=9;m:=13;
GV: WINNER(CLOSE)*100, LINETHICK2,COLORYELLOW;
CV: EMA(100-GV,3)*(-1), STICK;
MGV: MA(GV,n),LINETHICK2,COLORGREEN;
MCV: MA(CV,m),LINETHICK2,COLORRED;
DIFF: MGV+MCV,LINETHICK2,COLORWHITE;
STICKLINE(GV>OPEN,0,GV*1,2,0), COLOR0066FF;
STICKLINE(GV>OPEN,0,GV*0.8,2,0),COLOR0000FF ;
STICKLINE(GV>OPEN,0,GV*0.6,2,0),COLOR0099FF;
STICKLINE(GV>OPEN,0,GV*0.4,2,0), COLOR00CCFF, ;
STICKLINE(GV>OPEN,0,GV*0.2,2,0),COLOR00FFFF ;
STICKLINE(CV<0,0,CV*1,2,0), COLORGREEN;
STICKLINE(CV<0,0,CV*0.8,2,0),COLOR33CC00 ;
STICKLINE(CV<0,0,CV*0.6,2,0),COLOR339900 ;
STICKLINE(CV<0,0,CV*0.4,2,0),COLOR337700 ;
STICKLINE(CV<0,0,CV*0.2,2,0),COLOR337700 ;