fixed it, tyvm

Code:
// DC Test
function run()
{
	set(PLOTNOW);
	StartDate = 20170722;
	BarPeriod = 1;
	vars Price = series(price());
	DChannel(20);
	plot("DC UP",rRealUpperBand,BAND1,RED);
	plot("DC DOWN",rRealLowerBand,BAND2,GREY);
}