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 |

Request for Modification Price > of Trend PCF Formula Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
raider45
Posted : Tuesday, May 1, 2018 10:46:43 AM
Registered User
Joined: 9/30/2011
Posts: 788
I would like to change the following PCF Formula
                                                                                         
1000000 * (2 * LOG (C0) + LOG (C1) -LOG (C3) -2 * LOG (C4)) / 10 - (-2760.42)> 0
 
with the following parameter: Price trends over the last two days greater than 5% higher than the Nasdaq Composite and Amex composite markets.
 
Thank you and goodbye.
 
Raider45
Bruce_L
Posted : Tuesday, May 1, 2018 10:55:31 AM


Worden Trainer

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

There isn't a way to reference another symbol in the Personal Criteria Formula Language in order to write the desired formula.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
raider45
Posted : Tuesday, May 1, 2018 11:01:59 AM
Registered User
Joined: 9/30/2011
Posts: 788

If it's not possible on the Nasdaq and Amex, it's OK on the S & P 500 !

Bruce_L
Posted : Tuesday, May 1, 2018 11:03:45 AM


Worden Trainer

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

It doesn't matter what other symbol you want to reference. The PCF Language can only reference the symbol being used and can't reference any other symbols. You can't mix multiple symbols in the same PCF and the symbol which can be used in the PCF is fixed.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
raider45
Posted : Tuesday, May 1, 2018 11:22:29 AM
Registered User
Joined: 9/30/2011
Posts: 788

So it's OK to change the formula for the two-day period instead of five !

Bruce_L
Posted : Wednesday, May 2, 2018 10:30:31 AM


Worden Trainer

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

Assuming everything else remains the same, the two day version would be the following.

1000000 * (LOG(C0) - LOG (C1)) - (-2760.42) > 0

That said, I suspect the (-2760.42) portion of the formula is based on the value of just the following portion of the formula for another symbol.

1000000 * (LOG(C0) - LOG (C1))



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
raider45
Posted : Saturday, May 5, 2018 11:09:13 AM
Registered User
Joined: 9/30/2011
Posts: 788

Formula Error: Expected (                                                                                                                                         At position 14

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.