Download MetaTrader 5

simple indicator plotting with transparency

To add comments, please log in or register
Erwann Pannerec
223
Erwann Pannerec  

Hi,

Is there anyway in MT5 to plot basic indicator (DRAW_LINE for exemple) with a transparency setting ?

If not in basic way, other more complicated solutions are availables ?

Thanks !

Erwann.

Pierre Rougier
623
Pierre Rougier  

Hi,


clrNONE ?

Pierre

Erwann Pannerec
223
Erwann Pannerec  
Pierre Rougier:

Hi,


clrNONE ?

Pierre

Hi Pierre,


clrNONE will trace the indicator without color --> so basically, it won't appears on the chart. My goal is to see the indicator line on the chart but with a level of transparency...


But I think MT5 not allow to do this without using specific class...


Thx !

Erwann.

Enrique Dangeroux
345
Enrique Dangeroux  
ColorToARGB(ZBCol,127);

https://www.mql5.com/en/docs/convert/colortoargb

It works not with every object. Can not remember exactly which. HLINE works.

Alain Verleyen
Moderator
36407
Alain Verleyen  
Enrique Dangeroux:

https://www.mql5.com/en/docs/convert/colortoargb

It works not with every object. Can not remember exactly which. HLINE works.

Doesn't work with indicator's buffer.
To add comments, please log in or register