Engineering Alpha

Engineering Alpha

Creating the MACD Oscillator in TradingView - The Full Guide

How to Create & Visualize a Simple Technical Oscillator in TradingView

Sofien Kaabar, CFA's avatar
Sofien Kaabar, CFA
May 30, 2022
∙ Paid
www.pxfuel.com

The MACD is a famous technical oscillator that is composed of the difference between two exponential moving averages which are used in trend-following strategies. This article will present how to create this indicator in Pine Script, the coding language of the charting platform TradingView.

I have just published a new book after the success…

User's avatar

Continue reading this post for free, courtesy of Sofien Kaabar, CFA.

Or purchase a paid subscription.
© 2026 Sofien Kaabar · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture