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 |

what am I missing Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
pwalk
Posted : Tuesday, July 10, 2018 9:04:51 AM
Gold Customer Gold Customer

Joined: 12/24/2004
Posts: 33

IIF(stoc10. 4. 1 < avg(stoc10. 4. 1. 4) and stoc10. 4 > avg(stoc10. 4. 4) ,  .995 * min(l, 5), 0)

This formula shows error in formula, a missing period argument at position 39  (just before the 'and'), I cant figure it out, someone please point out my silly mistake!

Bruce_L
Posted : Tuesday, July 10, 2018 9:49:30 AM


Worden Trainer

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

The mistakes are some extra spaces in your formula and slight mixups as to where to use commas versus periods.

IIF(STOC10.4.1 < AVG(STOC10.4.1, 4) AND STOC10.4 > AVG(STOC10.4, 4), .995 * MIN(L, 5), 0)

You could shorten this somewhat to the following.

IIF(XUP(STOC10.4, AVG(STOC10.4, 4)), .995 * MINL5, 0)



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
pwalk
Posted : Tuesday, July 10, 2018 10:12:06 AM
Gold Customer Gold Customer

Joined: 12/24/2004
Posts: 33

excellent, thank you!

Bruce_L
Posted : Tuesday, July 10, 2018 10:20:20 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.