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

New scan Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
boston1234
Posted : Thursday, December 31, 2009 4:27:54 PM
Platinum Customer Platinum Customer

Joined: 3/12/2005
Posts: 13
a scan for; 
stocks that have advanced .06 or more
in the first 15 minutes of trading
with a current price of 1.00 or less
Current price; at the 15 minutes into trading

Thanks
Bruce_L
Posted : Thursday, December 31, 2009 4:56:53 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
Please try the following RealCode Condition on a 1, 3, 5 or 15-Minute Chart (you can Drag and Drop it to the Watchlist to use it as a Scan). It uses the Open of the day as the basis of the change. If you wish to use the Close of the previous day instead, change Basis = Price.Open to Basis = Price.Last(1).

'|*****************************************************************|
'|*** StockFinder RealCode Condition - Version 4.9 www.worden.com
'|*** Copy and paste this header and code into StockFinder *********
'|*** Condition:My Condition
'|******************************************************************
Static Basis As Single
Static TrueForDay As Boolean
Static Valid As Boolean
If isFirstBar Then
    Basis = Single.NaN
    TrueForDay = False
    Valid = False
Else If Price.DateValue.DayOfYear <> Price.DateValue(1).DayOfYear Then
    Basis = Price.Open
    TrueForDay = False
    Valid = True
End If
If Valid = True Then
    If Price.DateValue.Hour = 9 AndAlso _
        Price.DateValue.Minute = 45 AndAlso _
        Price.Last - Basis >= .06 AndAlso _
        Price.Last <= 1 Then
        TrueForDay = True
    End If
    If TrueForDay = True Then        
        Pass
    End If
Else
    SetIndexInvalid
End If

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
boston1234
Posted : Thursday, January 7, 2010 10:55:41 AM
Platinum Customer Platinum Customer

Joined: 3/12/2005
Posts: 13

Hi

I have tried the scan you built; I am new to Stock Finder and may be doing something I should not be doing or not doing something I should. I am not getting the results I hoped for.

I have tried to scan; U.S. stocks, U.S. Common stocks, and Biotech.

The scan returns; stocks that have not moved from the prior day, and it appears that some stocks are actually lower from the prior day.

Please Help

Boston1234
Bruce_L
Posted : Thursday, January 7, 2010 11:23:04 AM


Worden Trainer

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

    Basis = Price.Open

To:

    Basis = Price.Last(1)

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
boston1234
Posted : Thursday, January 7, 2010 4:51:31 PM
Platinum Customer Platinum Customer

Joined: 3/12/2005
Posts: 13
Hi
I made the change you recommended, and will try tomorrow, is it possible for you to test ?
Thanks 
Boston1234
Bruce_L
Posted : Thursday, January 7, 2010 5:22:27 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
It seems to work as I would interpret your request when the change is made on my computer.

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
boston1234
Posted : Friday, January 8, 2010 10:40:40 AM
Platinum Customer Platinum Customer

Joined: 3/12/2005
Posts: 13

Hi

I ran the revised scan on Biotechnology @ 9:34 and 9:45; No results close to what I am looking for, some stocks moved plus .01-.04 from the prior day, most did not or were down.

What I am looking for; is a scan that will produce a list of stocks that have;

Advanced from the prior day’s close .06 cents or more

Have moved up that .06 or more, within the first 15 minutes of trading

The ability to scan within the 1, 3, 5, or 15 minute intervals that you set is GOOD.

Thanks

Boston1234
Bruce_L
Posted : Friday, January 8, 2010 11:48:41 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
It only returns True for nine symbols on my computer when run on US Stocks and none of them are down (ATRN, BOFL, GFLB, HEPH, HMNA, LEI, PTEK, SGRP, ZANE). You may want to try copying and pasting the RealCode again directly from the forums (the following already has Price.Open changed to Price.Last(1) as this would appear to be your intent based on your additional followup posts in this topic):

'|*****************************************************************|
'|*** StockFinder RealCode Condition - Version 4.9 www.worden.com
'|*** Copy and paste this header and code into StockFinder *********
'|*** Condition:My Condition
'|******************************************************************
Static Basis As Single
Static TrueForDay As Boolean
Static Valid As Boolean
If isFirstBar Then
    Basis = Single.NaN
    TrueForDay = False
    Valid = False
Else If Price.DateValue.DayOfYear <> Price.DateValue(1).DayOfYear Then
    Basis = Price.Last(1)
    TrueForDay = False
    Valid = True
End If
If Valid = True Then
    If Price.DateValue.Hour = 9 AndAlso _
        Price.DateValue.Minute = 45 AndAlso _
        Price.Last - Basis >= .06 AndAlso _
        Price.Last <= 1 Then
        TrueForDay = True
    End If
    If TrueForDay = True Then       
        Pass
    End If
Else
    SetIndexInvalid
End If

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
boston1234
Posted : Friday, January 8, 2010 6:36:11 PM
Platinum Customer Platinum Customer

Joined: 3/12/2005
Posts: 13

Hi
I deleted the old scan and loaded the scan from you last reply, and will try Monday.

Thanks

Bruce_L
Posted : Monday, January 11, 2010 9:25:09 AM


Worden Trainer

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

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
boston1234
Posted : Monday, January 11, 2010 10:09:42 AM
Platinum Customer Platinum Customer

Joined: 3/12/2005
Posts: 13

