Gold Customer
Joined: 3/28/2005 Posts: 3
|
Quite a few years ago on an older version of TC I was able to use a pcf that was written to find a crossover of Wilders RSI.
If I remenber correctly it was something similar to:
RSI3.5.1 <= RSI5.5.1 and RSI3.5 > RSI5.5
I have noticed that on the newer versions of TC it is not possible to set up a window in order to actually visualize the results of the scan properly since I can not plot both RSI3.5 and RSI5.5 in the same window.
For the life of me I can not figure out how I used to get the results to display in the same window.
Did something truly change in the newer versions, or am I just proving to myself that I have honestly gone senile over the years and am simply not remembering the setup properly?
If anyone can help I'd appreciate it.
|
Gold Customer
Joined: 4/10/2006 Posts: 954
|
Create as an Indictor as below
abs(RSI3.5.1 <= RSI5.5.1 and RSI3.5 > RSI5.5)
tests such as <, > result in a value of 1 if true so this will plot either 0 or 1
if you want to visualize the results independently you could add them
abs(RSI3.5.1 <= RSI5.5.1 + (RSI3.5 > RSI5.5)*2)
This will result in a plot of ether
0 - both false
1 - left side is true
2 - right side is true
3 - left and right are true
|
Gold Customer
Joined: 4/10/2006 Posts: 954
|
The "addition" is not meaningful for the results you are after but in some cases makes sense.
|
Registered User Joined: 1/28/2005 Posts: 6,049
|
You could subtract the 2 RSIs and create a histogram that will be one color
or another based on which one is higher.
Thanks
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You can add an indicator to an existing pane in TC2000 version 12.3 by clicking on the name of an indicator that is already plotted in that pane and selecting Plot New Indicator here.... This would allow you to have both RSI indicators plotted in the same pane.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|