Add text and numbers to the end of a dynamic level

amando  
Make a time based trendline and place a label
Nagisa Unada  
Tiofelo Da Olga Gilbert Teles:

How can I add text and numbers at the end of a dynamic level like in the picture?

//+------------------------------------------------------------------+
void Disp_Symbol(string obj_name, int win_idx, string text, double value, color col)
{
        int TxtSize  = 8;
        string font  = "Arial Black";
        string dText = "";
        
        if (ObjectFind(0, obj_name) < 0)
        {
                dText = "        " + text + "  " + DoubleToString(value, 0) + "%";
                ObjectCreate(0,     obj_name, OBJ_TEXT,         win_idx, iTime(_Symbol, _Period, 0), value);
                ObjectSetString(0,  obj_name, OBJPROP_TEXT,     dText);
                ObjectSetInteger(0, obj_name, OBJPROP_FONTSIZE, TxtSize);
                ObjectSetString(0,  obj_name, OBJPROP_FONT,     font);
                ObjectSetInteger(0, obj_name, OBJPROP_COLOR,    col);
        }
        else
        {
                dText = "        " + text + "  " + DoubleToString(value, 0) + "%";
                ObjectSetInteger(0, obj_name, OBJPROP_TIME,     iTime(_Symbol, _Period, 0));
                ObjectSetDouble(0,  obj_name, OBJPROP_PRICE,    value);
                ObjectSetString(0,  obj_name, OBJPROP_TEXT,     dText);
                ObjectSetInteger(0, obj_name, OBJPROP_FONTSIZE, TxtSize);
                ObjectSetString(0,  obj_name, OBJPROP_FONT,     font);
                ObjectSetInteger(0, obj_name, OBJPROP_COLOR,    col);
        }       
} 
//+------------------------------------------------------------------+
Reason: