Martin Moreno:
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
Keith Watford:
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!
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi guys,
I use 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.)