Is there a way to create user defined functions which you can then call from other scripts? So for example, I could create a function called “GetTrendDirection” and call that function in any script I choose.
Any help appreciated. I can’t see any reference to this in the manuals.