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

price crossing pcf Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
bryceln
Posted : Friday, January 4, 2019 2:01:53 PM
Registered User
Joined: 1/10/2013
Posts: 91

Is there a streamlined way of writing the following for price crossing a value.  I just want to be able to enter the number once instead of twice for a condition/scan that I am creating.

C1 < number and C > number 

I tried

C1 < number < C but it says false when I test it

 

Bruce_L
Posted : Friday, January 4, 2019 2:07:56 PM


Worden Trainer

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

Since you are using TC2000 v18, you should be able to write this as follows.

XUP(C, number)

Where number is eiher a numeric value or a formula returning a numeric value.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
bryceln
Posted : Friday, January 4, 2019 2:14:46 PM
Registered User
Joined: 1/10/2013
Posts: 91

thank you.  I finally found it right after I typed the question.

Bruce_L
Posted : Friday, January 4, 2019 2:15:39 PM


Worden Trainer

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

You're welcome. I am happy to read you were able to find it on your own as well.



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