Download software Tutorial videos
Subscription & data-feed pricing Class schedule


New account application Trading resources
Margin rates Stock & option commissions

Attention: Discussion forums are read-only for extended maintenance until further notice.
Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

Chaikin Money Flow Indicator Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
davidken
Posted : Tuesday, March 28, 2006 10:58:26 PM
Registered User
Joined: 9/29/2005
Posts: 9
Please provide the code to implement the CMF indicator in Telechart. The existing code snippets in the discussion topics are very fragmented and incomplete. Thank you

Craig_S
Posted : Tuesday, March 28, 2006 11:06:19 PM


Worden Trainer

Joined: 10/1/2004
Posts: 18,819
Right click on your chart and add a CUSTOM CUMULATIVE indictor with these settings:

Up Condition:
C=C

Down Condition:
C<C

Value To Add/Subtract:
V*((H+L)/2-(H1+L1)/2)

- Craig
Here to Help!
bustermu
Posted : Wednesday, March 29, 2006 10:48:54 AM
Registered User
Joined: 1/1/2005
Posts: 2,645
Craig,

Will you please indicate how we can find the source for the form you have given for Chaikin Money Flow? All of the references I have found so far agree with that in:

Chaikin Money Flow

Thanks,
Jim Murphy
Craig_S
Posted : Wednesday, March 29, 2006 11:05:00 AM


Worden Trainer

Joined: 10/1/2004
Posts: 18,819
Your post here inspired it:

Money Flow, Money Stream and Happiness

Looks like your link is better suited.

- Craig
Here to Help!
bustermu
Posted : Wednesday, March 29, 2006 11:49:00 AM
Registered User
Joined: 1/1/2005
Posts: 2,645
Craig,

Thanks for the reference.

My post that you reference was a consequence of a formula by another poster. It is not Chaikin Money Flow.

Thanks,
Jim Murphy
Craig_S
Posted : Wednesday, March 29, 2006 12:05:40 PM


Worden Trainer

Joined: 10/1/2004
Posts: 18,819
I see that now. Thanks.

- Craig
Here to Help!
davidken
Posted : Wednesday, March 29, 2006 5:11:40 PM
Registered User
Joined: 9/29/2005
Posts: 9
Craig,

As Jim points out, the code solution given in response to my request is not the Chaikin Money Flow. For clarity, are you still working on the solution?

Thanks,
David
Bruce_L
Posted : Wednesday, March 29, 2006 5:26:57 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
davidken,
The solution is already provided in Tanstaafl's Friday, February 04, 2005 11:19:42 AM post that is part of the Chaikin Money Flow topic that was mentioned earlier. Here's a version with the other 17 terms filled in (and a correction to prevent divide by zero issues):

((2 * C - L - H) / (H - L + .00001) * V + (2 * C1 - L1 - H1) / (H1 - L1 + .00001) * V1 + (2 * C2 - L2 - H2) / (H2 - L2 + .00001) * V2 + (2 * C3 - L3 - H3) / (H3 - L3 + .00001) * V3 + (2 * C4 - L4 - H4) / (H4 - L4 + .00001) * V4 + (2 * C5 - L5 - H5) / (H5 - L5 + .00001) * V5 + (2 * C6 - L6 - H6) / (H6 - L6 + .00001) * V6 + (2 * C7 - L7 - H7) / (H7 - L7 + .00001) * V7 + (2 * C8 - L8 - H8) / (H8 - L8 + .00001) * V8 + (2 * C9 - L9 - H9) / (H9 - L9 + .00001) * V9 + (2 * C10 - L10 - H10) / (H10 - L10 + .00001) * V10 + (2 * C11 - L11 - H11) / (H11 - L11 + .00001) * V11 + (2 * C12 - L12 - H12) / (H12 - L12 + .00001) * V12 + (2 * C13 - L13 - H13) / (H13 - L13 + .00001) * V13 + (2 * C14 - L14 - H14) / (H14 - L14 + .00001) * V14 + (2 * C15 - L15 - H15) / (H15 - L15 + .00001) * V15 + (2 * C16 - L16 - H16) / (H16 - L16 + .00001) * V16 + (2 * C17 - L17 - H17) / (H17 - L17 + .00001) * V17 + (2 * C18 - L18 - H18) / (H18 - L18 + .00001) * V18 + (2 * C19 - L19 - H19) / (H19 - L19 + .00001) * V19 + (2 * C20 - L20 - H20) / (H20 - L20 + .00001) * V20) / (AVGV21 * 21 + .00001)

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Craig_S
Posted : Wednesday, March 29, 2006 5:59:26 PM


Worden Trainer

Joined: 10/1/2004
Posts: 18,819
davidken, bustermu linked you to the solution and Bruce has reproduced it here for you. Let us know if you need any more help with it.

- Craig
Here to Help!
davidken
Posted : Wednesday, March 29, 2006 9:38:34 PM
Registered User
Joined: 9/29/2005
Posts: 9
Bruce, Craig,

Thanks, the implementation provided above seems to be what I was looking for. It prints what I would expect from the CMF. I tried to locate the missing argument of 17 terms at the link provided by bustermu without luck.
One other thing, is it possible to instruct TC2000 to adjust the scale to show neutral/zero as a physical line? Upon creation the CMF scales the physical lines on either side of zero at 0.12 and -0.09.

Thanks guys,
David
Craig_S
Posted : Thursday, March 30, 2006 2:36:26 AM


Worden Trainer

Joined: 10/1/2004
Posts: 18,819
Be sure to plot the custom indicator with the ZERO line option checked. You can also plot a TSV (any settings) but UNCHECK the visible option to have a center zero line plotted.

- Craig
Here to Help!
davidken
Posted : Thursday, March 30, 2006 3:12:12 PM
Registered User
Joined: 9/29/2005
Posts: 9
Thanks, I overlooked the check box the first time. I manually changed the period to equal 15 (my preference), how hard would it be to write a routine that would take the period as a value parameter to make the CFM more dynamic.

David
Bruce_L
Posted : Thursday, March 30, 2006 3:21:29 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
davidken,
I can't think of a practical way to use the Custom Indicator Average Period as the Chaikin Money Flow Period.

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
davidken
Posted : Thursday, March 30, 2006 4:14:42 PM
Registered User
Joined: 9/29/2005
Posts: 9
Bruce,
I first tried making an entry to the "custom average period" box and the results obviously did not look right when it printed. I thought maybe a custom implementation could be applied to accomplish this. Just a thought anyway.

Thanks,
David
Users browsing this topic
Guest-1

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.