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

Notification

Icon
Error

Options
Go to last post Go to first unread
xrousaios  
#1 Posted : Friday, November 8, 2013 10:24:21 AM(UTC)
xrousaios

Rank: Member

Groups: Registered, Registered Users, Unverified Users
Joined: 1/30/2012(UTC)
Posts: 22
Location: Athens, Greece

Hi all

I am searching for in a data array for the occurrence of a specific condition using BARSSINCE function.

However I have a few questions:
- How do I skip the current bar?
-What price the function returns if not ever meet the condition?

Thanks in advance

George

haddison  
#2 Posted : Thursday, November 14, 2013 1:29:40 PM(UTC)
haddison

Rank: Advanced Member

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

To ignore the current bar, use Backward reference, e.g.:

Ref(BarsSince(BuySignal),-1)
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.