ObjectCreate()

 

Hello,


When I try to place an arrow on the current chart, like so:

  ObjectCreate("Start", OBJ_ARROW,0,TimeCurrent(),PRICE_CLOSE);


it doesn't show up at the last bar on the chart. In the Object the object has the properties:


The last bar is 7am, but I can see the 1am bar and there is no arrow.


What did I do wrong here?

 
Close[0] instead of PRICE_CLOSE
 
This is PRICE_CLOSE - 0
 

Works now.


Thanks.