void OnInit() {
string obj_name = "testobj";
int chart_id = 0;
ObjectsDeleteAll();
ObjectCreate(chart_id,obj_name,
OBJ_ELLIPSE,
0,
Time[50],
Close[50],
Time[20],
Close[20]
);
ObjectSetInteger(chart_id,obj_name,OBJPROP_COLOR,clrYellow);
ObjectSetInteger(chart_id,obj_name,OBJPROP_STYLE,STYLE_SOLID);
ObjectSetInteger(chart_id,obj_name,OBJPROP_WIDTH,1);
ObjectSetInteger(chart_id,obj_name,OBJPROP_BACK,false);
ObjectSetInteger(chart_id,obj_name,OBJPROP_SELECTABLE,true);
ObjectSetInteger(chart_id,obj_name,OBJPROP_SELECTED,true);
ObjectSetInteger(chart_id,obj_name,OBJPROP_HIDDEN,true);
ObjectSetInteger(chart_id,obj_name,OBJPROP_ZORDER,0);
ObjectSetInteger(chart_id,obj_name,OBJPROP_FILL,false);
ObjectSetDouble(chart_id,obj_name,OBJPROP_SCALE,0.1);
}