HLINE object not able to use opacity?

 

Hi guys,

I've created a set of HLINEs on my chart, which i'm able to modify as expected. Except when it comes to opacity, it just seems to be ignored. In this example, there is no change of colour whatsoever:

for(int x=5;x>=1;x--)
  {
   double dhigh = iHigh(_Symbol, PERIOD_D1, x);
   ObjectCreate(0, "HIGH" + x, OBJ_HLINE, 0, TimeCurrent(), dhigh);
   ObjectSetInteger(0, "HIGH" + x, OBJPROP_COLOR, ColorToARGB(clrWhite, 120));
  }
Improperly formatted code edited by moderator.

Can anyone point me in the right direction to have opaque settings apply to HLINE objects? Thanks in Advance

 

Improperly formatted code edited by moderator. Please always use the CODE button (Alt-S) when inserting code.

Code button in editor

 
Meta_Work: I've created a set of HLINEs on my chart, which i'm able to modify as expected. Except when it comes to opacity, it just seems to be ignored. In this example, there is no change of colour whatsoever: Can anyone point me in the right direction to have opaque settings apply to HLINE objects?
As far as I am aware, graphical objects and indicator plots, to not make use of the alpha channel for their colours. It is ignored.