PHP Manual
Function Reference
Mathematical Extensions
Trader
Introduction
Installing/Configuring
Predefined Constants
Trader Functions
Predefined Constants
trader_acos
Trader
PHP Manual
Trader Functions
Table of Contents
trader_acos
— Vector Trigonometric ACos
trader_ad
— Chaikin A/D Line
trader_add
— Vector Arithmetic Add
trader_adosc
— Chaikin A/D Oscillator
trader_adx
— Average Directional Movement Index
trader_adxr
— Average Directional Movement Index Rating
trader_apo
— Absolute Price Oscillator
trader_aroon
— Aroon
trader_aroonosc
— Aroon Oscillator
trader_asin
— Vector Trigonometric ASin
trader_atan
— Vector Trigonometric ATan
trader_atr
— Average True Range
trader_avgprice
— Average Price
trader_bbands
— Bollinger Bands
trader_beta
— Beta
trader_bop
— Balance Of Power
trader_cci
— Commodity Channel Index
trader_cdl2crows
— Two Crows
trader_cdl3blackcrows
— Three Black Crows
trader_cdl3inside
— Three Inside Up/Down
trader_cdl3linestrike
— Three-Line Strike
trader_cdl3outside
— Three Outside Up/Down
trader_cdl3starsinsouth
— Three Stars In The South
trader_cdl3whitesoldiers
— Three Advancing White Soldiers
trader_cdlabandonedbaby
— Abandoned Baby
trader_cdladvanceblock
— Advance Block
trader_cdlbelthold
— Belt-hold
trader_cdlbreakaway
— Breakaway
trader_cdlclosingmarubozu
— Closing Marubozu
trader_cdlconcealbabyswall
— Concealing Baby Swallow
trader_cdlcounterattack
— Counterattack
trader_cdldarkcloudcover
— Dark Cloud Cover
trader_cdldoji
— Doji
trader_cdldojistar
— Doji Star
trader_cdldragonflydoji
— Dragonfly Doji
trader_cdlengulfing
— Engulfing Pattern
trader_cdleveningdojistar
— Evening Doji Star
trader_cdleveningstar
— Evening Star
trader_cdlgapsidesidewhite
— Up/Down-gap side-by-side white lines
trader_cdlgravestonedoji
— Gravestone Doji
trader_cdlhammer
— Hammer
trader_cdlhangingman
— Hanging Man
trader_cdlharami
— Harami Pattern
trader_cdlharamicross
— Harami Cross Pattern
trader_cdlhighwave
— High-Wave Candle
trader_cdlhikkake
— Hikkake Pattern
trader_cdlhikkakemod
— Modified Hikkake Pattern
trader_cdlhomingpigeon
— Homing Pigeon
trader_cdlidentical3crows
— Identical Three Crows
trader_cdlinneck
— In-Neck Pattern
trader_cdlinvertedhammer
— Inverted Hammer
trader_cdlkicking
— Kicking
trader_cdlkickingbylength
— Kicking - bull/bear determined by the longer marubozu
trader_cdlladderbottom
— Ladder Bottom
trader_cdllongleggeddoji
— Long Legged Doji
trader_cdllongline
— Long Line Candle
trader_cdlmarubozu
— Marubozu
trader_cdlmatchinglow
— Matching Low
trader_cdlmathold
— Mat Hold
trader_cdlmorningdojistar
— Morning Doji Star
trader_cdlmorningstar
— Morning Star
trader_cdlonneck
— On-Neck Pattern
trader_cdlpiercing
— Piercing Pattern
trader_cdlrickshawman
— Rickshaw Man
trader_cdlrisefall3methods
— Rising/Falling Three Methods
trader_cdlseparatinglines
— Separating Lines
trader_cdlshootingstar
— Shooting Star
trader_cdlshortline
— Short Line Candle
trader_cdlspinningtop
— Spinning Top
trader_cdlstalledpattern
— Stalled Pattern
trader_cdlsticksandwich
— Stick Sandwich
trader_cdltakuri
— Takuri (Dragonfly Doji with very long lower shadow)
trader_cdltasukigap
— Tasuki Gap
trader_cdlthrusting
— Thrusting Pattern
trader_cdltristar
— Tristar Pattern
trader_cdlunique3river
— Unique 3 River
trader_cdlupsidegap2crows
— Upside Gap Two Crows
trader_cdlxsidegap3methods
— Upside/Downside Gap Three Methods
trader_ceil
— Vector Ceil
trader_cmo
— Chande Momentum Oscillator
trader_correl
— Pearson's Correlation Coefficient (r)
trader_cos
— Vector Trigonometric Cos
trader_cosh
— Vector Trigonometric Cosh
trader_dema
— Double Exponential Moving Average
trader_div
— Vector Arithmetic Div
trader_dx
— Directional Movement Index
trader_ema
— Exponential Moving Average
trader_errno
— Get error code
trader_exp
— Vector Arithmetic Exp
trader_floor
— Vector Floor
trader_get_compat
— Get compatibility mode
trader_get_unstable_period
— Get unstable period
trader_ht_dcperiod
— Hilbert Transform - Dominant Cycle Period
trader_ht_dcphase
— Hilbert Transform - Dominant Cycle Phase
trader_ht_phasor
— Hilbert Transform - Phasor Components
trader_ht_sine
— Hilbert Transform - SineWave
trader_ht_trendline
— Hilbert Transform - Instantaneous Trendline
trader_ht_trendmode
— Hilbert Transform - Trend vs Cycle Mode
trader_kama
— Kaufman Adaptive Moving Average
trader_linearreg_angle
— Linear Regression Angle
trader_linearreg_intercept
— Linear Regression Intercept
trader_linearreg_slope
— Linear Regression Slope
trader_linearreg
— Linear Regression
trader_ln
— Vector Log Natural
trader_log10
— Vector Log10
trader_ma
— Moving average
trader_macd
— Moving Average Convergence/Divergence
trader_macdext
— MACD with controllable MA type
trader_macdfix
— Moving Average Convergence/Divergence Fix 12/26
trader_mama
— MESA Adaptive Moving Average
trader_mavp
— Moving average with variable period
trader_max
— Highest value over a specified period
trader_maxindex
— Index of highest value over a specified period
trader_medprice
— Median Price
trader_mfi
— Money Flow Index
trader_midpoint
— MidPoint over period
trader_midprice
— Midpoint Price over period
trader_min
— Lowest value over a specified period
trader_minindex
— Index of lowest value over a specified period
trader_minmax
— Lowest and highest values over a specified period
trader_minmaxindex
— Indexes of lowest and highest values over a specified period
trader_minus_di
— Minus Directional Indicator
trader_minus_dm
— Minus Directional Movement
trader_mom
— Momentum
trader_mult
— Vector Arithmetic Mult
trader_natr
— Normalized Average True Range
trader_obv
— On Balance Volume
trader_plus_di
— Plus Directional Indicator
trader_plus_dm
— Plus Directional Movement
trader_ppo
— Percentage Price Oscillator
trader_roc
— Rate of change : ((price/prevPrice)-1)*100
trader_rocp
— Rate of change Percentage: (price-prevPrice)/prevPrice
trader_rocr100
— Rate of change ratio 100 scale: (price/prevPrice)*100
trader_rocr
— Rate of change ratio: (price/prevPrice)
trader_rsi
— Relative Strength Index
trader_sar
— Parabolic SAR
trader_sarext
— Parabolic SAR - Extended
trader_set_compat
— Set compatibility mode
trader_set_unstable_period
— Set unstable period
trader_sin
— Vector Trigonometric Sin
trader_sinh
— Vector Trigonometric Sinh
trader_sma
— Simple Moving Average
trader_sqrt
— Vector Square Root
trader_stddev
— Standard Deviation
trader_stoch
— Stochastic
trader_stochf
— Stochastic Fast
trader_stochrsi
— Stochastic Relative Strength Index
trader_sub
— Vector Arithmetic Subtraction
trader_sum
— Summation
trader_t3
— Triple Exponential Moving Average (T3)
trader_tan
— Vector Trigonometric Tan
trader_tanh
— Vector Trigonometric Tanh
trader_tema
— Triple Exponential Moving Average
trader_trange
— True Range
trader_trima
— Triangular Moving Average
trader_trix
— 1-day Rate-Of-Change (ROC) of a Triple Smooth EMA
trader_tsf
— Time Series Forecast
trader_typprice
— Typical Price
trader_ultosc
— Ultimate Oscillator
trader_var
— Variance
trader_wclprice
— Weighted Close Price
trader_willr
— Williams' %R
trader_wma
— Weighted Moving Average