error message with Preloadbars?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #73330 quote
    Pierre 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
    Vonasi
    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
    Nicolas
    Keymaster
    Master

    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.

error message with Preloadbars?


ProOrder: Automated Strategies & Backtesting

New Reply
Summary

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

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