New Members: Be sure to confirm your email address by clicking on the link that was sent to your email inbox. You will not be able to post messages until you click that link.
What is the second parameter in the ROC Signal(x,x) clause?
Hi all,
Here are 2 default clauses that come up in the advanced scan workbench:
and [ROC(12) > 0.0]
and [ROC Signal(12,30) > ROC(12)]
I figure the 30 in the second parameter must be the number of bars that ROC(12) is smoothed? Also, is this an SMA or EMA?
Is 30 the published smoothing period? The ChartSchool article does not mention this.
The more important question is why did I not know ROC has a signal line? I ask this because the ChartSchool article does not talk about it. Well, at the very bottom of the article it is barely mentioned. I had to comb through the article to find it.
Here are the default clauses for TRIX:
and [TRIX(15,9) > 0.0]
and [TRIX Signal(15,9) < TRIX(15,9)]
What confused me at first is that TRIX, for example, has 2 parameters and so the TRIX Signal clause looks the same as the TRIX clause. For TRIX, the smoothing is 9, I figure, but can't remember for sure. Since ROC only has 1 parameter, the second parameter in the ROC Signal threw me off.
Now that I know that ROC can be checked for a signal line cross from scanning, maybe I should add a 30 period SMA or EMA to ROC on a ChartStyle. This sounds like an improvement for using ROC. I have seen the ROC Signal clause in the past, but overlooked it because I was not sure what it was.
0
Answers
I did not understand how you figured this by looking at the chart above. I only understood it after bringing up the chart and looking at the settings in the SharpCharts workbench. I see. Nice work.
The next thing I am wondering about is why would SCC build a ROC Signal clause in the scan engine without giving it any coverage in the ChartSchool article? Does this imply there is something wrong like it is not a good scan, or could it simply be an oversight (not discussing it in ChartSchool)? Just curious.
My first impression is that the cross-over signals look mixed. Mainly what I will look for is to see if the red EMA is above zero on the small ranges, look at the direction of the EMA on the smaller ranges, check if ROC is negative, and see how the smaller ranges affect the longer ranges. It's another tool in the toolbox.
I know the literature says it measures momentum, but I seem to like it to help measure trend.
add ROC(21) to your charts style twice
set the second ROC to "Behind Ind"
set both to Opacity 0.0
for the top ROC add overlay ema5
for the second ROC, add overlay ema13
Only the two emas show up; the actual ROC(21) line is hidden (invisible).
When the 5 is above the 13, think long
When the 5 is below the 13, think short (or out)
When running parallel, or over an under and over, think wait
You can choose any other parameter sets; the idea is that the emas (or smas) smooth out the ROC to give a clearer sense of what's happening. Note that on the most recent rally, 5 did not get back above 13.
P.S. I don't actually use this myself, and the idea is not original with me. I think it comes from an entry in the old s.c.a.n., but I thought you might be interested.
Quotes from gord:
That's helpful. Thanks guys!