I was wondering how to define my contract size to be 0.5 % of my account size, for example my stop loss I’d like to keep defined at 100 pips and then the contract size would be defined as a function of account size and pip value.
I found the “% max risk exposure” in the ProBacktest manual, but am not sure if this is along the right lines, could anyone please help?
I have also noticed that my live trade was closed on Friay night. This was not supposed to happen; it was nowhere near either the stop loss or take profit, could anyone please advise as to how I could stop this from happening?
Trades will only close if you have instructions in your code to do so. Possibly your broker expanded the spread over the weekend that meant that one of your stop prices was met and the trade closed. If you believe that one of your trades was closed when it should not have been then you should contact your broker and ask them why it closed.
Thanks for the response Vonasi, it was a short trade and there was a gap down over the weekend, but this would still not have resulted in the TP being hit, I’ll ask the broker.
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