Hey Rodin,
Thanks for the help. I wasn't able to use the indicator's name, but I did some tests and was able to find a way. Instead of using the indicator's name I used the variable used on the return function. Here's a small example:
IF (BarIndex<1) THEN
x=0
ELSE
// the test is to make...