Discussions
»
Product and Service Development
»
Formula Assistance
»
Help regarding explorer formula for finding today's close price in daily previous gap up
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.
|
|
|
|
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)
|
Discussions
»
Product and Service Development
»
Formula Assistance
»
Help regarding explorer formula for finding today's close price in daily previous gap up
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.