I have 2 questions.
1. The market watch is selected/focused and I want the chart to be selected/focused/highlited but how?
2. I practiced a few codes about chart events, and I was able to get mouse coordinates on the chart for example x:100 Y:40.
My question is how to move/set the mouse coordinate to sth custom for example x:130 y:70.
I want to achieve those by codes. Any hint/advise is appreciated
- Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes
- Convert Price to Coordinate vice versa
- How to get the coordinates of the cursor while moving on the chart without clicking the mouse?
pavelion: 1. The market watch is selected/focused and I want the chart to be selected/focused/highlited but how?
Is this what you are looking for?
Sets the integer value (datetime, int, color, bool or char) for a corresponding property of the specified chart
ENUM_CHART_PROPERTY_INTEGER
ID
Description
Property Type
Show chart on top of other charts
bool
Fernando Carreiro #:
I tried it and the navigator was selected/highlited/focused when I attach the script on the chart
Is this what you are looking for?
Sets the integer value (datetime, int, color, bool or char) for a corresponding property of the specified chart
ENUM_CHART_PROPERTY_INTEGER
ID
Description
Property Type
Show chart on top of other charts
bool
pavelion #: I tried it and the navigator was selected/highlited/focused when I attach the script on the chart
That is not how you are supposed to use the function. Think about it and what you are trying to accomplish.
Break it down into simpler more logical steps. Show your code if you require further help.

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