Historic Vol 6/100 day ratio

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #206868 quote
    Alfy
    Participant
    Average

    Good morning guys, i am looking to create a ratio of the 6 day Historical vol/100 day historical vol. On PRT historical vol exists but doesnt allow a ratio. Can anyone help with the code? Thanks in advance

    Best regards

    #206877 quote
    JS
    Participant
    Senior

    Hi @Alfy

    Do you mean something like this…

     

     

    xHV6=HistoricVolatility[6](close)
    xHV100=HistoricVolatility[100](close)
    xHVRatio=xHV6/xHV100
    Return xHVRatio
    
    Alfy and robertogozzi thanked this post
    #206884 quote
    Alfy
    Participant
    Average

    Thats exactly what i was looking for! Thanks so much for your help

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

Historic Vol 6/100 day ratio


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
Alfy @alfy Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by Alfy
3 years, 1 month ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 01/06/2023
Status: Active
Attachments: 1 files
Logo Logo
Loading...