Image by author

Full code and notebook at the end of the article.

TradingView is one of the most powerful trading platforms with a very active community and a wide collection of trading indicators and strategies.

Squeeze Momentum Indicator by LazyBear

Liked by more than 70k users, the Squeeze Momentum Indicator is the most popular strategy on the platform and has been widely discussed all over the place. Visually, it looks like this.

With full code and a demo notebook.

Image by author

A breakout is a stock price moving outside a defined support or resistance level with increased volume. A breakout trader enters a long position after the stock price breaks above resistance or enters a short position after the stock breaks below support. — Investopedia

(Skip the introduction if you are already familiar with the concept of breakout and support & resistance)


In trading, support and resistance levels are some of the most fundamental indicators and are very easy to understand. They are what they sound like.

A support level is a price range…

A tutorial on plotting stock price chart along with volume, MACD & stochastic.

Image by author

Have you ever clicked into a trading or stock market-related article, scrolled to the bottom, and just left when you didn’t see a single image or plot? I know I have, sometimes.

Visualization is crucial. Especially in the financial world where people are used to seeing charts.

In this tutorial, I am going to demonstrate how to perform the following using plotly:

  • Plot OHLC candlestick chart
  • Add plots on the main chart, e.g. moving averages
  • Add multiple subplots, e.g. volume, MACD, stochastics
  • Change figure settings

Plotly is…

Get a list of recommended stocks sent to your email every day!

Photo by Tech Daily on Unsplash

Doesn’t it feel great to wake up every morning with a list of stock recommendations emailed to you? Doesn’t it feel even better if you could make that happen by yourself? Here’s how you can do it!

In my previous article, I mentioned how to build a simple technical analysis stock screener. In this tutorial, I am going to show you how to use the stock screener to search for stocks that fit your trading strategies every day, automatically. This is the structure of the article:

  1. Define a…

While working full-time.

Photo by Joshua Reddekopp on Unsplash

First, a little bit about myself. I graduated with an MSc in Electrical Engineering and worked as a network engineer for one of the biggest telecom companies in Japan, and in the world. After spending an unhappy year at my company, I knew something had to change and I decided to make a career change and pursue a career in software development.

After lots of hard work and struggling for about 6 months, I finally got a Junior Software Engineer role at a multinational IT service company (nowhere near FAANG but it is definitely a great start…

A step by step tutorial. Ganbatte!

Photo by @felipepelaquim on Unsplash

When learning a new language, have you ever come across a new vocab that you just can’t seem to memorize despite looking it up in the dictionary multiple times? I know I have. Especially when learning Japanese kanji. Here is a simple app that you can make on Google Sheets that might help.

In this tutorial, we are going to build a simple Japanese dictionary app on a spreadsheet that:

  • Automatically gets the Japanese reading and English meaning of a word
  • Stores a list of your searched words
  • Allows you to quiz yourself on…

An example based on the Malaysian stock market.

There are dozens of amazing stock screener apps and sites out there like TradingView. However, most sites do not offer as much customization as you want, if you don’t pay for it.

For example, in TradingView you can easily find stocks with the last price above certain moving averages (MAs) but you are limited to the pre-defined 5, 10, 20, 30, 50, 100, and 200-day MA.

Yong Hong Tan

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store