New version 17 available now


Download software Tutorial videos
Subscription & data-feed pricing Class schedule


New account application Trading resources
Margin rates Stock & option commissions

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

Profile: Bruce_L
About
User Name: Bruce_L
Groups: Gold User, Platinum User, TeleChart, Worden Staff, Worden Training Agent
Rank: Worden Trainer
Real Name:
Location
Occupation:
Interests:
Gender: Unsure
Statistics
Joined: Thursday, October 07, 2004
Last Visit: Thursday, September 21, 2017 3:37:42 PM
Number of Posts: 60,336
[21.25% of all post / 12.75 posts per day]
Avatar
Last 10 Posts
Topic: Previous layouts?
Posted: Thursday, September 21, 2017 2:26:10 PM

You're welcome.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Topic: Pullback to Moving Average Scan
Posted: Thursday, September 21, 2017 1:12:00 PM

I'm not sure about all of the other requirements, but you could just check directly. The formula in TC2000 v17 is a lot shorter.

L <= AVGC75 AND TrueInRow(L1 > AVGC75.1, 60) = 60

But the formula in TC2000 v7 isn&#39;t all that bad.

L <= AVGC75 AND L1 > AVGC75.1 AND L2 > AVGC75.2 AND L3 > AVGC75.3 AND L4 > AVGC75.4 AND L5 > AVGC75.5 AND L6 > AVGC75.6 AND L7 > AVGC75.7 AND L8 > AVGC75.8 AND L9 > AVGC75.9 AND L10 > AVGC75.10 AND L11 > AVGC75.11 AND L12 > AVGC75.12 AND L13 > AVGC75.13 AND L14 > AVGC75.14 AND L15 > AVGC75.15 AND L16 > AVGC75.16 AND L17 > AVGC75.17 AND L18 > AVGC75.18 AND L19 > AVGC75.19 AND L20 > AVGC75.20 AND L21 > AVGC75.21 AND L22 > AVGC75.22 AND L23 > AVGC75.23 AND L24 > AVGC75.24 AND L25 > AVGC75.25 AND L26 > AVGC75.26 AND L27 > AVGC75.27 AND L28 > AVGC75.28 AND L29 > AVGC75.29 AND L30 > AVGC75.30 AND L31 > AVGC75.31 AND L32 > AVGC75.32 AND L33 > AVGC75.33 AND L34 > AVGC75.34 AND L35 > AVGC75.35 AND L36 > AVGC75.36 AND L37 > AVGC75.37 AND L38 > AVGC75.38 AND L39 > AVGC75.39 AND L40 > AVGC75.40 AND L41 > AVGC75.41 AND L42 > AVGC75.42 AND L43 > AVGC75.43 AND L44 > AVGC75.44 AND L45 > AVGC75.45 AND L46 > AVGC75.46 AND L47 > AVGC75.47 AND L48 > AVGC75.48 AND L49 > AVGC75.49 AND L50 > AVGC75.50 AND L51 > AVGC75.51 AND L52 > AVGC75.52 AND L53 > AVGC75.53 AND L54 > AVGC75.54 AND L55 > AVGC75.55 AND L56 > AVGC75.56 AND L57 > AVGC75.57 AND L58 > AVGC75.58 AND L59 > AVGC75.59 AND L60 > AVGC75.60



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Topic: Trendline Algorithm
Posted: Thursday, September 21, 2017 12:57:07 PM

You&#39;re welcome.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Topic: Previous layouts?
Posted: Thursday, September 21, 2017 12:28:50 PM

I&#39;m not sure the exact menus are the same, but the setting should be there.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Topic: Trendline Algorithm
Posted: Thursday, September 21, 2017 12:28:19 PM

You&#39;re welcome.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Topic: Smoothed CCI convert from Easy Language needed
Posted: Thursday, September 21, 2017 12:06:25 PM

You&#39;re welcome.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Topic: How to write a fomula that the Close price of last X bars within y% of stock price
Posted: Thursday, September 21, 2017 12:05:50 PM

The range of closing prices over the last 8 bars is:

MAXC8 - MINC8

You can express this as a percentage of the average price over the period as:

100 * (MAXC8 - MINC8) / AVGC8

So if you wanted this to be less than 5% for example, you could write this as follows.

100 * (MAXC8 - MINC8) / AVGC8 < 5

The 10 period linear regression slope of the 8 period exponential moving average (I used different periods so you can see which is which) can be written as follows in TC2000 v17.

6 * (FAVG(XAVGC8, 10) - AVG(XAVGC8, 10)) / (10 - 1)

The change as a percent of the average value of the 8 period exponential moving average over those 10 bars can be written as follows.

600 * (FAVG(XAVGC8, 10) - AVG(XAVGC8, 10)) / AVG(XAVGC8, 10)

So checking for the absolute value of this being less than 3% for example could be written as follows.

600 * ABS(FAVG(XAVGC8, 10) - AVG(XAVGC8, 10)) / AVG(XAVGC8, 10) < 3

The above formulas are all just examples. You can adjust the periods and percentages as desired.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Topic: Trendline Algorithm
Posted: Thursday, September 21, 2017 11:22:43 AM

You can get fairly close using something like the following Formula in a Custom PCF Indicator set to Line Plot Style for support.

IIF(MINL5 > L5 AND L5 < MINL5.6, L5, 1 / 0)

And something like the following Formula in a Custom PCF Indicator set to Line Plot Style for resistance.

IIF(MAXH5 < H5 AND H5 > MAXH5.6, H5, 1 / 0)

But the lines will be offset from where you actually want them (and you can&#39;t just use an offset moving average to shift the lines to the correct spot), plot past as well as current value support and resistance lines, and won&#39;t continue to plot past the last detected low (in the case of support) or high (in the case of resistance). You also can&#39;t easily check for price crossing through this version.

I have not been able to figure out a reasonable way to do this using the current version of the Personal Criteria Formula Language.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Topic: Previous layouts?
Posted: Thursday, September 21, 2017 11:14:48 AM

Select Tools | System Settings | General | Start TC2000 with: Last layout used on this computer.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Topic: Test at 9:31 price up, test at 9:32 price below 9:31 low
Posted: Thursday, September 21, 2017 10:53:15 AM

You&#39;re welcome.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles