Custom function return multiple values/arrays

Hello everyone, please see the below code.

how can I define a function returning multiple values/arrays? If yes, how access the returned value?
Appreciate your help!

function myfunc(TickerName)
{
CondB=C>MA(20); 
CondS=C<MA(20); 
Score=RSI(14);

return "CondB, CondS, Score";
}
1 Like

https://www.amibroker.com/kb/2014/09/21/a-function-with-multiple-return-values/

1 Like