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

#90951

Having read my last post I came to the conclusion that it is a bit confusing! So here is a tiny section of my strategy to give an idea of what I am doing and maybe clarify it a little:

I have truncated the code to remove 9900 repeating lines just so that you can see the bones of what I am testing.

The plan is to turn it into an indicator that simulates trades and provides a value for x and y that a strategy can use to trade via CALLing the indicator.