Registered User Joined: 3/8/2005 Posts: 2
|
how do I write a PCF for RSI with RSI period 2, average period 1 and with Wilder's smoothing (an option in editing chart template). RSI2.1 in PCF doesn't give me the value as RSI2.1 with Wilder's smoothing in chart editing. thanks.
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
Please try the following:
50 * (C - XAVGC3.1) / 2 / (.500030519440884 * (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)))))))))))))))) + 50
How to create a Personal Criteria Forumula (PCF)
PCF Formula Descriptions
Cascades of Moving Averages
Handy PCF example formulas to help you learn the syntax of PCFs!
-Bruce Personal Criteria Formulas TC2000 Support Articles
|