![]() |
Twiggs Money Flow |
Post Reply ![]() |
Author | |
peter1 ![]() Regular ![]() Joined: 27 Aug 2008 Location: Sydney Posts: 56 |
![]() ![]() ![]() ![]() 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.
|
|
![]() |
|
cudderbean ![]() Regular ![]() ![]() Joined: 02 Oct 2006 Location: Thailand Posts: 40 |
![]() ![]() ![]() ![]() |
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;
|
|
![]() |
|
timpaul ![]() Newbie ![]() Joined: 09 Nov 2005 Location: Australia Posts: 3 |
![]() ![]() ![]() ![]() |
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 |
|
![]() |
|
pipsqueek ![]() Regular ![]() Joined: 03 Jan 2005 Location: Australia Posts: 34 |
![]() ![]() ![]() ![]() |
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.
|
|
![]() |
|
john ![]() Newbie ![]() Joined: 18 Aug 2005 Posts: 7 |
![]() ![]() ![]() ![]() |
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
|
|
![]() |
Post Reply ![]() |
Forum Jump | Forum Permissions ![]() 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 |