Download software Tutorial videos
Subscription & data-feed pricing Class schedule


New account application Trading resources
Margin rates Stock & option commissions

Attention: Discussion forums are read-only for extended maintenance until further notice.
Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

15 min bar scan Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
samantha.laduc
Posted : Thursday, May 21, 2015 11:44:01 AM
Platinum Customer Platinum Customer

Joined: 4/27/2012
Posts: 106

Greetings Bruce; it has been some time since my last programming request. I hope you can help.

I wish to scan for stocks that meet the following criteria based on the 1st 15 min bar of market open (9:45AM):

Long: open of 2nd 15 min bar is equal or higher than close of 1st 15 min bar.

Short: open of 2nd 15 min bar is equal or less than close of 1st 15 min bar.

I appreciate your input.

StockGuy
Posted : Thursday, May 21, 2015 11:51:25 AM

Administration

Joined: 9/30/2004
Posts: 9,187

Both of these can be done but you can't specifically refer to the first 15 min bar of the day.  Right now, at 11:49am ET, the first 15 min bar was 9 bars ago so...

Long: O8 >= C9

Short: O8 <= C9

 

At 12:00pm, you'll need to amend to...

Long: O9 >= C10

Short: O9 <= C10

 

With time frame on each condition set to 15-minute.

samantha.laduc
Posted : Thursday, May 21, 2015 12:00:00 PM
Platinum Customer Platinum Customer

Joined: 4/27/2012
Posts: 106

I am looking for a fixed scan after market open that I don&rsquo;t have to write daily.

Is Bruce still there by chance?

StockGuy
Posted : Thursday, May 21, 2015 12:52:20 PM

Administration

Joined: 9/30/2004
Posts: 9,187

Yes, he is. But there isn't a way to define the first 15 minute bar other than the examples I gave you.  Bruce will tell you the same thing.

samantha.laduc
Posted : Thursday, May 21, 2015 1:00:23 PM
Platinum Customer Platinum Customer

Joined: 4/27/2012
Posts: 106

This formula does not work. The test values are false, not based on a 15 min bar from market open values and does not address the timing issue.

I would greatly appreciate if you can forward me to Bruce. He has helped me extensively in the past.

Many thanks

samantha.laduc
Posted : Thursday, May 21, 2015 1:12:31 PM
Platinum Customer Platinum Customer

Joined: 4/27/2012
Posts: 106

When I run your formula based on the 9:45 + 10:00 bars MANY stocks do not match the criteria of 2nd bar open is >= close of 1st bar. For example TSL shows up, etc. I want only stocks that match my criteria so why are hundreds more appearing? 

StockGuy
Posted : Thursday, May 21, 2015 1:21:17 PM

Administration

Joined: 9/30/2004
Posts: 9,187

The first 15 minute bar on TSL today closed at $12.81.  The second bar opened at $12.81.  That meets your criteria of the 2nd bar open being higher or equal to the first bar's close.

If you want it to be greater, then remove the = from the formula.

samantha.laduc
Posted : Thursday, May 21, 2015 2:41:56 PM
Platinum Customer Platinum Customer

Joined: 4/27/2012
Posts: 106

Sorry I meant CHOP. Stocks like these got &lsquo;caught&rsquo; in the scan.

To help minimize this, and those stocks that retrace, can you tweak the formula:

2nd bar opens >= 1st bar AND close of 2nd bar is > close of 1st bar.

 

Thanks,

samantha.laduc
Posted : Thursday, May 21, 2015 2:44:05 PM
Platinum Customer Platinum Customer

Joined: 4/27/2012
Posts: 106

Separately, I am having a lot of problems posting to your forum. It repeated gives a posting error: "Oops...network admin has been notified". Adding to that, anything I write is lost and your forum does not offer a copy feature which would help a little.

StockGuy
Posted : Thursday, May 21, 2015 2:51:53 PM

Administration

Joined: 9/30/2004
Posts: 9,187

The current version of the formula (until 3:00pm ET) is O20 >= C21 and CHOP is not passing.

 

2nd bar opens >= 1st bar (close?) AND close of 2nd bar is > close of 1st bar

O20 >= C21 and C20 > C21

 

 

 

samantha.laduc
Posted : Thursday, May 21, 2015 3:07:38 PM
Platinum Customer Platinum Customer

Joined: 4/27/2012
Posts: 106

Any reason why JRJC doesn't show up?

And why I'm repeatedly getting posting error messages?

StockGuy
Posted : Thursday, May 21, 2015 3:23:40 PM

Administration

Joined: 9/30/2004
Posts: 9,187

Not sure about the forum errors.  Can you take a screen shot the next time it happens?

The open of the second 15-minute bar is actually $5.2999 and the first bar closed at $5.30.  The charts only show 2 decimal places but if you export the data you'll see the full price.

Users browsing this topic
Guest-1

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.