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

Notification

Icon
Error

Options
Go to last post Go to first unread
neocon  
#1 Posted : Wednesday, January 7, 2009 3:58:33 AM(UTC)
neocon

Rank: Newbie

Groups: Registered, Registered Users
Joined: 12/30/2008(UTC)
Posts: 8

hi everybody,

below is an indicator that I wanna use.but when I plot it on the price chart I can not see it.how can I make it visible.it is a kind of moving average.

Q1:=2+6* RSquared(C ,29) ;
Q2:=2/(Q1+1);
Q3:=1-Q2;
Q4:=C*Q2 +Q3* PREVIOUS ;

thanks in advance,

oztrader  
#2 Posted : Wednesday, January 7, 2009 4:42:20 PM(UTC)
oztrader

Rank: Advanced Member

Groups: Registered, Registered Users, Unverified Users
Joined: 7/12/2007(UTC)
Posts: 134
Location: Perth Western Australia

Hi neocon,

If you add Q4 as the next line of code it will solve the problem.

Cheers,

oz

neocon  
#3 Posted : Wednesday, January 7, 2009 4:53:13 PM(UTC)
neocon

Rank: Newbie

Groups: Registered, Registered Users
Joined: 12/30/2008(UTC)
Posts: 8

sorry oz,

but I couldn't understand what you mean :(

could you show it on the indicator please

thanks,

oztrader  
#4 Posted : Wednesday, January 7, 2009 6:49:13 PM(UTC)
oztrader

Rank: Advanced Member

Groups: Registered, Registered Users, Unverified Users
Joined: 7/12/2007(UTC)
Posts: 134
Location: Perth Western Australia

Neocon,

No problems!

Q1:=2+6* RSquared(C ,29) ;
Q2:=2/(Q1+1);
Q3:=1-Q2;
Q4:=C*Q2 +Q3* PREVIOUS ;
Q4

By adding the last line of code you are effectively saying "plot the value of Q4" and thus making the value of Q4 visible.

All the best,

oz

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.