Questions from Beginners MQL5 MT5 MetaTrader 5 - page 1244
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
Vladimir, I generated the code with MQL5 wizard as well. I tried your EA, it also does not work for me when I run it on GBPUSD currency.
The log says the following:
Read what it says in the log. There is a description of YOUR error. (if it is a tester there is one log, if it is a terminal there are two logs).
Also specify: on what symbol and on what timeframe you start. Today the telepaths are on holiday and there is no one to read your mind.
Read what is written in the logbook. There is a description of YOUR error. (if it is a tester - there is one log, if it is a terminal - there are TWO logs).
The tester crashes in this place when creating an indicator handle, i.e. it = INVALID_HANDLE. In the symbol variable "EURUSD", the period is also set. How can it be and what does error 4804 mean?
ERR_INDICATOR_CANNOT_APPLY
4804
Indicator cannot be applied to another indicator
m_handle=iAC(symbol,period);
The tester crashes here when creating an indicator handle, i.e. it = INVALID_HANDLE. In the symbol variable "EURUSD", the period is also set. How can it be and what does error 4804 mean?
ERR_INDICATOR_CANNOT_APPLY
4804
The indicator cannot be applied to another indicator
Read the log - there is a description of YOUR error. The sooner you read it, the sooner you will understand.
Also specify: on which symbol and on which timeframe you are launching. The telepaths are on holiday today and there is no one to read minds.Read the magazine - there is a description of YOUR error. The sooner you read it, the sooner you will understand.
Also clarify: on which symbol and on which timeframe you are launching. Today the telepaths are on holiday and there's no one to read your mind.The issue was resolved by reinstalling the platform.
Dear developers, products in the marketplace cannot be verified
Code attached
CopyRates causes a hang, resulting in the market writing
test on EURUSD,H1 (netting)
tester takes too long time
Strategy tester report not found
And the validator has correctly passed the cutoff: You're probably not thinking too much, when you want to ask for 1440 elements at each TICK for all symbols in the terminal? You didn't even think: the server can easily have more than five thousand symbols, a symbol can have NO 1440 bars...
All in all, a topic for newbies. Definitely.
Example
Result:
Thank you, Vladimir. I totally understand the logic behind your example. Do you believe it?
Thank you, Vladimir. I totally understand the logic behind your example. Do you believe it?
I'm not Vladimir, but I'll ask you: what doesn't work? Everything is long gone, and I don't feel like looking for your example. Please duplicate it again.
I'm not Vladimir, but I have to ask: what's not working out? It's long gone, and I don't want to look for your example. Please duplicate it again.
Here is my example:
If I change barsBuffer1[0] to barsBuffer1[i], it is drawn. But then how do I add a new candle?Here is my example:
If I change barsBuffer1[0] to barsBuffer1[i], it is drawn. But then how to add a new candle?Not all arrays have the same focus.