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.
Scan for Ratio - Relative Strength Ratio (not RSI)
I'm looking for a way to scan when a RS (Relative Strength) ratio (not RSI) breaks out from a Bollinger 20,2.0 upper band.
E.g. on Feb. 3rd, the ratio crossed over BB 20,2.0http://schrts.co/dRRXpc
I know how to scan for a MA Breakout, but not for a ratio.
Is there a way to do so?
Many thanks in advance!
Can I divide between 2 MAs, like "MA 20 / MA 50"?
If this is possible, then we might be able to divide one close over another close. Is that possible?
E.g. ABC close / XYZ close, then we would get a ratio of the two closes.
Just asking! My math skills are waaay back
You could write a scan:
[group is sp500]
and [sma(20,close)/sma(50,close) > 1.05]
That would get all symbols in the SP500 where the 20 ma is at least 5% greater than the 50 ma. But it would not return the numerical result, like 1.05321, or 1.063781, or whatever was the result for each symbol
[group is ETFNOUI] // ETF no hedge
and ['XLY'/'XLK' > 1.05]
// or with a different spelling
// and [(symbol starts with 'XLY' / symbol starts with 'XLK') > 1.05]
It says: The syntax is incorrect.
Does that mean that I can't use a symbol as such, or maybe I can use the "close" of the symbol instead. Yet I don't know if it's possible to use the Close of a specific symbol. What do you think?