Print Page | Close Window

Twiggs Money Flow

Printed From: BullCharts Forum
Category: BullCharts
Forum Name: BullScript
Forum Discription: Technical discussion related specifically to the BullScript programming language.
URL: http://www.bullcharts.com.au/forum/forum_posts.asp?TID=292
Printed Date: 13 Apr 2025 at 7:38am
Software Version: Web Wiz Forums 9.69 - http://www.webwizforums.com


Topic: Twiggs Money Flow
Posted By: john
Subject: Twiggs Money Flow
Date Posted: 11 Sep 2005 at 1:15pm

Hi everyone,

Anybody had success creating an indicator for Twiggs Money Flow?

http://www.incrediblecharts.com/technical/twiggs_money_flow.htm - http://www.incrediblecharts.com/technical/twiggs_money_flow. htm

I get some anomolies when I import the metastock code in the above link

rgds, J

 




Replies:
Posted By: pipsqueek
Date Posted: 11 Sep 2005 at 5:02pm

Hi John

I think this works ....

periods:=Input("TMF periods",21,1,100);

TRH:=Max(hist(C,1),H);

TRL:=Min(hist(C,1),L);

TR:=TRH-TRL;

ADV:=((C-TRL)-(TRH-C))/If(TR=0,999999,TR)*V;

WV:=V+(hist(V,1)*0);

TMF:=If (Wilders(WV,periods)=0,0,Wilders(ADV,periods)/Wilders(WV,per iods));

TMF;

ma(TMF,11,e)

Sorry about all the blank lines. I just copied and pasted from my Bullcharts Indicator.

Pipsqueek.



-------------
failing to plan is planning to fail.


Posted By: timpaul
Date Posted: 09 Nov 2005 at 11:58am

If you are looking for the reason this formula creates an error in the script header it is because of the space in the thrid last line and last use of periods (per iods).

 

Thanks for the code Pipsqueek



Posted By: cudderbean
Date Posted: 07 Jul 2012 at 9:57pm
Why does the TMF fall on a day when a stock like DJS on 29/6/12 rises so dramatically?
have I made a mistake in copying the coding? Thank you for your help. Thanks for your original coding too, Pipsqueak.
 
n := input("Time periods",21,1);
TRH:=Max(hist(C,1),H);
TRL:=Min(hist(C,1),L);
TR:=TRH-TRL;
ADV:=((C-TRL)-(TRH-C))/If(TR=0,999999,TR)*V;
WV:=V+(hist(V,1)*0);
TMF:=If(Wilders(WV,n)=0,0,Wilders(ADV,n)/Wilders(WV,n));
TMF;


-------------


Posted By: peter1
Date Posted: 19 Jul 2012 at 4:08pm
My TMF formula is similar to yours and it moves sharply higher on the 29/05/12 after the crazy bid for DJS was made public.



Print Page | Close Window

Bulletin Board Software by Web Wiz Forums® version 9.69 - http://www.webwizforums.com
Copyright ©2001-2010 Web Wiz - http://www.webwiz.co.uk