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 |

pcf Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
Quiktdr
Posted : Wednesday, February 20, 2019 4:00:05 PM
Registered User
Joined: 10/7/2004
Posts: 794

Is this correct  XAvgC3>Avg(XAvgC3,2)> XAvgC3.1>Avg(XAvgC3,2.1)

I want new results vs yesterday

Bruce_L
Posted : Wednesday, February 20, 2019 4:09:18 PM


Worden Trainer

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

You need to make all of the comparisons individually.

XAVGC3 > AVG(XAVGC3, 2) AND AVG(XAVGC3, 2) > XAVGC3.1 AND XAVGC3.1 > AVG(XAVGC3.1, 2)



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Quiktdr
Posted : Wednesday, February 20, 2019 4:26:14 PM
Registered User
Joined: 10/7/2004
Posts: 794

Is this correct  XAvgC3>Avg(XAvgC3,2)> XAvgC3.1>Avg(XAvgC3,2.1)

I want new results vs yesterday or previous bar

Bruce_L
Posted : Wednesday, February 20, 2019 4:31:52 PM


Worden Trainer

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

XAVGC3 > AVG(XAVGC3, 2) returns true or false.

XAVGC3.1 > AVG(XAVGC3.1, 2) returns true or false.

You can't check to see if one is greater than the other.

If you are going to compare things, they have to return numeric values.

I don't know what numeric values you are trying to compare.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Quiktdr
Posted : Wednesday, February 20, 2019 4:46:17 PM
Registered User
Joined: 10/7/2004
Posts: 794

Thank you

Quiktdr
Posted : Wednesday, February 20, 2019 4:53:57 PM
Registered User
Joined: 10/7/2004
Posts: 794

The program states 

XAVGC3 > AVG(XAVGC3, 2) AND AVG(XAVGC3, 2) > XAVGC3.1 AND XAVGC3.1 > AVG(XAVGC3.1, 2)

 

has syntax errors

Quiktdr
Posted : Wednesday, February 20, 2019 4:56:52 PM
Registered User
Joined: 10/7/2004
Posts: 794

I found it  everything good!

Bruce_L
Posted : Wednesday, February 20, 2019 4:59:46 PM


Worden Trainer

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

I am happy to read you were able to figure it out on your own.



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