Hi, thank you so much for your answer:

I changed the script as follows:
Code:
vars Price = series(priceClose());
vars kama = series(KAMA(Price,10));
var close_kama(int n)
 {
	return  kama[n] / priceClose(n);
 }

vars cycle = series(DominantPeriod(Price,100));
var cycle_multi = 2;
var close_res(int n)
{
	return priceClose(n) / HH(cycle[n]*cycle_multi,n+1);
}

var close_sup(int n)
{
	return priceClose(n) / LL(cycle[n]*cycle_multi,n+1);
}


But the error output remains the same.

Last edited by Paul_der_Zweite; 11/22/18 18:52.