Reader small image

You're reading from  Python Algorithmic Trading Cookbook

Product typeBook
Published inAug 2020
Reading LevelIntermediate
PublisherPackt
ISBN-139781838989354
Edition1st Edition
Languages
Right arrow
Author (1)
Pushpak Dagade
Pushpak Dagade
author image
Pushpak Dagade

Pushpak Dagade is working in the area of algorithmic trading with Python for more than 3 years. He is a co-founder and CEO of AlgoBulls, an algorithmic trading platform.
Read more about Pushpak Dagade

Right arrow

Trend indicators – simple moving average

SMA is a lagging trend indicator. It is used to smooth the price data by eliminating noise and thus identifying trends.

SMA is the simplest form of a moving average. Each output value is the average of the previous n values of the historical data. You can define the value of n, which is also called the time period. In SMA, each value in the time period carries the same weight, and values outside the time period are not included. This makes it less responsive to recent changes compared to previous changes in the data, and is thus useful for smoothing out the prices' data. A consecutive rise in SMA indicates a clear bullish trend, while a consecutive fall indicates a bearish trend. Thus, it is a trend indicator. Also, since it indicates the trend after it has started, it is a lagging indicator.

SMA is widely used in technical analysis. It is also used for calculating other technical indicators, either in combination with itself or other...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Python Algorithmic Trading Cookbook
Published in: Aug 2020Publisher: PacktISBN-13: 9781838989354

Author (1)

author image
Pushpak Dagade

Pushpak Dagade is working in the area of algorithmic trading with Python for more than 3 years. He is a co-founder and CEO of AlgoBulls, an algorithmic trading platform.
Read more about Pushpak Dagade