+ Reply to Thread
Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 22
 7 Attachment(s)    

Thread: Candle Patterns Expert Advisor

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

    Default Candle Patterns Expert Advisor



    Here is an EA based on an indicator released today on mql4.com : Candle Patterns.

    Unfortunately, we can't backtest the code, as there is an issue during the importation of the csv file. We'll have to test it in demo.

    Note that I have modified the indicator. I have added small arrows directly drawn over/under the bars.

    Code:
    Place files into the following subdirectories: |
    Candle Patterns 2.mq4 into "\experts\indicators",
    Candle Patterns.csv into "\experts\files",
    Candle Patterns.rtd into "\experts\files",
    Symbols_.csv into "\experts\files",
    gSpeak.mqh into "\experts\include",
    speak.dll into "\experts\libraries",
    candle patterns.tpl into "\templates".
    Close and then re-start MetaTrader for it to find the new files.
    Attached Files

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

    Default

    You will certainly need a moving average filter for small TF. I have enabled the MA filter options.
    Attached Files

  3. #3
    Junior Member
    Join Date
    Dec 2008
    Posts
    11

    Default

    Mr, Funyoo

    I dont found where to place the file "Candle Patterns 2.mq4"

    I found Candle Patterns in the link and in the both instruction nobody mention Candle Patterns 2.mq4 to place

    Any idea?

    Regard

  4. #4
    Senior Member ElectricSavant's Avatar
    Join Date
    Dec 2008
    Posts
    659

    Default

    Installation: (use the zip folder in the opening post of this thread and good trading to you ☺)


    Files placed in folder: "\experts\indicators"
    Candle Patterns.mq4 "The indicator".

    Files placed in folder: "\experts\files"
    Candle Patterns.rtd Introduction to Candle Patterns, info on usage.
    Candle Patterns.csv Specs on candle patterns. First column allows the display of each pattern to be toggled ON or OFF.
    Symbols_.csv Code of symbols and text for audio output.

    File placed in folder: "\experts\libraries"
    speak.dll Text to speech engine coded by CodersGuru of
    Forex TSD| Metatrader Indicators and Experts Advisors for which I am very gratefull.

    Files placed in folder: "\experts\include"
    gSpeak.mqh External function definition of speak.dll.

    File placed in folder: "\templates"
    candle patterns.tpl Sets up chart period H1 for candlesticks and removes all previous indicators. Calls up "Candle Patterns" indicator.

    Close and then re-start MetaTrader for it to find the new files.
    Last edited by ElectricSavant; 12-18-2008 at 18:32.

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

    Default

    Quote Originally Posted by abroco View Post
    Mr, Funyoo

    I dont found where to place the file "Candle Patterns 2.mq4"

    I found Candle Patterns in the link and in the both instruction nobody mention Candle Patterns 2.mq4 to place

    Any idea?

    Regard
    Correct, you need to place this file in the indicators folder. It is my version (with arrows) of the Candle Patterns.


    Quote Originally Posted by ElectricSavant View Post
    folks... change the filter to true from the default of false here....(see post#2)

    http://www.tradingsystemforex.com/at...ma-filter-.mq4
    I have reloaded the code with the option initialized to true.

  6. #6
    Senior Member ElectricSavant's Avatar
    Join Date
    Dec 2008
    Posts
    659

    Default

    is a type 1 MA = simple or exponential method?...my guess is that it is simple...what would be 2? 3?...?

    extern int MAMethod=1; //ma filter methodp
    Last edited by ElectricSavant; 12-18-2008 at 14:47.

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

    Default

    Quote Originally Posted by ElectricSavant View Post
    is a type 1 MA = simple or exponential method?...my guess is that it is simple...what would be 2? 3?...?
    Correct, I should specify it.

    0 = sma, 1 = ema, 2 = smma, 3 = lwma

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

    Default I cant seem to get this to work...

    I get these errors when running in backtest.

    2008.12.20 23:11:01 2008.12.01 01:00 Candle Patterns 2 EURGBP,M1: Alert: Error 0 reading file Candle Patterns.csv\n
    2008.12.20 23:11:01 2008.12.01 01:00 Candle Patterns 2 EURGBP,M1: Alert: File:Candle Patterns.csv error 4103


    The candle patterns.csv is in the right place??

    Does anyone have any suggestions?

    Thanks
    C

  9. #9
    Administrator funyoo's Avatar
    Join Date
    Sep 2008
    Posts
    7,178

    Default

    Quote Originally Posted by consuhs View Post
    I get these errors when running in backtest.

    2008.12.20 23:11:01 2008.12.01 01:00 Candle Patterns 2 EURGBP,M1: Alert: Error 0 reading file Candle Patterns.csv\n
    2008.12.20 23:11:01 2008.12.01 01:00 Candle Patterns 2 EURGBP,M1: Alert: File:Candle Patterns.csv error 4103


    The candle patterns.csv is in the right place??

    Does anyone have any suggestions?

    Thanks
    C
    Yes, we can't backtest the EA unfortunately. I don't know why it does that.

  10. #10
    Senior Member ElectricSavant's Avatar
    Join Date
    Dec 2008
    Posts
    659

    Default

    Go in the metaeditor and manually compile each install that you can....


    Quote Originally Posted by consuhs View Post
    I get these errors when running in backtest.

    2008.12.20 23:11:01 2008.12.01 01:00 Candle Patterns 2 EURGBP,M1: Alert: Error 0 reading file Candle Patterns.csv\n
    2008.12.20 23:11:01 2008.12.01 01:00 Candle Patterns 2 EURGBP,M1: Alert: File:Candle Patterns.csv error 4103


    The candle patterns.csv is in the right place??

    Does anyone have any suggestions?

    Thanks
    C

+ Reply to Thread
Page 1 of 3 1 2 3 LastLast

Similar Threads

  1. Candle Open Expert Advisor
    By funyoo in forum Expert advisors backtesting
    Replies: 32
    Last Post: 10-15-2011, 14:15
  2. SAR ADX Expert Advisor
    By funyoo in forum Expert advisors backtesting
    Replies: 24
    Last Post: 08-25-2011, 15:41
  3. SAR ADX Expert Advisor
    By funyoo in forum Expert advisors demo statements
    Replies: 0
    Last Post: 02-10-2009, 13:27
  4. Candle Open Expert Advisor
    By funyoo in forum Expert advisors demo statements
    Replies: 0
    Last Post: 01-15-2009, 19:22
  5. i-CAi Expert Advisor
    By funyoo in forum Expert advisors demo statements
    Replies: 1
    Last Post: 12-02-2008, 10:58

Posting Permissions

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