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

Notification

Icon
Error

Options
Go to last post Go to first unread
htrah1  
#1 Posted : Thursday, May 26, 2016 9:19:38 AM(UTC)
htrah1

Rank: Newbie

Groups: Registered Users, Subscribers, Unverified Users
Joined: 5/26/2016(UTC)
Posts: 2

Hi guys/gals!

Iam new to metastock,trying to unlock hidden potentials of explorer.

I want explorer function, where today's close price is within the gap formed by two previous gap up candles.  Iam not using metastock's gap up function, but i have formed my own gap up formula.

Gap up formula--Ref(c,-1)<L

i have tried:-

1. valuewhen(1, cross(barssince(ref(c,-1)<L,c),c)

But it is not working.

Any help is sincerely appreciable.

Thanx in advance.


htrah1  
#2 Posted : Thursday, May 26, 2016 2:07:18 PM(UTC)
htrah1

Rank: Newbie

Groups: Registered Users, Subscribers, Unverified Users
Joined: 5/26/2016(UTC)
Posts: 2

I tried to update the formula in following way:-

Col A=ValueWhen(1,BarsSince(Ref(C,-1)<L),L) 

ColB=ValueWhen(1,BarsSince(Ref(C,-1)<L),Ref(C,-1))

Filter tab=  colA>=C>=colD

Still not working!!

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.