Forex



Go Back   Forex Trading > Downloads > Indicators - Metatrader 4
Forex Forum Register More recent Blogs Calendar Advertising Others Help






Register
Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.

From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.

Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
  • Elite Section
    Get access to private discussions, specialized support, indicators and trading systems reported every week.
  • Advanced Elite Section
    For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
See more

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 09-03-2006, 11:24 PM
Junior Member
 
Join Date: Aug 2006
Posts: 6
fiqe8j4 is on a distinguished road
Chaikin Money Flow Index

Can somebody review my first custom indicator code for Chaikin Money Flow. I just want to make sure there are no errors. If there is a simpler way to construct this indicator, please let me know. In my code, I wanted to avoid building an array of Accumulation/Distribution volumes for each bar and then doing summation over Periods on this array. I think it would have been slower than my code, in which I add the A/D volume of each new bar and subtract the A/D volume Periods ago. Thanks in advance:

#property indicator_separate_window
#property indicator_buffers 1
#property indicator_color1 Red

//Input parameters
extern int Periods=20;

//Indicator buffers
double CMF[];
double dN[];

int init()
{
IndicatorBuffers(2);
SetIndexBuffer(1,dN);

SetIndexStyle(0,DRAW_LINE);
SetIndexBuffer(0,CMF);
IndicatorShortName( "CMF(" + Periods + ")" );
return(0);
}

int deinit()
{
return(0);
}

int start()
{
int counted_bars=IndicatorCounted();
int i=(Bars-counted_bars-1)+(Periods-1);

double dN_Sum=0.0;
double Volume_Sum=0.0;
while(i>=0)
{
double h=High[i];
double l=Low[i];
double o=Open[i];
double c=Close[i];
if (h==l) dN[i]=0;
else dN[i]=100*Volume[i]*((c-l)-(h-c))/(h-l);
dN_Sum+=dN[i];
Volume_Sum+=Volume[i];
if (i<=Bars-counted_bars-1)
{
CMF[i]=dN_Sum/Volume_Sum;
dN_Sum-=dN[i+Periods-1];
Volume_Sum-=Volume[i+Periods-1];
}
i--;
}

return(0);
}
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
  #2 (permalink)  
Old 09-16-2006, 10:02 AM
igorad's Avatar
Senior Member
 
Join Date: Oct 2005
Location: Ukraine
Posts: 963
igorad is on a distinguished road
I found formula of this indicator here:
http://www.linnsoft.com/tour/techind/cmf.htm
And I've developed CMF according this formula.
Try to compare 2 version of CMF.
Attached Files
File Type: mq4 CMF_v1.mq4 (1.1 KB, 682 views)
__________________
Let's improve trade skills together
http://finance.groups.yahoo.com/group/TrendLaboratory
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
  #3 (permalink)  
Old 07-10-2007, 04:24 AM
xxDavidxSxx's Avatar
Senior Member
 
Join Date: Jul 2006
Posts: 745
xxDavidxSxx is on a distinguished road
Quote:
Originally Posted by igorad View Post
I found formula of this indicator here:
Investor/RT Tour - Chaikin Money Flow
And I've developed CMF according this formula.
Try to compare 2 version of CMF.
This is not per the formula ijn the above posted link.

The posted page describes and shows a histogram that is colored. For increasing values and decreasing values. Regardless of weather its on top of the center line, or under.
I changed to histogram but don't have the same color reaction to price as in the above posted link.

I wish I understood what makes this so. I would make the changes but I am not quite getting it. I take it you didn't either, so you went the easy way.

It says best period is 21 and you have it set at default 20?

I just wonder what other parts of the code you decided to make small changes too.

Its this kind of work that makes a system appear to be no good.

When you make small changes like this, don't be surprised if your results are not accurate or what you expected.

Who knows how many people are trying to use this indicator, thinking there following the same indicator as on the above posted link. Poor souls who don't recognize this kind of details.

