How to create custom symbols and feed it's chart data from a remote server in real time?
How to create custom symbols and feed it's chart data from a remote server in real time?
Loading saved threads...
Sassa · External communityPost link
External question — Stack Overflow Stack Exchange
Author: Sassa
Original post: https://stackoverflow.com/questions/46748584
License: CC BY-SA 3.0 — https://creativecommons.org/licenses/by-sa/3.0/
Adaptation: HTML converted to plain text; contact email addresses removed.
I'm trying to learn how to create an MQL5 library for MT5 (I think it should be a library, but not so sure) to create new symbols and feed these symbols chart data from public exchanges APIs in real time.
I tried searching for some tutorial or example of something in these lines, but the best I could found was this
article
. Maybe I'm not searching for the correct keywords.
I'm not asking for a complete tutorial or example code to do just that, but maybe some simpler examples so I can have a direction on how to accomplish it.
So, in a nutshell, is there some example codes, tutorials or documentation on how to programmatically create new custom symbols, retrieve chart data from the web, add these data to the custom symbol chart and update it's data in real time (or near real-time)?
Any help in this regard will be much appreciated!
Quote
Report
J. Volkya · External communityPost link
External answer — Stack Overflow Stack Exchange
Author: J. Volkya
Original post: https://stackoverflow.com/a/78240698
License: CC BY-SA 4.0 — https://creativecommons.org/licenses/by-sa/4.0/
Adaptation: HTML converted to plain text; contact email addresses removed.
In MT5 you can now achieve this using Services. You can have your service run in the background and provide custom data to a custom symbol. You can check this article here with an example of feeding a custom symbol from inside a service:
www.mql5.com/en/articles/11826
Quote
Report
Post Reply
Checking account access…