Hi, I have created an Expert Advisor that uses multiple timeframe analysis.
I found a certain problem when I am running the EA through the Strategy Tester. I would like to use visualization(ObjectDraw) so as to see if what I am programming is what i want it to do. However, I realize that only the first chart has the properties that uses the "tester" template which has been set. The other timeframes are on the initial settings set by mt5. If let's say I want to "select" the m15 timeframe chart and adjust it's properties, how do I select it and adjust its properties, like using the ChartSetInteger to modify the chart mode to candlestick? I actually want to do screenshots and it seems that it doesn't work on Strategy Tester. I have found like the "ChartOpen" function does not work in the strategy tester. I have tried ChartFirst and ChartNext but it doesnt seem to work. I have attached the images for your reference. Thank you!
The following is my code for the Screenshot function
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Hi, I have created an Expert Advisor that uses multiple timeframe analysis.
I found a certain problem when I am running the EA through the Strategy Tester. I would like to use visualization(ObjectDraw) so as to see if what I am programming is what i want it to do. However, I realize that only the first chart has the properties that uses the "tester" template which has been set. The other timeframes are on the initial settings set by mt5.
If let's say I want to "select" the m15 timeframe chart and adjust it's properties, how do I select it and adjust its properties, like using the ChartSetInteger to modify the chart mode to candlestick? I actually want to do screenshots and it seems that it doesn't work on Strategy Tester. I have found like the "ChartOpen" function does not work in the strategy tester. I have tried ChartFirst and ChartNext but it doesnt seem to work. I have attached the images for your reference. Thank you!
The following is my code for the Screenshot function