Possibilities of Canvas. - page 5

 

Woow awesome, thank you very much Sir.

Zoom mean "zooming in" the chart.

Just tried 3DMa.mq5 and iCanvas_CB.mqh, now can "zooming in" the chart.

Once again thank you very much. 

 
ftakziroh #:

Woow awesome, thank you very much Sir.

Zoom mean "zooming in" the chart.

Just tried 3DMa.mq5 and iCanvas_CB.mqh, now can "zooming in" the chart.

Once again thank you very much. 

no problem :))

 
Nikolai Semko:

Demonstration of the possibilities of Сanvas in dynamics.

The picture never repeats.

This script also works on MQL4, but much slower.



How can I have such coloring for one object instead of the whole canvas?

 
alighasemi1993 #:

How can I have such coloring for one object instead of the whole canvas?

I did not understand the question.  Canvas is one object.
 
Nikolai Semko #:
I did not understand the question.  Canvas is one object.

I mean for example a custom rectangle

 
alighasemi1993 #:

I mean for example a custom rectangle

https://www.mql5.com/en/forum/323629#comment_13442470

Or do you mean how to make a dynamically changing color for each canvas sub-object?
 
Nikolai Semko #:

https://www.mql5.com/en/forum/323629#comment_13442470

Or do you mean how to make a dynamically changing color for each canvas sub-object?

Yes, I mean how to make a dynamically changing color for each canvas sub-object.

 
alighasemi1993 #:

Yes, I mean how to make a dynamically changing color for each canvas sub-object.

It can be organized through a Timer (in the case of Indicators and Expert) or through an endless loop while(!IsStopped()) {} with the Sleep() function inside (in the case of Scripts).

 
Nikolai Semko #:

It can be organized through a Timer (in the case of Indicators and Expert) or through an endless loop while(!IsStopped()) {} with the Sleep() function inside (in the case of Scripts).

In fact, for a custom object, all the steps are the same as the steps in this example, and only the length and width of the object should be applied instead of the length and width of the chart?