Jump to content

keldargrid EA creation request


pontxo

Recommended Posts

I want to create an expert advisor of 3 pips put buy and sell limits, in the direction of the trend, and for every order that is open to create a new sell limit or buy limit

For example:

 

sell limit: 1.0032

buy limit: 1.0029

buy limit: 1.0026

buy limit: 1.0023

price: 1.0020

sell limit: 1.0017

sell limit: 1.0014

sell limit: 1.0011

buy limit: 1.0009

 

and now suppose that the price goes up 3 pips

 

new buy limit: 1.0035

sell limit: 1.0032

buy limit: 1.0029

buy limit: 1.0026

new price: 1.0023

new buy limit: 1.0020

sell limit: 1.0017

sell limit: 1.0014

sell limit: 1.0011

DELETE buy limit: 1.0009

 

sorry for my English, and my bad explanation, I think can see what I want to do.

the EA would be nice to allow choosing the size of the lot, start time ...

Edited by pontxo
Link to comment
Share on other sites

Are you deleting the first orders or not (if not in the end you might have buy and sell at each level) ?

what will happen if the price is moving all the time in zigzag between buy and sell so you will have many flowting orders in loss - did you checked this ?

what is the take profit or exit cretiria ?

Edited by dovgr
Link to comment
Share on other sites

more distant orders the price it erased, and instead of 4 orders over price and 4 orders below would be nice to be 8 or 12, and TP would be between 3-5 pips, so although the market moves in zig zag, there will never be many open operations Edited by pontxo
Link to comment
Share on other sites

  • 2 weeks later...

Hi pontxo,

 

Good day,

 

would you mind posting a picture and drawing on it the positions you like to do... and which one should be deleted after that...

 

There is something you should keep in mind ... the broker's rules about setting the Limit and Stops orders.... I mean some brokers require you 5 pips others less than that..

 

best wishes,

 

SF

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...