Documentation ¶
Index ¶
- func Acos(real []float64) []float64
- func Ad(high, low, close, volume []float64) []float64
- func AdOsc(high, low, close, volume []float64, fastPeriod, slowPeriod int32) []float64
- func Add(real0, real1 []float64) []float64
- func Adx(high, low, close []float64, timePeriod int32) []float64
- func Adxr(high, low, close []float64, timePeriod int32) []float64
- func Apo(real []float64, fastPeriod, slowPeriod, mAType int32) []float64
- func AroOn(high, low []float64, timePeriod int32) ([]float64, []float64)
- func AroOnOsc(high, low []float64, timePeriod int32) []float64
- func Asin(real []float64) []float64
- func Atan(real []float64) []float64
- func Atr(high, low, close []float64, timePeriod int32) []float64
- func AvgPrice(open, high, low, close []float64) []float64
- func BBands(real []float64, timePeriod int32, nbDevUp, nbDevDn float64, mAType int32) ([]float64, []float64, []float64)
- func Beta(real0, real1 []float64, timePeriod int32) []float64
- func Bop(open, high, low, close []float64) []float64
- func Cci(high, low, close []float64, timePeriod int32) []float64
- func Cdl2Crows(open, high, low, close []float64) []int32
- func Cdl3BlackCrows(open, high, low, close []float64) []int32
- func Cdl3Inside(open, high, low, close []float64) []int32
- func Cdl3LineStrike(open, high, low, close []float64) []int32
- func Cdl3Outside(open, high, low, close []float64) []int32
- func Cdl3StarsinSouth(open, high, low, close []float64) []int32
- func Cdl3WhiteSoldiers(open, high, low, close []float64) []int32
- func CdlAbandonedBaby(open, high, low, close []float64, penetration float64) []int32
- func CdlAdvanceBlock(open, high, low, close []float64) []int32
- func CdlBelthold(open, high, low, close []float64) []int32
- func CdlBreakaway(open, high, low, close []float64) []int32
- func CdlClosingMarubozu(open, high, low, close []float64) []int32
- func CdlConcealBabySwall(open, high, low, close []float64) []int32
- func CdlCounterattack(open, high, low, close []float64) []int32
- func CdlDarkCloudCover(open, high, low, close []float64, penetration float64) []int32
- func CdlDoji(open, high, low, close []float64) []int32
- func CdlDojiStar(open, high, low, close []float64) []int32
- func CdlDragonflyDoji(open, high, low, close []float64) []int32
- func CdlEngulfing(open, high, low, close []float64) []int32
- func CdlEveningDojiStar(open, high, low, close []float64, penetration float64) []int32
- func CdlEveningStar(open, high, low, close []float64, penetration float64) []int32
- func CdlGapSidesideWhite(open, high, low, close []float64) []int32
- func CdlGravestoneDoji(open, high, low, close []float64) []int32
- func CdlHammer(open, high, low, close []float64) []int32
- func CdlHangingMan(open, high, low, close []float64) []int32
- func CdlHarami(open, high, low, close []float64) []int32
- func CdlHaramiCross(open, high, low, close []float64) []int32
- func CdlHighWave(open, high, low, close []float64) []int32
- func CdlHikkake(open, high, low, close []float64) []int32
- func CdlHikkakeMod(open, high, low, close []float64) []int32
- func CdlHomingPigeon(open, high, low, close []float64) []int32
- func CdlIdentical3Crows(open, high, low, close []float64) []int32
- func CdlInNeck(open, high, low, close []float64) []int32
- func CdlInvertedHammer(open, high, low, close []float64) []int32
- func CdlKicking(open, high, low, close []float64) []int32
- func CdlKickingByLength(open, high, low, close []float64) []int32
- func CdlLadderBottom(open, high, low, close []float64) []int32
- func CdlLongLeggedDoji(open, high, low, close []float64) []int32
- func CdlLongLine(open, high, low, close []float64) []int32
- func CdlMarubozu(open, high, low, close []float64) []int32
- func CdlMatHold(open, high, low, close []float64, penetration float64) []int32
- func CdlMatchingLow(open, high, low, close []float64) []int32
- func CdlMorningDojiStar(open, high, low, close []float64, penetration float64) []int32
- func CdlMorningStar(open, high, low, close []float64, penetration float64) []int32
- func CdlOnNeck(open, high, low, close []float64) []int32
- func CdlPiercing(open, high, low, close []float64) []int32
- func CdlRickshawMan(open, high, low, close []float64) []int32
- func CdlRiseFall3Methods(open, high, low, close []float64) []int32
- func CdlSeparatingLines(open, high, low, close []float64) []int32
- func CdlShootingStar(open, high, low, close []float64) []int32
- func CdlShortLine(open, high, low, close []float64) []int32
- func CdlSpinningTop(open, high, low, close []float64) []int32
- func CdlStalledPattern(open, high, low, close []float64) []int32
- func CdlStickSandwich(open, high, low, close []float64) []int32
- func CdlTakuri(open, high, low, close []float64) []int32
- func CdlTasukiGap(open, high, low, close []float64) []int32
- func CdlThrusting(open, high, low, close []float64) []int32
- func CdlTristar(open, high, low, close []float64) []int32
- func CdlUnique3River(open, high, low, close []float64) []int32
- func CdlUpsideGap2Crows(open, high, low, close []float64) []int32
- func CdlxSideGap3Methods(open, high, low, close []float64) []int32
- func Ceil(real []float64) []float64
- func Cmo(real []float64, timePeriod int32) []float64
- func Correl(real0, real1 []float64, timePeriod int32) []float64
- func Cos(real []float64) []float64
- func Cosh(real []float64) []float64
- func Dema(real []float64, timePeriod int32) []float64
- func Div(real0, real1 []float64) []float64
- func Dx(high, low, close []float64, timePeriod int32) []float64
- func Ema(real []float64, timePeriod int32) []float64
- func Exp(real []float64) []float64
- func Floor(real []float64) []float64
- func HtDcPeriod(real []float64) []float64
- func HtDcPhase(real []float64) []float64
- func HtPhasor(real []float64) ([]float64, []float64)
- func HtSine(real []float64) ([]float64, []float64)
- func HtTrendLine(real []float64) []float64
- func HtTrendMode(real []float64) []int32
- func Kama(real []float64, timePeriod int32) []float64
- func LinearReg(real []float64, timePeriod int32) []float64
- func LinearRegAngle(real []float64, timePeriod int32) []float64
- func LinearRegIntercept(real []float64, timePeriod int32) []float64
- func LinearRegSlope(real []float64, timePeriod int32) []float64
- func Ln(real []float64) []float64
- func Log10(real []float64) []float64
- func Ma(real []float64, timePeriod, mAType int32) []float64
- func Macd(real []float64, fastPeriod, slowPeriod, signalPeriod int32) ([]float64, []float64, []float64)
- func MacdExt(real []float64, ...) ([]float64, []float64, []float64)
- func MacdFix(real []float64, signalPeriod int32) ([]float64, []float64, []float64)
- func Mama(real []float64, fastLimit, slowLimit float64) ([]float64, []float64)
- func Mavp(real, periods []float64, minPeriod, maxPeriod, mAType int32) []float64
- func Max(real []float64, timePeriod int32) []float64
- func MaxIndex(real []float64, timePeriod int32) []int32
- func MedPrice(high, low []float64) []float64
- func Mfi(high, low, close, volume []float64, timePeriod int32) []float64
- func MidPoint(real []float64, timePeriod int32) []float64
- func MidPrice(high, low []float64, timePeriod int32) []float64
- func Min(real []float64, timePeriod int32) []float64
- func MinIndex(real []float64, timePeriod int32) []int32
- func MinMax(real []float64, timePeriod int32) ([]float64, []float64)
- func MinMaxIndex(real []float64, timePeriod int32) ([]int32, []int32)
- func MinusDi(high, low, close []float64, timePeriod int32) []float64
- func MinusDm(high, low []float64, timePeriod int32) []float64
- func Mom(real []float64, timePeriod int32) []float64
- func Mult(real0, real1 []float64) []float64
- func Natr(high, low, close []float64, timePeriod int32) []float64
- func Obv(real, volume []float64) []float64
- func PlusDi(high, low, close []float64, timePeriod int32) []float64
- func PlusDm(high, low []float64, timePeriod int32) []float64
- func Ppo(real []float64, fastPeriod, slowPeriod, mAType int32) []float64
- func Roc(real []float64, timePeriod int32) []float64
- func Rocp(real []float64, timePeriod int32) []float64
- func Rocr(real []float64, timePeriod int32) []float64
- func Rocr100(real []float64, timePeriod int32) []float64
- func Rsi(real []float64, timePeriod int32) []float64
- func Sar(high, low []float64, acceleration, maximum float64) []float64
- func SarExt(high, low []float64, ...) []float64
- func Sin(real []float64) []float64
- func Sinh(real []float64) []float64
- func Sma(real []float64, timePeriod int32) []float64
- func Sqrt(real []float64) []float64
- func StdDev(real []float64, timePeriod int32, nbDev float64) []float64
- func Stoch(high, low, close []float64, ...) ([]float64, []float64)
- func StochRsi(real []float64, timePeriod, fastKPeriod, fastDPeriod, fastDMAType int32) ([]float64, []float64)
- func Stochf(high, low, close []float64, fastKPeriod, fastDPeriod, fastDMAType int32) ([]float64, []float64)
- func Sub(real0, real1 []float64) []float64
- func Sum(real []float64, timePeriod int32) []float64
- func T3(real []float64, timePeriod int32, vFactor float64) []float64
- func Tan(real []float64) []float64
- func Tanh(real []float64) []float64
- func Tema(real []float64, timePeriod int32) []float64
- func Trange(high, low, close []float64) []float64
- func TriMa(real []float64, timePeriod int32) []float64
- func Trix(real []float64, timePeriod int32) []float64
- func Tsf(real []float64, timePeriod int32) []float64
- func TypPrice(high, low, close []float64) []float64
- func UltOsc(high, low, close []float64, timePeriod1, timePeriod2, timePeriod3 int32) []float64
- func Var(real []float64, timePeriod int32, nbDev float64) []float64
- func WclPrice(high, low, close []float64) []float64
- func Willr(high, low, close []float64, timePeriod int32) []float64
- func Wma(real []float64, timePeriod int32) []float64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AdOsc ¶
AdOsc - Chaikin A/D Oscillator
Input = High, Low, Close, Volume
Output = double
Optional Parameters ¶
-------------------
optInFastPeriod:(From 2 to 100000)
Number of period for the fast MA ¶
optInSlowPeriod:(From 2 to 100000)
Number of period for the slow MA
func Adx ¶
Adx - Average Directional Movement Index
Input = High, Low, Close
Output = double
Optional Parameters ¶
-------------------
optInTimePeriod:(From 2 to 100000)
Number of period
func Adxr ¶
Adxr - Average Directional Movement Index Rating
Input = High, Low, Close
Output = double
Optional Parameters ¶
-------------------
optInTimePeriod:(From 2 to 100000)
Number of period
func Apo ¶
Apo - Absolute Price Oscillator
Input = double
Output = double
Optional Parameters ¶
-------------------
optInFastPeriod:(From 2 to 100000)
Number of period for the fast MA ¶
optInSlowPeriod:(From 2 to 100000)
Number of period for the slow MA ¶
optInMAType:
Type of Moving Average
func AroOn ¶
AroOn - Aroon
Input = High, Low
Output = double, double
Optional Parameters ¶
-------------------
optInTimePeriod:(From 2 to 100000)
Number of period
func AroOnOsc ¶
AroOnOsc - Aroon Oscillator
Input = High, Low
Output = double
Optional Parameters ¶
-------------------
optInTimePeriod:(From 2 to 100000)
Number of period
func Atr ¶
Atr - Average True Range
Input = High, Low, Close
Output = double
Optional Parameters ¶
-------------------
optInTimePeriod:(From 1 to 100000)
Number of period
func BBands ¶
func BBands(real []float64, timePeriod int32, nbDevUp, nbDevDn float64, mAType int32) ([]float64, []float64, []float64)
BBands - Bollinger Bands
Input = double
Output = double, double, double
Optional Parameters ¶
-------------------
optInTimePeriod:(From 2 to 100000)
Number of period ¶
optInNbDevUp:(From TA_REAL_MIN to TA_REAL_MAX)
Deviation multiplier for upper band ¶
optInNbDevDn:(From TA_REAL_MIN to TA_REAL_MAX)
Deviation multiplier for lower band ¶
optInMAType:
Type of Moving Average
func Beta ¶
Beta - Beta
Input = double, double
Output = double
Optional Parameters ¶
-------------------
optInTimePeriod:(From 1 to 100000)
Number of period
func Cci ¶
Cci - Commodity Channel Index
Input = High, Low, Close
Output = double
Optional Parameters ¶
-------------------
optInTimePeriod:(From 2 to 100000)
Number of period
func Cdl3BlackCrows ¶
Cdl3BlackCrows - Three Black Crows
Input = Open, High, Low, Close
Output = int
func Cdl3LineStrike ¶
Cdl3LineStrike - Three-Line Strike
Input = Open, High, Low, Close
Output = int
func Cdl3StarsinSouth ¶
Cdl3StarsinSouth - Three Stars In The South
Input = Open, High, Low, Close
Output = int
func Cdl3WhiteSoldiers ¶
Cdl3WhiteSoldiers - Three Advancing White Soldiers
Input = Open, High, Low, Close
Output = int
func CdlAbandonedBaby ¶
CdlAbandonedBaby - Abandoned Baby
Input = Open, High, Low, Close
Output = int
Optional Parameters ¶
-------------------
optInPenetration:(From 0 to TA_REAL_MAX)
Percentage of penetration of a candle within another candle
func CdlClosingMarubozu ¶
CdlClosingMarubozu - Closing Marubozu
Input = Open, High, Low, Close
Output = int
func CdlConcealBabySwall ¶
CdlConcealBabySwall - Concealing Baby Swallow
Input = Open, High, Low, Close
Output = int
func CdlCounterattack ¶
CdlCounterattack - Counterattack
Input = Open, High, Low, Close
Output = int
func CdlDarkCloudCover ¶
CdlDarkCloudCover - Dark Cloud Cover
Input = Open, High, Low, Close
Output = int
Optional Parameters ¶
-------------------
optInPenetration:(From 0 to TA_REAL_MAX)
Percentage of penetration of a candle within another candle
func CdlDragonflyDoji ¶
CdlDragonflyDoji - Dragonfly Doji
Input = Open, High, Low, Close
Output = int
func CdlEveningDojiStar ¶
CdlEveningDojiStar - Evening Doji Star
Input = Open, High, Low, Close
Output = int
Optional Parameters ¶
-------------------
optInPenetration:(From 0 to TA_REAL_MAX)
Percentage of penetration of a candle within another candle
func CdlEveningStar ¶
CdlEveningStar - Evening Star
Input = Open, High, Low, Close
Output = int
Optional Parameters ¶
-------------------
optInPenetration:(From 0 to TA_REAL_MAX)
Percentage of penetration of a candle within another candle
func CdlGapSidesideWhite ¶
CdlGapSidesideWhite - Up/Down-gap side-by-side white lines
Input = Open, High, Low, Close
Output = int
func CdlGravestoneDoji ¶
CdlGravestoneDoji - Gravestone Doji
Input = Open, High, Low, Close
Output = int
func CdlHaramiCross ¶
CdlHaramiCross - Harami Cross Pattern
Input = Open, High, Low, Close
Output = int
func CdlHikkakeMod ¶
CdlHikkakeMod - Modified Hikkake Pattern
Input = Open, High, Low, Close
Output = int
func CdlIdentical3Crows ¶
CdlIdentical3Crows - Identical Three Crows
Input = Open, High, Low, Close
Output = int
func CdlInvertedHammer ¶
CdlInvertedHammer - Inverted Hammer
Input = Open, High, Low, Close
Output = int
func CdlKickingByLength ¶
CdlKickingByLength - Kicking - bull/bear determined by the longer marubozu
Input = Open, High, Low, Close
Output = int
func CdlLongLeggedDoji ¶
CdlLongLeggedDoji - Long Legged Doji
Input = Open, High, Low, Close
Output = int
func CdlMatHold ¶
CdlMatHold - Mat Hold
Input = Open, High, Low, Close
Output = int
Optional Parameters ¶
-------------------
optInPenetration:(From 0 to TA_REAL_MAX)
Percentage of penetration of a candle within another candle
func CdlMorningDojiStar ¶
CdlMorningDojiStar - Morning Doji Star
Input = Open, High, Low, Close
Output = int
Optional Parameters ¶
-------------------
optInPenetration:(From 0 to TA_REAL_MAX)
Percentage of penetration of a candle within another candle
func CdlMorningStar ¶
CdlMorningStar - Morning Star
Input = Open, High, Low, Close
Output = int
Optional Parameters ¶
-------------------
optInPenetration:(From 0 to TA_REAL_MAX)
Percentage of penetration of a candle within another candle
func CdlRiseFall3Methods ¶
CdlRiseFall3Methods - Rising/Falling Three Methods
Input = Open, High, Low, Close
Output = int
func CdlSeparatingLines ¶
CdlSeparatingLines - Separating Lines
Input = Open, High, Low, Close
Output = int
func CdlStalledPattern ¶
CdlStalledPattern - Stalled Pattern
Input = Open, High, Low, Close
Output = int
func CdlStickSandwich ¶
CdlStickSandwich - Stick Sandwich
Input = Open, High, Low, Close
Output = int
func CdlTakuri ¶
CdlTakuri - Takuri (Dragonfly Doji with very long lower shadow)
Input = Open, High, Low, Close
Output = int
func CdlUpsideGap2Crows ¶
CdlUpsideGap2Crows - Upside Gap Two Crows
Input = Open, High, Low, Close
Output = int
func CdlxSideGap3Methods ¶
CdlxSideGap3Methods - Upside/Downside Gap Three Methods
Input = Open, High, Low, Close
Output = int
func Cmo ¶
Cmo - Chande Momentum Oscillator
Input = double
Output = double
Optional Parameters ¶
-------------------
optInTimePeriod:(From 2 to 100000)
Number of period
func Correl ¶
Correl - Pearson's Correlation Coefficient (r)
Input = double, double
Output = double
Optional Parameters ¶
-------------------
optInTimePeriod:(From 1 to 100000)
Number of period
func Dema ¶
Dema - Double Exponential Moving Average
Input = double
Output = double
Optional Parameters ¶
-------------------
optInTimePeriod:(From 2 to 100000)
Number of period
func Dx ¶
Dx - Directional Movement Index
Input = High, Low, Close
Output = double
Optional Parameters ¶
-------------------
optInTimePeriod:(From 2 to 100000)
Number of period
func Ema ¶
Ema - Exponential Moving Average
Input = double
Output = double
Optional Parameters ¶
-------------------
optInTimePeriod:(From 2 to 100000)
Number of period
func HtDcPeriod ¶
HtDcPeriod - Hilbert Transform - Dominant Cycle Period
Input = double
Output = double
func HtDcPhase ¶
HtDcPhase - Hilbert Transform - Dominant Cycle Phase
Input = double
Output = double
func HtPhasor ¶
HtPhasor - Hilbert Transform - Phasor Components
Input = double
Output = double, double
func HtTrendLine ¶
HtTrendLine - Hilbert Transform - Instantaneous Trendline
Input = double
Output = double
func HtTrendMode ¶
HtTrendMode - Hilbert Transform - Trend vs Cycle Mode
Input = double
Output = int
func Kama ¶
Kama - Kaufman Adaptive Moving Average
Input = double
Output = double
Optional Parameters ¶
-------------------
optInTimePeriod:(From 2 to 100000)
Number of period
func LinearReg ¶
LinearReg - Linear Regression
Input = double
Output = double
Optional Parameters ¶
-------------------
optInTimePeriod:(From 2 to 100000)
Number of period
func LinearRegAngle ¶
LinearRegAngle - Linear Regression Angle
Input = double
Output = double
Optional Parameters ¶
-------------------
optInTimePeriod:(From 2 to 100000)
Number of period
func LinearRegIntercept ¶
LinearRegIntercept - Linear Regression Intercept
Input = double
Output = double
Optional Parameters ¶
-------------------
optInTimePeriod:(From 2 to 100000)
Number of period
func LinearRegSlope ¶
LinearRegSlope - Linear Regression Slope
Input = double
Output = double
Optional Parameters ¶
-------------------
optInTimePeriod:(From 2 to 100000)
Number of period
func Ma ¶
Ma - Moving average
Input = double
Output = double
Optional Parameters ¶
-------------------
optInTimePeriod:(From 1 to 100000)
Number of period ¶
optInMaType:
Type of Moving Average
func Macd ¶
func Macd(real []float64, fastPeriod, slowPeriod, signalPeriod int32) ([]float64, []float64, []float64)
Macd - Moving Average Convergence/Divergence
Input = double
Output = double, double, double
Optional Parameters ¶
-------------------
optInFastPeriod:(From 2 to 100000)
Number of period for the fast MA ¶
optInSlowPeriod:(From 2 to 100000)
Number of period for the slow MA ¶
optInSignalPeriod:(From 1 to 100000)
Smoothing for the signal line (nb of period)
func MacdExt ¶
func MacdExt(real []float64, fastPeriod, fastMAType, slowPeriod, slowMAType, signalPeriod, signalMAType int32) ([]float64, []float64, []float64)
MacdExt - MACD with controllable MA type
Input = double
Output = double, double, double
Optional Parameters ¶
-------------------
optInFastPeriod:(From 2 to 100000)
Number of period for the fast MA ¶
optInFastMAType:
Type of Moving Average for fast MA ¶
optInSlowPeriod:(From 2 to 100000)
Number of period for the slow MA ¶
optInSlowMAType:
Type of Moving Average for slow MA ¶
optInSignalPeriod:(From 1 to 100000)
Smoothing for the signal line (nb of period)
optInSignalMAType:
Type of Moving Average for signal line
func MacdFix ¶
MacdFix - Moving Average Convergence/Divergence Fix 12/26
Input = double
Output = double, double, double
Optional Parameters ¶
-------------------
optInSignalPeriod:(From 1 to 100000)
Smoothing for the signal line (nb of period)
func Mama ¶
Mama - MESA Adaptive Moving Average
Input = double
Output = double, double
Optional Parameters ¶
-------------------
optInFastLimit:(From 0.01 to 0.99)
Upper limit use in the adaptive algorithm ¶
optInSlowLimit:(From 0.01 to 0.99)
Lower limit use in the adaptive algorithm
func Mavp ¶
Mavp - Moving average with variable period
Input = double, double
Output = double
Optional Parameters ¶
-------------------
optInMinPeriod:(From 2 to 100000)
Value less than minimum will be changed to Minimum period ¶
optInMaxPeriod:(From 2 to 100000)
Value higher than maximum will be changed to Maximum period ¶
optInMAType:
Type of Moving Average
func Max ¶
Max - Highest value over a specified period
Input = double
Output = double
Optional Parameters ¶
-------------------
optInTimePeriod:(From 2 to 100000)
Number of period
func MaxIndex ¶
MaxIndex - Index of highest value over a specified period
Input = double
Output = int
Optional Parameters ¶
-------------------
optInTimePeriod:(From 2 to 100000)
Number of period
func Mfi ¶
Mfi - Money Flow Index
Input = High, Low, Close, Volume
Output = double
Optional Parameters ¶
-------------------
optInTimePeriod:(From 2 to 100000)
Number of period
func MidPoint ¶
MidPoint - MidPoint over period
Input = double
Output = double
Optional Parameters ¶
-------------------
optInTimePeriod:(From 2 to 100000)
Number of period
func MidPrice ¶
MidPrice - Midpoint Price over period
Input = High, Low
Output = double
Optional Parameters ¶
-------------------
optInTimePeriod:(From 2 to 100000)
Number of period
func Min ¶
Min - Lowest value over a specified period
Input = double
Output = double
Optional Parameters ¶
-------------------
optInTimePeriod:(From 2 to 100000)
Number of period
func MinIndex ¶
MinIndex - Index of lowest value over a specified period
Input = double
Output = int
Optional Parameters ¶
-------------------
optInTimePeriod:(From 2 to 100000)
Number of period
func MinMax ¶
MinMax - Lowest and highest values over a specified period
Input = double
Output = double, double
Optional Parameters ¶
-------------------
optInTimePeriod:(From 2 to 100000)
Number of period
func MinMaxIndex ¶
MinMaxIndex - Indexes of lowest and highest values over a specified period
Input = double
Output = int, int
Optional Parameters ¶
-------------------
optInTimePeriod:(From 2 to 100000)
Number of period
func MinusDi ¶
MinusDi - Minus Directional Indicator
Input = High, Low, Close
Output = double
Optional Parameters ¶
-------------------
optInTimePeriod:(From 1 to 100000)
Number of period
func MinusDm ¶
MinusDm - Minus Directional Movement
Input = High, Low
Output = double
Optional Parameters ¶
-------------------
optInTimePeriod:(From 1 to 100000)
Number of period
func Mom ¶
Mom - Momentum
Input = double
Output = double
Optional Parameters ¶
-------------------
optInTimePeriod:(From 1 to 100000)
Number of period
func Natr ¶
Natr - Normalized Average True Range
Input = High, Low, Close
Output = double
Optional Parameters ¶
-------------------
optInTimePeriod:(From 1 to 100000)
Number of period
func PlusDi ¶
PlusDi - Plus Directional Indicator
Input = High, Low, Close
Output = double
Optional Parameters ¶
-------------------
optInTimePeriod:(From 1 to 100000)
Number of period
func PlusDm ¶
PlusDm - Plus Directional Movement
Input = High, Low
Output = double
Optional Parameters ¶
-------------------
optInTimePeriod:(From 1 to 100000)
Number of period
func Ppo ¶
Ppo - Percentage Price Oscillator
Input = double
Output = double
Optional Parameters ¶
-------------------
optInFastPeriod:(From 2 to 100000)
Number of period for the fast MA ¶
optInSlowPeriod:(From 2 to 100000)
Number of period for the slow MA ¶
optInMAType:
Type of Moving Average
func Roc ¶
Roc - Rate of change : ((price/prevPrice)-1)*100
Input = double
Output = double
Optional Parameters ¶
-------------------
optInTimePeriod:(From 1 to 100000)
Number of period
func Rocp ¶
Rocp - Rate of change Percentage: (price-prevPrice)/prevPrice
Input = double
Output = double
Optional Parameters ¶
-------------------
optInTimePeriod:(From 1 to 100000)
Number of period
func Rocr ¶
Rocr - Rate of change ratio: (price/prevPrice)
Input = double
Output = double
Optional Parameters ¶
-------------------
optInTimePeriod:(From 1 to 100000)
Number of period
func Rocr100 ¶
Rocr100 - Rate of change ratio 100 scale: (price/prevPrice)*100
Input = double
Output = double
Optional Parameters ¶
-------------------
optInTimePeriod:(From 1 to 100000)
Number of period
func Rsi ¶
Rsi - Relative Strength Index
Input = double
Output = double
Optional Parameters ¶
-------------------
optInTimePeriod:(From 2 to 100000)
Number of period
func Sar ¶
Sar - Parabolic Sar
Input = High, Low
Output = double
Optional Parameters ¶
-------------------
optInAcceleration:(From 0 to TA_REAL_MAX)
Acceleration Factor used up to the Maximum value ¶
optInMaximum:(From 0 to TA_REAL_MAX)
Acceleration Factor Maximum value
func SarExt ¶
func SarExt(high, low []float64, startValue, offsetOnReverse, accelerationInitLong, accelerationLong, accelerationMaxLong, accelerationInitShort, accelerationShort, accelerationMaxShort float64) []float64
SarExt - Parabolic SAR - Extended
Input = High, Low
Output = double
Optional Parameters ¶
-------------------
optInStartValue:(From TA_REAL_MIN to TA_REAL_MAX)
Start value and direction. 0 for Auto, >0 for Long, <0 for Short
optInOffsetOnReverse:(From 0 to TA_REAL_MAX)
Percent offset added/removed to initial stop on short/long reversal
optInAccelerationInitLong:(From 0 to TA_REAL_MAX)
Acceleration Factor initial value for the Long direction ¶
optInAccelerationLong:(From 0 to TA_REAL_MAX)
Acceleration Factor for the Long direction ¶
optInAccelerationMaxLong:(From 0 to TA_REAL_MAX)
Acceleration Factor maximum value for the Long direction ¶
optInAccelerationInitShort:(From 0 to TA_REAL_MAX)
Acceleration Factor initial value for the Short direction ¶
optInAccelerationShort:(From 0 to TA_REAL_MAX)
Acceleration Factor for the Short direction ¶
optInAccelerationMaxShort:(From 0 to TA_REAL_MAX)
Acceleration Factor maximum value for the Short direction
func Sma ¶
Sma - Simple Moving Average
Input = double
Output = double
Optional Parameters ¶
-------------------
optInTimePeriod:(From 2 to 100000)
Number of period
func StdDev ¶
StdDev - Standard Deviation
Input = double
Output = double
Optional Parameters ¶
-------------------
optInTimePeriod:(From 2 to 100000)
Number of period ¶
optInNbDev:(From TA_REAL_MIN to TA_REAL_MAX)
Nb of deviations
func Stoch ¶
func Stoch(high, low, close []float64, fastKPeriod, slowKPeriod, slowKMAType, slowDPeriod, slowDMAType int32) ([]float64, []float64)
Stoch - Stochastic
Input = High, Low, Close
Output = double, double
Optional Parameters ¶
-------------------
optInFastK_Period:(From 1 to 100000)
Time period for building the Fast-K line ¶
optInSlowK_Period:(From 1 to 100000)
Smoothing for making the Slow-K line. Usually set to 3
optInSlowK_MAType:
Type of Moving Average for Slow-K ¶
optInSlowD_Period:(From 1 to 100000)
Smoothing for making the Slow-D line ¶
optInSlowD_MAType:
Type of Moving Average for Slow-D
func StochRsi ¶
func StochRsi(real []float64, timePeriod, fastKPeriod, fastDPeriod, fastDMAType int32) ([]float64, []float64)
StochRsi - Stochastic Relative Strength Index
Input = double
Output = double, double
Optional Parameters ¶
-------------------
optInTimePeriod:(From 2 to 100000)
Number of period ¶
optInFastK_Period:(From 1 to 100000)
Time period for building the Fast-K line ¶
optInFastD_Period:(From 1 to 100000)
Smoothing for making the Fast-D line. Usually set to 3
optInFastD_MAType:
Type of Moving Average for Fast-D
func Stochf ¶
func Stochf(high, low, close []float64, fastKPeriod, fastDPeriod, fastDMAType int32) ([]float64, []float64)
Stochf - Stochastic Fast
Input = High, Low, Close
Output = double, double
Optional Parameters ¶
-------------------
optInFastK_Period:(From 1 to 100000)
Time period for building the Fast-K line ¶
optInFastD_Period:(From 1 to 100000)
Smoothing for making the Fast-D line. Usually set to 3
optInFastD_MAType:
Type of Moving Average for Fast-D
func Sum ¶
Sum - Summation
Input = double
Output = double
Optional Parameters ¶
-------------------
optInTimePeriod:(From 2 to 100000)
Number of period
func T3 ¶
T3 - Triple Exponential Moving Average (T3)
Input = double
Output = double
Optional Parameters ¶
-------------------
optInTimePeriod:(From 2 to 100000)
Number of period ¶
optInVFactor:(From 0 to 1)
Volume Factor
func Tema ¶
Tema - Triple Exponential Moving Average
Input = double
Output = double
Optional Parameters ¶
-------------------
optInTimePeriod:(From 2 to 100000)
Number of period
func TriMa ¶
TriMa - Triangular Moving Average
Input = double
Output = double
Optional Parameters ¶
-------------------
optInTimePeriod:(From 2 to 100000)
Number of period
func Trix ¶
Trix - 1-day Rate-Of-Change (ROC) of a Triple Smooth EMA
Input = double
Output = double
Optional Parameters ¶
-------------------
optInTimePeriod:(From 1 to 100000)
Number of period
func Tsf ¶
Tsf - Time Series Forecast
Input = double
Output = double
Optional Parameters ¶
-------------------
optInTimePeriod:(From 2 to 100000)
Number of period
func UltOsc ¶
UltOsc - Ultimate Oscillator
Input = High, Low, Close
Output = double
Optional Parameters ¶
-------------------
optInTimePeriod1:(From 1 to 100000)
Number of bars for 1st period.
optInTimePeriod2:(From 1 to 100000)
Number of bars fro 2nd period ¶
optInTimePeriod3:(From 1 to 100000)
Number of bars for 3rd period
func Var ¶
Var - Variance
Input = double
Output = double
Optional Parameters ¶
-------------------
optInTimePeriod:(From 1 to 100000)
Number of period ¶
optInNbDev:(From TA_REAL_MIN to TA_REAL_MAX)
Nb of deviations
Types ¶
This section is empty.