Method: Quant::Indicators::Mama#compute_dominant_cycle_phase

Defined in:
lib/quant/indicators/mama.rb

#compute_dominant_cycle_phaseObject



109
110
111
112
# File 'lib/quant/indicators/mama.rb', line 109

def compute_dominant_cycle_phase
  p0.delta_phase = p1.phase - p0.phase
  p0.delta_phase = 1.0 if p0.delta_phase < 1.0
end