Download MetaTrader 5

Crosshairs or SetPoint how to get the mouse style?

To add comments, please log in or register
B2A VAREJO ONLINE E DISTRIBUICAO
275
Rodrigo Campos Fidelis  

Hi,

Ineed to now how i get the style of the mouse when he is OnChart.

I already try some functions and not have sucess yet

OnMouseEvent()

EventChartCustom()

Wnd.MouseFlags()

Does anyone can help me?


Alain Verleyen
Moderator
33504
Alain Verleyen  
RODRIGO CAMPOS FIDELIS:

Hi,

Ineed to now how i get the style of the mouse when he is OnChart.

I already try some functions and not have sucess yet

OnMouseEvent()

EventChartCustom()

Wnd.MouseFlags()

Does anyone can help me?


You can't change the standard MT4 crosshair.
B2A VAREJO ONLINE E DISTRIBUICAO
275
Rodrigo Campos Fidelis  
Alain Verleyen:
You can't change the standard MT4 crosshair.
Hi, im using the MT5, i dont need to change, i just need to get the information when he is on and when he is off.
I Need to now, when the user is using the CrossHair style, understand-me?
Alain Verleyen
Moderator
33504
Alain Verleyen  
RODRIGO CAMPOS FIDELIS:
Hi, im using the MT5, i dont need to change, i just need to get the information when he is on and when he is off.
I Need to now, when the user is using the CrossHair style, understand-me?

There is no way to know when the crosshair is used. You can only detect the mouse.

You need to code your own crosshair.

To add comments, please log in or register