Will setting "CHART_EVENT_MOUSE_MOVE" to False in a custom indicator affect other indicators' MouseMove event?
- Custom Indicators in EA
- How to code?
- indicator not seeing custom chart event?
Yes, it affects ALL programs running on the chart.
Please read the following thread ... Disruptive Impact of Enabling/Disabling CHART_EVENT_MOUSE_MOVE for All Apps Running on Same Chart
Yes, it affects ALL programs running on the chart.
Please read the following thread ... Disruptive Impact of Enabling/Disabling CHART_EVENT_MOUSE_MOVE for All Apps Running on Same Chart
Thank you very much for your response. I really appreciate it. I also wanted to thank you for directing me to the thread that discussed the impact of enabling/disabling CHART_EVENT_MOUSE_MOVE for all apps running on the same chart.
I apologize for not doing enough research before posting my question. I now understand that I cannot simply set CHART_EVENT_MOUSE_MOVE to false without considering its impact on all other indicators and EAs running on the same chart.
In fact, after giving it some more thought, I have a question whether setting it to false is even possible, considering the potential impact on all other indicators and EAs. Nonetheless, I am grateful for your helpful response and guidance.
Once again, thank you very much for your help.
Thank you very much for your response. I really appreciate it. I also wanted to thank you for directing me to the thread that discussed the impact of enabling/disabling CHART_EVENT_MOUSE_MOVE for all apps running on the same chart.
I apologize for not doing enough research before posting my question. I now understand that I cannot simply set CHART_EVENT_MOUSE_MOVE to false without considering its impact on all other indicators and EAs running on the same chart.
In fact, after giving it some more thought, I have a question whether setting it to false is even possible, considering the potential impact on all other indicators and EAs. Nonetheless, I am grateful for your helpful response and guidance.
Once again, thank you very much for your help.
The impact is not clearly established. I can be 0 or 100% annoyance. A code which needs to use mouse move events will set the chart setting to true, all depends when it will run compared to your app setting it to false.
Anyway, the best practice, as explained by Fernando in the other thread is to not use it and adapt your code accordingly.
The impact is not clearly established. I can be 0 or 100% annoyance. A code which needs to use mouse move events will set the chart setting to true, all depends when it will run compared to your app setting it to false.
Anyway, the best practice, as explained by Fernando in the other thread is to not use it and adapt your code accordingly.
Thank you for your response. I also agree with Fernando's suggested avoidance method and understand it in the same way. Thank you very much.
If this is a known issue, could you please add a note to the documentation about it? There may be engineers who, like me, are not able to find their way to the forum discussion and would benefit from the information being readily available in the documentation.
Thank you!
If this is a known issue, could you please add a note to the documentation about it? There may be engineers who, like me, are not able to find their way to the forum discussion and would benefit from the information being readily available in the documentation.
Thank you!
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use