bollinger bounds
This commit is contained in:
parent
21b4dfddc9
commit
bc2b51077b
4 changed files with 189 additions and 27 deletions
|
|
@ -5,3 +5,9 @@ type ValueProvider interface {
|
|||
Len() int
|
||||
GetValue(index int) (float64, float64)
|
||||
}
|
||||
|
||||
// BoundedValueProvider allows series to return a range.
|
||||
type BoundedValueProvider interface {
|
||||
Len() int
|
||||
GetBoundedValue(index int) (x, y1, y2 float64)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue