Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 1869
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
Your pointless trolling is clearly unnecessary here. And the answers that aren't trolling are either wrong, or they're all lies.
(chuckles): Okay. Don't read my answers. Read the other ones.
Why didn't you figure it out yourself? And tell the uservladeimirami how to do it. It's all in the documentation:
https://www.mql5.com/ru/docs/event_handlers/onchartevent
Extend the list of constants to the required ones:
Where to get values for the constants:. Google "C++ key codes" (as I said before). And process it:
Instead of string with Print, insert function which adds value to array depending on key pressed. What is so hard?
Aleksey, I'm not that stupid. I'm sorry, I can fill the array that way too. I just need to fill it from the keyboard. That's what I'm trying to figure out.
Unfortunately there are all kinds of people on this forum. I don't know your abilities, no offence...
And another question, do you mean input through an input form? Like InputLable or something like that?
The first thing that comes to mind is to create OBJ_EDIT and fill it out at CHARTEVENT_OBJECT_ENDEDIT event in OnChartEvent(). After entering some character, delete the object. That's it, the array is filled.
Hello, could you please tell me if I need insurance to withdraw money? Tell me all about it.
You have to earn them first.
I've been struggling for a couple of hours trying to read data from the database and can't do it.
Here's the code for the tests.
Briefly. A database is created with one table (if the database exists, the table is deleted and re-created). One single row is added to the table.
Then the database is closed and opened again. Simple selection of this record is done, but command returns error that query result is empty.
Checked through IDE - everything is selected by the same query. Can't figure out if this is a bug or a fix?
Result of the work:
Also, full code attached
Why can't you go through the input-parameters in a loop? Why are you punishing us like this?
What's the point of doing this? Share the secret...
I press download in the market, the wrong terminal opens by default. I deleted it. Now nothing happens after pressing "download" button