Renko Automated trading

Forums ProRealTime English forum ProOrder support Renko Automated trading

Viewing 7 posts - 1 through 7 (of 7 total)
  • #240345

    Hi everyone,

    Wondered if anyone could help me fix an error in the following code?  There seems to be an array index issue.

    Many thanks

    Jim

     

    #240357

    It can’t be an error related to arrays, as you are not using them.

    It must be somthing else. Can you post a screenshot of the reported error?

    #240358

    Well… there might be an error in the indicator Hq_Renko, related to arrays, but we need the fully functional code to check it.

     

    #240367

    Hi! Maybe I can help you if you share the [Hq_Renko]_v3 code

    #240369

    Thanks for the reply.  The following error is reported: The trading system was stopped because an indicator called in the code tries to :
    – define or access an invalid index in an array : Valid indexes are any strictly positive integer less than 1000000 : [1, 2 ,3, …, 1000000]
    – or access an index that has not been previously set in the array : You can check if an index has previously been set using the “IsSet” function : “IsSet($MyArray[MyIndex])”

    Strangely, it all works in pro backtest.

    Regards

    Jim

    #240370

    Unfortunately, I can’t post the code as it is locked as purchased on market.  I’ve attached a screenshot of the settings for what its worth…

    #240374

    I can only suggest that you try changing some settings, one at atime, setting different values.

    The best solution is to ask the vendor, he should provide assistance for such cases.

     

    2 users thanked author for this post.
Viewing 7 posts - 1 through 7 (of 7 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login