Jump to content

⤴️-Paid Ad- Check advertising disclaimer here. Add your banner here.🔥

Recommended Posts

Posted

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!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

⤴️-Paid Ad- Check advertising disclaimer here. Add your banner here.🔥

×
×
  • Create New...