Engineering Alpha

Engineering Alpha

Creating a Volume Stock Trading Strategy

How to Code a Simple Trading Strategy Based on the OBV

Sofien Kaabar, CFA's avatar
Sofien Kaabar, CFA
Apr 02, 2023
∙ Paid

Volume can sometimes provide hidden patterns that point to the market’s direction. This article discusses the main volume technical indicator and applies a simple strategy on it using Pine Script, Trading View’s coding language.

For a detailed and thorough collection of trend following trading strategies, you can check out my book. The book features a hu…

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