Skip to main content

adx

Function adx 

Source
pub fn adx(period: usize) -> AdxRef
Expand description

Create an Average Directional Index reference.

§Example

use finance_query::backtesting::refs::*;

// Strong trend filter
let strong_trend = adx(14).above(25.0);