- Search Metals Mine
-
7bit replied Feb 2, 2010should work with templates. i havent tried templates with EAs yet, only with indicators but it should work. arrange EA and Indictors and everything on the chart as you like it, then save the template and the next time just open an empty chart, right ...
Attach Indicator to Chart using EA
-
7bit replied Feb 2, 2010If you are using it through iCustom() it will automatically load and operate invisible in the background whenever you attach the EA to a chart, the EA will trade and everything will work. If you really need to see the indicator you need to attach it ...
Attach Indicator to Chart using EA
-
7bit replied Feb 2, 2010You could modify the indicator so that it draws 4 different kind of arrows instead of only two. you would define a 5th and a 6th buffer at the beginning of the code and then when you look deep inside the code: void CatchBullishDivergence(int shift) ...
Attach Indicator to Chart using EA
-
7bit replied Feb 2, 2010I just had a look at the code of the macd divergence indicator you mentioned and (without trying it out) it looks like the following: 4 buffers, the first two of them are the arrows and the other two are the macd lines it draws: SetIndexBuffer(0, ...
Attach Indicator to Chart using EA
-
7bit replied Feb 2, 2010Yes, it's absolutely doable. It took me some time to understand this too, but once you have understood the concept it is really easy. As a first step just try to make the indicator draw buy and sell arrows. Dissect any simple indicator that draws ...
Attach Indicator to Chart using EA
-
7bit replied Feb 2, 2010You would just write something into the buffer (the array) instead of writing into a global variable. Thats the only difference. on the EA side the reading of the globals is replaced by reading this same array with iCustom() the buffer and iCustom() ...
Attach Indicator to Chart using EA
-
7bit replied Feb 2, 2010Maybe some words to what actually happens behind the scene when you call an indicator: Whenever you call an indicator (built in or custom) for the first time ever it will be loaded (but stay invisible). From then on it will work, get its start() ...
Attach Indicator to Chart using EA
-
7bit replied Feb 2, 2010In your Indicator would assign 2 buffers that will contain the signals. A buffer works just like an array, index 0 is always the current bar. Buffers can be configured to draw their values as lines on the chart or into a separate indicator window or ...
Attach Indicator to Chart using EA
-
7bit replied Feb 2, 2010Letting the indicator and the EA communicate through global variables is an ugly hack, you need to take care of symbol and timeframe and maybe even magic numbers and all that ugly stuff when creating the variable names to avoid collisions of ...
Attach Indicator to Chart using EA
-
7bit replied Jan 31, 2010Now try to modify the function pattern() in the dll so that it's function plot would form the shape of the pattern that you would like to search in the chart, recompile the dll, adjust the sensivity by changing the max_error value, do backtests and ...
pattern matching
-
7bit replied Jan 31, 2010Sorry, but this is a thread about the development of pattern functions for this EA and the intended audience are people who don't fear the direct contact with source code, IDEs and compilers. The pattern function cannot be changed without modifying ...
pattern matching
-
7bit replied Jan 30, 2010Huh? I have never seen this before. Maybe there are some absolute paths from my installation left in the project file somehow? the .o file should be created during compilation inside a folder called "lib". I have no idea what causes this to fail. ...
pattern matching
-
7bit replied Jan 30, 2010rewrite — Today I will continue my monologueš here with a complete rewrite of all performance critical routines including the pattern function itself in an efficient systems programming language, compiled into a dll. Attached is a zip file ...
pattern matching
-
7bit replied Jan 30, 2010Found a solution — I am currently working around this problem in the following way: 1.) When the market was open and spreads were normal i made a copy of the file symbols.sel which is located in the history folder. This is where Metatrader ...
Backtesting during weekends
-
7bit replied Jan 29, 2010rewrite — I'm going to rewrite patternmatcher.common and the pattern function itself in Pascal before i continue. With the incredible slowness of mql4 it is almost impossible to do any reasonable number of backtests and parameter optimizations ...
pattern matching
-
7bit replied Jan 28, 2010This is strange. The three .mqh files (include files) should all be in metatrader's experts/include folder. Windows does strange things when it doesn't have write access in this folder, instead of simply throwing an error message it tries to ...
pattern matching
-
7bit replied Jan 28, 2010Thanks, but I'm not interested. I know this service, i even had a demo from them a few months back (since this time i have their patterns along with their advertising in my email inbox every week). Installing the Autochartist client doesn't help me, ...
pattern matching
-
7bit replied Jan 27, 2010Pending orders — Tomorrow i will add an optional feature to place pending orders at certain levels when a pattern is detected instead of directly opening a market order.
pattern matching
-
7bit replied Jan 27, 2010double pattern(double x){ x -= 20; return (x * x); } stop 0.4 target 0.3 error 0.1 max_orders 3 reverse True GBPUSD H1, Jan. 2009 until now. still trying to further optimize. (hint: you can make constants in the pattern function itself external ...
pattern matching
-
7bit replied Jan 27, 2010I am also thinking about such a featue. Maybe by defining important turning points (to ignore meaningless noise) by placing price labels in the chart. Maybe also the Eureqa program we recently discussed could be used to find pattern functions, maybe ...
pattern matching