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 |

Base PCF Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
aubrey_dsouza
Posted : Tuesday, January 2, 2018 12:46:59 PM
Registered User
Joined: 3/10/2013
Posts: 41

Hi Bruce can you please help me convert this stockcharts.com scan to a PCF that I can then also use as a SCAN in TC2000- thanks! Aubrey

[Daily plus DI(14) > Daily minus DI(14)] and [Daily adx line(14 >=15] and [Slope(10,[Daily minus di(14)]) < 0] and [Close > daily sma(200,close)] and [daily sma(20,daily close) > daily SMA9200,close)] 

 

Bruce_L
Posted : Tuesday, January 2, 2018 1:15:30 PM


Worden Trainer

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

A 9200 period simple moving average isn't going to calculate in TC2000 v12/v17/v18b because there are only 500 bars of data available for the calculations. If we substitute a 500 period SMA and assume the slope is based on net change.

DIPLUS14 > DIMINUS14 AND ADX14.14 >= 15 AND DIMINUS14 < DIMINUS14.10 AND C > AVGC200 AND AVGC20 > AVGC200

If we assume the slope is a linear regression slope.

DIPLUS14 > DIMINUS14 AND ADX14.14 >= 15 AND FAVG(DIMINUS14, 10) < AVG(DIMINUS14, 10) AND C > AVGC200 AND AVGC20 > AVGC200



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
aubrey_dsouza
Posted : Tuesday, January 2, 2018 1:39:44 PM
Registered User
Joined: 3/10/2013
Posts: 41

Thanks - sorry that was my mistake it should have been a bracket not "9"

Bruce_L
Posted : Tuesday, January 2, 2018 1:45:49 PM


Worden Trainer

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

Have change the formulas to reflect the SMA200 instead.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
aubrey_dsouza
Posted : Tuesday, January 2, 2018 2:00:00 PM
Registered User
Joined: 3/10/2013
Posts: 41

Hi Bruce,

I am using TC2000 v12.5 - when I put in the PCF I am getting a formula error  "syntax error" on PCF 2 and in PCF1 I am getting Argument missing near >= - apprciate your help. Thans

 

Bruce_L
Posted : Tuesday, January 2, 2018 2:06:18 PM


Worden Trainer

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

I cannot write the formulas for TC2000 v12. I can only write the formulas for TC2000 v17/v18b because the DI and ADX syntax was not added to the Personal Criteria Formula Language until v17.

About the best you could do in TC2000 v12 is to add the indicators to the chart. Then click on the indicators and select Create Scan Condition to create the desired conditions. You would then add all of the conditions to the same EasyScan.



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