| Author |
Message |
   dennis_menace
Member
Username: dennis_menace Post Number: 824 Registered: 09-2002Rating: N/A Votes: 0
|
| | Friday, September 17, 2004 - 11:18 pm: | 
|
Does anyone have the code for TMF already constructed. I would much appreciate it. Thanking those who reply in advance. Regards David
|
   shutty
Member
Username: shutty Post Number: 33 Registered: 12-2003Rating: N/A Votes: 0
|
| | Saturday, September 18, 2004 - 09:25 am: | 
|
David, Scroll to the bottom of this page: http://www.incrediblecharts.com/technical/twiggs_money_flow.htm periods:=Input("TMF periods",1,100,21); TRH:=Max(Ref(C,-1),H); TRL:=Min(Ref(C,-1),L); TR:=TRH-TRL; ADV:=((C-TRL)-(TRH-C))/If(TR=0,999999,TR)*V; WV:=V+(Ref(V,-1)*0); If(Wilders(WV,periods)=0,0,Wilders(ADV,periods)/Wilders(WV,periods)) Cheers Shutty
|
   dennis_menace
Member
Username: dennis_menace Post Number: 825 Registered: 09-2002Rating: N/A Votes: 0
|
| | Sunday, September 19, 2004 - 05:00 pm: | 
|
Thanks for that Shutty. It's funny what one can see when you open your eyes.
|
   longshanks
Member
Username: longshanks Post Number: 212 Registered: 11-2004Rating: N/A Votes: 0
|
| | Saturday, August 26, 2006 - 12:02 pm: | 
|
This problem has been raised in the past in other threads, but can't quite seem to get the fix to work. Even tried the code at http://www.incrediblecharts.com/technical/twiggs_money_flow.htm but it didn't work... Getting 'Division by zero' error while inserting the indicator into a chart in M*. Does anyone have the code that works, or can tell me if I am doing something wrong? Many thanks, ls
The simple things in life are often the best.
|
   gohard
Member
Username: gohard Post Number: 507 Registered: 05-2003
Rating: N/A Votes: 0
|
| | Saturday, August 26, 2006 - 12:26 pm: | 
|
LS, This may solve the problem,no guarantee. If(Wilders>0,((WV,periods)=0,0,Wilders(ADV,periods)/Wilders(WV,periods)),0) Go to tools options view untick Zero Values. All good G
|
   longshanks
Member
Username: longshanks Post Number: 213 Registered: 11-2004Rating: N/A Votes: 0
|
| | Saturday, August 26, 2006 - 12:47 pm: | 
|
gohard Thanks...though there seems to be problem as I get: -- an '(' must immediately follow a function name-- Also, can't seem to seem to find the "zero values" under tools options. Cheers ls (Message edited by longshanks on August 26, 2006)
The simple things in life are often the best.
|
   gohard
Member
Username: gohard Post Number: 509 Registered: 05-2003
Rating: N/A Votes: 0
|
| | Saturday, August 26, 2006 - 01:04 pm: | 
|
maybe we don't need the start redone with just the end??? If(Wilders(WV,periods)=0,0,Wilders(ADV,periods)/Wilders(WV,periods)),0) Not expert, it is related to a similar error in Excel,thought it might work here The zero value is in excel so it may not be an option in your M***chart set up.
|
|