Alert system in MT4

 

It possible that MT4 can alert when price close to TP and set fixed pips alert  ??

Fixed pips alert for me mean 50,100,150 pips alert when each fixed pip reach.

and All of these alert can be send to SmartPhone via Mql4 terminal???

Thank for reply :)

 
Nlj CableCross:

It possible that MT4 can alert when price close to TP and set fixed pips alert  ??

Fixed pips alert for me mean 50,100,150 pips alert when each fixed pip reach.

and All of these alert can be send to SmartPhone via Mql4 terminal???

Thank for reply :)

Yes it's possible, but you will need it custom coded: Freelance

 
Stuart Browne:

Yes it's possible, but you will need it custom coded: Freelance

What this code call ??

i can find in any website ??

Thanks

 
Nlj CableCross:

It possible that MT4 can alert when price close to TP and set fixed pips alert  ??

Fixed pips alert for me mean 50,100,150 pips alert when each fixed pip reach.

and All of these alert can be send to SmartPhone via Mql4 terminal???

Thank for reply :)

Yes. You need an OnTrade function used in MQL5. Search here for a ontrade for mql4, and embedd in your expert advisor.  
 
Kaleem Haider:
Yes. You need an OnTrade function used in MQL5. Search here for a ontrade for mql4, and embedd in your expert advisor.  

Didn't get it as well so i need to use EA OnTrade like this right ??

Thanks

 
Nlj CableCross:

Didn't get it as well so i need to use EA OnTrade like this right ??

Thanks

well, you can achieve this both in indicator and ea, the following are the steps you need to do:

  • Store all your positions to some array variable that is able to hold position SL, TP, lots, etc. 
  • Use OnTick() (if you are using EA), or OnCalculate (if you are using indicator), to check change in positions, old versus new.
  • If position changed, check if the close price equal or higher than TP price (mean TP reached).  The difference between the Order Open Price and the Order Close price should give if you if TP 50, 100 or 150 pips was reached.

 
Nlj CableCross:

What this code call ??

i can find in any website ??

Thanks

but in freelance you can do it better and quick and more professional ...

while you make a job with a developer you can learn in the same time

some jobs only cost 10 usd

it is not a matter

we are losing/winning in forex more than this 10 $ 

 
Mohammad Soubra:

but in freelance you can do it better and quick and more professional ...

while you make a job with a developer you can learn in the same time

some jobs only cost 10 usd

it is not a matter

we are losing/winning in forex more than this 10 $ 

Those indicator or ea must be open laptop or something ??.To send message via terminal.

So i must run those ea or indicator on vps to get that message ??

Thanks for reply

 
Nlj CableCross:

Those indicator or ea must be open laptop or something ??.To send message via terminal.

So i must run those ea or indicator on vps to get that message ??

Thanks for reply

Yes, the alert system in the terminal only works when you have the terminal open.  You can use VPS by metaquotes or leave the computer on.
 
Kaleem Haider:
Yes, the alert system in the terminal only works when you have the terminal open.  You can use VPS by metaquotes or leave the computer on.
How i request my cumstom ea on Freelance ?? :) Thank you
 
Nlj CableCross:
How i request my cumstom ea on Freelance ?? :) Thank you

https://www.mql5.com/en/job

Freelance service at MQL5.com
Freelance service at MQL5.com
  • www.mql5.com
Orders for the development of automated trading programs
Reason: