Karputov Vladimir: You don't need a kanvas here. You just upload your array to the indicator buffer and take a screenshot of the chart in one of three formats (*.jpg, *.png, *.bmp).
I've thought about it, but you need a scaling algorithm, and where to get one...
Artyom Trishkin: bmp is a bitmap image. Each pixel of the image corresponds to a byte in the file.
IsResourceCreate() suitable for this purpose? If so, how do you handle an array of numbers to convert it to a picture - should the empty space be filled with zeros?
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Yes, but these are piecemeal instances and viewing in a browser - I'm interested in a graphic bmp file though.
Or maybe someone knows a third-party program for batch plotting and converting them to graphic file(s)?
You don't need a kanvas here. You just upload your array to the indicator buffer and take a screenshot of the chart in one of three formats (*.jpg, *.png, *.bmp).
I've thought about it, but you need a scaling algorithm, and where to get one...
bmp is a bitmap image. Each pixel of the image corresponds to a byte in the file.
Would it damage the target?
I've thought about it, but you need a scaling algorithm, and where to get one...
Could it damage the target?
See here \MQL5\Scripts\Examples\Canvas\Charts\ for examples of pie charts, graphs and histograms.
Where-where?
In MetaEditor in the Navigator window: Scripts\Examples\Canvas\Charts\
In the MetaEditor in the "Navigator" window: Scripts\Examples\Canvas\Charts\
Forum on trading, automated trading systems and trading strategy testing
Answers to newbies in pictures
Mike, 2015.10.21 15:31
Which is better, using multiple instances of MetaTrader or MetaTrader Multi Terminal ?The closet is full of junk, dug out my old system, oh man, it's buzzing. And it remembers the site, which is amazing......................
only not a single terminal, thought hackers had stolen it, HP is finished, can I retire or is it possible to install a terminal?