Definition
Constant-maturity ATM implied volatility divided by annualized close-to-close realized volatility (HV) over hvWindow trading days. Values > 1 mean options are pricing more vol than recently realized.
Parameters
Asset, HV lookback days (default 20)
Output range: > 0
Example condition
`IVHVRatio(AAPL, 20) > 1.2` (implied vol > 20% richer than 20-day realized)Usage notes
Classic premium-selling filter: require IV/HV elevated before short strangles / iron condors.
Use in a strategy
Add this indicator to a strategy condition, choose its supported parameters and compare the output with the threshold required by your rule. Preserve the same interval and lookback when comparing backtests.
After saving the condition, inspect its asset, interval, lookback and comparison operator against the parameters above. If no trades occur, check whether the condition ever became true and whether the requested input data exists for that period. A missing input is not a zero-valued signal. An indicator produces an input to a rule. It does not establish future returns, and data availability can differ across assets and periods.