I know the indicator ATR exists and that is decent, but I'm also curious to find a way to program volatility, which I would define as the standard deviation of the log differences (close to close generally) over a user defined number of periods.
Thanks!
Comment