Forum

Bug in ColorToString

Hello everybody, I have a problem with the ColorToString () function. The second parameter is ignored. I set it to false but the function still returns the color name. str_clr = ColorToString (colorDw, false ); str_size = StringLen (str_clr); This the result in debug

Error in backtesting with MT5 1595

Hi, I have updated the MT5 to 1595 version and now I have pb with backtesting (in demo no, it's ok). The problem is in OnTradeTransaction when I call the HistorySelect. This leads to a block of execution That is a code sample void OnTradeTransaction ( const MqlTradeTransaction & trans