Hi Hredot, I am new to Zorro and I can not run your code. It complained about Prices and smas undefined and some other errors. So I canged the code to:
Code
function run() 
{
	StartDate = 20200710; 
	// My Assets File
	assetList("AssetsFXCMLite");
	int cnt=0;
	vars Prices[10];
	vars smas[10];
	BarPeriod = 1440;
	while(loop(Assets)){
		//printf("\n%s", Loop1);
		//asset(Loop1);
		Prices[cnt] = series(priceClose());
		smas[cnt] = series(SMA(Prices[cnt],10));
		cnt++;
	}
	asset(Assets[0]);
	PlotWidth = 600;
	PlotHeight1 = 500;
	PlotHeight2 = 500;
	int i;
	print("\n*************** %d",cnt);
	for(i=0;i<cnt;i++){
		plot(strf("%s",Assets[i]),Prices[i],NEW,BLACK);
		plot(strf("sma for %s",Assets[i]),smas[i],0,BLUE);
	}
}


Now there is no errors. But the plots are the same. (See bellow). Can you give me a clue?
[Linked Image]

Last edited by AdamWu; 07/13/20 14:39.