Registered User Joined: 5/17/2017 Posts: 6
|
I am having some trouble coming up with a pcf that scans for stocks that are closing between +0.1 or -0.1 of the 9EMA.
Can anyone help in this regard?
|
Registered User Joined: 9/17/2010 Posts: 484
|
ABS((C-XavgC9)/C) < .1
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
If you mean ± $0.10, then:
ABS(C - XAVGC9) <= .1
If you mean ± 0.1%, then:
100 * ABS(C / XAVGC9 - 1) <= .1
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
Registered User Joined: 5/17/2017 Posts: 6
|
Thanks for the help Bruce, and bcochrane.
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|