Forum

CChart::VisibleBars() erroneously implemented (MQL5)

Hello, I'd like to report a little but nasty bug in Standard Library . The function CChart::VisibleBars() is erroneously implemented. Just the last code line of the function is not correct. Instead of return((int)ChartGetInteger(m_chart_id, CHART_WIDTH_IN_BARS )) it should be