Download MetaTrader 5

Crosshairs or SetPoint how to get the mouse style?

To add comments, please log in or register
Do you have a trading signal? Publish it in your blog as well!
B2A VAREJO ONLINE E DISTRIBUICAO
279
Rodrigo Campos Fidelis 2016.03.31 00:05 

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
30737
Alain Verleyen 2016.03.31 11:58  
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
279
Rodrigo Campos Fidelis 2016.03.31 16:45  
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
30737
Alain Verleyen 2016.03.31 19:08  
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