Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 27
 5 Attachment(s)    

Thread: EA Builder free...

  1. #11
    Junior Member
    Join Date
    Aug 2009
    Posts
    6

    Default Could You Please Check this ea

    Hi,

    Could you please help check and correct the problem in the attached ea.

    Your assistance will be greatly appreciated.
    Attached Files Attached Files

  2. #12

    Default

    What is the problem?

  3. #13
    Junior Member
    Join Date
    Aug 2009
    Posts
    6

    Default Error Messages

    Quote Originally Posted by BillR View Post
    What is the problem?
    When I complie the ea it displays error messages and I don't know how to correct it.

    Could you please me out.

  4. #14
    Junior Member
    Join Date
    Aug 2009
    Posts
    8

    Default Atr control sl, tp and trl

    Quote Originally Posted by Dono View Post
    The builder is basic, but it does explain how to add custom indicators so you will be able (with some effort) to be able to create an atr% stop that will be EA controlled (that is not a hard stop that will be set broker side). It will do the TP and when I made an EA I think the Trailing Stop didn't work as I expected but that could have been just me...so test and check to be sure.
    It wont do lot sizing.

    Generally you can build 90% of what you need, just google the rest you want to add or change and with some stuffing around can get what you want.

    Good Luck.
    thanks, i have been able to learn how to use the ea builder very well but i still have a problem with learning how to make stoploss, take profit and especially trailing stop to be atr controlled using the ea builder. pls be kind enough to give me a brief explanation on how to do that.

  5. #15

    Default

    The easiest way is to post the code....and the errors, if you want comments or help. I can't comment generically on things I can't look at. Please keep in mind I haven't used the auto build site...I only posted it because some may find it helpful.... I code my own EA's... I am not be any stretch a "Master" programmer....but I DO get it done...I'll be glad to help if I can...
    Last edited by BillR; 09-20-2009 at 17:57.

  6. #16
    Junior Member
    Join Date
    Aug 2009
    Posts
    6

    Default Here is the code

    The code is in the attached ea for you see.

    I tried pasting the code here but it was large.

    Please download it and check.

    Thanks.
    Attached Files Attached Files

  7. #17

    Default

    Here is another website for a free EA builder I found from the Fisherman forurm.. I believe its a little more basic though.
    Make sure you click "I agree" to proceed.

    Expert Advisors Builder | Build your EA in Few clicks | Fastbrokersfx |

  8. #18
    Junior Member
    Join Date
    Jan 2009
    Posts
    13

    Default

    Quote Originally Posted by bengold View Post
    The code is in the attached ea for you see.

    I tried pasting the code here but it was large.

    Please download it and check.

    Thanks.

    this is the error appear with me, hope if someone solve it ?

    ;100;E:\FXDD - MetaTrader 4\experts\100 pips v2 Inverso Hedge.mq4;55:1;'int' - comma or semicolon expected
    1;41;E:\FXDD - MetaTrader 4\experts\100 pips v2 Inverso Hedge.mq4;55:5;'init' - expression on global scope not allowed

  9. #19

    Question Got this error from compile

    Quote Originally Posted by bengold View Post
    Hi,

    Could you please help check and correct the problem in the attached ea.

    Your assistance will be greatly appreciated.
    Hi, I got this as my first error from a failed compile;

    '(' - function definition expected ~~~~ (86,18)

    which redirects to this line after a double click;

    int CountedOrders(int Type)
    &cursor sits here ^
    That format seems to work in other ea's I have.
    Maybe it stems from just before that line.



    cheers bt2
    Last edited by bt2; 09-22-2009 at 23:09.

  10. #20

    Talking Had another play

    Had another play. It looked like there was a function defined inside the start function, but then there was an if() function just below the //functions label.

    Did some cut & pastes to where I guess they might fit.
    Took magicnumber out of data going to countorders function. The function is only expecting 1 thing to be sent to it, thats Type.
    Oh - changed name to CountedOrders only cause I was guessing at the problem.

    Does compile now, but with 4 warnings:
    Function "CheckForExistingHedge" is not referenced and will be removed from exp-file (I think the compiler means ex4 file)
    Function "AreHedgeAndOriginalAtBreakeven" is not referenced and will be removed from exp-file
    Function "HedgeTrade" is not referenced and will be removed from exp-file
    Function "DetermineTrendDirection" is not referenced and will be removed from exp-file
    0 error(s), 4 warning(s)

    Up to you to add bits in to call these functions from where you want to.
    At the moment they are basicly redundant code, but I suspect you will want to use them.

    Also carved back the error printing line to real basic, cause it is trying to call a function that puts the error text up, but you haven't got that function coded. Sorry couldn't find it among my junk. I have it somewhere.

    Interested in how this progresses as an ea. Have learnt heaps trying to track the errors, thanks for the opportunity to play with your ea.

    Ops just about forgot to post the edited ea.

    cheers bt2
    Attached Files Attached Files
    Last edited by bt2; 09-23-2009 at 00:36.

Similar Threads

  1. Replies: 0
    Last Post: 09-15-2012, 09:47
  2. EA Builder Template
    By CodingChris in forum Expert advisors backtesting
    Replies: 3
    Last Post: 01-30-2012, 06:56
  3. Grid Builder EA PLZ
    By hameed412412 in forum Ideas for expert advisors
    Replies: 6
    Last Post: 08-27-2010, 03:22
  4. 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, advisor, adx, bands, breakeven, broker, candle, change, check it out, coding, copy, eas, ex4, expert, expert advisor, expert advisors, experts, free, free ea, gold, hedge, hedging, how to, index, indicator, indicators, learn, live, magic, maxorder, metatrader, mq4, mt4, profit, programmer, real, report, signals, simple, stop, stoploss, strategy, test, time, trading, trailing, usd

Posting Permissions

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