Page 1 of 2 12 LastLast
Results 1 to 10 of 13
 7 Attachment(s)    

Thread: Double SDL EA

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

    Default Double SDL EA




    Here is another EA based on Slope Direction Line.

    We enter buy orders if the second SDL color becomes lime and the first SDL confirms the signal,

    We enter sell orders if the second SDL color becomes magenta and the first SDL confirms the signal.

    EU H4. On one year.

    Total net profit : 14.99%
    RDD : 10.18%

    For some reasons, I don't get a good modelling quality.
    Attached Images Attached Images Double SDL EA-strategytester-double-sdl-ea-eu-h4-gif 
    Attached Files Attached Files

  2. #2

    Default

    Excellent work. I know this system works manually, as I have been using it for about 2 weeks, but for some reason you did not get good results with the EA. Perhaps this could be because of repainting. Do trades occur at the next candle AFTER the colour change or at the same cnndle (this is not too accurate).

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

    Default

    Quote Originally Posted by Viv108 View Post
    Excellent work. I know this system works manually, as I have been using it for about 2 weeks, but for some reason you did not get good results with the EA. Perhaps this could be because of repainting. Do trades occur at the next candle AFTER the colour change or at the same cnndle (this is not too accurate).
    At the next candle, otherwise it would generate a lot of bad signals.

  4. #4
    Member
    Join Date
    Jan 2009
    Location
    France
    Posts
    125

    Default

    Thanks funyoo for your work.
    As asian session is very bad for EU and GU , could you introduce a time filter ?
    I saw also at the beginning of the EA the indication MODE_ SMA for SDL.
    I don't know if it's important but it's a MODE_SMMA and no a MODE_SMA.
    Regards.
    Last edited by madscalp; 02-08-2009 at 08:23.

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

    Default

    Quote Originally Posted by madscalp View Post
    Thanks funyoo for your work.
    As asian session is very bad for EU and GU , could you introduce a time filter ?
    I saw also at the beginning of the EA the indication MODE_ SMA for SDL.
    I don't know if it's important but it's a MODE_SMMA and no a MODE_SMA.
    Regards.
    Ok here it is.

    I have erased the MODE_SMA part.
    Attached Files Attached Files

  6. #6
    Member
    Join Date
    Jan 2009
    Location
    France
    Posts
    125

    Default

    Thanks a lot, funyoo

  7. #7

    Default

    Quote Originally Posted by madscalp View Post
    Thanks a lot, funyoo
    Hi Madscalp,
    if you can plz post the result or demo account result of the modified version....your conditions seems very interesting.....

    Regards...

  8. #8
    Member
    Join Date
    Jan 2009
    Location
    France
    Posts
    125

    Default

    Quote Originally Posted by Toxic View Post
    Hi Madscalp,
    if you can plz post the result or demo account result of the modified version....your conditions seems very interesting.....

    Regards...
    Hi Toxic
    Yes I am going to make it.
    Unfortunately the EA is taking the trade on the following candle and it's often too late in M5.
    I'm working now on M1 with different settings and I'll post the results if .....it sound well .

  9. #9
    Member
    Join Date
    Jan 2009
    Location
    France
    Posts
    125

    Default

    I have tried several settings with M5 and M1 and poor results because the ranging periods are bad for this EA.
    Manually the results are better because the trade is taken at changing colour before the confirmation on the following candle.
    So, manually, the profits are optimized and the losses reduced.
    Conclusion: it's a manual system.
    Thanks funyoo for your work.

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

    Default

    Quote Originally Posted by madscalp View Post
    I have tried several settings with M5 and M1 and poor results because the ranging periods are bad for this EA.
    Manually the results are better because the trade is taken at changing colour before the confirmation on the following candle.
    So, manually, the profits are optimized and the losses reduced.
    Conclusion: it's a manual system.
    Thanks funyoo for your work.
    You can still try to replace at line 171, this :

    Code:
    double SDL1=iCustom(Symbol(),0,"Slope Direction Line",period1,method1,price1,2,i+1);
    double SDL2=iCustom(Symbol(),0,"Slope Direction Line",period1,method1,price1,2,i);
          
    double SDL3=iCustom(Symbol(),0,"Slope Direction Line",period2,method2,price2,2,i+2);
    double SDL4=iCustom(Symbol(),0,"Slope Direction Line",period2,method2,price2,2,i+1);
    double SDL5=iCustom(Symbol(),0,"Slope Direction Line",period2,method2,price2,2,i);
    By that :

    Code:
    double SDL1=iCustom(Symbol(),0,"Slope Direction Line",period1,method1,price1,2,i);
    double SDL2=iCustom(Symbol(),0,"Slope Direction Line",period1,method1,price1,2,0);
          
    double SDL3=iCustom(Symbol(),0,"Slope Direction Line",period2,method2,price2,2,i+1);
    double SDL4=iCustom(Symbol(),0,"Slope Direction Line",period2,method2,price2,2,i);
    double SDL5=iCustom(Symbol(),0,"Slope Direction Line",period2,method2,price2,2,0);
    In order to get trades before the confirmation bar.

Similar Threads

  1. Double EMA Cross EA
    By funyoo in forum Expert advisors backtesting
    Replies: 10
    Last Post: 12-08-2009, 03:59
  2. Double Bottoms Double Tops Pattern
    By way2Freedom in forum Indicators
    Replies: 7
    Last Post: 11-22-2009, 03:53
  3. Double EMA EA
    By kluklu206 in forum Ideas for expert advisors
    Replies: 3
    Last Post: 11-16-2009, 16:30
  4. RSI Double Levels EA
    By funyoo in forum Expert advisors live statements
    Replies: 12
    Last Post: 09-27-2009, 17:19
  5. Gold Double Top
    By SRTrader in forum Technical analysis
    Replies: 0
    Last Post: 09-07-2009, 07:20

Tags for this Thread

candle, change, color, demo, how to, profit, sample, signal, signals, sma, system, time

Posting Permissions

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