MT5 Build 206x, CustomSymbolCreate Always Fail

 

Upgraded to MT5 Build 206x, but CustomSymbolCreate function always failed (error code: 5305).

Any comments?

void OnStart()
  {
//---
    string custom_symbol = "TestSymbol";

    CustomSymbolDelete(custom_symbol);

    ResetLastError();

    if (!CustomSymbolCreate(custom_symbol))
      {
        printf("Failed: %d", GetLastError());
      }
    else
      {
        printf("Success.");
      }
  }
 

While the developers have not fixed this bug, you can do so.

CustomSymbolCreate(custom_symbol, NULL, _Symbol)
Reason: