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

Notification

Icon
Error

Options
Go to last post Go to first unread
vince  
#1 Posted : Tuesday, March 7, 2006 11:13:56 AM(UTC)
vince

Rank: Member

Groups: Registered, Registered Users
Joined: 5/17/2005(UTC)
Posts: 14

Hello Probably a dumb question but... I want to create a expert that detects a ( + or - ) change in a indicator from the previous bar.... Eg........if stoch is higher than the previous bar = 1 Any help much appreciated thanks
hayseed  
#2 Posted : Tuesday, March 7, 2006 1:12:48 PM(UTC)
hayseed

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 3/7/2005(UTC)
Posts: 1,346

hey vince.... might try something like below.... you can add the input function to get fancy.....
stoch(5,3)>ref(stoch(5,3),-1)
for macd
macd()>ref(macd(),-1
====================== for less than previous bar..... =======================
stoch(5,3)<ref(stoch(5,3),-1)
for macd
macd()<ref(macd(),-1
and btw, questions help us all.....thanks.....h
vince  
#3 Posted : Wednesday, March 8, 2006 9:03:58 AM(UTC)
vince

Rank: Member

Groups: Registered, Registered Users
Joined: 5/17/2005(UTC)
Posts: 14

Thanks Hayseed Much Appreciated
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.