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

Notification

Icon
Error

Options
Go to last post Go to first unread
PTJim  
#1 Posted : Thursday, February 7, 2019 4:06:30 AM(UTC)
PTJim

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 5/10/2006(UTC)
Posts: 252

Thanks: 11 times
Was thanked: 9 time(s) in 6 post(s)

Update: oops, how embarrassing - looks simple after some research, I think:

ref(C, -300) > 0

Off to add it to my filter code to test right now.

------------

My MSFL is rusty and I'm having trouble finding the right function to create an MS11/16 Exploration filter to ignore any instruments that haven't been around long enough.  By "long enough", I mean with less than 300-350 bars of data on a daily chart, for instance; I'm not interested in listings with no track record for analysis.

Hoping to add something to Filter along the lines of pseudocode "C > 0 for (TODAY-300)" to test for a price existing 300 bars ago.

Tried telling Explorer to load 350 records, but it doesn't seem to care if there aren't that many; it just loads however many there are and I get the usual error "Period value out of valid range in ATR() function." for stocks listed less than a year old.  I'm not interested in them to begin with, and just HATE having to click OK on all those errors every time I load a list of Exploration results.

Thanks!

Edited by user Friday, February 8, 2019 3:59:22 PM(UTC)  | Reason: Added Resolved to thread title

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.