Ability to store functions to share across scripts

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #189297 quote
    krogenkrogen
    Participant
    New

    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 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Yes, sort of!

    Indicators work almost like functions.

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

    #189313 quote
    krogenkrogen
    Participant
    New

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

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
ProRealAI ProRealAI New

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

Ability to store functions to share across scripts


ProScreener: Market Scanners & Detection

New Reply
Author
author-avatar
krogen @krogen Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by krogenkrogen
4 years, 6 months ago.

Topic Details
Forum: ProScreener: Market Scanners & Detection
Language: English
Started: 03/04/2022
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...