5 times!!! only 5 times!!!! with a Loop of for i=1 to 6… i get the Infinitive Loop issue…. What I have done… is to make 5 per bar… the next bar makes another 5 Loops and so on…. … i am feeling very frustrated with ProRealCode lately.
I feel your pain.
Today I lost several hours of my few that I have left on this rapidly revolving globe to deleting 1600 lines of code to convert a strategy to be a long only strategy. I have three more strategies to convert and I think I won’t make it to the end before suicidal thoughts take hold. After losing a small part of my life to modifying just one code I tested it and it didn’t look good – it was not a step forward unless confirming that I am wasting my time is a step forward. If I had had a PRT loop that worked and could handle some serious repetition then the code would have taken ten minutes to adapt and I would not now have several more grey hairs on my head.
Powerful loops and arrays would make PRT code a very powerful way to develop strategies. I recall that my Commodore64 had arrays so how have I taken a step backwards 35 years later!?