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 |

Syntax problem? Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
sclapp
Posted : Thursday, September 20, 2018 12:31:28 PM
Registered User
Joined: 2/8/2005
Posts: 16

Hi, 

I've input this code into a PCF, and it's not showing errors when input. Problem is it's not generating any output. Is this written incorrectly?

(((C - C10) / C10 * .3) +
((C - C20) / C20 * .35) +
((C - C40) / C40 * .35))*100
 
Thanks!
Bruce_L
Posted : Thursday, September 20, 2018 12:45:36 PM


Worden Trainer

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

I don't see any problems with the syntax, but maybe we should try to write it without using any parentheses or decimal markers to see if that makes a difference.

30 * C / C10 + 35 * C / C20 + 35 * C / C40 - 100



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
sclapp
Posted : Thursday, September 20, 2018 1:14:25 PM
Registered User
Joined: 2/8/2005
Posts: 16

That worked - thanks!

Bruce_L
Posted : Thursday, September 20, 2018 1:15:38 PM


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.