Run time variables

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #230840 quote
    VictorVinnieVictorVinnie
    Participant
    New

    Hi,

    Anybody knows whether it is possible to provide values for variables when you actually execute your ProOrders?

    So far I need to modify the code everytime “if price above this number then quit”..  and go through the whole process every time.

    Any ideas?

    #230844 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Variables and data input are not supported at runtime.

    #230845 quote
    GraHalGraHal
    Participant
    Master

    Any ideas?

    Below spark any ideas in your mind?

    If Price > X AND Price < X1 Then
    Do this
    Else
    If Price > Y AND Price < Y1 Then
    Do That
    Else
    If Price > Z AND Price < Z1 Then
    Do theOther
    ENDIF
    ENDIF
    ENDIF
    #230852 quote
    VictorVinnieVictorVinnie
    Participant
    New

    Yes, and if you want to change the values for X, Y or Z every time you run the code you have to hardcode them and reload everything.

    I hope this is changed in future versions, it probably is the only programming language where this has to be done

Viewing 4 posts - 1 through 4 (of 4 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

Run time variables


ProOrder: Automated Strategies & Backtesting

New Reply
Author
Summary

This topic contains 3 replies,
has 3 voices, and was last updated by VictorVinnieVictorVinnie
2 years, 5 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 04/01/2024
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...