How to keep track of profitable trades within a specific time period?

Forums ProRealTime English forum ProRealTime platform support How to keep track of profitable trades within a specific time period?

Viewing 2 posts - 1 through 2 (of 2 total)
  • #23918

    Hi, I’m looking for some syntax suggestions on how to place an order like this:

    I have a rough idea on how to code it, but I do not know what specific ProRealTime functions to use here to keep track of the number of profitable trades executed.

    Would appreciate any help, thanks

    #24188

    You could try to store the barindex of 080000 and do the same for 120000. Then you can do a loop through the last tradeindex and find trades that occurred between these 2 start and stop barindex you previously stored in variables.

Viewing 2 posts - 1 through 2 (of 2 total)

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