This is why the Turtle traders said "if you posted there proven system on a bill board for all to see, 95% would still fail", because they'd employ there own personal tweaks to it. Then wonder why it don't work.

Don't make these changes for me. I don't need or use it. I just saw this posted to another group.This little rant was for the greater good. I hope.

Dave
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
  #4 (permalink)  
Old 07-11-2007, 07:23 AM
Junior Member
 
Join Date: Jun 2006
Posts: 4
comeinvest is on a distinguished road
so, any1 here have the correct version of CMF?
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
  #5 (permalink)  
Old 08-01-2007, 06:53 PM
Pipskateer's Avatar
Senior Member
 
Join Date: Dec 2006
Posts: 272
Pipskateer is on a distinguished road
These two indicators are completely different....which one is correct??

Can someone please post a known working version of Chaikin's Money Flow Index?

Thanks!
__________________
\o/ In Christ Alone!
Pipskateer
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
  #6 (permalink)  
Old 01-28-2008, 06:11 AM
Junior Member
 
Join Date: Jan 2008
Location: Brooklyn
Posts: 22
bdht is on a distinguished road
Hey, does anybody know the formula for the regular Chaikin indicator, not the Oscillator and not the Flow Index?
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
  #7 (permalink)  
Old 06-05-2009, 09:09 AM
Junior Member
 
Join Date: Jun 2009
Posts: 3
christiaan is on a distinguished road
need help with downloading cmf

I just don't understand this site.Everytime I try to download the mq4 file for chaikins money flow i'm ask to log in.

Then I do and it ask the same again, and again and again.I have scoured the internet searching many hours for this file and although I saw dozens of indicators in mq4 format the one I need continues to elude me.

I need this file to back test my system and now that i found the file in mq4 format I can't download the bluddy thing ,a little like window shopping.

if you can e-mail this file for me or explain how I can get past that irritating login page I would appreciate it.

chrst_heunes@yahoo.com
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
  #8 (permalink)  
Old 06-05-2009, 10:55 AM
Administrator
 
Join Date: Sep 2005
Posts: 20,058
Blog Entries: 241
newdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud of
Hi christiaan,

when you opn this page Forex Forum | Forex Tsd | Metatrader Forum so you have 2 places to login.
Log on the top place.

Indicator is on this post: Chaikin Money Flow Index
__________________
My blog on TSD
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
  #9 (permalink)  
Old 06-05-2009, 06:12 PM
Junior Member
 
Join Date: Jun 2009
Posts: 3
christiaan is on a distinguished road
does not work

I am logged in.In the top right corner it says welcome christiaan then I try to download file and it directs me to the login page and I log in the top right corner.

Then it says thank you for logging in and it auotomatically redirect me to the login page.I can post but I still can;t get my hands on that file

help me?
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
  #10 (permalink)  
Old 06-06-2009, 05:08 PM
Junior Member
 
Join Date: Jun 2009
Posts: 3
christiaan is on a distinguished road
I think I have it

I think I have it.After many many hours and hundrends of indicators most of which I have never heard of I finally have the file I need.Now I can backtest my strategy and save months.

Thank you
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
chaikin, chaikin money flow, Chaikin Money FLow formula, chaikin money flow index, chaikin money flow mq4, chaikin money flow mt4, CMF.mq4, Money Flow Index, money flow index forex, Money Flow Index indicator


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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
Chaikin Money Flow (CMF) FXBabe Suggestions for Trading Systems 4 11-18-2009 06:16 AM
Correlation Index help! albedo Indicators - Metatrader 4 3 08-30-2009 02:27 AM
Chaikin Volatility - New Stuff :) Kalenzo Indicators - Metatrader 4 21 06-03-2009 06:25 PM
Usd Index 006 General Discussion 18 02-11-2009 07:13 AM


All times are GMT. The time now is 04:53 AM.



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