use calculate_adx;
use cratecheck_window_size;
use *;
/// Calculates the Average Directional Movement Index Rating (ADXR)
///
/// # Arguments
///
/// * `df` - DataFrame containing the price data with high, low, close columns
/// * `window` - Window size for ADX calculation (typically 14)
///
/// # Returns
///
/// Returns a PolarsResult containing the ADXR Series (average of current ADX and ADX from "window" periods ago)