Can you backtest for a universe of securities?

Forums ProRealTime English forum ProOrder support Can you backtest for a universe of securities?

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

    I tried with your suggestions and now the first part, until “Condictions to exit long positions” seems to be fine. But I get a missing character warning first line of “conditions to exit long positions (line 17).

    The conditions for exiting the positions I want is: at 4R, close 50% of position and trail the rest either by lows of the day or 5% (the code I put is with 5%). I’m not completely suremy code is fine for this conditions, but I think it is.

    Help would be appreciated!

    Will the “Myestimatedvol” condition I added work? Is basically the same the “estimatedvolume” one does?

     

     

    #175989

    Line 17: you seem to have only 2 “(” for 3 “)”, that would be your missing character (same for line 23)

    #175990

    There’s a missing “(“.

    I could tally 2 “(“s and 3 “)”s.

    Your Estimatedvolume is similar, though not the same, to PRT’s.

    In a 1h TF that started 10 minutes ago it should be:

     

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