Hi, Im trying to code something that I wil use as an exit.
I want to close the trade at the end of the day after the entry if its a profit. If not, the same on day 2, close at the end of day if profit. Same with day 3 and 4. At day 5 I want to close anyway.
I dont know how I should write to refer to the entry price? Can someone help me?
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