Questions from Beginners MQL5 MT5 MetaTrader 5 - page 510
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
Let's get ready:
Define the variables
The idiocy in OnInit looks like this:
I don't understand why we can't write input variables immediately to an array or initialize an array with variables :(
Somewhere inside the EA, we fill in the data array and run the check function:
So far so good. Are there any better options?
Hello!
I can't buy the software I like from the Market (MT4).
I seem to have done everything correctly:
first funded my MQL5.community account (via WM),
Then registered an account in MT4.
But when I pressed "buy" or "rent" (for 1 year, I wanted to).
-I do not withdraw from the funded account,
And offer to take again from WM, substituting the form of filling WM
(and, accordingly, offering to specify and the password from Webmoney).
It seemed a little strange to me.
-Why have I deposited my MQL5.community account then?
If you know something, may be it is something I do not understand?
Thanks in advance
============
Thank you, I didn't wait for an answer and figured it out on my own. _it's OK
Let's get ready:
Define the variables
The idiocy in OnInit looks like this:
I don't understand why you can't write input variables immediately to an array or initialize an array with variables :(
Somewhere inside the EA, we fill in the data array and run the check function:
So far so good. Are there any better options?
Everything seems to be fine at first glance. What do you have a problem with?
I don't understand why you can't write input variables directly into an array or initialize an array with variables :(
The array can only be initialized with constants, because the initialization code is created at compile time and at this point the values of variables are unknown.
Another criticism purely on design. You have ENUM_case and still use numeric values.
Everything seems fine at first glance. What's not to like?
I don't understand why you can't write input variables directly into an array or initialize an array with variables :(
The array can only be initialized with constants, because the initialization code is created at compile time and at this point the values of variables are unknown.
More quibbles purely on the design. You have ENUM_case and still use numeric values.
Once it's ok, I'll refine it. Thanks!
Had a bit of a tiff this morning, thought there might be some tricky operator for such a thing.
Good day!
I cannot buy my favourite application from the Market (MT4).
Seemed to be doing everything right:
I funded my first MQL5.community account (via WM),
Then I registered an account in MT4.
But when I press "buy" or "rent" (for 1 year I want)
-I do not withdraw from the funded account,
And offer to withdraw again from WM, substituting the form of filling WM
(and, accordingly, prompting me to enter my Webmoney password as well)...
It seemed a bit strange to me...
-And then why did I deposit my MQL5.community account?
If someone knows, may be there is something I do not understand...
Thanks in advance
Once it's OK, I'll refine it. Thank you!
Had a bit of a tiff this morning, thought there might be some tricky operator for such a thing.
It should be taken from the internal account, at least that's how it has always been when subscribing to signals, but the marketplace and the signal are the same. I have enough money on my internal account to pay in the market ?
Hello, is there any way to determine the tester's mode of operation in relation to prices:
- at the opening prices,
- ohlc
- all ticks?
Hello, is there any way to determine the tester's mode of operation in relation to prices:
- at the opening prices,
- ohlc
- all ticks?
There are corresponding dropdown windows with modes.
I can set the mode, but the Expert Advisor needs to know in which mode (by prices) it is running when testing.
I can think of only 1 variant,
if there was only 1 tick during a bar, then it would be opened at prices,
if there were 4 ticks at 0, 20, 40, 59 seconds - ohlc
otherwise - all ticks.
But I'm afraid there may be variants that will coincide with someone else's condition to determine the type
Maybe there is an easier option?