Class: Quant::Indicators::MaPoint
- Inherits:
-
IndicatorPoint
- Object
- IndicatorPoint
- Quant::Indicators::MaPoint
- Defined in:
- lib/quant/indicators/ma.rb
Instance Attribute Summary collapse
-
#ema ⇒ Object
Returns the value of attribute ema.
-
#osc ⇒ Object
Returns the value of attribute osc.
-
#ss ⇒ Object
Returns the value of attribute ss.
Attributes inherited from IndicatorPoint
Instance Method Summary collapse
Methods inherited from IndicatorPoint
Methods included from Attributes
deregister, included, register, registry
Constructor Details
This class inherits a constructor from Quant::Indicators::IndicatorPoint
Instance Attribute Details
#ema ⇒ Object
Returns the value of attribute ema.
8 9 10 |
# File 'lib/quant/indicators/ma.rb', line 8 def ema @ema end |
#osc ⇒ Object
Returns the value of attribute osc.
8 9 10 |
# File 'lib/quant/indicators/ma.rb', line 8 def osc @osc end |
#ss ⇒ Object
Returns the value of attribute ss.
8 9 10 |
# File 'lib/quant/indicators/ma.rb', line 8 def ss @ss end |
Instance Method Details
#initialize_data_points ⇒ Object
10 11 12 13 14 |
# File 'lib/quant/indicators/ma.rb', line 10 def initialize_data_points @ss = input @ema = input @osc = nil end |