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
There's another problem here.
If you don't have access to the code that generated the kanvas, then you don't have access to the resource of that kanvas either. You can see the list of bitmap objects, but not the list of resources. If you don't know the resource name, you can only find it out by matching or brute-force, which is beyond practical use.
How do you get an array of points for recognition? If only through a screenshot, which is also nonsense.
Or am I wrong?
The code is of course mine, which means it's open source. I just thought that if there's a date on the screen, why else save it somewhere if you can get it ... Provided you can get it. Ha-ha-ha, "beautifully" said.
Well sort of like how you can get a string from a text field and pull part of the string from there. But, alas, no so no.
The bitmap property has the path to the resource. I don't know if you can get it programmatically.
Exactly. After all, the question was not to get it from an image, but from a resource. And then I myself lost what I was looking for. I'll experiment and see what properties I can get.
It's not working for me...
And how to get an array I can't find. Is it even possible???
Exactly. After all, the question was not to get from a picture, but from a resource. And then I lost what I was looking for myself. I'm going to experiment and see what properties I can get.
It's not working for me...
And I can't find how to get an array. Is it even possible???
The code is of course mine, which means it's open. I just thought that if there's a date on the screen, why else save it somewhere when you can get ... Provided you can get it. Ha-ha-ha, nice one.
Well sort of like how you can get a string from a text box and pull part of the string out of it. But, alas, no such thing.
I think ResourceReadImage() or something like that should help
I found it, but nothing worked for me. I tried to convert an array to a string, but the array types don't match. No matter how I twisted it, it didn't work. Maybe I'm doing something wrong, but no new ideas yet.
I found it, but nothing worked for me. I tried to convert an array to a string, but the array types don't match. No matter how I turned it around, it just won't work. Maybe I'm doing something wrong, but no new ideas yet.
You're really something :)))
Nikolai, but it's not a solution that's necessarily applicable. After all, your cartoons are from the same series, beautiful, but without the possibility of application in trading.
How do you translate pixel colour data into a string? And most importantly, why?
Ah, well, that's... I don't know.))
In general, I'll probably give up the idea. Maybe it's really not that kind of thing.
Forum on trading, automated trading systems and trading strategies testing
Features of mql5 language, subtleties and tricks
fxsaber, 2017.10.31 08:11
Application
SZY The BMP->GIF/PNG file converter is also implemented.
New question: Can I read text from a resource in a canvas?
For example these lines, or any of them.
Purpose: With the kanvas there is a line that contains a date. This is the date you want to read.
Or use one of the old tried and tested methods, GV, file, graphic or something else.