Download MetaTrader 5

Script to open Buy Stop/Sell Stop

To add comments, please log in or register
Sell products via the Market and track your sales statistics
jong
59
jong 2015.02.06 16:38 

Hi,

 

 Does anyone have a script that automatically set Buy Stop/Sell stop when an open position (Buy or Sell) has been executed?

 

Like for example:

 

1. Buy Order has just been executed via instant order or pending order. Script will run to have Sell Stop Order below the recent Buy open position.

   Executed Buy open position AUD/USD : 0.7860 an EA will run to set up Stop Order at 0.7800 (manageable via input parameter).

 

And vice versa

2.  Sell Order has just been exceuted via instant order or pending order. Script will run to have Buy Stop Order above the recent Sell open position.

   Sell open position AUD/USD : 0.7850 an EA will run to set up Buy Order at 0.7890.

Input requirement

Pip interval between the price executed in BUY/SELL open position.

Take Profit

Stop loss

thank you.

 

 

Regards,

 

Jong 

mql4student
147
mql4student 2015.09.14 01:41  
jong:

Hi,

 

 Does anyone have a script that automatically set Buy Stop/Sell stop when an open position (Buy or Sell) has been executed?

 

Like for example:

 

1. Buy Order has just been executed via instant order or pending order. Script will run to have Sell Stop Order below the recent Buy open position.

   Executed Buy open position AUD/USD : 0.7860 an EA will run to set up Stop Order at 0.7800 (manageable via input parameter).

 

And vice versa

2.  Sell Order has just been exceuted via instant order or pending order. Script will run to have Buy Stop Order above the recent Sell open position.

   Sell open position AUD/USD : 0.7850 an EA will run to set up Buy Order at 0.7890.

Input requirement

Pip interval between the price executed in BUY/SELL open position.

Take Profit

Stop loss

thank you.

 

 

Regards,

 

Jong 

did you ever find that script?
Billy Angdijaya
5393
Billy Angdijaya 2015.09.16 03:06  
jong:

Hi,

 

 Does anyone have a script that automatically set Buy Stop/Sell stop when an open position (Buy or Sell) has been executed?

 

Like for example:

 

1. Buy Order has just been executed via instant order or pending order. Script will run to have Sell Stop Order below the recent Buy open position.

   Executed Buy open position AUD/USD : 0.7860 an EA will run to set up Stop Order at 0.7800 (manageable via input parameter).

 

And vice versa

2.  Sell Order has just been exceuted via instant order or pending order. Script will run to have Buy Stop Order above the recent Sell open position.

   Sell open position AUD/USD : 0.7850 an EA will run to set up Buy Order at 0.7890.

Input requirement

Pip interval between the price executed in BUY/SELL open position.

Take Profit

Stop loss

thank you.

 

 

Regards,

 

Jong 

just create it. it's simple script.
Biantoro Kunarto
14952
Biantoro Kunarto 2015.09.16 03:58  
jong:

Hi,

 

 Does anyone have a script that automatically set Buy Stop/Sell stop when an open position (Buy or Sell) has been executed?

 

Like for example:

 

1. Buy Order has just been executed via instant order or pending order. Script will run to have Sell Stop Order below the recent Buy open position.

   Executed Buy open position AUD/USD : 0.7860 an EA will run to set up Stop Order at 0.7800 (manageable via input parameter).

 

And vice versa

2.  Sell Order has just been exceuted via instant order or pending order. Script will run to have Buy Stop Order above the recent Sell open position.

   Sell open position AUD/USD : 0.7850 an EA will run to set up Buy Order at 0.7890.

Input requirement

Pip interval between the price executed in BUY/SELL open position.

Take Profit

Stop loss

thank you.

 

 

Regards,

 

Jong 

Please check this script
Giovanni Gutierrez
40
Giovanni Gutierrez 2016.06.28 02:47  
that script is exactly what i was looking for, thank you so much biantoro
Michael Maggi
1403
Michael Maggi 2016.06.28 16:30  
In Codebase there is a scripts collection for any type of exit you can think of. The whole collection is free.  Search Codebase tab and they all come up.
To add comments, please log in or register