Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
Registered User Joined: 1/15/2005 Posts: 17
|
I want write a PCF to scan for stocks where the RSI (Period 2, Average 1) is below 2.
However, RSI2.1<2 does not incorporate the Wilder's smoothing.
Is there a way I could include the Wilder's smoothing in the PCF?
Thanks
(Exerpt from Telechart help: You will also see a check box to "Use Wilder's Smoothing". We've always used exponential averaging in the calculation of RSI, but Wilder used his own smoothing method which is available by placing a check in the box. Please note, however, that PCFs created using RSI will not use Wilder's method).
|
|
Registered User Joined: 1/15/2005 Posts: 17
|
I finally found an answer to my question in a previous post by Bruce (Posted : Monday, July 02, 2007 4:52:28 PM).
Here it is:
RSI Period: 2 Use Wilders Smoothing: Checked Avg Period: 1 Average Type: Doesn't matter (because the Avg Period is 1)
100 * ((C > C1) * (C1 - C) + .5 * ((C1 > C2) * (C2 - C1) + .5 * ((C2 > C3) * (C3 - C2) + .5 * ((C3 > C4) * (C4 - C3) + .5 * ((C4 > C5) * (C5 - C4) + .5 * ((C5 > C6) * (C6 - C5) + .5 * ((C6 > C7) * (C7 - C6) + .5 * ((C7 > C8) * (C8 - C7) + .5 * ((C8 > C9) * (C9 - C8) + .5 * ((C9 > C10) * (C10 - C9) + .5 * ((C10 > C11) * (C11 - C10) + .5 * ((C11 > C12) * (C12 - C11) + .5 * ((C12 > C13) * (C13 - C12) + .5 * ((C13 > C14) * (C14 - C13))))))))))))))) / (ABS(C - C1) + .5 * (ABS(C1 - C2) + .5 * (ABS(C2 - C3) + .5 * (ABS(C3 - C4) + .5 * (ABS(C4 - C5) + .5 * (ABS(C5 - C6) + .5 * (ABS(C6 - C7) + .5 * (ABS(C7 - C8) + .5 * (ABS(C8 - C9) + .5 * (ABS(C9 - C10) + .5 * (ABS(C10 - C11) + .5 * (ABS(C11 - C12) + .5 * (ABS(C12 - C13) + .5 * (ABS(C13 - C14)))))))))))))))
Thanks Bruce!
Xavier
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome. I'm happy to read you were able to find the answer on your own.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Guest-1 |