Metal2 / Publications
Forum
Two lines for two symbols on one chart
Is is possible in MT5 to put two lines on one chart - one for two different symbols. E.g. if I want to put the EUR and GBP on one graph
Back testing EA over different time windows
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 wort out for each period how many trades it did
Position volume and PositionsTotal swapped
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 (including the final sell order) to 3. I'm a newbie