example

package
v0.12.6 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2023 License: MIT Imports: 4 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BasicEma

func BasicEma() techan.Indicator

BasicEma is an example of how to create a basic Exponential moving average indicator based on the close prices of a timeseries from your exchange of choice.

func StrategyExample

func StrategyExample()

StrategyExample shows how to create a simple trading strategy. In this example, a position should be opened if the price moves above 70, and the position should be closed if a position moves below 30.

Types

This section is empty.

Jump to

Keyboard shortcuts

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