Cumulative RSI

Custom MT4 expert advisors published here.

Moderator: admin

Cumulative RSI

Postby Alexander.Gettinger » Fri Jan 09, 2015 4:16 pm

Original LUA oscillator: viewtopic.php?f=17&t=1340.

The cumulative RSI is intended to be used in cumulative RSI strategy described in Chapter 9 of Trading Strategies That Work by Larry Connors and Cesar Alvarez.

The formula is pretty simple:
CumulativeRSI = SUM(RSI(N), X)

The book recommends to use the small numbers for N and X, such as 2.


Cumulative_RSI_MQL.PNG


Download:
Cumulative_RSI.mq4
(1.71 KiB) Downloaded 1002 times
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 3785
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

Re: Cumulative RSI

Postby balibakbar » Thu Aug 06, 2015 6:17 pm

This doesn't seem to be Connor's RSI..

Connor's RSI consists of three components:
a. Short term Relative Strength, i.e., RSI(3).
b. Counting consecutive up and down days (streaks) and "normalizing" the data using RSI(streak,2). The result is a bounded, 0-100 indicator.
c. Magnitude of the move (percentage-wise) in relation to previous moves. This is measured using the percentRank() function.


The formula given is:
ConnorsRSI(3,2,100) = [ RSI(Close,3) + RSI(Streak,2) + PercentRank(percentMove,100) ] / 3

Is it possible to code this in Lua?
balibakbar
 
Posts: 1
Joined: Thu Aug 06, 2015 6:10 pm



Return to MT4 Expert Advisors

Who is online

Users browsing this forum: No registered users and 62 guests