I tried the scan this morning on U.S. stocks; at 9:33 am, 9:38am and 9:46 am, I got no discernable data, again some stocks were unchanged from Friday’s close.

I took today off, is it possible for you to call me so we can resolve this?

(phone removed by moderator)

Thanks

Michael

Bruce_L
Posted : Monday, January 11, 2010 10:52:06 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
No, I can't call you. Customer training is only provided in the forums and at our live events. It is not provided via email, chat or phone.

It currently returns True for ten symbols on my computer when run on US Stocks and none of them are unchanged from Friday's close (ANX, CRMH, EFOI, EPCT, FMAR, FNSC, GNBT, GRAN, PXG, TONE).

It should be noted that the 9:45 AM ET Bar must exist for the Rule to return True for the current day and that final results cannot be calculated until the 9:45 AM ET Bar is complete (which makes the 9:33 and 9:38 tests more than a tad bit suspect).

How are you determining if the Rule is returning True? Are you using it as a Scan or Filter or some other method?

Rule Basics

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
boston1234
Posted : Monday, January 11, 2010 12:14:54 PM
Platinum Customer Platinum Customer

Joined: 3/12/2005
Posts: 13

Hi

“It currently returns True for ten symbols on my computer when run on US Stocks and none of them are unchanged from Friday's close (ANX, CRMH, EFOI, EPCT, FMAR, FNSC, GNBT, GRAN, PXG, TONE).”

I finally got these results by; following your instructions to change the Bar to 15 minutes from one day


“It should be noted that the 9:45 AM ET Bar must exist for the Rule to return True for the current day and that final results cannot be calculated until the 9:45 AM ET Bar is complete (which makes the 9:33 and 9:38 tests more than a tad bit suspect).”

Per your comments on December 31, 2009

“Please try the following RealCode Condition on a 1, 3, 5 or 15-Minute Chart (you can Drag and Drop it to the Watchlist to use it as a Scan).”

Does your comment of today eliminate the 1, 3, and 5 minute intervals?



“How are you determining if the Rule is returning True? Are you using it as a Scan or Filter or some other method?”

            I am using a Filter, with the refresh rate set at manual. Is this correct?

I understand that you cannot call, thank you for your prompt response.

As I am new to Stock Finder; if you can specify the system settings I need, it will be much appreciated.

Thanks

Michael

Bruce_L
Posted : Monday, January 11, 2010 12:26:22 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
QUOTE (boston1234)
“It should be noted that the 9:45 AM ET Bar must exist for the Rule to return True for the current day and that final results cannot be calculated until the 9:45 AM ET Bar is complete (which makes the 9:33 and 9:38 tests more than a tad bit suspect).”

Per your comments on December 31, 2009

“Please try the following RealCode Condition on a 1, 3, 5 or 15-Minute Chart (you can Drag and Drop it to the Watchlist to use it as a Scan).”

Does your comment of today eliminate the 1, 3, and 5 minute intervals?

No. All of these Time Frames have a 9:45 AM ET Bar. This Bar would start forming at 9:44 on the 1-Minute Chart, at 9:42 on a 3-Minute Chart and at 9:40 on a 5-Minute Chart.

QUOTE (boston1234)
“How are you determining if the Rule is returning True? Are you using it as a Scan or Filter or some other method?”

            I am using a Filter, with the refresh rate set at manual. Is this correct?


That should work just fine. Once it has updated for the day, you should not need to calculate it again.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
boston1234
Posted : Monday, January 11, 2010 4:40:13 PM
Platinum Customer Platinum Customer

Joined: 3/12/2005
Posts: 13
Thank you
Michael
Bruce_L
Posted : Monday, January 11, 2010 4:46:12 PM


Worden Trainer

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

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
sjpiracci
Posted : Wednesday, January 13, 2010 1:58:52 PM
Registered User
Joined: 2/3/2007
Posts: 4
Hi, A scan for ADX -crossover +DI(14) at or cross above -DI(14)
Thanks,
sjpiracci
(email removed by moderator)
Bruce_L
Posted : Wednesday, January 13, 2010 2:43:57 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
sjpiracci,
- Select Add Indicator | Select... | Directional Movement DI ADX | OK.
- Drag and Drop ADX onto +DI and select Create Rule | Crossing Up Through: +DI | Apply | OK.
- Drag and Drop +DI onto -DI and select Create Rule Above: -DI | Apply | OK.
- Drag and Drop the two Rules onto each other and select Create New Combo Rule.
- Give the Combo Rule a name and select OK.

Rule Basics

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
boston1234
Posted : Wednesday, January 13, 2010 3:03:11 PM
Platinum Customer Platinum Customer

Joined: 3/12/2005
Posts: 13

Hi

The 15 minute scan (9:45) appears to work fine.

When I try the;  1(9:31), 3(9:33), or 5(9:35)minute scan and change the time to the respective  1,3, or 5 minute setting; these scans can take as long as 18-20 minutes to complete, how can we speed this up?

Can you help?

Michael

Bruce_L
Posted : Wednesday, January 13, 2010 3:13:08 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
boston1234,
The reason the 15-Minute scan takes less time is that it requires far fewer bars of data for its calculations. There really isn't anything I can do to make it go more quickly in the other Time Frames as it is already designed to minimize the number of Bars of data used when it is Dragged and Dropped to the Watchlist (to be used as a Sort for example).

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