|
|||
|
|||||||
| Notices |
| 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 |
|
![]() |
|
|
Thread Tools | Display Modes |
|
||||
|
Thanks David,
Yes there is MACD sample in my EA but I want to make an EA based on histogram..that BUY when the first histogram bar closes above "0" and sell when the first histogram bar closes below zero ....and at the same time it has to close the long position......I wonder if someone can make EA for this... Thanks Babar |
|
||||
|
Quote:
Please check out the standard MACD EA that's included with your MT4 installation. It functions much the same way you describe your "perfect" MACD EA. - Ian |
|
||||
|
Quote:
If you open the MACD indicator, not the EA, with MataEditor, you can see it is actually use a iMA() function to sign values in to the ind_buffer1[] array. This how the indicator produced histogram. When the histogram value is positive the iMA() value is also positive. Hope you understand the mechanism. Similarly, the indicator use this line to produce the red signal line. ind_buffer2[i]=iMAOnArray(ind_buffer1,Bars,SignalSMA,0,MODE_SMA, i); |
|
||||
|
babar
Have you programmed with some PC languages, like C or JAVA? If the answer is negative, MQL4 is too difficult for you. The way for a programmer to learn a new language is to read the source codes. For those who know nothing about programming, I suggest them the most clever and efficient way--go to take a class. To be a indicator designer, there are just too much things to learn and read. I have to understand the statistics as well as sources codes behind every indicator. So I choose to work on existing methods from other people, and try out different combinations. |
|
||||
|
Quote:
![]()
__________________
David Michael H "Trader helps traders with sincerity, honesty and integrity" |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| SIMPLE-MACD-EA : An extremely simple EA based on 2 channels of MACD. Try it! | investor_me | Expert Advisors - Metatrader 4 | 36 | 02-23-2009 08:22 AM |
| Automated Trendline Trader | fxid10t | Expert Advisors - Metatrader 4 | 36 | 05-15-2008 09:49 AM |
| Automated traiding using MT4 | druelus | Metatrader 4 | 2 | 04-27-2007 01:28 PM |
| macd signal and macd value cross | boostrade | Expert Advisors - Metatrader 4 | 1 | 02-04-2007 04:33 PM |
| MACD-WDD (MACD-Simple on GBPUSD) | PluT0 | Expert Advisors - Metatrader 4 | 1 | 12-18-2005 12:30 AM |