Color Transparency in Rectangle Object

Back to topics list To post a new topic, please log in or register
avatar
32
trader88888 2016.04.25 15:48
 

Hello,

 Is it possible to add in color transparency to an object?  Eg.  I want to take a rectangle and instead of making it while #ffffff i wanted to make it transparent.  

 

I was wondering if anyone can show me some example code to do this?

 

Thank you 

avatar
Moderator
3206
angevoyageur 2016.04.25 17:00 #
 
trader88888:

Hello,

 Is it possible to add in color transparency to an object?  Eg.  I want to take a rectangle and instead of making it while #ffffff i wanted to make it transparent.  

 

I was wondering if anyone can show me some example code to do this?

 

Thank you 

All is explained on this article.
avatar
32
trader88888 2016.04.25 18:34 #
 
Thank you, very helpful and didn't find that.  Since this example is in mql5 i imagine this isn't possible on mql4?
avatar
Moderator
3206
angevoyageur 2016.04.25 19:22 #
 
trader88888:
Thank you, very helpful and didn't find that.  Since this example is in mql5 i imagine this isn't possible on mql4?
It should be similar if not the same, I didn't check.
avatar
1202
FMIC 2016.04.25 19:24 #
 
trader88888:
Thank you, very helpful and didn't find that.  Since this example is in mql5 i imagine this isn't possible on mql4?

Since "angevoyageur" is also a moderator, if he has recommended the article to you, then it is because it is also relevant to MQL4+ (even if it is geared for MQL5).

Why don't you simply try out a few examples and find-out for yourself?

Currently MetaQuotes is slowly merging the two platforms into one, so learning the MQL5 way of doing things is only going to benefit you in the long run.

avatar
Moderator
281
barabashkakvn 2016.04.25 19:56 #
 
Hello.
I am here only on the personal request of angevoyageur.
Transparent object may be, if you use canvas. All scripts from my articles (of canvas) work in MQL4. And the General Council: it is time to work on MQL5:).
I've gone back to "5" Forum.
avatar
119
Doerk 2016.04.25 20:41 #
 
angevoyageur:
It should be similar if not the same, I didn't check.
Yes, totally the same.
Back to topics list  

To add comments, please log in or register