Results 1 to 7 of 7
 5 Attachment(s)    

Thread: Grid Builder EA PLZ

  1. #1

    Default Grid Builder EA PLZ

    Dear sir

    Would appreciate it if you could make an EA for the attached indicator ( Grid Builder )

    this indicator drow a horizontal line every 50 pips ( option input by the user )

    then the EA placese orders buy & sell on each line same price for buy and sell

    when the price hits a line the both buy and sell are activated

    then the EA waits tell the next line is reached then it close the winning orders and the loseing order will stay and so on

    thanks
    Attached Files Attached Files

  2. #2
    Administrator funyoo's Avatar
    Join Date
    Sep 2008
    Posts
    7,003

    Default

    Quote Originally Posted by hameed412412 View Post
    Dear sir

    Would appreciate it if you could make an EA for the attached indicator ( Grid Builder )

    this indicator drow a horizontal line every 50 pips ( option input by the user )

    then the EA placese orders buy & sell on each line same price for buy and sell

    when the price hits a line the both buy and sell are activated

    then the EA waits tell the next line is reached then it close the winning orders and the loseing order will stay and so on

    thanks
    Hi hameed412412,

    Here is Grid Builder EA.
    Attached Files Attached Files

  3. #3

    Default

    Sir thanks for the EA

    But as I saw the loosing trade are not x2 when the price reaches the second level (and the target should be like 50 pips for each lot
    Meaning : 1 lot tp =50 2 lots. Tp= 25 and so on

  4. #4
    Junior Member
    Join Date
    Nov 2009
    Posts
    7

    Default Logic problem with Ea grid Builder please correct it

    Hi Funyoo,
    I tried the grid builder.There is a problem with the orders execution.
    If TP is 200 and SL is 100, it closes one of the orders with the correct SL of 100 but it closes also at the same time the other order which brings a profit of 100 pips instead of waiting and close it with the specified TP of 200 ( so the TP and SL per pair of orders is even and it always loses the spread for each order). Could you please see what is wrong and correct it - why it does not close one of the orders at the specified TP.There is no trailing in the order.Thanks

  5. #5
    Administrator funyoo's Avatar
    Join Date
    Sep 2008
    Posts
    7,003

    Default

    Quote Originally Posted by hameed412412 View Post
    Sir thanks for the EA

    But as I saw the loosing trade are not x2 when the price reaches the second level (and the target should be like 50 pips for each lot
    Meaning : 1 lot tp =50 2 lots. Tp= 25 and so on
    Hi hameed412412,

    Dynamiclots option added.

    Quote Originally Posted by vpopa View Post
    Hi Funyoo,
    I tried the grid builder.There is a problem with the orders execution.
    If TP is 200 and SL is 100, it closes one of the orders with the correct SL of 100 but it closes also at the same time the other order which brings a profit of 100 pips instead of waiting and close it with the specified TP of 200 ( so the TP and SL per pair of orders is even and it always loses the spread for each order). Could you please see what is wrong and correct it - why it does not close one of the orders at the specified TP.There is no trailing in the order.Thanks
    Hi vpopa,

    Exitrules option added. Disable it.
    Attached Files Attached Files

  6. #6
    Junior Member
    Join Date
    Nov 2009
    Posts
    7

    Default There is still a problem in the strategy- if fixed I think it will be a wonderful EA

    Hi Funyoo,
    There is one more problem with the grid builder.It should work in any market condition unless you give a sl and tp too small and the market is zig-zag-ing.The problems that I observed are:
    1.It always triggers orders at some round numbers- ech for example- 1.51., 1.52, 1,54, etc.It is a bit weird

    2.First it closes the sl order ( it is normal) then it closes the one with profit.But instead at that very moment to trigger 2 other orders of buy and sell at the same level where it closed the order with profit, it waits a period of time which is variable -sometimes 45 minutes sometimes days and then triggers the pair of orders buy and sell at a completely arbitrary level.Could you please fix the problem?
    I attach the testing.Please at the orders 4- time and level of close and then 5- 200pips difference and days in time, then orders 6 and 7 and orders 12 and 13.The last ones do have a huge gap between the closing level of order 12 and the trigger level of order 13.A great idea would be that as soon as it closes the pair orders( buy and sell)-obviously the last order closed will be the one with profit , to trigger 2 other orders buy and sell at the same level without delay.

    3.How is the shift parameter working?I changed it from 1(default ) to 0 and then -1 and it changed the orders a bit but I did not figure out how.I did observe that there is no more huge drop in equity if 0 or -1.Thank you in advance.
    Attached Images Attached Images Grid Builder EA PLZ-grid-ech-original-gif 
    Attached Files Attached Files

  7. #7
    Junior Member
    Join Date
    Nov 2009
    Posts
    7

    Default

    Hi Funyoo
    Do you think you can fix this grid system?just to be very simple- trigger b and s orders at the same level on a predetermined grid distance or a dynamic grid and once the pair is closed(first the one with stop loss which should be lower than the tp which is going to be closed after the first one).Once the pair of orders is closed, it needs to open another 2- b and s at that very moment.IT would be nice to have the dynamic grid feature- but sometimes it just doesn't work very well- unless it looks at several days in back and averages day open and closeIt it looks at just one day back- it could have been a lazy day or a very active day and it can mislead the distance between the orders.I would say it needs to look back at at least 1 wk.Even better if this time is editable so we can choose ourselves the time.IF the distance between orders and obviously the sl and tp are big it should work on pairs which do not have a big volatility and they usually trade in a trend.The grid can also be adjusted in the order way with a very small tp and sl this time with a sl bigger than the tp and small distance between the orders and it should win both of them.
    Last edited by vpopa; 08-27-2010 at 03:27.

Similar Threads

  1. EA Builder free...
    By BillR in forum MQL programming
    Replies: 26
    Last Post: 08-01-2013, 16:36
  2. Replies: 0
    Last Post: 09-15-2012, 09:47
  3. EA Builder Template
    By CodingChris in forum Expert advisors backtesting
    Replies: 3
    Last Post: 01-30-2012, 06:56
  4. Forex Strategy Builder
    By funyoo in forum Softwares
    Replies: 3
    Last Post: 03-05-2011, 09:15
  5. FX Equity Builder
    By dph in forum Commercial expert advisors
    Replies: 13
    Last Post: 04-14-2010, 15:40

Tags for this Thread

100, 100 pips, closing, grid, indicator, pips, profit, simple, spread, stop, strategy, system, thank you, time, trailing, trend

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •