Creating a Simple Technical Indicator in Python

Creating a Momentum-Based Indicator to Trade the Market.

Sofien Kaabar, CFA
Geek Culture

--

www.pxfuel.com

Technical indicators can be found everywhere and some traders prefer to create their own so that they reflect their risk and return appetite as well as their preferred market analysis methods. In this article, we will try to create a simple contrarian indicator and then back-test it. The key learning outcome is not finding a profitable indicator but rather the building process and the way to think about the trading rules.

I have just published a new book after the success of New Technical Indicators in Python. It features a more complete description and addition of complex trading strategies with a Github page dedicated to the continuously updated code. If you feel that this interests you, feel free to visit the below link, or if you prefer to buy the PDF version, you could contact me on Linkedin.

The Concept of Momentum

When we say that the market has momentum, we refer to the persistence property of the prices going…

--

--