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 |

New Hourly High Scan Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
AV1
Posted : Tuesday, November 23, 2010 8:36:17 PM
Registered User
Joined: 10/7/2004
Posts: 16
Can you advise of a stockfinder scan for stocks reaching new 60 minute highs using hourly bars?
Bruce_L
Posted : Wednesday, November 24, 2010 9:52:43 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
You'll have to explain a bit more what you mean by a "reaching new 60 minute highs using hourly bars". Wouldn't every 1-Hour bar (except the first of the day which is only 30-minutes long) contain a 60-Minute High?

If you actually want a New 60-Minute High, you would need to use a shorter Bar Interval (say the following based on a 1-Minute Bar Interval):

If Price.High > Price.MaxHigh(59, 1) Then Pass

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
AV1
Posted : Wednesday, November 24, 2010 10:06:55 AM
Registered User
Joined: 10/7/2004
Posts: 16
Looking to scan for stocks that just exceeded their hourly bar high or 60 minute bar high.  I would first scan at 10:30 eastern time, then 11:30, etc.
Bruce_L
Posted : Wednesday, November 24, 2010 10:42:38 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
I still don't understand what you are asking. Do you want a New High for the Day on an Hourly Chart? If so, you could use the following RealCode Condition (it should actually work for any Intraday Bar Interval, not just 1-Hour):

'|*****************************************************************|
'|*** StockFinder RealCode Condition - Version 5.0 www.worden.com
'|*** Copy and paste this header and code into StockFinder *********
'|*** Condition:New High for Day
'|******************************************************************
Static DayHigh As Single
Static Valid As Boolean
If isFirstbar Then
    DayHigh = Single.NaN
    Valid = False
Else If Price.DateValue.DayOfYear <> Price.DateValue(1).DayOfYear Then
    DayHigh = Single.MinValue
    Valid = True
End If
If Valid = True Then
    If Price.High > DayHigh Then
        DayHigh = Price.High
        Pass
    End If
Else
    SetIndexInvalid
End If

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
alvayeyo
Posted : Sunday, July 20, 2014 4:22:46 PM
Registered User
Joined: 6/18/2014
Posts: 2

high i wanted to see if i can set up a scan for stocks reaching High of day on the 1 min

Bruce_L
Posted : Monday, July 21, 2014 10:49:07 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

The RealCode Condition given in my Wednesday, November 24, 2010 10:42:38 AM ET post should also work in a 1-minute time frame.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
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.