DocumentationMQL5 ReferenceStandard LibraryPrice ChartsWidthInPixelsWidthInPixelsWidthInPixelsGets chart width in pixels.int WidthInPixels() constReturn Value Width in pixels of the chart assigned to the chart instance. If there is no chart assigned, it returns 0.Last updated on 2026-07-24WidthInBarsHeightInPixels