How to obtain the HWND of the chart window in strategy tester?

 

Hi there,

anyone an idea? For whatever reason, the corresponding - ChartGetInteger(m_chart_id,CHART_WINDOW_HANDLE) - returns zero.

 
I'm afraid you can't do it directly (without a DLL). The tester is a separate process in MT5, it does not support many API features available in the terminal.
 

I know. The question is how, which functions of winuser32.dll lead to the result?