| New signals service! | |
|
|||||||
| Register in Forex TSD! | |
|
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time). Click here to register and get more information |
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Yaniv,
The Yurik version of the Fisher indicator does infact repaint the past. It is useless. Please check this thread on this forum. Igorad and many other expert prgrammers were involved in trying to figure out this indicator in response Nina's original question about the repainting of some of the Fisher indicators available on the web. Fisher Please download the Fisher_m11.mq4 indicator in that thread near the end and then change the code in your EA to reflect this and test it and let us know if it works. |
|
|||
|
EA using others indicators
Hello all,
Is it possible to write an EA that takes it signals for trades based on someone elses closed source indicators? I need to write an EA that is customized to the style that I trade so I can actually get some sleep and work and go to school and still make money with forex. I don't have access to the source for the indicators, but they show visual keys on the chart. Thank you, Menelaus |
|
|||
|
The answer is Yes for about 98% of the indicators that end with .ex4. What you have to test is the buffers using the iCustom statement in your ea such as:
double PM1=0, PM1_1=0, PM1_2=0, PM2=0, PM2_1=0, PM2_2=0; //Initializes variable names PM1=iCustom(NULL,0,"Price Channel",0,0); // Buffer 0, Shift 0 // Note: The Indicator Name (ex. "Price Channel") has to match the file name of the indicator - Case sensitive! PM1_1=iCustom(NULL,0,"Price Channel",0,1); // Buffer 0, Shift 1 (1-Back) PM1_2=iCustom(NULL,0,"Price Channel",0,2); // Buffer 0, Shift 2 (2-Back) PM2=iCustom(NULL,0,"Price Channel",1,0); // Buffer 1, Shift 0 PM2_1=iCustom(NULL,0,"Price Channel",1,1); // Buffer 1, Shift 1 (1-Back) PM2_2=iCustom(NULL,0,"Price Channel",1,2); // Buffer 1, Shift 2 (2-Back) //Sample logic code to buy! if(PM1>PM2 && PM1_1<PM2_1) { OpenBuy=1; } Continue code of program! You can change the PM1, PM2 etc. variable to whatever you want to call it. You will either have to use a comment statement referencing PM1, or a print statement referencing PM1, or use Control-D which opens up a data window on the left side of the graph and may tell you the current indicator buffer values of the current bar. P.S. You may identify the amount of buffers used in the indicator by the amount of colors it shows in the indicator setup box when you select it from the indicator list by right clicking the mouse after the indicator is on the graph (4 colors = 4 buffers in the indicator). If there are only 2 colors listed, than buffer 0 will be 'Up' direction, and buffer 1 will be 'Down' direction value of the indicator on the current bar. If you have any other questions, just ask. I hope this helps! Dave <><<< Last edited by Dave137; 06-20-2008 at 05:11 AM. |
|
||||
|
Quote:
Thanks |
![]() |
| Bookmarks |
| Tags |
| icustom |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| iCustom function | homicida | Questions | 67 | 11-30-2008 10:42 AM |
| Easy iCustom and Alerts! | codersguru | Indicators - Metatrader 4 | 50 | 09-18-2008 02:02 PM |
| icustom | maje | Questions | 24 | 12-05-2007 10:26 AM |
| I need help on creating an Icustom statement for my EA using this indicator as input! | iscuba11 | Expert Advisors - Metatrader 4 | 4 | 09-11-2006 08:18 PM |
| iCustom() problem | billritz | Indicators - Metatrader 4 | 5 | 08-23-2006 08:22 AM |