gabri

Modified Sharpe index screener

Category: Screeners By: gabri Created: September 13, 2017, 11:15 AM
September 13, 2017, 11:15 AM
Screeners
15 Comments
Modified Sharpe index screener

This screener uses a modified Sharpe index to identify stocks with a strong momentum. The rules are as follows:

1. screen the markets and select the strongest 20-30 stocks (the first stocks on the screener are the strongest)
2. buy those stocks position-sizing them based on the Yhang-Zhan variation of Garman-Klass volatility (indicator I posted previously) :
3. after 3 months run the same procedure and get rid of the stocks that are out of the first tier of the list and get the new entries

OR

3. hold the stocks for 1 year and then sell.

I’ve been using this portfolio for 6 years now and the average gain of the folio was excellent for me. You can improve the profit by buying at the SMA60 point.

Blue skies!!

//computation of return and volatility on annual bases
periodo=254
RitMensNoRiskTitle=0
a=log(close/close[1])
b=summation[periodo](a)
s=sqrt(254)*std[periodo](a)

//computation of modified Sharpe index
sharpe=(b-RitMensNoRiskTitle/100)/(s*s)

//launch of screener

c1 = (sharpe > 0)


SCREENER[c1] (sharpe AS "SHARPE index")

Download
Filename: Mio-sharpe-PRT.itf
Downloads: 269
Download
Filename: sharpe-15052918214cpl8.png
Downloads: 133
gabri
gabri Master
This author is like an anonymous function, present but not directly identifiable. More details on this code architect as soon as they exit 'incognito' mode.
Author’s Profile

Comments

gandolfi
6 years ago
#

thanks for your screener. Do you have the code for original Sharp ratio in order to compare ? Do you have the same thing for Sortino ratio ?

gildaslm
6 years ago
#

Hi gabri, thanks very much for your work, it helps me a lot. Have you ever tried to make the same thing with the sortino ratio ?

guillermus69
8 years ago
#

is this " a= log(close/close[1])" better than a = ((close/close[1]) -1) *100 . I want to capture the daily returns in % ?¿?¿?¿?¿?

Alex975
9 years ago
#

Grazie della dritta.. testerò il tutto.

gabri
9 years ago
#

Grazie, con ETF to consiglio anche uno screener basato su questa strategia https://www.prorealcode.com/prorealtime-trading-strategies/price-index-6-months/ . Il price index a 6 mesi e molto efficace, secondo me, con ETF.

Alex975
9 years ago
#

Complimenti Gabri era da un po' che volevo provare a far un screener ed una metodologia come descrivi tu per periodi più lunghi ed holdare i titoli.. pensavo più su un paniere di etfs. Thanks Garbri, I was thinking about this kind selection methodology for some time. Ale

gabri
9 years ago
#

It works when I launch it. Try to change the last row as follow: SCREENER[c1 AND c2 AND c3] ( c3 as "ref")

haseluis
9 years ago
#

Hello, who can help me why the screener does not work // Der folgende Code bezieht sich auf den Zeitraum:daily TIMEFRAME(daily) indicator1 = SuperTrend[2.5,10] c1 = (close > indicator1) // Der folgende Code bezieht sich auf den Zeitraum:1 hour TIMEFRAME(1 hour) indicator2 = SuperTrend[2.5,10] c2 = (close > indicator2) // Der folgende Code bezieht sich auf den Zeitraum:15 minutes TIMEFRAME(15 minutes) indicator3 = SuperTrend[2.5,10] c3 = (close > indicator3) SCREENER[c1 AND c2 AND c3]

gabri
9 years ago
#

I would need way more than that for being a found manager :)

juanj
9 years ago
#

@Gabri with an ROI track record like that you should be a fund manager :)

gabri
9 years ago
#

juanj, I just read back my post....I made cagr of approx 13% in the last 13 years... sorry :) now I understand why you mentioned the fund manager :) sorry.

juanj
9 years ago
#

@Gabri, what average yearly return % have you been able to manage using this approach?

gabri
9 years ago
#

juanj, I used this system for the last 13 years approximately and I got a Compound annual growth rate (CAGR) of approximately 23%. Using also some fundamentals you can get more though.

Nicolas
9 years ago
#

What a nice addition to our library gabri! Thanks a lot, should help a lot of people.

gabri
9 years ago
#

Thanks!!

ProRealCode ProRealCode
Loading...