Maximum number of lines of code in a strategy?

Viewing 3 posts - 16 through 18 (of 18 total)
  • Author
    Posts
  • #90966 quote
    GraHalGraHal
    Participant
    Legend

    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 quote
    LeoLeo
    Participant
    Veteran

    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 quote
    VonasiVonasi
    Moderator
    Master

    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)
  • 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

Maximum number of lines of code in a strategy?


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
Vonasi @vonasi Moderator
Summary

This topic contains 17 replies,
has 4 voices, and was last updated by VonasiVonasi
7 years, 8 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 02/06/2019
Status: Active
Attachments: 2 files
ProRealCode ProRealCode
Loading...