Class: Quant::Indicators::MamaPoint
- Inherits:
-
IndicatorPoint
- Object
- IndicatorPoint
- Quant::Indicators::MamaPoint
- Defined in:
- lib/quant/indicators/mama.rb
Instance Attribute Summary
Attributes inherited from IndicatorPoint
Instance Method Summary collapse
Methods inherited from IndicatorPoint
#initialize, #initialize_data_points, #oc2
Methods included from Attributes
deregister, included, register, registry
Constructor Details
This class inherits a constructor from Quant::Indicators::IndicatorPoint
Instance Method Details
#crossed_down? ⇒ Boolean
33 34 35 |
# File 'lib/quant/indicators/mama.rb', line 33 def crossed_down? @crossed == :down end |
#crossed_up? ⇒ Boolean
29 30 31 |
# File 'lib/quant/indicators/mama.rb', line 29 def crossed_up? @crossed == :up end |