void OnInit() {
string obj_name = "testobj";
int chart_id = 0;
ObjectsDeleteAll();
ObjectCreate(chart_id,obj_name,
OBJ_ARROW_LEFT_PRICE,
0,
Time[20],
Close[20]
);
ObjectSetInteger(chart_id,obj_name,OBJPROP_COLOR,clrYellow);
ObjectSetInteger(chart_id,obj_name,OBJPROP_WIDTH,2);
ObjectSetInteger(chart_id,obj_name,OBJPROP_BACK,false);
ObjectSetInteger(chart_id,obj_name,OBJPROP_SELECTABLE,true);
ObjectSetInteger(chart_id,obj_name,OBJPROP_SELECTED,false);
ObjectSetInteger(chart_id,obj_name,OBJPROP_HIDDEN,true);
ObjectSetInteger(chart_id,obj_name,OBJPROP_ZORDER,0);
}