Discussion of article "Visualize this! MQL5 graphics library similar to 'plot' of R language" - page 6
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
I actually use multiple canvases ( usually no more than 4 )
Couldn't find a search for iDot() or 3DStars to see the code.
I meant to take into account everything under the canvas, including the chart itself (background colour) and the colour of its elements (bars, ask/bid lines, etc).
While moving this canvas with a transparent background with semi-transparent elements drawn on it, all pixels should be drawn correctly.
This is not the case now:
Artem, these are really not trivial tasks that require new neural connections. For example, in SVG there is such a concept as viewBox. I have already watched a lot of videos about how it works, read a lot of documentation, written a lot of code, and still sometimes I get stumped. I still don't have the necessary neural connections, even though it seemed several times that I had figured it all out.
Forum on trading, automated trading systems and testing trading strategies
Discussion of the article "Visualise it! Graphical library in MQL5 as an analogue of R"
Anatoli Kazharski, 2023.07.31 17:39
...
I meant to take into account everything that is under the canvas, including the chart itself (background colour) and the colour of its elements (bars, ask/bid lines, etc.).
While moving this canvas with a transparent background with semi-transparent elements drawn on it, all pixels should be drawn correctly.
This is not the case now:
Here's an example where one canvas (with a blue circle) is above another canvas (a blue rectangle with a picture) and here too it doesn't take into account what is drawn on the canvas below:
Could not find a search for iDot() or 3DStars to view the code.
I meant to take into account everything under the canvas, including the chart itself (background colour) and the colour of its elements (bars, ask/bid lines, etc.).
While moving this canvas with a transparent background with semi-transparent elements drawn on it, all pixels should be drawn correctly.
This is not the case now:
h ttps://www.mql5.com/ru/forum/227736/page72#comment_25130501
Thank you! Those are very cool examples! So I was wrong.
I haven't looked at the code in detail yet, but why is the transparency not drawn as expected in the default CCanvas?
Thank you! Those are very cool examples! So I was wrong.
I haven't looked at the code in detail yet, but why is the transparency not drawn as expected in the default CCanvas?
There's a lot that's wrong with it.
Nikolay, can you make a list of what and how it is desirable to change in the standard CCanvas? In your opinion. As it is now, and as it should be. And why.
Nicholas, can you make a list of what and how it is desirable to change in the standard CCanvas? In your opinion. As it is now, and as it should be. And why.
We need a new class with fewer functions than in CCanvas. It's better to make this class as close as possible to JS canvas, which doesn't have a lot of functions in essence, for ease of learning and adoption, as the whole IT is moving towards web.
but this is ideal.
I could probably write something like this myself, but it would take at least half a year full-time
although personally I don't like everything in JS Canvas, but for standardisation it would be right to implement something like this with small changes to do without string parsing.
ZY but for normal work I need to redo MT5 event model, as it is just awful
Canvas in MT5 is supposed to work twice as fast as JS canvas. But for this (for a non-lagging interface) you need to change a lot of things inside MT5, which Renat will never do.
We need a new class with fewer functions than CCanvas. It's better to make this class as close as possible to JS canvas, which doesn't have many functions in essence, for ease of learning and adoption, as the whole IT is moving towards web.
but this is ideal.
I could probably write something like this myself, but it would take at least half a year full-time
although personally I don't like everything in JS Canvas, but for standardisation it would be right to implement something similar with small changes to do without string parsing.
But for normal work we need to redo MT5 event model, as it is just awful
It is clear that everything is "under the knife", but still the question was a bit different. What it is desirable to change/refine in the existing class...
It is clear that everything is "under the knife", but still the question was a bit different. What is it desirable to change/improve in the existing class...
smooth methods to bring them to life. Now I think there are even functions in CCanvas that are undocumented.