AlgorithmicTrading Application of Trend Following strategy using MA EMA Lowess smoothing HP Filter Using data from Borsa İstanbul. quantstrat library is the major library used in these codes.