I need to maximize the chart window when the following event fires but it is not doing any thing? How can I fix it?
Playing around with the code below did not cut it for me. Any suggestions?
Thanks
voidOnChartEvent(constint id,
constlong &lparam,
constdouble &dparam,
conststring &sparam)
{
ChartSetDouble(0,CHART_FIXED_MAX,1000); // <<<<< Not maximizing the chart as expected// also I tried this next line for no avail.ChartSetInteger(0,CHART_WIDTH_IN_PIXELS,854);
}
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Hi
I need to maximize the chart window when the following event fires but it is not doing any thing? How can I fix it?
Playing around with the code below did not cut it for me. Any suggestions?
Thanks