.. Indicato Theory Copyright (C) 2020 Ekkobit AS This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . Questions may be directed to resonate@ekkobit.com ###### Theory ###### In the following text --- and in the code ---, we adopt the convention that *window* means a number of previous data points + the current data point. *n_sma, n_ema* etc. and the number in *EMA3, L14, H14* etc. is the *window* --- the current data point, i.e only previous data points. The distinction is important in order avoid confusion. .. _trend: ************************** Trend-following Indicators ************************** .. include :: trend-following.rst .. _sma: Simple Moving Average (SMA) =========================== .. include:: sma.rst .. _ema: Exponential Moving Average (EMA) ================================ .. include :: ema.rst .. _macd: Moving Average Convergence Divergence (MACD) ============================================ .. include :: macd.rst .. _osc: *********** Oscillators *********** .. include :: oscillators.rst .. _stoch: