strategies

package
v0.0.0-...-0c7f176 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 21, 2014 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DownOnce

func DownOnce(all []bands.Band) bool

invest if on the last 20 days close price passes at least once under lower band

func MoreDown

func MoreDown(all []bands.Band) bool

invest if on the last 20 days the number of times close price passes under the lower band is greater than the number of times close price passes over the uppper band

func MoreUp

func MoreUp(all []bands.Band) bool

invest if on the last 20 days the number of times close price passes over the uppper band is greater than the number of times close price passes under the lower band

func UpOnce

func UpOnce(all []bands.Band) bool

invest if on the last 20 days close price passes at least once over upper band

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL