ProOrder – Changing a parameter/variable live in a running trading system

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #209682 quote
    calpa02calpa02
    Participant
    New

    Hi everyone!

    Hopefully a very simple “yes or no” question for the more experienced users. As stated in my topic title.

    Can I change a parameter/variable live in a running trading system. Let’s say I want to tighten my strategy while it’s running. Can I then go in to my code and change the variable, save for it to take effect expediently?

    Please advise

    Thanks Patrik

    #209686 quote
    GraHalGraHal
    Participant
    Legend

    while it’s running

    No, you would need to stop the strategy and make the change in the code editor; then restart the amended code.

    Doing above means you lose stats / performance up to the point of stoppage. My workaround is to enter (in the Notes attached to the strategy) something like … 60 Trades + £4K over 6 months to 14 Feb 23.  Least then I have some record of performance before the code change.

    coincatcha thanked this post
    #209692 quote
    coincatchacoincatcha
    Participant
    Junior

    Good idea Grahal, I’m tired of losing track of performance of the early stages of a strategy. I have the problem that most of my systems are time based and need to be adjusted for daylight savings and make them hard to get a good look at after the change.

    Record keeping is paramount in this game!

    GraHal thanked this post
    #209705 quote
    GraHalGraHal
    Participant
    Legend

    Over 12 months ago I made a Suggestion to PRT that we are able to view Notes (attached to a Strategy) while the Strategy is running in ProOrder … I am still hoping it will happen one day!?

    #209804 quote
    calpa02calpa02
    Participant
    New

    OK… thanks! That’s a clear NO!

    What you’re saying is that the ProOrder code will ignore if I call an external indicator that returns “1” for exiting a position if I change/update the external indicator after I launched my ProOrder system.

    Is that right?

    Please advise

    Thanks Patrik

    #209806 quote
    GraHalGraHal
    Participant
    Legend

    if I change/update the external indicator after I launched my ProOrder system

    I would say the change will be ignored, but I am not 100% sure as I have not done above.

    Others may be able to advise?

    You could know for sure if you simulate a dummy scenario on your Demo Account.

    Use a Condition Time = 100000 in an Indicator, start 2 versions running; amend one version to Time = 100500 after launch, leave the other version at Time = 100000.

    If you do above, let us know how you get on please?

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

ProOrder – Changing a parameter/variable live in a running trading system


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
calpa02 @calpa02 Participant
Summary

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

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 02/14/2023
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...