
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hello phy, you are very good in MQL4 programming!
How can I send a update message to a indicator script, I dont do something else before :-) ?
The "Period Converter Optimized" has "update" code in it.
The update is aimed at the window, not the indicator.
The function from the Indicator "Period conventer Optimized" that update is this:
That looks like the return(-1) statement does a update, maybe I must trie and put a normal Script with a while() loop and the Sleep() statement and in it a update statement return(-1), but then the Script will be finished or not, how woud you do it?Its the function PostMessageA(hwnd,WM_COMMAND,CHART_CMD_UPDATE_DATA,0)
that makes the update not retun(-1).