Forum

Inconsistent backtest results

Yet another quirk of MT5, with exactly the same conditions the visual tester does the job right while the non-visual tester opens a position when it shouldn't. I'm having a very deep look into this and there's no "randomness" in the code. - I tried all modeling methods (everytick, 1 min ohlc, etc..)

Keyboard navigation for Trade History

Does anyone knows how is it possible to use keyboard shortcuts to skip chart to the next/previous trade in history? I know I can double click on the specific order in the history panel but using keyboard is so much more productive when doing backtests . please share your Idea, including any method

Strategy Tester : open chart with expert loaded automatically (attached to the chart)

My EA adds some MTF indicators to the chart and in order to see them after the backtesting, I have to add the EA to the tester chart manually, everytime the backtester finishes testing. this manual loading taking me some amount of time for saving the backtest settings then loading them into the EA

[SOLVED] Accessing non-buffer arrays as timeseries

Im trying to get access to the dynamic array's elements as timeseries but I have no Idea what is wrong with my method, it just doesn't work and no amount of searching helped me. After I store values into the array for each bar that EA process, I want to read the last added element using index 0 . so

Proper usage of CTrade OrderOpen method

Im confused by the parameters of the CTrade OrderOpen method. I'm not sure how to to skip the "limit_price" parameter and send a simple pending order (not the buy_stop_limit kind for example) this is the way I'm sending a buy stop order and Im not sure If I'm doing it the right way. please do not