Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Historical Volatility (Any Time Period)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Historical Volatility (Any Time Period)

    This is a historical vol indicator of any time period (minute, day, month, week). It will for example calculate the historic volatility for the last 9 1 minute bars if used in a 1 minute chart with HistVolAny(9). Whatever you like. Not usable in tick/range/volume charts due to indeterminate length of time for the bar sample. (actual time length is needed to calculate annualized rates)

    Usage is as simple as HistVolAny(numberofbars)[0].

    The other histvol indicator only lets you find x day (session) moving historical volatility while in a minute or smaller timeframe.

    You may of course combine the use of the two, but this one gives a more accurate (and volatile) measure of HV possibly in a very short time period. (Fascinating and useful to know the practically instantaneous HV when entering a trade) In some ways this result could be correlated to bollinger band sizes as a percentage of the instrument.
    Attached Files
    Last edited by scriabinop23; 02-02-2008, 01:08 PM.

    #2
    indicator HV

    I got an error message when I tried to import what am I doing wrong?

    Comment


      #3
      Originally posted by ninjablanks View Post
      I got an error message when I tried to import what am I doing wrong?
      I programmed these using NT 6.508. Is it possible you are using 6.0?
      I checked it on NT 6.0, and you need to comment out the range bars line (line 61) like this to import it successfully (it does work):

      // ||(Bars.Period.Id == PeriodType.Range)


      Last edited by scriabinop23; 02-04-2008, 10:02 PM.

      Comment


        #4
        Originally posted by scriabinop23 View Post
        This is a historical vol indicator of any time period (minute, day, month, week). It will for example calculate the historic volatility for the last 9 1 minute bars if used in a 1 minute chart with HistVolAny(9). Whatever you like. Not usable in tick/range/volume charts due to indeterminate length of time for the bar sample. (actual time length is needed to calculate annualized rates)

        Usage is as simple as HistVolAny(numberofbars)[0].

        The other histvol indicator only lets you find x day (session) moving historical volatility while in a minute or smaller timeframe.

        You may of course combine the use of the two, but this one gives a more accurate (and volatile) measure of HV possibly in a very short time period. (Fascinating and useful to know the practically instantaneous HV when entering a trade) In some ways this result could be correlated to bollinger band sizes as a percentage of the instrument.
        Hi .

        I tried using you HistVolAny indicator. It returns the value 0 all the time. This is how I use it :
        EMA_offset=HistVolAny(EMA_period)[0];

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by rhyminkevin, Today, 04:58 PM
        3 responses
        48 views
        0 likes
        Last Post Anfedport  
        Started by iceman2018, Today, 05:07 PM
        0 responses
        5 views
        0 likes
        Last Post iceman2018  
        Started by lightsun47, Today, 03:51 PM
        0 responses
        7 views
        0 likes
        Last Post lightsun47  
        Started by 00nevest, Today, 02:27 PM
        1 response
        14 views
        0 likes
        Last Post 00nevest  
        Started by futtrader, 04-21-2024, 01:50 AM
        4 responses
        50 views
        0 likes
        Last Post futtrader  
        Working...
        X