Registered User Joined: 9/30/2011 Posts: 788
|
I would like to have a PCF Formula Stoch-Rsi with the following parameters 4-3-3 "smoothed", with signal Up and Down on crossing % D3
Thank you and goodbye.
Raider45
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
I am going to assume the settings are the following.
Stochastics RSI
Stochastics RSI:
- RSI Period: 4
- Stochastics Period: 3
- %K: 3
- Average Type: Simple
%D:
- Period: 3
- Offset: 0
- Average Type: Simple
If so, the crossing up formula would be the following.
XUP(AVG((WRSI4 - MIN(WRSI4, 3)) / (MAX(WRSI4, 3) - MIN(WRSI4, 3)), 3), AVG(AVG((WRSI4 - MIN(WRSI4, 3)) / (MAX(WRSI4, 3) - MIN(WRSI4, 3)), 3), 3))
And the crossing down formula would be the following.
XDOWN(AVG((WRSI4 - MIN(WRSI4, 3)) / (MAX(WRSI4, 3) - MIN(WRSI4, 3)), 3), AVG(AVG((WRSI4 - MIN(WRSI4, 3)) / (MAX(WRSI4, 3) - MIN(WRSI4, 3)), 3), 3))
Alternately you may be describing the following settings if your numbers are coming from another program without separet settings for the period used for the stochastic and RSI in the Stochastics RSI indicator.
Stochastics RSI:
- RSI Period: 4
- Stochastics Period: 4
- %K: 3
- Average Type: Simple
%D:
- Period: 3
- Offset: 0
- Average Type: Simple
If so, the crossing up formula would be the following.
XUP(AVG((WRSI4 - MIN(WRSI4, 4)) / (MAX(WRSI4, 4) - MIN(WRSI4, 4)), 3), AVG(AVG((WRSI4 - MIN(WRSI4, 4)) / (MAX(WRSI4, 4) - MIN(WRSI4, 4)), 3), 3))
And the crossing down formula would be the following.
XDOWN(AVG((WRSI4 - MIN(WRSI4, 4)) / (MAX(WRSI4, 4) - MIN(WRSI4, 4)), 3), AVG(AVG((WRSI4 - MIN(WRSI4, 4)) / (MAX(WRSI4, 4) - MIN(WRSI4, 4)), 3), 3))
An easier way to create all of the above conditions would be to just add the indicator to the chart, adjust the settings as desired, and click on it to select Create Condition.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
Registered User Joined: 9/30/2011 Posts: 788
|
Congratulations and thank you !
Best regards !
|