Script to open Buy Stop/Sell Stop

To add comments, please log in or register
jong
61
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 

mql4student
147
mql4student  
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
10038
Billy Angdijaya  
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
21385
Biantoro Kunarto  
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
Files:
Giovanni Gutierrez
40
Giovanni Gutierrez  
that script is exactly what i was looking for, thank you so much biantoro
Michael Maggi
1990
Michael Maggi  
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.
falaco
9
falaco  
Biantoro Kunarto:
Please check this script
Is it available for MT5? 
rassa
7
rassa  

Can you please convert this script into EA ?

To add comments, please log in or register