Forum

Strategy Tester: real_volume = 1 on bars of non-chart timeframes (regression between build 5833 and 6140)

Summary: Since some build between 5833 and 6140, the Strategy Tester returns real_volume = 1 for bars of any timeframe other than the tested chart timeframe. tick_volume is still correct, and so is history before the test start date. On the chart timeframe itself, real volume is correct. Build 5833

Understanding Closed Bars Signal Generation in MQL5

Hello, I'm programming several indicators for an expert advisor. Looking at other expert advisors I use as reference, I noticed that indicator signals usually happen only after the bar is closed, not during open bars. I could only reproduce this behavior using 'rates_total-1' in the loop I use for

Starting up multiple charts

Hello folks, I would.like to know if there is some way to automate the opening of multiple charts, with different EA or strategy presets. I have to test hundred of strategies and its quite boring and time cosumlng to open one by one manually. Im trying something with config.ini files but have no

Automating the Update of Custom Symbols in MT5

Hello folks! I have several custom symbols in my MT5. I would like to know if there is a way to update them automatically using MQL5 or Python. I already have software that keeps my historical data up-to-date in a CSV file. However, I’m still updating it manually within MT5. Is there a way to

MT5 Start with configuration.ini

Hello, I have a Python script that automates backtest reports in MT5, starting the platform with a .ini file. Currently, there is a delay when the platform connects to my broker, taking about 18 seconds to log in, followed by 3 seconds to generate the report. Since I need to run many reports, every