Change Color for arrow in script

 

Hello,

I try to change the arrow color to Aqua but this below code doesn't work.

Could you help me fix it?

Thanks a lot.

HHC


void OnStart()
  {
   long chart_ID=ChartID();
  //---- obj_arrow, window to draw, time, place
  
   ObjectCreate("Arrow",OBJ_ARROW, 0, Time[1], High[1]);
   ObjectSetInteger(chart_ID,"arrow",OBJPROP_COLOR,clrAqua);


//---
   
  }
 
ObjectCreate("Arrow",OBJ_ARROW, 0, Time[1], High[1]);
   ObjectSetInteger(chart_ID,"arrow",OBJPROP_COLOR,clrAqua);


Reason: