I'm currently using the PostMessageW method to update an offline chart.
The problem is that this won't work in all circumstances (e.g. using MT4 through WINE).
I've noticed that Right Click > Refresh will update the offline chart
However, Refresh is not the same as ChartRedraw() or WindowRedraw(), both of which won't update the offline chart.
Is there a way to call Refresh natively from MQL4?
ChartRedraw covers only canvas as far as I could guess. And there is no pure MQL4 way to reload a chart I would know of.
Anyway, could you PM me what the problem was in detail? (what exactly failed on WINE)
I feared as much regarding the lack of Refresh.
Regarding WINE - my mistake. Because I'd never managed to get custom DLLs to work through MT4 on WINE, I (incorrectly) assumed that user32 would have problems too. But I just tried it and realised it works fine.
To add comments, please log in or register