Maximum number of lines of code in a strategy?

Forums ProRealTime English forum ProOrder support Maximum number of lines of code in a strategy?

Viewing 3 posts - 16 through 18 (of 18 total)
  • #90966

    to give an idea of what I am doing and maybe clarify it a little:

    Ha … I found your textual explanation not confusing and easy to understand!!

    The code would take me a tiny bit longer to get my head around! 🙂

    #91045
    Leo

    Haha, agreed with Grahal.

    Vonasi, for cases like yours what I do is using letters at the end of every strategy…. like:

    conditionAAA1=average[periodAAA1](indicatorAAA1)

    Then in another window I copy my strategy and interchange  the sufix AAA to BBB and copy/paste to the other strategy.

    hope it work for you

     

    #91055

    Yes I use a similar theory but I have found that if you ask the PRT platform to look through 10000 lines of code for something that is repeated a lot in the code then it takes hours to process it – so it is not a practical proposition to use find and replace. The code has to be broken down into smaller sections and then pasted in to a new window, processed and then pasted back in the original strategy. This leads to a very big chance of error.

Viewing 3 posts - 16 through 18 (of 18 total)

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