Chartscreenshot() to take screen of my chart but I have problem with width and height of taken pictures.
As you can see dimension of picture is small. Do you have any idea to fix the problem ?
(All windows of MetaTrader such as Terminal, Mrket-watch and Navigator are closed during take screenshot.)
int width = (int)ChartGetInteger(0, CHART_WIDTH_IN_PIXELS);
int height = (int)ChartGetInteger(0, CHART_HEIGHT_IN_PIXELS);
Please show the whole section of code as I can't see why those should be returning 167 and 94
Thanks. I fixed the width and height to specified pixel. So it works!