I am new to Ninja trader, and try to adapt my indicator from tradestation easy language to ninja script.
I would like to create a function lets say example
such as example[reference] = SMA(Close,Lenght)[reference]
that could be called into another indicator as for an example
if(CrossAbove(example[0],0.25))
indicator = 1;
But this has not been working for me, any thoughts anyone.
Regards
Comment