Display more indicators

Posted By: tradingest

Display more indicators - 12/31/18 16:39

Hi guys,

how I can view more indicator in a single windows?
In the code below I can view only CCI but I want also display SMA.

Code:
function run()
{	
	set(PLOTNOW);
	StartDate = 20150101;
	EndDate = 2018;
	BarPeriod = 1440;
	PlotScale = 8;	
	asset("EUR/USD");
	plot("SMA",SMA(series(priceClose()),20),0,BLACK);
	plot("CCI",CCI(21),0,BLACK);
	
}



Thanks
Posted By: OptimusPrime

Re: Display more indicators - 01/01/19 04:14

Hi Tradingest:

You need to use , NEW, instead of ,0, if you want another row of indicators. If you use ,0, they will all be in the same row.

Example:

plot("SMA",SMA(series(priceClose()),20),NEW,BLACK);
Posted By: tradingest

Re: Display more indicators - 01/01/19 20:04

Thanks Optimus

Very kind
© 2024 lite-C Forums