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

Notification

Icon
Error

Options
Go to last post Go to first unread
pwven  
#1 Posted : Monday, February 23, 2009 5:38:32 AM(UTC)
pwven

Rank: Member

Groups: Registered, Registered Users, Subscribers
Joined: 12/12/2008(UTC)
Posts: 13
Location: South Africa

If you use the command "close" it use the present day data. I want to use the previous days data in an indicator, how can it be done?
oztrader  
#2 Posted : Monday, February 23, 2009 5:43:27 AM(UTC)
oztrader

Rank: Advanced Member

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

Hi pwven,

Instead of using CLOSE try Ref(CLOSE,-1) as the "-1" means 1 bar prior.

Cheers,

oz

pwven  
#3 Posted : Monday, February 23, 2009 5:57:31 AM(UTC)
pwven

Rank: Member

Groups: Registered, Registered Users, Subscribers
Joined: 12/12/2008(UTC)
Posts: 13
Location: South Africa

Thanks oztrader Have tried it and it works.
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.