Understanding Programming Paradigms (Part 2): An Object-Oriented Approach to Developing a Price Action Expert Advisor
by
, 03-29-2024 at 06:25 AM (344 Views)
more...In the first article I introduced programming paradigms and focused on how to implement procedural programming in MQL5. I also explored functional programming. After gaining a deeper understanding of how procedural programming works, we created a basic price action expert advisor using the exponential moving average indicator (EMA) and candlestick price data.
This article will take a deeper dive into the object-oriented programming paradigm. We'll then apply this knowledge to transform the procedural code of the previously developed expert advisor from the first article into object-oriented code. This process will deepen our understanding of the main differences between these two programming paradigms.