Script Wanted: Opening Pending Orders

 

Hello. I would like a script that will place pending orders... 5 Sell Stop, and 5 Buy stop above and below the current price.

i.e.

Eur/usd

BuyStop - 1.30300

BuyStop - 1.30250

BuyStop - 1.30200

BuyStop - 1.30150

BuyStop - 1.30100

CURRENT PRICE - 1.30000

SellStop - 1.29900

SellStop - 1.29850

SellStop - 1.29800

SellStop - 1.29750

SellStop - 1.29700


I have been doing it manually. But I figure this may be faster. I've search here and I found requests and code for an EA and thats not really what I would like. I want to continue placing them. But like a said with a script should be faster.


Can anyone point me in the right direction. Thank you.

 
mike2star:

Hello. I would like a script that will place pending orders... 5 Sell Stop, and 5 Buy stop above and below the current price.

i.e.

Eur/usd

BuyStop - 1.30300

BuyStop - 1.30250

BuyStop - 1.30200

BuyStop - 1.30150

BuyStop - 1.30100

CURRENT PRICE - 1.30000

SellStop - 1.29900

SellStop - 1.29850

SellStop - 1.29800

SellStop - 1.29750

SellStop - 1.29700


I have been doing it manually. But I figure this may be faster. I've search here and I found requests and code for an EA and thats not really what I would like. I want to continue placing them. But like a said with a script should be faster.


Can anyone point me in the right direction. Thank you.



Hi,

try this..

ty

Files:
 
nbf28:

Hi,

try this..

ty


Sorry. Script dont work. it never opens any trades.
Reason: