how is possible create line under the gui ?

 

Hi guys, I created a GUI, and when I click a checkbox, it creates two lines on the chart. However, the lines also appear on top of the GUI. Would it be possible to make them appear below the GUI? I tried this, but it doesn't work. Thanks!

 // Traccia la linea superiore
        ObjectCreate(0, "UpperLine", OBJ_HLINE, 0, 0, upperLine);
        ObjectSetInteger(0, "UpperLine", OBJPROP_COLOR, clrGreen);
        ObjectSetInteger(0, "UpperLine", OBJPROP_RAY_RIGHT, false);
        ObjectSetInteger(0, "UpperLine", OBJPROP_SELECTABLE, true);
        ObjectSetInteger(0, "UpperLine", OBJPROP_SELECTED, true);
        ObjectSetInteger(0, "UpperLine", OBJPROP_WIDTH, SpessoreLine); 
        ObjectSetInteger(0, "UpperLine", OBJPROP_ZORDER, 10); //<--- i try also with 0 
        // Traccia la linea inferiore
        ObjectCreate(0, "LowerLine", OBJ_HLINE, 0, 0, lowerLine);
        ObjectSetInteger(0, "LowerLine", OBJPROP_COLOR, clrRed);
        ObjectSetInteger(0, "LowerLine", OBJPROP_RAY_RIGHT, false);
        ObjectSetInteger(0, "LowerLine", OBJPROP_SELECTABLE, true);
        ObjectSetInteger(0, "LowerLine", OBJPROP_SELECTED, true);
        ObjectSetInteger(0, "LowerLine", OBJPROP_WIDTH, SpessoreLine); // Spessore della linea inferiore
        ObjectSetInteger(0, "LowerLine", OBJPROP_ZORDER, 10); //<--- i try also with 0