Download software Tutorial videos
Subscription & data-feed pricing Class schedule


New account application Trading resources
Margin rates Stock & option commissions

Attention: Discussion forums are read-only for extended maintenance until further notice.
Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

RSI Divergence PCF Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
netmgr
Posted : Sunday, February 26, 2006 10:07:08 AM
Registered User
Joined: 4/21/2005
Posts: 39
I'd like an opinion of TC2005-savvy folks (I call them the cogniscenti) on the PCF I wrote to sort on RSI Divergence, which is defined as follows:

LOWER DIVERGENCE:
"RSI is climbing out of "oversold" area while the Closing price is making new lows." In other words: If the price is making new lows AND the RSI is making new highs, AND the RSI has visited recently the overbought area of below 30.

The PCF I wrote is:
-----------------------------------------------
RSI14.9 > MAX(RSI14.9.1,RSI14.9.2,RSI14.9.3,RSI14.9.4,RSI14.9.5,RSI13.14.6,RSI14.9.7,RSI14.9.8,RSI14.9.9,RSI14.9.10,RSI14.9.11) AND
C < MINC11 AND
MIN(RSI14.9.1,RSI14.9.2,RSI14.9.3,RSI14.9.4,RSI14.9.5,RSI13.14.6,RSI14.9.7,RSI14.9.8,RSI14.9.9,RSI14.9.10,RSI14.9.11) <= 30
------------------------------------------------
Which in "English pseudo-code" reads: Today's RSI > MAX(of RSI values during the last 10 days) AND C < MIN (of closing prices during the last 10 days) AND
MIN (RSI during the last ten days) < = 30; Or: "RSI is climbing out of "oversold" area while the Closing price is making new lows."

Does this PCF (syntax and all) make sense?

Thank you in advance.
netmgr
Posted : Sunday, February 26, 2006 10:17:46 AM
Registered User
Joined: 4/21/2005
Posts: 39
I just found a mistake in my own post:

RSI13.14.6 must be RSI14.9.6 (in 2 places.)

But other than this typo, do you, guys, see any problems with this?
Doug_H
Posted : Sunday, February 26, 2006 7:04:05 PM


Worden Trainer

Joined: 10/1/2004
Posts: 4,308
I don't recognize the MAX(RSI.....) and MIN(RSI.....) sytax as being valid, and when I test it in my TeleChart, those functions come back as zero.

This formula is not producing a syntax error, but the MIN and MAX functions do not work with the RSI strings you are using. I haven't tested the numbers extensively, but try this instead:

RSI14.9 > MAX(RSI14.9,10.1) AND
C < MINC10.1 AND
MIN(RSI14.9,10.1) <= 30

- Doug
Teaching Online!
bustermu
Posted : Sunday, February 26, 2006 7:22:13 PM
Registered User
Joined: 1/1/2005
Posts: 2,645
Doug,

I believe your PCF was intended to be:

RSI14.9 > MAX(RSI14.9.1,10) AND
C < MINC10.1 AND
MIN(RSI14.9.1,10) <= 30

Please delete this post without mention.

Thanks,
Jim Murphy
Users browsing this topic
Guest-1

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.