Download MetaTrader 5
To add comments, please log in or register
Do you know that MQL5 is an object-oriented language?
Gerardo Bustos
747
Gerardo Bustos 2015.03.22 04:44 

Hello forum, good day.

Is it possible to set Take Profit to be 10 pips above OrderOpenPrice()?

Your help will be much appreciated.

Best regards and thank you,

codeMolecules 

SYED NAUFAL GADDAFI
1401
SYED NAUFAL GADDAFI 2015.03.22 05:21  
codeMolecules:

Hello forum, good day.

Is it possible to set Take Profit to be 10 pips above OrderOpenPrice()?

Your help will be much appreciated.

Best regards and thank you,

codeMolecules 

Yes
Keith Watford
Moderator
7979
Keith Watford 2015.03.22 06:13  

It depends when you set the TP . You cannot modify the TP if it is too close to the Current price at the time.

Also TP for a Buy has to be above the current Ask

TP for a Sell has to be below the current Bid 

Gerardo Bustos
747
Gerardo Bustos 2015.03.22 23:16  
GumRai:

It depends when you set the TP . You cannot modify the TP if it is too close to the Current price at the time.

Also TP for a Buy has to be above the current Ask

TP for a Sell has to be below the current Bid 

Thank you very much GumRai.

Best regards,

codeMolecules 

/
To add comments, please log in or register