Graphical Interface no loading even though there are no errors in the expert window.

 
Good day, im looking for some support on getting my GraphicInterface to show up in the Chart.

Im using MQL5 to write my EA and using MT5 to test. it.

The EA is compiling without any errors in Meta editor,

The Experts window is printing:
2024.01.30 11:03:28.989 CTM_TradeManager_EA (GBPUSD,H1) Creating interface elements

2024.01.30 11:03:28.989 CTM_TradeManager_EA (GBPUSD,H1) Interface initialized


The Journal is printing:

2024.01.30 11:03:27.450 Experts expert CTM_TradeManager_EA (GBPUSD,H1) loaded successfully


However there is no interface loading in the chart. 
I have checked all the common things that could affect it like using 0 layer in the code. 
Checking the Algorythmic Trading is on.
Restarting MT5.
Removing the EA and reloading it again.

Even when i try to  create a test button under the Oninit function, this also does not show. Here is the snipet of the code for the OnIni() function.


/+------------------------------------------------------------------+
//| CTM Trade Manager initialization function                        |
//+------------------------------------------------------------------+
int OnInit()
  {
    // Test creating a simple button directly here
    CButton testButton;
    testButton.Create(0, "Test Button", 10, 10, 100, 30, 0);

    // Print a message to the Experts tab to confirm creation
    Print("Test button created");

    // Original initialization
    Interface.CreateInterface();
    Print("Interface initialized");

    // Force a chart redraw (as a last resort)
    ChartRedraw();
    
    // Initialize the graphical interface
    Interface.CreateInterface();

    Print("Interface initialized");  // Debug print
    
    // Additional initialization if necessary
    
    return(INIT_SUCCEEDED);
  }

    




 

I don't understand how you can hope to get help from your post ?

Nobody can check your code. Debug your code and find why it behaves like that. Or post ALL the relevant code if you really need help.