trader_stoch
(PECL trader >= 0.2.0)
trader_stoch — Stochastic
Description
Parameters
highHigh price, array of real values.
lowLow price, array of real values.
closeClosing price, array of real values.
fastK_PeriodTime period for building the Fast-K line. Valid range from 1 to 100000.
slowK_PeriodSmoothing for making the Slow-K line. Valid range from 1 to 100000, usually set to 3.
slowK_MATypeType of Moving Average for Slow-K. TRADER_MA_TYPE_* series of constants should be used.
slowD_PeriodSmoothing for making the Slow-D line. Valid range from 1 to 100000.
slowD_MATypeType of Moving Average for Slow-D. TRADER_MA_TYPE_* series of constants should be used.
Return Values
Returns an array with calculated data or false on failure.
↑ and ↓ to navigate • Enter to select • Esc to close • / to open