The latest MQL 600+ builds offers Object Oriented Programming (OOP) almost as some professional and more popular OOP languages like C++, C# (C Sharp) or Java.
As its name suggests, OOP brings to us the capability to work with objects representing entities with their own logic and life span, like objects in real life.
In the procedural world, you have separate and disparate data and functions that expose all the implementation details and often tend to hide the implementation logic or to make it difficult to read.
In OOP, implementation details are hidden by the objects themselves allowing the programmer to separate the program logic from the implementation details.
As a C++/C#/Java programmer with several years of experience I'm pleased to introduce you to these interesting new concepts in the context of creating indicators or EAs.
If you are interested or even new to programming, you are at the right place and Welcome.
Contents :
► Coding guidelines.
► Introduction to Classes.
► Main concepts of OOP.
► A simple indicator putting all concepts at work.
► Illustrating code re-usability.
► Improving our indicator with a crossing detection.
► A common design pattern, The Singleton.
.
► Creating A Renko Chart Step by Step.
.
► A simpler Tick Chart.
► Implementation of a List container.
► From Visual Modelisation using FlowCharts to full Object Oriented EA.
► Mindi Yost Trading Assistant EA.
► Introduction to Unit Testing.
.
•••
.
As its name suggests, OOP brings to us the capability to work with objects representing entities with their own logic and life span, like objects in real life.
In the procedural world, you have separate and disparate data and functions that expose all the implementation details and often tend to hide the implementation logic or to make it difficult to read.
In OOP, implementation details are hidden by the objects themselves allowing the programmer to separate the program logic from the implementation details.
As a C++/C#/Java programmer with several years of experience I'm pleased to introduce you to these interesting new concepts in the context of creating indicators or EAs.
If you are interested or even new to programming, you are at the right place and Welcome.
Contents :
► Coding guidelines.
► Introduction to Classes.
► Main concepts of OOP.
► A simple indicator putting all concepts at work.
► Illustrating code re-usability.
► Improving our indicator with a crossing detection.
► A common design pattern, The Singleton.
.
► Creating A Renko Chart Step by Step.
.
► A simpler Tick Chart.
► Implementation of a List container.
► From Visual Modelisation using FlowCharts to full Object Oriented EA.
► Mindi Yost Trading Assistant EA.
► Introduction to Unit Testing.
.
•••
.
Simplicity is the Ultimate Sophistication.