Download MetaTrader 5

Refresh Offline Chart without DLL/PostMessageA

To add comments, please log in or register
EasyTrading
7
EasyTrading  

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 

qjol
3243
qjol  
write/report to Servicedesk, See the article MQL5.community - User Memo => 5. Service Desk
To add comments, please log in or register