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

Notification

Icon
Error

Options
Go to last post Go to first unread
chheda  
#1 Posted : Wednesday, March 15, 2017 4:52:52 PM(UTC)
chheda

Rank: Member

Groups: Registered, Registered Users, Unverified Users
Joined: 10/31/2004(UTC)
Posts: 14

Thanks: 4 times
I want to filter out multiple Inside bars, when we have inside bars with in previous inside bar. Please see image, how to filter out this multiple inside bars within that big Inside bars in formula. or to get formula that filter out break out / break down of only that big inside bar and avoid all break out / break down of all small inside bars. Thanks

Edited by user Wednesday, March 15, 2017 5:05:08 PM(UTC)  | Reason: Not specified

wabbit  
#2 Posted : Thursday, March 16, 2017 5:59:54 AM(UTC)
wabbit

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers, Unverified Users
Joined: 10/28/2004(UTC)
Posts: 3,106
Location: Perth, Western Australia

Was thanked: 14 time(s) in 14 post(s)
I'm reckoning this cannot be done (easily) in the very limited MS scripting language (MSFL) BUT it's easily achieved if you write the function externally, using the MDK (or getting someone to program it for you). If it is possible, it's going to be slow as it's going to need a plethora of PREV functions.
thanks 1 user thanked wabbit for this useful post.
chheda on 3/16/2017(UTC)
chheda  
#3 Posted : Thursday, March 16, 2017 6:40:31 AM(UTC)
chheda

Rank: Member

Groups: Registered, Registered Users, Unverified Users
Joined: 10/31/2004(UTC)
Posts: 14

Thanks: 4 times
Originally Posted by: wabbit Go to Quoted Post
I'm reckoning this cannot be done (easily) in the very limited MS scripting language (MSFL) BUT it's easily achieved if you write the function externally, using the MDK (or getting someone to program it for you). If it is possible, it's going to be slow as it's going to need a plethora of PREV functions.
Thanks wabbit  Is their any possibility by using Forum.dll  or any other dll available on forum? Regards, Harish

Edited by user Thursday, March 16, 2017 6:41:06 AM(UTC)  | Reason: Not specified

wabbit  
#4 Posted : Thursday, March 16, 2017 8:44:18 AM(UTC)
wabbit

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers, Unverified Users
Joined: 10/28/2004(UTC)
Posts: 3,106
Location: Perth, Western Australia

Was thanked: 14 time(s) in 14 post(s)
I don't think so.
thanks 1 user thanked wabbit for this useful post.
chheda on 3/16/2017(UTC)
Debraj  
#5 Posted : Monday, March 20, 2017 2:06:08 PM(UTC)
Debraj

Rank: Newbie

Groups: Registered, Registered Users, Unverified Users
Joined: 10/29/2004(UTC)
Posts: 4

Was thanked: 1 time(s) in 1 post(s)
I once wrote a formula for breakout of multiple inside days (inside days as interpreted by Metastock). Perhaps you are looking for something like that. Search for inside day equis breakout and see if that serves your purpose.  

Edited by user Monday, March 20, 2017 2:06:48 PM(UTC)  | Reason: Not specified

thanks 1 user thanked Debraj for this useful post.
chheda on 3/21/2017(UTC)
wabbit  
#6 Posted : Monday, March 20, 2017 11:42:18 PM(UTC)
wabbit

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers, Unverified Users
Joined: 10/28/2004(UTC)
Posts: 3,106
Location: Perth, Western Australia

Was thanked: 14 time(s) in 14 post(s)
Debraj, although your code works for the second inside bar, I think the OP is looking for something more like:

Edited by user Monday, March 20, 2017 11:46:16 PM(UTC)  | Reason: Trying to get image to "work"

thanks 1 user thanked wabbit for this useful post.
chheda on 3/21/2017(UTC)
chheda  
#7 Posted : Tuesday, March 21, 2017 12:54:06 PM(UTC)
chheda

Rank: Member

Groups: Registered, Registered Users, Unverified Users
Joined: 10/31/2004(UTC)
Posts: 14

Thanks: 4 times
Originally Posted by: Debraj Go to Quoted Post
I once wrote a formula for breakout of multiple inside days (inside days as interpreted by Metastock). Perhaps you are looking for something like that. Search for inside day equis breakout and see if that serves your purpose.  
Thanks Debraj Regards Harish

Edited by user Tuesday, March 21, 2017 12:54:56 PM(UTC)  | Reason: Not specified

Debraj  
#8 Posted : Wednesday, March 22, 2017 1:37:36 PM(UTC)
Debraj

Rank: Newbie

Groups: Registered, Registered Users, Unverified Users
Joined: 10/29/2004(UTC)
Posts: 4

Was thanked: 1 time(s) in 1 post(s)
Hi Wabbit, This is the first time I am talking to you and let me take this opportunity to thank you for the value you have been providing us over the years. Truly, people like you, Roy, Jose and Henry are the real backbone of the Metastock community. I may be wrong but it seems to me that my formula does precisely what the very beautiful illustrative image you have uploaded suggests. It nails down the bar on which the breakout of the high of the reference or control bar occurs, no matter how many small inside bars are in between. Of course in its present form the formula is hard coded to detect breakouts only if there are three or more small inside bars after the reference bar but that is easily taken care of using the input function. 
wabbit  
#9 Posted : Thursday, March 23, 2017 7:06:26 AM(UTC)
wabbit

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers, Unverified Users
Joined: 10/28/2004(UTC)
Posts: 3,106
Location: Perth, Western Australia

Was thanked: 14 time(s) in 14 post(s)
The chart I posted is using the external function I wrote to conceptualize it for myself; and some formatting. Outside the limiting MSFL realm, it doesn't matter how many inside bars there are under the "control" of the "reference" bar...
Users browsing this topic
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.