try this:

is a simple:

Code
 zorro -train Workshop5  -a gbp/jpy -c Real54AU
 zorro -train Workshop5  -a aud/jpy -c Real54AU
 zorro -train Workshop5  -a eur/cad -c Real54AU


in Workshop5.c rem line 13
//asset("EUR/USD");

script always run with last opened symbol. Don't use symbol from command line.

[Linked Image]

I use script from wokshop5
Code
// Workshop 5: Counter trend trading, optimized ////////////////

function run()
{
	set(PARAMETERS);  // generate and use optimized parameters
	BarPeriod = 240;	// 4 hour bars
	LookBack = 500;
	StartDate = 2005;
	EndDate = 2017; 	// fixed simulation period
	NumWFOCycles = 10; // activate WFO
	NumCores = -2;	// multicore training
	
	//asset("EUR/USD");
	
	if(ReTrain) {
		printf("\nRetraining....");
		UpdateDays = -1;	// update price data from the server 
		SelectWFO = -1;	// select the last cycle for re-optimization
	}
		
// calculate the buy/sell signal
	vars Price = series(price());
	vars Filtered = series(BandPass(Price,optimize(30,20,40),0.5));
	vars Signal = series(FisherN(Filtered,500));
	var Threshold = optimize(1,0.5,1.5,0.1);

// buy and sell
	Stop = optimize(4,2,10) * ATR(100);
	Trail = 4*ATR(100);

	if(crossUnder(Signal,-Threshold))
		enterLong(); 
	else if(crossOver(Signal,Threshold))
		enterShort();

// plot signals and thresholds
	plot("Filtered",Filtered,NEW,BLUE);
	plot("Signal",Signal,NEW,RED);
	plot("Threshold1",1,0,BLACK);
	plot("Threshold2",-1,0,BLACK);
	set(LOGFILE,PLOTNOW); 
} 

Attached Files Snímek obrazovky 2021-02-01 v 19.19.49.png
Last edited by Grat; 02/01/21 18:24.