any DLL function to swap history data for multi-charts by input virtual key "HOME"?

 

I'm trying to use DLL functions to swap history data for multi-charts by input virtual key "HOME".

My current solution is to include winUser32.mqh and use the function keybd_event.

But it just works for only one chart. Do you know if there is any other DLL functions working for multi-charts?

Reason: