Text label not show up on Main chart

 

Hi,

I try to draw a text and put it vertical from High of a bar.

The problem is that when the High is near top of screen, the text is created but not show up.

It only shows up when I squeeze the chart.

Is there any way to make the Text show up even partially?

Thank you so much.

HHC

void OnStart()
  {
   long chart_ID=ChartID();
  //---- obj_arrow, window to draw, time, place
 
      ObjectCreate("MyLabel", OBJ_TEXT,0, Time[50], High[50]);
      //--- set the text
         ObjectSetString(chart_ID,"MyLabel",OBJPROP_TEXT,"Text goes here... very long");
      //--- set font size
         ObjectSetInteger(chart_ID,"MyLabel",OBJPROP_FONTSIZE,10);
      //--- set angle
         ObjectSet("MyLabel", OBJPROP_ANGLE, 90); 
}
 

Do not double post.

I have deleted your other topic.

 

I am sorry.

I totally forgot to delete it. So focus on testing.

I just explored to this point and created a simpler question.