Registered User Joined: 11/28/2005 Posts: 38
|
I am looking to create 4 PCFs, but need a little help. The indicators are listed below and there is a buy and sell for each of them.
LBR/RSI:
A 3 period RSI of a 1 period rate of change (the daily net change of price).
Buy signals when the LBR/RSI is < 30.
Sell signals when LBR/RSI is > 70.
The Anti:
Using a 7 period %K stochastic (with 4 period smoothing) and a 10 period %D stochastic.
The %D line has established a definite uptrend (for at least 3 days).
The %K and %D lines should have intially formed oppossing slopes for at least 3 days.
A buy entry is when the %K has begun to rise along with the %D line.
All of this is reversed for shorts.
Can you help?
Thanking you in advance.
Kardaya
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
QUOTE (ksrooprai) LBR/RSI:
A 3 period RSI of a 1 period rate of change (the daily net change of price).
Buy signals when the LBR/RSI is < 30.
Sell signals when LBR/RSI is > 70.
The Is there a way to calculate an RSI of ROC? topic includes instructions for creating a Personal Criteria Formula or Custom Indicator of the 3-Period RSI of the 1-Period ROC. You can add a < 30 or > 70 to the end if you want to create Boolean (True or False) version.
QUOTE (ksrooprai) The Anti:
Using a 7 period %K stochastic (with 4 period smoothing) and a 10 period %D stochastic.
The %D line has established a definite uptrend (for at least 3 days).
The %K and %D lines should have intially formed oppossing slopes for at least 3 days.
A buy entry is when the %K has begun to rise along with the %D line.
All of this is reversed for shorts.
I'm not sure how you would want to unambiguously and objectively define a "definite uptrend", but without this requirement (and assuming the Stochastic is Exponential), I think the PCF for the Long Entry would be:
XAVG(STOC7,4) > XAVG(STOC7.1.1,4) AND XAVG(STOC7.1.1,4) < XAVG(STOC7.1.2,4) AND XAVG(STOC7.1.2,4) < XAVG(STOC7.1.3,4) AND XAVG(STOC7.1.3,4) < XAVG(STOC7.1.4,4) AND 3 * XAVG(STOC7,10) - XAVG(STOC7,4) > 3 * XAVG(STOC7.1.1,10) - XAVG(STOC7.1.1,4) AND 3 * XAVG(STOC7.1.1,10) - XAVG(STOC7.1.1,4) > 3 * XAVG(STOC7.1.2,10) - XAVG(STOC7.1.2,4) AND 3 * XAVG(STOC7.1.2,10) - XAVG(STOC7.1.2,4) > 3 * XAVG(STOC7.1.3,10) - XAVG(STOC7.1.3,4) AND 3 * XAVG(STOC7.1.3,10) - XAVG(STOC7.1.3,4) > 3 * XAVG(STOC7.1.4,10) - XAVG(STOC7.1.4,4)
While the PCF for the Short Entry would be:
XAVG(STOC7,4) < XAVG(STOC7.1.1,4) AND XAVG(STOC7.1.1,4) > XAVG(STOC7.1.2,4) AND XAVG(STOC7.1.2,4) > XAVG(STOC7.1.3,4) AND XAVG(STOC7.1.3,4) > XAVG(STOC7.1.4,4) AND 3 * XAVG(STOC7,10) - XAVG(STOC7,4) < 3 * XAVG(STOC7.1.1,10) - XAVG(STOC7.1.1,4) AND 3 * XAVG(STOC7.1.1,10) - XAVG(STOC7.1.1,4) < 3 * XAVG(STOC7.1.2,10) - XAVG(STOC7.1.2,4) AND 3 * XAVG(STOC7.1.2,10) - XAVG(STOC7.1.2,4) < 3 * XAVG(STOC7.1.3,10) - XAVG(STOC7.1.3,4) AND 3 * XAVG(STOC7.1.3,10) - XAVG(STOC7.1.3,4) < 3 * XAVG(STOC7.1.4,10) - XAVG(STOC7.1.4,4)
You may wish to review the following:
How to create a Personal Criteria Forumula (PCF)
Cascades of Moving Averages
PCF Formula Descriptions
Understanding Stochastics
Handy PCF example formulas to help you learn the syntax of PCFs!
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
Registered User Joined: 11/28/2005 Posts: 38
|
Bruce,
Thanks for this. I am guessing I can plot the The Anti by using the usual Stochastic indicator in Telechart with a 7, 4, 10 setting?
Much appreciated.
Thanks,
Kardaya
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
Based on your description, yes. Just make sure the Average Type is set to Exponential as well.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
Registered User Joined: 11/28/2005 Posts: 38
|
Thank you.
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|