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 |

unable to parse number 0.50 Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
babbou
Posted : Saturday, May 13, 2017 11:46:35 AM
Registered User
Joined: 9/9/2016
Posts: 12

Hi 

i just paste a pcf formula found in the discussion, i still have error with "unable to parse number 0.50 or 0.60 or 0.40 ...

 

how can i correct that?

 

Thank you

Bruce_L
Posted : Monday, May 15, 2017 9:56:08 AM


Worden Trainer

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

The best option would be to re-write the formula to avoid the use of decimal markers. For example, you could change something like the following.

L + 0.50 * (C - O)

Into:

L + (C - O) / 2

Or:

L + 0.60 * (C - O)

Into:

L + 6 * (C - O) / 10

Or something like the following:

O >= 1.05 * C1

Into:

100 * O >= 105 * C1

The exact manipulation will depend on the particular formula, but it should possible to convert all formulas using this basic method.



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