Let’s continue with the daily profit losses, my trading day starts at IntraDayBarIndex 98, So I have to measure the daily profit between 98 on Monday until 97 on Tuesday, and I initialize all my earnings on Sunday :
However I have a small problem, if a position is opened on Monday and only closed on Tuesday, then Monday’s profits are not calculated as the position is not closed on Monday, but I will have unrealised gains or losses to calculate for Monday
To help us continually offer you the best experience on ProRealCode, we use cookies. By clicking on "Continue" you are agreeing to our use of them. You can also check our "privacy policy" page for more information.Continue