Volatility Ratio

Description
Volatility Ratio NinjaTrader 8 indicator aims to find volatility spikes in the market. To do this it compares two ranges of movement. It calculates the ratio of the range of the last selected number of bars (Fast) with the range of the baseline number of bars (Slow).
You can also use this indicator as a filter, to see if your strategy is performing better when the ratio is within a certain range.
Parameters
Slow(int): Number of bars used in the calculation of the baseline range.
Fast(int): Number of bars used in the calculation of the last range.
Plots
Value (double): value between 0 and 1.
