MQL4 Object Oriented Programming Part 3 - Virtual functions, Public and Private inheritance

Опубликовано: 19 Март 2026
на канале: Orchard Forex
2,864
93

Part 3 of the series on Object Oriented programming for MQL4. This part shows working examples of public, private and protected inheritance and virtual functions and goes back to the channel indicator and add the remaining inputs for the ATR channel.

The first 2 parts of the series introduced a Donchian channel and ATR channel indicator.

See the Orchard blog post at:
https://www.orchardforex.com/mql4-obj...

To download the Metatrader 4 and 5 platforms and open demo accounts
MT4: https://www.orchardforex.com/download...
MT5: https://www.orchardforex.com/download...

GitHub: https://github.com/OrchardForexTutori...

Related Videos and Playlists
See part 1 here:    • Creating Metatrader Custom Indicator Classes  
See part 2 here:    • MQL4 Object Oriented Programming part 2 - ...  

Future parts will extend on this to include:
Dashboard development
Simple persistence model
Development of an expert advisor using object oriented techniques
Improvements to the basic code used in the initial classes

Do you want to suggest or vote for a topic?
https://orchardforex.com/forums/forum...

Web: https://www.orchardforex.com/
Twitter:   / orchardforex  
Telegram: https://t.me/orchardforex