Forex



Go Back   Forex Trading > Discussion Areas > Setup Questions






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

Reply
 
Thread Tools Display Modes
  #281 (permalink)  
Old 06-26-2009, 10:32 AM
Member
 
Join Date: Mar 2007
Location: shanghai
Posts: 39
ray_dl is on a distinguished road
Quote:
Originally Posted by mladen View Post
Lazy
Replace that code with this one :
PHP Code:
               for(i=0i<barsPerTimeFrame;i++,k++)
               {
                  
current ExtMapBuffer7[k]-ExtMapBuffer6[k];
                  
prev    ExtMapBuffer7[k+1]-ExtMapBuffer6[k+1];
                  if (((
current<0)&&(prev>0))||(current<0))   upfalse;    
                  if (((
current>0)&&(prev<0))||(current>0))   uptrue;  

                  
//
                  //
                  //
                                   
                  
ExtMapBuffer5[k] = ExtMapBuffer7[k]*koef;
                  
ExtMapBuffer6[k] = ExtMapBuffer6[k]*koef
It is what is called "it has everything, but at wrong place". Only the steps were in a wrong order, nothing else
Btw: those are, when you are writing the code, hardest to spot. When someone else looks at it, it is likely that he/she will spot it immediately . Once I lost 3-4 days just to find out that I need to invert 2 line position

regards
mladen
THANK YOU!
You are great!
Attached Files
File Type: mq4 All MACD v1[1].0 4 color.mq4 (13.8 KB, 82 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #282 (permalink)  
Old 07-02-2009, 10:16 AM
Junior Member
 
Join Date: Mar 2009
Posts: 24
jfeder is on a distinguished road
Macd

MACD, which stands for Moving Average Convergence Divergence, is a trend-following momentum indicator that shows the relationship between two moving averages of prices. Developed by Gerald Appel, MACD is one of the simplest and most reliable indicators available. This tool is used to identify moving average which indicate a new trend, regardless of whether it is bullish or bearish. After all, the most important priority in trading is to find a trend, because the most money revolves around it.

The most popular formula for the "standard" MACD is the difference between 26-day and 12-day Exponential Moving Averages (EMAs). This is the formula that is used in many popular technical analysis programs and quoted in most technical analysis books. Using shorter moving averages will produce a quicker, more responsive indicator, while using longer moving averages will produce a slower indicator, less prone to whipsaws.

MACD
__________________
Forex News - latest news and strategies from the forex world
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #283 (permalink)  
Old 07-05-2009, 02:59 PM
Junior Member
 
Join Date: Sep 2008
Posts: 19
loh2005 is on a distinguished road
how to get the value diff from MACD ? or what is the Diff ? thank !
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #284 (permalink)  
Old 07-09-2009, 02:55 PM
Junior Member
 
Join Date: Mar 2009
Posts: 1
linkmeup is on a distinguished road
EA for third macd cross

Hi All,

I need some help, I use an EA were it generates a sell when the fast macd crosses the slow macd (when above the 0 line) but now i want an EA that generates a sell when the fast macd crosses slow macd for the second time.

Louis
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #285 (permalink)  
Old 07-10-2009, 02:45 AM
Senior Member
 
Join Date: Jan 2007
Location: not so remote
Posts: 3,272
fxbs is on a distinguished road
macd histo (osma)+ filter (0=ma, 1macd, 2macdsignal) MACD Histogram WIS - MQL4 Code Base
histo>0up+filter up=buy signal (sell prohibited)
histo<0dn+filter dn=sell signal (buy prohibited)
Attached Images
File Type: gif macd histo+filter.gif (19.3 KB, 405 views)
Attached Files
File Type: mq4 MACD_Histogram+filter_WIS.mq4 (5.1 KB, 59 views)

Last edited by fxbs; 07-10-2009 at 02:48 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #286 (permalink)  
Old 07-10-2009, 03:04 AM
Senior Member
 
Join Date: Jan 2007
Location: not so remote
Posts: 3,272
fxbs is on a distinguished road
2macds slope
Attached Images
File Type: gif macd x2 slope.gif (16.4 KB, 479 views)
Attached Files
File Type: mq4 macd_x2MTF.mq4 (2.5 KB, 34 views)
File Type: mq4 macd_x2slopeMTF.mq4 (2.9 KB, 28 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #287 (permalink)  
Old 07-19-2009, 07:43 PM
Senior Member
 
Join Date: Jan 2007
Location: not so remote
Posts: 3,272
fxbs is on a distinguished road
macd ave max/min Alpari
Attached Images
File Type: gif macd ave.gif (16.4 KB, 409 views)
Attached Files
File Type: mq4 MACD_AvMaxMinv1.1.mq4 (3.6 KB, 24 views)
File Type: mq4 MACD_AvMaxMinv1.1m.mq4 (3.9 KB, 32 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #288 (permalink)  
Old 07-19-2009, 08:02 PM
Senior Member
 
Join Date: Jan 2007
Location: not so remote
Posts: 3,272
fxbs is on a distinguished road
MACD_Allcolored M6 (from osama been mladen)

note_MACD_Types_ = "0-classicMACD(ema) 1ZeroLagMACD 2MACDofCCI 3MACDofMFI 4MACDofMomentum 5MACDofRSI 6MACDofStochastic";

ShowHisto = true;
ShowOSMA = false;
Attached Images
File Type: gif macd all color m6.gif (32.8 KB, 419 views)
Attached Files
File Type: mq4 MACD_AllcoloredM6.mq4 (10.0 KB, 45 views)

Last edited by fxbs; 07-20-2009 at 03:47 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #289 (permalink)  
Old 07-22-2009, 08:15 AM
Senior Member
 
Join Date: Jan 2007
Location: not so remote
Posts: 3,272
fxbs is on a distinguished road
bb macd
..........
Attached Images
File Type: gif bb macd6.gif (22.5 KB, 305 views)
Attached Files
File Type: mq4 BB_MACD_MT4_v6M.mq4 (8.7 KB, 90 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #290 (permalink)  
Old 07-26-2009, 08:28 PM
Junior Member
 
Join Date: Jun 2009
Posts: 20
Jawpip is on a distinguished road
MACD with Signal

Hey guys,
Can anyone help me put a signal on this indicator - If possible maybe an arrow or a dot after the MAs cross on the price action chart.
This just the ex4 file, but I found the code here.
oh - and thank you for whoever put this indie together - it has been a huge help.
JAWPIP
Attached Files
File Type: ex4 MACD_colored_mladen.ex4 (9.7 KB, 38 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
Reply

Bookmarks

Tags
bb macd, bb macd indicator, color macd, colored macd, digital macd, forex, indicator, jurik macd, MACD Adjustable, macd alert, macd alert histogram, macd bar, macd bars, MACD COLOR, macd colored, macd dot, MACD EXPlanation, macd histogram, macd indicator, macd indicators, macd mladen, MACD MTF, macd on chart, macd osma, macd slope, mtf macd, MTF MACD alert, mtf osma, osma mtf, OsMACD, scalper03, search

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Macd Indicator Needed keith Indicators - Metatrader 4 28 10-17-2009 09:56 AM
MACD color indicator droesparky Indicators - Metatrader 4 7 02-22-2009 03:05 AM
Need Standard MACD Indicator znny Indicators - Metatrader 4 14 10-18-2006 03:51 AM
Seeking MACD Indicator RosDaBoss Indicators - Metatrader 4 4 09-25-2006 01:22 PM


All times are GMT. The time now is 07:38 PM.



Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.