Is it possible to set up the strategy tester to test an EA over several different time windows - e.g. run over Jan 2021, Feb 2021 etc, and store the results. I guess I could just run the EA over the whole period that data is available and manually
It seems that position volume and PositionsTotal are switched or something. Running this code, which just buys twice then sells once leaves POSITION_VOLUME at 1 after the first order is filled. However PositionsTotal() increases after each order