Set Take Profit to be 10 pips above OrderOpenPrice() (MQL4)

 

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 

 
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 

hello

it depends on brokers' rules.

its impossible if its short position.

 
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 

Hi, you mentioned here 10 pips, 10 pips = 100 points,  you can set up 10 pips take profit on maximum brokers. But if you mean 10 points which mean 1 pip, its maybe not possible because minimum trailing stop allow 15 points.

Thanks.

Pankaj 

 
nirob76:

Hi, you mentioned here 10 pips, 10 pips = 100 points,  you can set up 10 pips take profit on maximum brokers. But if you mean 10 points which mean 1 pip, its maybe not possible because minimum trailing stop allow 15 points.

Thanks.

Pankaj 

Hello nirob76 & TraderProgrammer, good day.

Okay, I see. I'll make some tests with the information provided.

Best regards and thank you,

codeMolecules 

Reason: