logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
jjstein  
#1 Posted : Friday, February 25, 2011 1:10:40 AM(UTC)
jjstein

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 5/13/2005(UTC)
Posts: 715
Location: Midwest, USA

Was thanked: 1 time(s) in 1 post(s)
Maybe it's late and my mind is fuzzy, but why doesn't this give a value that never drops?

x:=if(C>ref(c,-1),C,ref(c,-1));


haddison  
#2 Posted : Friday, February 25, 2011 10:53:04 AM(UTC)
haddison

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 3/6/2010(UTC)
Posts: 113
Location: London

It doesn't drop if this bar is less than the previous bar and the previous bar is above the one before, but if you have more than one bar down (e.g. 2 or more in a row) it will go down. To give you an example on the Dow Jones Industrial Average: Your indicator 17 Feb 11 12,318.14 18 Feb 11 12,391.25 (+73.11) 12,391.25 22 Feb 11 12,212.79 (-178.46) 12,391.25 23 Feb 11 12,105.78 (-107.01) 12,212.79 (-178.46) 24 Feb 11 12,068.50 (-37.28) 12,105.78 (-107.01)
Users browsing this topic
Guest (Hidden)
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.