Page 1 of 3 123 LastLast
Results 1 to 10 of 24
 7 Attachment(s)    

Thread: Candle Patterns Expert Advisor

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

    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 Attached Files

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

    Default

    You will certainly need a moving average filter for small TF. I have enabled the MA filter options.
    Attached Files 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

    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,003

    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

    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,003

    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,003

    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

    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

Similar Threads

  1. Candle Open Expert Advisor
    By funyoo in forum Expert advisors backtesting
    Replies: 42
    Last Post: 08-06-2017, 23:23
  2. Candle close - Expert Advisor
    By Sachse in forum Ideas for expert advisors
    Replies: 7
    Last Post: 04-18-2016, 22:09
  3. Candle Stick trading Expert Advisor - FREE TRIAL!
    By instafxsk in forum Commercial expert advisors
    Replies: 0
    Last Post: 12-05-2014, 09:54
  4. Candle Patterns ea modifcation
    By lucky30 in forum Ideas for expert advisors
    Replies: 0
    Last Post: 02-12-2010, 16:45
  5. Candle Open Expert Advisor
    By funyoo in forum Expert advisors live statements
    Replies: 0
    Last Post: 01-15-2009, 19:22

Tags for this Thread

advisor, average, backtest, candle, change, color, copy, demo, eurusd, expert, expert advisor, experts, forex, free, generic, indicator, indicators, main, metatrader, moving average, mq4, mql, mql4, online, oscillator, profit, review, signal, simple, sma, stoch, strategy, time, trading

Posting Permissions

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