Ability to store functions to share across scripts

Forums ProRealTime English forum ProScreener support Ability to store functions to share across scripts

Viewing 3 posts - 1 through 3 (of 3 total)
  • #189297

    Hi all,

    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.

    thanks

     

    #189306

    Yes, sort of!

    Indicators work almost like functions.

    You can find some examples here https://www.prorealcode.com/topic/tomorrows-date/#post-94795.

     

    #189313

    Great I will take a look! Why this wouldn’t be provided is crazy!

Viewing 3 posts - 1 through 3 (of 3 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login