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

Using Real Code in TC 2007 and transferring to Stock Finder Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
Dray
Posted : Friday, February 25, 2011 2:13:12 PM
Registered User
Joined: 10/7/2004
Posts: 10

Hi,
I created a "doji scan" as a PCF in TC2007.  How can I replicate this code in Stock Finder?

Thank you.

Bruce_L
Posted : Friday, February 25, 2011 2:17:42 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
If you post the Personal Criteria Formula here, we should be able to help you convert it into RealCode.

On another note, if you select Add Indicator/Condition to Chart (green plus in upper left corner of Chart) and start typing Doji, you will be given a variety of pre-created Doji Conditions.

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Dray
Posted : Friday, February 25, 2011 2:25:47 PM
Registered User
Joined: 10/7/2004
Posts: 10
Thanks Bruce.  Here you go:
C>=C1+.25ANDABS(C1-01)<.05*(H1-L1)
Dray
Posted : Friday, February 25, 2011 2:32:29 PM
Registered User
Joined: 10/7/2004
Posts: 10
Hi,
Tried those scans, like mine better.  Possible to re-create in Stock Finder? 
Thanks, Bruce.
Bruce_L
Posted : Friday, February 25, 2011 2:35:23 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
The following RealCode Condition:

Writing Conditions in RealCode

'|*****************************************************************|
'|*** StockFinder RealCode Condition - Version 5.0 www.worden.com
'|*** Copy and paste this header and code into StockFinder *********
'|*** Condition:Doji Scan
'|******************************************************************
'Original PCF: C>=C1+.25ANDABS(C1-01)<.05*(H1-L1)
If Price.Last >= Price.Last(1) + .25 AndAlso _
    System.Math.Abs(Price.Last(1) - Price.Open(1)) < _
    .05 * (Price.High(1) - Price.Low(1)) Then Pass

Can be used as a Scan or as part of a Filter.

Scanning with Conditions
Filtering Lists

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Dray
Posted : Friday, February 25, 2011 7:14:22 PM
Registered User
Joined: 10/7/2004
Posts: 10
thank you Bruce.  Worked Perfectly..
Bruce_L
Posted : Monday, February 28, 2011 7:57:28 AM


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.