When using this indicator together with the Trade Panel, it freezes(or slow) when switching time periods or closing MT4.
Is there any solution to this problem?
I have resolved it myself.
voidOnChartEvent(constint id, // Event IDconstlong& lparam, // Parameter of type long eventconstdouble& dparam, // Parameter of type double eventconststring& sparam // Parameter of type string events
)
{
if(id!=CHARTEVENT_CHART_CHANGE){ return; } // <= Add
int pos,xpos;
double priceHigh,priceLow,priceMax,priceMin,priceRange,headClose,midRange;
I hope this solution helps others who may be experiencing a similar problem. Thanks to everyone who took the time to read my question.
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.
When using this indicator together with the Trade Panel, it freezes(or slow) when switching time periods or closing MT4.
Is there any solution to this problem?
I have resolved it myself.
I hope this solution helps others who may be experiencing a similar problem. Thanks to everyone who took the time to read my question.
Regards