Average Directional Index The direction or trend has played a major role in the financial market. An increase or decrease in the price of a financial instrument can occur for two reasons: randomness or fundamental factors. There is a saying…

## How To Build A Doji Candlestick Trading Strategy Using Python (Code, Setup, Backtest, Performance)

Candlestick patterns have been a fundamental part of technical analysis in the world of trading for many years. Among the multitude of candlestick patterns, the Doji is one of the most widely recognized. We make a doji candlestick trading strategy. A…

## How I Made A Profitable TEMA Trading Strategy In Python (Code, Rules, Backtest)

Triple Exponential Moving Average (TEMA) This indicator is used to identify the trend, retracement, and potential support and resistance. After the development of the Double Exponential Moving Average (DEMA), Patrik Mulloy enhanced the indicator and developed the TEMA. The interpretation…

## How To Make A Weighted Moving Average Using Python

This article will explain how to backrest a Weighted Moving Average in Python. In the first part, there will be a brief introduction and explanation of this indicator. Subsequently, we will implement a Python example to calculate the result of…

## How I Made A Profitable OBV Strategy Using Python

This article will explain how to implement the OBV (On Balance Volume) to the Amazon (AMZN) stock. The first part will explain the idea behind the indicator, while the second part will implement a trading strategy based on the OBV….

## How To Make VWAP With Python

In this article, we will build a profitable trading strategy in Python. We will implement the strategy in different market scenarios to draw insight: How to build a profitable VWAP trading strategy with Python. Related reading: Trading and Hypothesis Testing…

## How I Made a Profitable Ichimoku Cloud Strategy Using Python

Introduction This tutorial will explain the Ichimoku Cloud indicator, and it will implement a trading example in Python using data from the iShares Core US Aggregate Bond ETF (AGG) and the Energy Select Sector SPDR Fund (XLE). Along the way,…

## How To Build A Profitable Parabolic SAR Trading Strategy Using Python

Introduction This tutorial will explain how to implement the Parabolic SAR indicator to build a trading strategy in Python, and along the way, it will introduce the Object Oriented Programming (OOP) approach to download the data, calculate the Parabolic SAR…

## How To Calculate The Drawdown In Python For Your Trading Strategy

Investors often evaluate the performance of their portfolios by examining various metrics, and one crucial measure is drawdown. Drawdown represents the peak-to-trough decline in the value of a stock or portfolio during a specific period. It helps investors assess the…

## A Python CCI Trading Strategy (Backtest)

Introduction This article will implement a trading strategy utilizing the Commodity Channel Index (CCI) indicator. It will review the underlying theory. Subsequently, it will explain the procedure in Python for implementing the trading strategy on the SPY; furthermore, it will…

## A Python Williams %R Trading Strategy (Backtest)

Introduction This tutorial will use Python to implement a profitable trading strategy using the Williams %R indicator. The first part will explain the indicator, and the second part will implement the Python code.  The second goal is to illustrate how…

## How I Build A Profitable ATR-Based Trading Strategy With Python

In this tutorial, we will implement a trading strategy using the ATR indicator. The first part will explain this indicator. Then, we will show a practical example in Python using the SPY data. Throughout this tutorial, we will implement various…

## How To Build A Profitable ROC-Based Trading Strategy Using Python

Introduction This tutorial will implement a ROC trading strategy using Python. The first part will briefly explain the indicator and its calculation. The second part will calculate the Python example. We show you how to build a profitable ROC-based trading…

## How To Make A Hull Moving Average In Python

We show you how I build a profitable Hull-moving average strategy in Python. However, the main purpose of the article to show how it can be done using Python. The strategy itself is of minor importance in this tutorial. Hull Moving…