Registered User Joined: 10/7/2004 Posts: 794
|
why isn't this working even though it is testing true or false
XavgC3-XAvgC8/XAvgC8 >XAvgC3 and XavgC3.1-XAvgC8.1/XAvgC8.1 <XAvgC3.1
and wot is difference between a period in formula and a comma?
|
Registered User Joined: 10/7/2004 Posts: 794
|
Lost in space?
why isn't this working even though it is testing true or false
XavgC3-XAvgC8/XAvgC8 >XAvgC3 and XavgC3.1-XAvgC8.1/XAvgC8.1 <XAvgC3.1
and wot is difference between a period in formula and a comma?
|
Administration
Joined: 9/30/2004 Posts: 9,187
|
Not returning True on anything that I can find. Do you have an example?
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
I really don't know what you are trying to do, but it can't be true. Essentially your formula as written is the following.
XAVGC3 - 1 > XAVGC3 AND XAVGC3.1 - 1 < XAVGC3.1
While the second part is always true, the first part is never true.
I suspect the original formula is supposed to be the following.
(XAVGC3 - XAVGC8) / XAVGC8 > XAVGC3 AND (XAVGC3.1 - XAVGC8.1) / XAVGC8.1 < XAVGC3.1
This simplifies down to the follownig.
XAVGC3 / XAVGC8 - 1 > XAVGC3 AND XAVGC3.1 / XAVGC8.1 - 1 < XAVGC3.1
But I'm not really sure what that is supposed to be doing either.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
Registered User Joined: 10/7/2004 Posts: 794
|
OK
{%PxOsc} XavgC3-XAvgC8/XAvgC8 with 3 ema
I am trying to isolate times on my chart when {%PxOsc} XavgC3-XAvgC8/XAvgC8 is less then XAvgC3.1
thank you
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
This is going to be a fairly long formula in TC2000 v7 and TC2000 v16.
XAVGC3 / XAVGC8 > .50048876 * (XAVGC3.1 / XAVGC8.1 + .5 * (XAVGC3.2 / XAVGC8.2 + .5 * (XAVGC3.3 / XAVGC8.3 + .5 * (XAVGC3.4 / XAVGC8.4 + .5 * (XAVGC3.5 / XAVGC8.5 + .5 * (XAVGC3.6 / XAVGC8.6 + .5 * (XAVGC3.7 / XAVGC8.7 + .5 * (XAVGC3.8 / XAVGC8.8 + .5 * (XAVGC3.9 / XAVGC8.9 + .5 * XAVGC3.10 / XAVGC8.10))))))))) AND XAVGC3.1 / XAVGC8.1 < .50048876 * (XAVGC3.2 / XAVGC8.2 + .5 * (XAVGC3.3 / XAVGC8.3 + .5 * (XAVGC3.4 / XAVGC8.4 + .5 * (XAVGC3.5 / XAVGC8.5 + .5 * (XAVGC3.6 / XAVGC8.6 + .5 * (XAVGC3.7 / XAVGC8.7 + .5 * (XAVGC3.8 / XAVGC8.8 + .5 * (XAVGC3.9 / XAVGC8.9 + .5 * (XAVGC3.10 / XAVGC8.10 + .5 * XAVGC3.11 / XAVGC8.11)))))))))
But you should be able to get the TC2000 v17 beta with an initial incarnation of the new Personal Criteria Formula Syntax here.
http://www.tc2000.com/download
There is a much shorter way to write this Condtion Fomrula in the newest version of the TC2000 v17 beta.
XUP(XAVGC3 / XAVGC8, XAVG(XAVGC3 / XAVGC8, 3))
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
Registered User Joined: 10/7/2004 Posts: 794
|
TY
This is formula for change to>XAvgC3 from <XAvgC3.1?
What is difference from using a period vs a comma
I have formulas on vs 7 can they be exported to vs 16-17?
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
Both of the formulas given in my Friday, January 13, 2017 2:35:55 PM ET post check for PPO 3, 8 crossing up through its own 3 period exponential moving average between the previous bar and the current bar.
The first formula will work in TC2000 v7, TC2000 v12, TC2000 v16 and TC2000 v17.
The second formula will only work in TC2000 v17. This formula will not work in TC2000 v7, TC2000 v12 or TC2000 v16.
Periods are used to separate the parameters of indicators in the Personal Criteria Formula Language. For example XAVGC8.0 is an 8 period exponential moving average of closing prices from 0 bars ago. This is just the same as XAVGC8 by itself. But XAVGC8.1 is the 8 period exponential moving average of closing prices from one bar ago.
Commas are used to seperate the parameters of functions. A function can be used to represent an indicator, but a function is going to be written in a form where the name of the function is immediately followed by an oppening parenthesis (without any spaces) and then the paramaters are separated from eath other by commas (with or without spaces), following by closing parenthesis).
MAX(STOC12, 5) for example would be the highest value of an 8 period raw stochastic over the most recent 5 bars.
MAX(STOC12.3, 5) would be the highest value of a simple stochastic 8.3 %K over the most recent 5 bars. The second parameter of the STOC indicator is separated from the first by a period, but the STOC12.3 is the first parameter of the MAX() function and is separated from the second parameter by a comma.
You can imporlt your settings from TC2000 v7 to TC2000 v12.5 if TC2000 v12.5 or earlier is already installed to your computer.
It is not possible import your settings from TC2000 v7 into TC2000 v12.5 running in a browser or into TC2000 v16 or TC2000 v17.
There are not any currently versions of TC2000 which can be installed which would allow you to import your TC2000 v7 settings into the TC2000 v12/v16/v16 ecosystem. You would need to already have the software currently installed.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|