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 |

Formula Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
TBradley
Posted : Wednesday, April 5, 2017 9:14:39 AM
Gold Customer Gold Customer

Joined: 1/22/2005
Posts: 73

Bruce, trying to write that either the close or the 8EMA is 10% or moe from the 34EMA. I wrote it as,

ABS((C /XAVGC34))/100 > .10  or  ABS((XAVGC8 /XAVGC34))/100 > .10 

I don't feel as though they are giving the correct figures.....

Bruce_L
Posted : Wednesday, April 5, 2017 9:34:03 AM


Worden Trainer

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

Please try the following Condition Formula instead.

ABS(C / XAVGC34 - 1) >= .1 OR ABS(XAVGC8 / XAVGC34 - 1) >= .1



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
TBradley
Posted : Thursday, April 6, 2017 7:50:32 AM
Gold Customer Gold Customer

Joined: 1/22/2005
Posts: 73

Bruce, thanks for the suggestion. I didn't understand if I was to choose one or the other, because I was under the impression that "OR," was not possible in tc2000? Seems ABS(XAVGC8 / XAVGC34-1) > .10 works....something similar.

I also had it written as: ABS(XAVGC8 / XAVGC34 - C) > .10 

I don't know if this was correct either???

 

Bruce_L
Posted : Thursday, April 6, 2017 9:29:52 AM


Worden Trainer

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

OR can be used in formulas, it just isn't available to combine multiple EasyScan Conditions.

ABS(XAVGC8 / XAVGC34-1) > .10 is correct if you are just checking for 8 EMA being more than 10% away from the 34 EMA, but it does not check for price. It is pretty much the same as the part of my formula after the OR.

ABS(XAVGC8 / XAVGC34 - C) > .10 is wrong. The ratio of the two moving averages really isn't scaled with price at all, so subtracting price from it doesn't work well and certainly isn't going to do what you want.



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