error message with Preloadbars?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #73330 quote
    Pierre Van HeerdenPierre Van Heerden
    Participant
    New

    Hi All

    Can someone please assist me with the preloadbars function?

    I have coded the “DEFPARAM Preloadbars=2000” into my ProOrder query. It runs at a specific time say 14:00:00 but once executed I get an error message saying that I must “DEFPARAM Preloadbars=2000”. Does someone know why? See below extract.

    I code the “Time” Function in my query but removed it since the “DEFPARAM flatbefore/flatafter” function is already used.

    DEFPARAM CumulateOrders = false
    DEFPARAM flatbefore = 134500
    DEFPARAM flatafter = 143000
    DEFPARAM Preloadbars = 2000

     

    Thanks

    #73339 quote
    VonasiVonasi
    Moderator
    Master

    Please update your country flag.

    Also when posting code in the forums please use the ‘Insert PRT Code’ button. I will tidy up your post for you but I do not fully understand your question at the moment to answer it. 🙂

    Also this is a ProOrder question and not a platform issue so I will move your topic to correct forum.

    #73346 quote
    NicolasNicolas
    Keymaster
    Legend

    Preloadbars is needed if one of your indicator need more history than the one loaded by default by ProOrder and to execute correctly.

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

error message with Preloadbars?


ProOrder: Automated Strategies & Backtesting

New Reply
Summary

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

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 06/15/2018
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...