Questions from Beginners MQL5 MT5 MetaTrader 5 - page 1033
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
Yeah, yeah. There's no need to complicate life)).
The main thing is not to turn off your head and not to use ready-made solutions. And everything will succeed. Otherwise the transition to the category of lego-programmers is inevitable.
The main thing is to keep your head and not to use ready-made solutions. And everything will work out. Otherwise the transition to the category of lego-programmers is inevitable.
I'm afraid even you are unable to pass the initial trade check by your own decision. The recommendation is therefore questionable.
I'm afraid even you are unable to pass the initial trading test by your own decision. The recommendation is therefore questionable.
Note: I have not said a word about your code. And you made up "initial trade check" in response, what is that and what do you eat with it? I have always said and will always say that one should not use ready-made other people's solutions, otherwise the transition into the category of lego-programmers is inevitable.
Note: I haven't said a word about your code.
Similarly. There are certain places in MT5 where you have to be very competent to write yourself.
And you made up "initial trade check" in response, what is that and what do you eat with it?
Here's about it.
I always said and will always say that one should not use ready-made other people's solutions, otherwise the transition into the category of lego-programmers is inevitable.
It is incorrect to recommend writing the same AlgLib from scratch. Lego is often a good thing.
I have always said and will always say that you should not use ready-made solutions, otherwise the transition into the category of lego-programmers is inevitable.
the ability to read and use other people's software solutions is always a plus in a programmer's karma,
and reinventing your own bikes is a waste of time and self-deception that "my solution is the right one!
HH: You always use other people's ready-made solutions, starting from MQL built-in functions and ending with the fact that you will always copy the programming logic of those authors of books (articles), from which you started studying the programming language
ZS:https://www.mql5.com/ru/code/25166, you are a lego programmer! correct it urgently:
#include <Trade\Trade.mqh> CTrade trade;
Then the problem will go away.
You can also specify the size of the array, in this case 1 element
Thanks for the reply.
It seems that the problem is gone, but the main problem for me is the error
Failed to copy data from the handle_Regressor indicator, error code 4806
that occurs when calling this indicator while the EA has been working normally for half a day.
Code in EA for calling the indicator
I even don't know what to do, the indicator doesn't report any error and I cannot figure out what's wrong!
The error is catching only with real data - I don't see it in the tester.
P.S. Found an error in the indicator in the logs - I will now make some changes and see if there is another error.The ability to read and use other people's software solutions is always a plus in a programmer's karma,
Don't go to extremes. I'm not talking about reading and understanding other people's code, especially the code of a standard library. Although it's so crammed in there...
If I hadn't been born before me, I would have probably written a trade library for personal use.
fxsaber:
is often good.
Often is not absolutely always, and you advertise your handiwork even where it is not necessary, not realising that your code is more difficult to read than a chinese alphabet. That's the end of the dialogue.
Hello, can someone explain in a clear way what are"Plots" in MQL5? They are not related to buffers, but the indicator_plots property creates a list of drawing object properties similar to buffers. When using MQL4 tools, it was clear that reference was made to a specific drawing object, and now there is a new preprocessor propertyindicator_plots that defines the number of what is unclear.
Hello, can someone explain in clear terms what are"Plots" in MQL5? They are not related to buffers, but the indicator_plots property creates a list of drawing object properties similar to buffers. When using the MQL4 tools, it was clear that a reference to a specific drawing object is under reference, but now there is a new preprocessor propertyindicator_plots that defines the number of what is unclear.
Probably, it would be easier to understand if we run this indicator in MT4 and MT5. When converting to MT5 I had to use plots
Forum on trading, automated trading systems and strategy testing
Indicators: Equity Chart
fxsaber, 2019.04.25 11:25