|
Description |
This formula approximates volatility using the following expression:
|
|
|
Formula |
VolatilityEx(instrument)=begin targetBar = 0 thisHigh = GetPrice(instrument, BATE_HIGH, targetBar, 0) thisLow = GetPrice(instrument, BATE_LOW, targetBar, 0) retval = Percentage((Diff(thisHigh, thisLow)), thisLow) retval end |
|
|
Parameters |
instrument An instrument. |
|
|
Return Value |
A volatility value. |
|
|
Examples |
SimpleVolatility(SERIES)=begin retval = VolatilityEx($1) end |
|
|
Comments |
NA |
©2008 Aspen Research Group, Ltd. All rights reserved. Terms of Use.