BullCharts Forum Homepage
Forum Home Forum Home > BullCharts > BullScript
  New Posts New Posts RSS Feed: Twiggs Money Flow
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Twiggs Money Flow

 Post Reply Post Reply
Author
Message / View First Unread Post
john View Drop Down
Newbie
Newbie


Joined: 18 Aug 2005
Posts: 7
Post Options Post Options   Quote john Quote  Post ReplyReply Direct Link To This Post Topic: Twiggs Money Flow
    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

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

rgds, J

 

Back to Top
pipsqueek View Drop Down
Regular
Regular
Avatar

Joined: 03 Jan 2005
Location: Australia
Posts: 34
Post Options Post Options   Quote pipsqueek Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
timpaul View Drop Down
Newbie
Newbie


Joined: 09 Nov 2005
Location: Australia
Posts: 3
Post Options Post Options   Quote timpaul Quote  Post ReplyReply Direct Link To This Post 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

Back to Top
cudderbean View Drop Down
Regular
Regular
Avatar

Joined: 02 Oct 2006
Location: Thailand
Posts: 40
Post Options Post Options   Quote cudderbean Quote  Post ReplyReply Direct Link To This Post 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;
Back to Top
peter1 View Drop Down
Regular
Regular


Joined: 27 Aug 2008
Location: Sydney
Posts: 55
Post Options Post Options   Quote peter1 Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Bulletin Board Software by Web Wiz Forums® version 9.69
Copyright ©2001-2010 Web Wiz