• Custom Candlestick patterns

    Design Custom Candlestick Patterns for Signal Generation Using Python

    This post is part of the T4p Series. In the previous post, I introduced you to Candlestick patterns, explaining what they are and discussing a couple of well-known patterns and their implementation in Python. We will be discussing further famous patterns in coming posts but here we will learn how you can come up with your own candlestick patterns and implement them in Python. Ultimately, we will be using our custom and awesome candlestick pattern to generate signals and print money. Custom Pattern So, what would that custom pattern be? Pretty simple: Bullish: If 3 consecutive candles are green, it triggers a SELL signal. Bearish: If 3 consecutive candles are red, it…

  • Candlesticks Pattern Tutorial

    Getting Started with Candlesticks Patterns and Python

    This post is part of the T4p Series. In the previous post, I briefly introduced candlesticks and how to detect a bearish and bullish candle in Python. In this post, we are going deeper, discussing candlestick patterns, what they are all about, and how to detect and represent them in Python Introduction As you learned in the previous post, there are mainly two types of candles: Bearish and Bullish. The size of the wick and the body determines what kind of bearish and bullish candle it is. Candlestick patterns visually help traders learn about the price movement to interpret the market sentiments. History Candlestick patterns were developed centuries ago by Japanese…

  • An Introduction to OHLC Data in Python

    This post is part of the T4P Series. In this post, we will be discussing OHLC data. OHLC is the abbreviation of Open, High, Low, and Close. We will discuss its working, its importance, and how to access it. So let’s start. What is OHLC Data OHLC data is a common way to represent the price movement of an asset, whether it’s a stock, cryptocurrency, or commodity, during a specific time frame (like an hour, a day, or a week). These four values give you a snapshot of how an asset’s price has fluctuated during that time frame. Let’s break it down: Open: This is the price at which the…

  • Introduction to trading for programmers

    I am starting a new series, Trading for Programmers (T4P), where I will cover topics related to trading and how programmers can leverage their existing skills. This is the first post in the series. Why Programmers Should Explore Trading Before diving into trading, it’s important to understand why programmers should consider getting into it, even if they aren’t particularly fond of trading. Trading might seem like a world of its own, but it’s actually a great fit for those skilled in computers and numbers. At its core, trading involves buying and selling assets like stocks or cryptocurrencies to make a profit. For programmers, this can be especially intriguing because it’s…

  • Using the RSI Indicator to Generate Trading Signals in Python with TaLib

    This post is the part of trading series. In the past, I gave you a brief intro to Ta-Lib and how it can be used in technical analysis, in this post, I am going to discuss how you can RSI indicator to generate buy or sell signals in Python by using the TA-Lib library. Before I write code about the implementation, let’s discuss a bit about signal generation and RSI. What Are Signals In the world of trading, signals are cues or indicators that are derived from various kinds of analyses and guide investors on when to buy, sell, or hold shares. They help traders to make informed decisions based…