How to programatically change visual tester speed?

 

How to programatically change visual tester speed from ea? With spyxx I've found that scrollbar id is 000104EE (subwindow id is 000104AE). Then I thought OK I'll just import SetScrollPos from shell32.dll and set this. The following code doesn't work (even scrollbar doesn't change).

#define SB_CTL 2

#import "user32.dll"
    int SetScrollPos(int hWnd, int nBar, int nPos, bool bRedraw);
#import

SetScrollPos(0x000104EE, SB_CTL, 10, true);
 
Instead of changing the speed, you could try to programatically pause the test. Need some explanation about strategy tester: - MQL4 and MetaTrader 4 - MQL4 programming forum
 
whroeder1:
Instead of changing the speed, you could try to programatically pause the test. Need some explanation about strategy tester: - MQL4 and MetaTrader 4 - MQL4 programming forum
I've already implemented pause. That was easy. However I can't do the speed change
 
Marius Guscius:
I've already implemented pause. That was easy. However I can't do the speed change
https://www.mql5.com/en/code/12407
Strategy Tester Equalizer
Strategy Tester Equalizer
  • votes: 24
  • 2015.02.16
  • Zoltan Meszaros
  • www.mql5.com
The indicator allows to control the Strategy Tester speed.
Reason: