Transfering code from V10.3 to V11

Forums ProRealTime English forum ProBuilder support Transfering code from V10.3 to V11

Viewing 11 posts - 1 through 11 (of 11 total)
  • #160394

    Dear Nicolas,

    I am having trouble transferring the below code into V11 and would be grateful if you could have a look and give me any pointers as to why I am having difficulties. It is coded for use in a 1-hour chart with 2k units of info.

    Many thanks

    Robert

     

    #160409

    Here is the result I get with these settings:

    I don’t know what it is supposed to do, but feels like it works?

    #160412

    Here is the result I get with these settings:

    I don’t know what it is supposed to do, but feels like it works?

    #160415

    Thanks for getting back to me Nicholas- I take it the left-hand image is from V11?, I am looking to get the lines in the same place as they are on V10.3, I have contacted Prorealtime, who a) pointed me in your direction, and b)suggested that the coding of ‘barindex’ was different in V11?…

    #160416

    Forgive me, I forgot to put my settings in …

    y=2020

    m=12

    d=18

    ho=7

    #160418

    left image is on a daily chart. Do you have pictures on how it should look like in previous version? There is no difference in BARINDEX between the versions.

    #160419

    The picture I supplied was from V10.3 using a 1-hour timeframe and 2k units of info…for some reason V11 doesn’t seem to want to ‘paint’ the text in the same place….and produces the white trace line…I’m not sure where that comes from!

    #160427

    So, the picture from your first post is how it should look but the code is applied on v10.3, right?

    #160430

    That is correct Nicolas.

    #160438

    Ok, so that below code will fix your problem. In PRT v11, you shouldn’t use the ONCE instruction in a conditionnal block (IF/ENDIF).

     

    #160444

    Many thanks, Nicolas

Viewing 11 posts - 1 through 11 (of 11 total)

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