Draw value to "sharpe" indicator

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #97711 quote
    Abz
    Participant
    Veteran

    Hello,

     

    how can i draw the  sharp value on every 7th candestick

     

     

    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)
    
    return sharpe as "ratio"
    #98123 quote
    Nicolas
    Keymaster
    Master

    You want to draw the value as text? And where? On in the price chart or directly in the indicator window?

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Draw value to "sharpe" indicator


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
Abz @abbas_sadiq Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by Nicolas
6 years, 9 months ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 05/05/2019
Status: Active
Attachments: No files
Logo Logo
Loading...