Profit (loss) intermediate

Forums ProRealTime English forum ProOrder support Profit (loss) intermediate

  • This topic has 2 replies, 2 voices, and was last updated 6 years ago by avatarBe-n.
Viewing 3 posts - 1 through 3 (of 3 total)
  • #100044

    Hello everyone !

    A small diagram is better than a long speech! 😉 Here is this diagram attached. I increment a loop that I reset to 0 according to the conditions. Inside each loop, I take positions.

    I would like to determine my profit (or loss) for each loop (profit 1, profit 2, profit 3 …). I’m struggling. Could you enlighten me?

    Thank you for your help !!

     

    Without conviction …

    #100047

    Firstly you must know when each  group starts and ends, otherwise it’s impossible to determine.

    Secondly, once you know that one group start, say 60 bars ago, and ends 35 bars ago, then you don’t need a FOR…NEXT loop, simply compute the difference between STRATEGYPROFIT[35] and STRATEGYPROFIT[60].

    What are those numbers on the paper, 0…8, then 0 again (why again?)…3, and so on? Bars are numbered sequentially from 0 to the current one which ca be number 63856, there is no other bar identified by 0 than the very first one!

    1 user thanked author for this post.
    #108456

    Thx for all robertogozzi ! 😉 I will post my solution soon !

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

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