Doctrading

The "RSI 2P" from Larry Connors

Category: Strategies By: Doctrading Created: July 19, 2016, 1:50 PM
July 19, 2016, 1:50 PM
Strategies
4 Comments
The "RSI 2P" from Larry Connors

Hi all,

Here is another strategy from Larry Connors, that I did coded for us.

It was designed for M30 timeframe, on various indices / forex / raw materials. But my tests show that is is most of time unprofitable.

I also find that some values are profitable with it, on higher timeframes.

For example as show in the backtest picture (CFD Germany 30, 1€ per point, spread 1 point, daily timeframe).

RULES aver very simple :

BUY if :

  • close > SMA200
  • RSI2 < 5

CLOSE BUY if :

  • close > SMA5

That’s all.

Opposite rules for SELL positions.

Larry Connors didn’t use stop loss ; but you can set one.

// RSI 2P
// de Larry Connors
// www.doctrading.fr

DEFPARAM CUMULATEORDERS = false
n = 3   // mettre ce que vous voulez

// INDICATEURS
MM200 = average[200](close)
MM5 = average[5](close)
RSI2 = RSI[2](close)

// ACHAT
ca1 = close > MM200
ca2 = RSI2 < 5

IF ca1 and ca2 then
 BUY n shares at market
ENDIF

// SORTIE ACHAT
IF close > MM5 THEN
 sell at market
ENDIF

// VENTE
cv1 = close < MM200
cv2 = RSI2 > 95

IF cv1 and cv2 THEN
 SELLSHORT n shares at market
ENDIF

// SORTIE VENTE
IF close < MM5 THEN
 exitshort at market
ENDIF

 

Download
Filename: RSI-2P.itf
Downloads: 343
Doctrading
Doctrading Master
Hello, I'm Marc. Nice to meet you.
Author’s Profile

Comments

Philip Raphael
10 years ago
#

It is incredible! Thanks for sharing, Doctrading!

zilliq
10 years ago
#

The reasons why I think it's time consuming and we loose time to try to do backests and Automatic trading / robots with the actual version of PRT:

http://www.prorealcode.com/topic/liste-au-pere-noel-pour-la-v10-4/

I hope the 10.4 version will be much better than the actual

Bye

zilliq
10 years ago
#

Hi,

Thanks for your works

Sadly, as always, without Walk Forward system, sadly it means nothing

As you said, it was generally unprofitable until you "optimize" somes variables

Personnaly, I stopped doing backtestsand even automatic trading with this actual poor system of PRT with all the defaults with speak before

Have a nice day

Zilliq

filiprb
10 years ago
#

Hello Zilliq,

You don't need a system to produce a walk forward test. You can easily create one with help from Excel. Just optimize the "in sample" period and test it on the "out of sample" period and copy the results into Excel were you have created a curve builder. Just as effective in the end as if a system would do for you. It takes some time though. 

ProRealCode ProRealCode
Loading...