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 |

Condition for 'near whole number' ? Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
tradehawk
Posted : Tuesday, September 25, 2012 3:07:53 PM
Registered User
Joined: 4/19/2009
Posts: 18

Is there any magic PCF I can use to create a condition that will be true when the closing price is near a whole number (i.e.  between ##.95 and ##.05)? 

Thanks!

Bruce_L
Posted : Tuesday, September 25, 2012 3:19:52 PM


Worden Trainer

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

Please try the following Condition Formula:

ABS(C - C \ 1) < .055

PCF Formula Descriptions
Handy PCF example formulas to help you learn the syntax of PCFs!



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
tradehawk
Posted : Wednesday, September 26, 2012 1:00:47 AM
Registered User
Joined: 4/19/2009
Posts: 18

Thanks Bruce, that works like a champ!

Bruce_L
Posted : Wednesday, September 26, 2012 8:14:12 AM


Worden Trainer

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

You're welcome.



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