N:=3;
N1:=10;
N2:=20;
N3:=30;
GV:WINNER(CLOSE)*100,LINETHICK2,COLORYELLOW;
CV:EMA(100-GV,3)*(-1),LINETHICK2,COLORGREEN;
MGV:MA(GV,9),LINETHICK2,COLORCYAN;
MCV:MA(CV,13),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;