Jump to content

(Request) Simple pending order EA


arconite

Recommended Posts

Hi guys,

 

I need help with a coding of a simple EA which can place pending orders with with the following rules and parameters:

- Magic number

- GMT adjustment

- Time adjustment to place orders

- Open Buy/Sell orders on (x) pips from previous closing price with adjustable TP and SL

- If one order is executed, the other pending order is deleted (on/off)

- Adjustment for pending order expiry time (on/off)

- Break even and trailing stop adjustment

- Lotsize adjustment

- MM adjustment

 

or a much simpler one:

 

- Input price to trigger buy order with adjustable TP/SL

- Input price to trigger sell order with adjustable TP/SL

- Trailing stop and BE adjustment

 

Some brokers have limited pip distances where you can open pending orders so is it possible to have the pending orders coded internally to the EA?

 

For example:

At 2:00 GMT+0, the last bar closed with price 1.61000

EA will execute buy at +20 pip from 1.61000

EA will execute sell at -20 pip from 1.6100

When price hits 1.61200, a buy will be triggered with 40 pip TP and 20 pip SL

sell will be ignored or deleted within the EA

 

The reason is because I was away from my computer most of the time and always miss important time/price to trade.

Much appreciated!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...