Refresh Offline Chart without DLL/PostMessageA

 

Hi

I'm writing an EA that generates a HST in real time. This HST is displayed in a Offline Chart window.

When the EA generates a new bar, I'd like to display it to the Chart.

So I need to refresh that chart with the new data. Each existing script (based on PeriodConverted) I've read use PostMessageA(). But PostMessageA sends a Windows DLL call.

Since such calls are prohibited by mql5.com Market, how can I update the chart without making a Windows DLL call?

Thanks!

Camille 

 
write/report to Servicedesk, See the article MQL5.community - User Memo => 5. Service Desk
Reason: