READ-ONLY

The forum is now a read-only archive.

For bug reports & platform questions → [email protected]

Our community lives on Discord and YouTube — come join us!

How EA Wizard can modify pending orders?

3 replies

Julianrob

Customer, bbp_participant, community, 61 replies.

Visit profile

11 years ago #113546

HI Mark.

 

I’ve written an EA which is designed to straddle the news 10 seconds before the event. I have this function working OK thus far where it sets fixed pending orders, however sometimes the price can slip up or down in the few seconds before the actual event time, risking market execution before the news release.

 

In this case I would like the pending buy & sell orders to continually modify to stay 10 pips above and below the current price up until the news event time. But there doesn’t seem to be any option to modify existing pending orders? Please can you show me how I would do this?

 

Your assistance would be appreciated

 

Julian

0

seaton

Customer, bbp_participant, community, 157 replies.

Visit profile

11 years ago #129648

can’t you just create a new pending order that replaces the existing one?

0

Julianrob

Customer, bbp_participant, community, 61 replies.

Visit profile

11 years ago #129651

Hi Seaton,

 

Thanks for your input. Yes, I could but I’m looking at possibly around 20 modifications in 10 seconds. I didn’t want my account history to fill up with useless order info.

 

Julian

0

seaton

Customer, bbp_participant, community, 157 replies.

Visit profile

11 years ago #129652

yes would certainly do that 🙂

0

Viewing 3 replies - 1 through 3 (of 3 total)