Thanks for your response Nicolas, I know the “buy” and “sell” prices work correctly so it must be that at midnight Monday into Tuesday considers Friday as the previous day . This is useful information going forward as it means “Midnight is considered part of the day that is ending”. I’ve just changed the code to Flatbefore 001000 and tested the strategy and it didn’t place a trade (aithough the trade was , thankfully,profitable). I’m not yet familiar with GRAPH will read up sometime.
Regards
John