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?
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
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