Differenza rendimenti e volatilità storica

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #53877 quote
    aletrader987aletrader987
    Participant
    Junior

    Buonasera a tutti. Volevo sapere se era possibile avere un indicatore che creasse la differenza tra due  indicatori. Mi piacerebbe sapere, se è possibile, sottrarre il Price rate of change dalla volatilità storica. In modo da avere un rapporto tra rendimenti e volatilità. Così da sapere che se un mercato rende il 2% con una volatilità( quindi un rischio) inferiore al 2% conviene stare long, viceversa uscirne. 

    Ringrazio chiunque sappia indicarmi qualcosa.

    #53902 quote
    maximus78maximus78
    Participant
    Senior
    a=HistoricVolatility[X](close)
    b=ROC[X](close)
    c=a-b
    return c as "ratio", 0

    Ciao, devi impostare un indicatore in questo modo, con X come variabile in modo da settare il periodo a tuo piacimento.

    Massimo

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

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

Differenza rendimenti e volatilità storica


ProBuilder: Indicatori & Strumenti Personalizzati

New Reply
Author
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by maximus78maximus78
8 years, 10 months ago.

Topic Details
Forum: ProBuilder: Indicatori & Strumenti Personalizzati
Language: Italian
Started: 11/24/2017
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...