Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

Intraday Spread Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
Mully
Posted : Tuesday, March 29, 2011 2:54:37 PM
Registered User
Joined: 10/7/2004
Posts: 91
Bruce - would it be possible to get a scan for stocks trading between $10 - $45 per share that have had an intraday high/low spread of 5% or more over the last 20 trading days.... tia

mully
Bruce_L
Posted : Tuesday, March 29, 2011 2:58:07 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
Does the High need to be at least 5% above the Low for all of the previous 20-Bars or does the High need to be on average at least 5% above the Low for the previous 20-Bars?

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Mully
Posted : Tuesday, March 29, 2011 3:42:04 PM
Registered User
Joined: 10/7/2004
Posts: 91
I'm sorry, just the average please, thanks again
Bruce_L
Posted : Tuesday, March 29, 2011 3:52:33 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
The following RealCode Condition is intended to use a Daily Bar Interval:

'|*****************************************************************|
'|*** StockFinder RealCode Condition - Version 5.0 www.worden.com
'|*** Copy and paste this header and code into StockFinder *********
'|*** Condition:Intraday Spread
'|******************************************************************
Static Avg As Single
If isFirstBar Then
    Avg = 0
End If
Avg += 5 * (Price.High / Price.Low - 1)
If CurrentIndex >= 19 Then
    If CurrentIndex >= 20 Then
        Avg -= 5 * (Price.High(20) / Price.Low(20) - 1)
    End If
    If 10 <= Price.Last AndAlso _
        Price.Last <= 45 AndAlso _
        Avg >= 5 Then
        Pass
    End If
Else
        SetIndexInvalid
End If

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Mully
Posted : Tuesday, March 29, 2011 4:11:15 PM
Registered User
Joined: 10/7/2004
Posts: 91
works perfect Bruce, thanks
Bruce_L
Posted : Tuesday, March 29, 2011 4:14:52 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
You're welcome.

-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.