Skip to main content

indicator_phase

Function indicator_phase 

pub fn indicator_phase(epoch: Instant, now: Instant, period: Duration) -> f64
Expand description

Where in a loop period long an indicator stands at now, 0..1, taken at the start of the step now falls in.