Page 1 of 3 123 LastLast
Results 1 to 10 of 23
 8 Attachment(s)    

Thread: !LinRegrBuf EA

  1. #1
    Junior Member
    Join Date
    Aug 2009
    Posts
    15

    Default !LinRegrBuf EA

    Funyoo

    If you have time could you put this EA together, it would be appreciated.
    Using this !LinRegrBuf indicator.

    Only works off of one time frame, the time frame I choose .

    There are 3 trend lines in the !LinRegrBuf indicator.
    1. Top trend line
    2. Center Middle trend line
    3. Bottom trend line

    (Placing open BUY trades) When the Ask price or Bid price touches or crosses through the Bottom trend line only, it will place a open BUY trade. When the trend lines are pointing in a upward direction or when the trend lines are pointing in a downward direction. (It does not matter if trend lines pointing upward or downward direction it will place BUY trades Bottom trend line only).

    (Placing open SELL trades) When the Ask price or Bid price touches or crosses through the Top trend line only, it will place a open SELL trade. When the trend lines are pointing in a upward direction or when the trend lines are pointing in a downward direction. (It does not matter if trend lines pointing upward or downward direction it will place SELL trades Top trend line only).

    Would like to also add.
    Oppositeclose = true or false
    Reverse = true or false the signals, long if short, short if long
    Min lot=0.01
    Martingale = true or false
    Lotsexponent = 2.0
    PipStep = 20
    StopLoss = 500
    TakeProfit = 20
    MaxLot = 10
    MaxTrades = 100
    Slippage = 3
    TimeStart = "00:00"
    TimeStop = "00:00"
    Magic = ????
    Attached Files Attached Files

  2. #2
    Senior Member
    Join Date
    Dec 2008
    Posts
    948

    Default Linear Regression EA

    The EA is attached. Hope Funyoo does not mind me posting an EA without his permission.

    Modelling quality sucks, but seems to work same way on live account. I always test live.

    EURUSD M5. April 14, 2009 to December 16, 2009. This is all the data that I could get from my broker.

    Total net profit : ---- %
    RDD : ---- %

    NOTE: To be Downloaded with Funyoo's permission: (only in the Elite section)
    Attached Images Attached Images !LinRegrBuf EA-linearregressionea-results-gif 
    Attached Files Attached Files

  3. #3

    Default

    >>data sucks

    I opened a demo account with Alpari UK to get over that very problem. Clever folks, since now all my bots are getting optimized to a broker I'm not trading live with.

    OTOH, there doesn't seem to be a significant performance difference between bots optimized to Alpari historical data and trading in my live account with theCollectiveFX, so no worries!



    MM

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

    Default

    Quote Originally Posted by kengen View Post
    The EA is attached. Hope Funyoo does not mind me posting an EA without his permission.

    Modelling quality sucks, but seems to work same way on live account. I always test live.

    EURUSD M5. April 14, 2009 to December 16, 2009. This is all the data that I could get from my broker.

    Total net profit : ---- %
    RDD : ---- %

    NOTE: To be Downloaded with Funyoo's permission: (only in the Elite section)
    Hi kengen,

    Thanks,

    I encourage everybody to code the pending requests when they have the habilities and the time.

    It is greatly appreciated to have other active coders in this section.

  5. #5
    Senior Member
    Join Date
    Dec 2008
    Posts
    948

    Default Add include file

    You will need this include file to run the EA. I forgot to add the files.
    Attached Files Attached Files

  6. #6

    Default

    It doesn't seem to work. I can't set the parameters or anything.

    In what folder shall the .mgh file be put in?

    Regards / JoLi

  7. #7
    Senior Member
    Join Date
    Dec 2008
    Posts
    948

    Default

    Place the file in the "include" folder.

  8. #8
    Junior Member gspe's Avatar
    Join Date
    Nov 2009
    Posts
    19

    Default oppositeclose doesn't work

    Hi kengen,
    I'm testing this nice ea and i've discoverd that the oppositeclose option doesn't work, if you set it to true or false the EA will do the same.

    I would like to ask if is possible to add an option that close an order after x days

    thanks
    gspe

  9. #9
    Senior Member
    Join Date
    Dec 2008
    Posts
    948

    Default

    OppositeClose option fixed.

    CloseOnExpiration and expirationDays options have been added;

    NOTE that the algorithm of the EA may result in worse performance if these options are set to true.

  10. #10
    Senior Member
    Join Date
    Dec 2008
    Posts
    948

    Default

    OOps!!! Where is the file? Let's try again.
    Attached Files Attached Files

Tags for this Thread

add, alpari, alpari uk, broker, closing, demo, elite, grid, high, historical, indicator, live, live account, martingale, profit, signals, stoploss, test, time, trading, 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
  •