Download MetaTrader 5
To add comments, please log in or register
Publish your article. Millions of traders are looking for good ideas!
Nlj CableCross
25
Nlj CableCross 2016.01.29 18:52 

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 :)

Stuart Browne
5782
Stuart Browne 2016.01.29 19:20  
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

Nlj CableCross
25
Nlj CableCross 2016.01.29 19:25  
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

Kaleem Haider
73132
Kaleem Haider 2016.01.29 19:35  
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.  
Nlj CableCross
25
Nlj CableCross 2016.01.30 03:59  
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

Kaleem Haider
73132
Kaleem Haider 2016.01.30 04:51  
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.

Mohammad Soubra
24621
Mohammad Soubra 2016.01.30 09:43  
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 $ 

Nlj CableCross
25
Nlj CableCross 2016.01.30 13:38  
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

Kaleem Haider
73132
Kaleem Haider 2016.01.30 18:10  
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.
Nlj CableCross
25
Nlj CableCross 2016.01.31 02:10  
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
Stuart Browne
5782
Stuart Browne 2016.01.31 02:31  
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
/ /12
To add comments, please log in or register