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 |

How to use the formula expression Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
yx25606
Posted : Sunday, August 19, 2018 6:41:57 PM
Registered User
Joined: 10/5/2016
Posts: 71
How to use the formula expression--- max(xavgh.10,xavgl.30)
 
StockGuy
Posted : Monday, August 20, 2018 9:13:52 AM

Administration

Joined: 9/30/2004
Posts: 9,187

Not sure what you're trying to do here.

yx25606
Posted : Thursday, August 23, 2018 4:19:53 AM
Registered User
Joined: 10/5/2016
Posts: 71
10 days high compared with low 30 days,Taking the maximum。or max(xavgh.10,xavgh.30)
 
bcochrane
Posted : Thursday, August 23, 2018 8:40:43 AM
Registered User
Joined: 9/17/2010
Posts: 484

XAvgH10 would be the Exponential Average of Highs over the past 10 days

XAvgL30 would be the Exponential Average of Lows over the past 30 days

If you want the actual highs and lows:

MaxH10 and MinL30

Difference between the two:

MaxH10 - MinL30

Is this getting closer to what you are looking for?

Bruce_L
Posted : Thursday, August 23, 2018 9:35:17 AM


Worden Trainer

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

In addition, I supsect you want the GREATEST() and LEAST() functions for at least part of this as these return the highest and lowest values in a a list.

The MAX() and MIN() functions return the highest and lowest values of a formula over time.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
yx25606
Posted : Thursday, August 23, 2018 3:03:22 PM
Registered User
Joined: 10/5/2016
Posts: 71

Thank you bcochrane! Thank you Bruce!Thank you very much!

Bruce_L
Posted : Thursday, August 23, 2018 3:17:01 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.