Page 1 of 2 12 LastLast
Results 1 to 10 of 17
 5 Attachment(s)    

Thread: Two Levels EA

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

    Default Two Levels EA

    We place a buy stop and a sell stop 34 pips above/below the open of the current candle (if there are no opened orders or pending orders). We close these orders at least 34 minutes later if there is a profit. The pending orders are deleted 60 minutes later.

    EU M15. Optimized only on 2009.

    Total net profit : 667.61%
    RDD : 30.31%
    Attached Images Attached Images Two Levels EA-strategytester-two-levels-ea-eu-m15-gif 
    Attached Files Attached Files

  2. #2
    Junior Member
    Join Date
    Feb 2009
    Posts
    29

    Default

    Quote Originally Posted by funyoo View Post
    We place a buy stop and a sell stop 34 pips above/below the open of the current candle (if there are no opened orders or pending orders). We close these orders at least 34 minutes later if there is a profit. The pending orders are deleted 60 minutes later.

    EU M15. Optimized only on 2009.

    Total net profit : 667.61%
    RDD : 30.31%


    Thank you Funyoo for another valuable contribution. I am testing a couple other of your creations and will do so with this one and provide feedback.

    Regards,

    GF

  3. #3
    Junior Member
    Join Date
    May 2009
    Posts
    9

    Default

    Does anyone have trouble with this EA taking trades in forward testing?

    I tried manually entering two pending orders in opposite directions and Alpari-US seems to call this hedging and will not allow it. I didn't think hedging applied to pending orders?

  4. #4

    Default

    I think martingale function is not working on this ea. If i uncommnent all the code will it work?
    Last edited by tkaboris; 05-25-2009 at 17:23.

  5. #5

    Default

    Also can somebody explain how is it determines take profit if it is set to zero?

  6. #6
    Junior Member
    Join Date
    Dec 2008
    Posts
    2

    Question Different Result

    I have backtested this system with ActivTrades but it has opposite results on EURUSD M15.

    I am wondering what happened since I used the set file and proper forex rates.
    Attached Images Attached Images Two Levels EA-result-png 

  7. #7
    Junior Member
    Join Date
    May 2009
    Posts
    9

    Default

    I don't know why its giving an error 130 while I was backtest eurusd, and error 3 while backtest usdjpy.

  8. #8
    Junior Member
    Join Date
    Dec 2008
    Posts
    2

    Red face

    Ok I got it.

    But there is something wrong with the RiskPercent Function.

    When you put it off you get worse results.

    The same when you set your initial capital low.

  9. #9
    Junior Member
    Join Date
    Feb 2009
    Posts
    4

    Default

    Quote Originally Posted by Centaure View Post
    Ok I got it.

    But there is something wrong with the RiskPercent Function.

    When you put it off you get worse results.

    The same when you set your initial capital low.
    Do you got it to get same results as test? How did you do it? i have also same trouble. It shows same results like picture you added.

    Please answer

  10. #10
    Senior Member
    Join Date
    Jan 2009
    Location
    Australia
    Posts
    631

    Default

    probably because you are using a 5 digit broker. I think the EA work only with 4 digits unless you mutilpy by 10

    Quote Originally Posted by Centaure View Post
    I have backtested this system with ActivTrades but it has opposite results on EURUSD M15.

    I am wondering what happened since I used the set file and proper forex rates.

Similar Threads

  1. RSI Double Levels EA
    By funyoo in forum Expert advisors backtesting
    Replies: 33
    Last Post: 05-29-2017, 09:23
  2. MA Levels into an EA
    By himnoor in forum MQL programming
    Replies: 0
    Last Post: 01-09-2011, 19:53
  3. MA Levels EA
    By funyoo in forum Expert advisors backtesting
    Replies: 1
    Last Post: 12-18-2010, 03:06
  4. ATR Levels
    By magidkaramy in forum Indicators
    Replies: 0
    Last Post: 08-01-2009, 12:17
  5. Two Levels EA
    By fxtester in forum Expert advisors live statements
    Replies: 1
    Last Post: 07-19-2009, 22:15

Tags for this Thread

alpari, backtest, broker, candle, change, design, eurusd, forex, hedging, how to, low, martingale, pips, profit, stop, system, test, 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
  •