Modified SHARPE index

If you need an Indicator or Signal developed or translated from other language, please post all Indicator development REQUESTS to this section here.

Moderator: admin

Modified SHARPE index

Postby isamegrelo » Thu Jul 19, 2018 5:35 pm

This is code:


RitMensNoRiskTitle=0
a=log(close/close[1])
b=summation[periodo](a)
s=sqrt(254)*std[periodo](a)

//calcolo indice di sharpe
sharpe=(b-RitMensNoRiskTitle/100)/(s*s)


return sharpe as "SHARPE index",0
isamegrelo
FXCodeBase: Initiate
 
Posts: 114
Joined: Mon May 29, 2017 3:36 pm



Return to Indicator and Signal Requests

Who is online

Users browsing this forum: Bing [Bot] and 27 guests