Guarda come scaricare robot di trading gratuitamente
Ci trovi su Facebook!
Unisciti alla nostra fan page
Unisciti alla nostra fan page
Ti è piaciuto lo script? Provalo nel Terminale MetaTrader 5
- Visualizzazioni:
- 8001
- Valutazioni:
- Pubblicato:
- 2019.09.25 17:24
- Aggiornato:
- 2019.09.29 10:45
-
Hai bisogno di un robot o indicatore basato su questo codice? Ordinalo su Freelance Vai a Freelance
- A good architecture is extendable, supportable, and reusable.
- Patterns help build hq systems.
- Patterns are proven to be good by experience.
- Patterns are generic solitions for software engineering challenges.
- Choose your pattern, don't invent it.
- Most patterns are designed to manage changes of the architecture.
- Most patterns incapsulate variable aspects of the systems.
- Developers know patterns and effectively communicate with each other.
OOP CONCEPTS:
- Abstraction,
- Encapsulation,
- Polymorphism,
- Inheritance
RULES:
- Encapsulate changes
- Composition is better than inheritance.
- Engineer with interfaces, not real classes.
![Programming Patterns - Decorator](https://c.mql5.com/i/code/script.png)
A way of sub-classing more functional objects, dynamically.
![Sudoku](https://c.mql5.com/i/code/expert.png)
Classical Sudoku puzzle right in MetaTrader chart.
![Programming Patterns - Observer](https://c.mql5.com/i/code/script.png)
When the subject changes, it notifies and updates its observers, who know nothing about each other.
![Rma MACD](https://c.mql5.com/i/code/indicator.png)
Rma MACD