Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 1572
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
I meant that when you install the EA on the chart, the indicator will be visualised along with it. It is not a problem to read it from the buffer. May be a hobby of course, but I wonder if it is feasible or not...
Create an indicator from the EA and display it on the chart.
And Alexey, please never help me on the forum. For some reason your so-called "help" does meno good.
It all started with this.
And then Alexei starts hating.
You can follow it further, if you're interested.
More at
Alexey's answer.
And what regular function works with json format, that he wants to send me to read about it? Found myself an expert, too. All he can do is preach.
So, he holds me here for a fool, and I do not hold everyone, as you have put it, Artem!
Simple data structures can be written in a file by standard functions. Read help around StructToCharArray() and corresponding functions from this section.
Create an indicator from the EA and display it on the chart.
And please stop trying to blame someone else for everything. If you have been sent to ask for a reference, ask for the necessary coordinates, rather than start bickering about "this is who you are".
Well, it is easier and more profitable in the end, someone saves nerves, someone time, and someone will add knowledge.
And if something does not fit, with productive communication can find a solution.
By the way - once upon a time I wrote a parser of data from some service for an indicator (or Expert Advisor - I don't remember).
I did it using standard functions without any third-party libraries.
i.e. as i understand there is no simple solution to the problem ?)))
What would you do if you were in the terminal's shoes ?
the program (expert) calls the indicator rarely, i.e. not always at all, calls the iCustom - that's how you draw it ?
run the indicator more often to draw ?? then you will thank.... :-) for every recalculation....
So, I guess there is no simple solution?)
It couldn't be simpler :)
Does your Expert Advisor work with an indicator? Is this indicator written in the EA? Its handle is in the EA. So, you just need to display it on the chart using
Simple data structures can be written to a file using standard functions. Read help around StructToCharArray() and corresponding functions from this section.
Yes. But if new fields will be added to structures (in new versions of the file), then methods created based on standard functions (imagine that they are changed, new fields are added (read/write)) will be incompatible with the old files. But text formats and even more so formats like json are flexible and versatile (compared to regular binary files). So, there are two ways out, write your ownjson parser or find a ready-made library. Since I'm currently working on an interesting project, it's such a pleasure for me to create a parser from scratch.
Yes. But if new fields will be added to structures (in new versions of file), then methods created based on standard functions (imagine that they are changed, new fields are added (read/write)) will be incompatible with old files. But text formats and even more so formats like json are flexible and versatile (compared to regular binary files). So, there are two ways out, write your ownjson parser or find a ready-made library. Since I'm working on some interesting project at the moment, it's such a treat for me to create a parser from scratch.
Already the site engine has decided to help you :)
By inserting a link to the discussion
Yes. But if new fields will be added to structures (in new versions of file), then methods created based on standard functions (imagine that they are changed, new fields are added (read/write)) will be incompatible with old files. But text formats, and even more so, formats like json are flexible and versatile (compared with regular binary files). So, there are two ways out, write your ownjson parser or find a ready-made library. Since I'm working on some interesting project at the moment, it's such a pleasure to create my own parser from scratch.
Thesqlite version I don't know is in the latest 5's or otherwise DLL. The key-value database and off you go.
the latter is preferable, especially about the song :-)
----
If only but ... there is a problem, solve it under specific conditions. Why the fantasy of "this music will last forever"? Your software is useless for anyone after tomorrow. And right now you are the only one who needs it.
It couldn't be simpler :)
Does your Expert Advisor work with an indicator? Is this indicator written in the EA? Its handle is in the EA. So, you just need to display it on the chart using