TC2000.com• Download software • Tutorial videos • Subscription & data-feed pricing • Class schedule
TC2000Brokerage.com• New account application • Trading resources • Margin rates • Stock & option commissions
Worden Discussion Forum
Stock and Market Talk
Wilders RSI crossover
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.
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
The "addition" is not meaningful for the results you are after but in some cases makes sense.
You could subtract the 2 RSIs and create a histogram that will be one color
or another based on which one is higher.
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.