simple indicator plotting with transparency

 

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.

 

Hi,


clrNONE ?

Pierre

 
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.

 
ColorToARGB(ZBCol,127);

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

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

 
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.