Class: Quant::Indicators::MesaPoint
- Inherits:
-
IndicatorPoint
- Object
- IndicatorPoint
- Quant::Indicators::MesaPoint
- Defined in:
- lib/quant/indicators/mesa.rb
Overview
The MESA inidicator
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
20 21 22 |
# File 'lib/quant/indicators/mesa.rb', line 20 def crossed_down? @crossed == :down end |
#crossed_up? ⇒ Boolean
16 17 18 |
# File 'lib/quant/indicators/mesa.rb', line 16 def crossed_up? @crossed == :up end |