Class: Finexclub::Signals::Zeta

Inherits:
Finexclub::Signal show all
Defined in:
lib/finexclub/signals/zeta.rb

Instance Attribute Summary

Attributes inherited from Finexclub::Signal

#core

Instance Method Summary collapse

Methods inherited from Finexclub::Signal

build, handler_for, #initialize

Methods included from Document

included

Constructor Details

This class inherits a constructor from Finexclub::Signal

Instance Method Details

#down_channel?Boolean

Returns:

  • (Boolean)


21
22
23
# File 'lib/finexclub/signals/zeta.rb', line 21

def down_channel?
  down_support != 0 && down_resist != 0
end

#up_channel?Boolean

Returns:

  • (Boolean)


17
18
19
# File 'lib/finexclub/signals/zeta.rb', line 17

def up_channel?
  up_support != 0 && up_resist != 0
end