How to format 1000.00 to 1.000,00 ?

 

Hi there !

Can someone please help me include StringFormat() in this context ?

   Comment("[YOUTRADE] ",dt.hour,":",dt.min," | glTicks: ",glTicks,
           " | glContratos: ",DoubleToString(glContratos,2),
           " | ContratosMaximos: ",DoubleToString(ContratosMaximos,2),
           "\nACCOUNT_USED_MARGIN: ",DoubleToString(AccountInfoDouble(ACCOUNT_MARGIN),2), *** Here !
           "\nACCOUNT_FREE_MARGIN: ",DoubleToString(AccountInfoDouble(ACCOUNT_FREEMARGIN),2)); *** Here !

Thank you !

Marcelo