BullCharts Forum Homepage
Forum Home Forum Home > BullCharts > BullScript
  New Posts New Posts RSS Feed: RSI of Momentum Indicator
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

RSI of Momentum Indicator

 Post Reply Post Reply
Author
Message / View First Unread Post
jazza View Drop Down
Regular
Regular
Avatar

Joined: 10 Aug 2007
Posts: 33
Post Options Post Options   Quote jazza Quote  Post ReplyReply Direct Link To This Post Topic: RSI of Momentum Indicator
    Posted: 21 Jan 2010 at 11:46pm
Hi there,

Hoping someone can show me a Bullscript for an RSI of Momentum rather than the usual RSI.

I don't know how to combine the 2 scripts into one oscillator.

Specifically trying to replicate a formula from the Linda Bradford Raschke / Laurence Conners Book - "Street Smarts" as per below.

"There are lots of tricks one can do with short-term rates of change. This Pattern uses
a one-period rate of change or "momentum" function. This is simply, the difference
between today's close and yesterday's close. (i.e., if today;,, closing price was 592
and yesterday's closing price was 596, the difference is -4.) A three-period RSI of
this one period change is calculated."

Thanks in advance,

Jazza

< ="-" ="text/; =utf-8">< name="ProgId" ="Word.">< name="Generator" ="Microsoft Word 12">< name="Originator" ="Microsoft Word 12">







Back to Top
rcameron View Drop Down
Moderator Group
Moderator Group


Joined: 04 Aug 2008
Posts: 21
Post Options Post Options   Quote rcameron Quote  Post ReplyReply Direct Link To This Post Posted: 23 Jan 2010 at 12:52pm
Jazza, I suggest that the best way to work through the bullscript and learn is to look at the various standard Bullcharts indicators of interest and it is relatively simple to pick up on what and how they are being calculated. Combining two standard indicators is relatively straight forward with Bullcharts, or it least it is after a bit of practise. Below I think I've combined the two indicators in the way that you had intended or at least it will give you a good idea of  what needs to be done. Cheers Rod
 

[description="Calculates the RSI of the Momentum indicator."]

[target=Percent; category=Momentum;]

[horzline=0,100]

expr := expression("Expression");

n := input("Momentum periods",1,1);

n2 := input("RSI periods",3,1);

rsi((expr/hist(expr,n))*100,n2)

Back to Top
jazza View Drop Down
Regular
Regular
Avatar

Joined: 10 Aug 2007
Posts: 33
Post Options Post Options   Quote jazza Quote  Post ReplyReply Direct Link To This Post Posted: 25 Jan 2010 at 7:31am
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Bulletin Board Software by Web Wiz Forums® version 9.69
Copyright ©2001-2010 Web Wiz