Harmonic Pattern Finder V2 – indicator MetaTrader 5

End of the P.R.Z. is shown as lines
Harmonic patterns are a class of chart patterns based on 5 price extrema and constraints on the relations and proportions between these. As these constraints and ratios are difficult to verify by visual estimation, computerized measuring tools are essential for trading harmonic patterns. This is the second version of the popular Harmonic Pattern Finder indicator … Read more

An abstract trading robot, an OOP pattern – EA MetaTrader 5

An abstract trading robot, an OOP pattern - expert for MetaTrader 5
When creating an automated trading system, developers often face the problem of choosing from a number of possible solutions. Patterns would be very useful in such cases. Almost certainly, such problems have already been solved earlier, and there are well thought out elegant solutions implemented by programmers from the expert community. Designing object oriented programs … Read more

Kicking Pattern – indicator MetaTrader 5

Kicking Pattern - indicator for MetaTrader 5
The Kicking Pattern indicator searches for a sequence of candlesticks on a chart and marks bullish and bearish sequences. Bearish Pattern: candlestick up – candlestick down – candlestick up – candlestick down; Bullish pattern: candlestick down – candlestick up – candlestick down – candlestick up. An example: The indicator has two switchers: Show bullish patterns … Read more

Hikkake Pattern (Inside Day False Breakout) – indicator MetaTrader 5

Hikkake Patterns found
Hikkake Pattern (Inside Day False Breakout) indicator is a trading strategy based on false breakouts. Translated into MQL5 code from Dan Chesler’s article published in April 2004, Active Trader Magazine “Trading False Moves with the Hikkake Pattern”. The basic Hikkake pattern consists of two price bars — two hourly bars, two daily bars, two weekly … Read more

Harmonic Pattern Finder V3 – indicator MetaTrader 5

Interactivity features reduce screen clutter
Continuing on the in-demand software for automatically finding harmonic patterns, this is the third and most likely final version of the indicator known as the “Harmonic Pattern Finder”. It addresses many of the issues found from the prior iterations, including bug fixes and other improvements. Furthermore, the code is extensively refactored such that it should … Read more

Singleton – creational design pattern – library MetaTrader 5

Singleton - creational design pattern - library for MetaTrader 5
//—singleton——————————————————– //   creational design pattern //   —intent //      ensure one instance of a class with a global point of access //   —benefits //      the sole instance of a class may vary //   —applicability————————————————- //      one instance of a class //         accessible to clients from a well-known access point //         extensible by subclassing //            extended instance should be good without … Read more

Adapter – structural design pattern – library MetaTrader 5

Adapter - structural design pattern - library for MetaTrader 5
//—adapter———————————————————- //   structural design pattern //—adapter > intent //   convert the interface of a class into another expected interface //   classes with incompatible interfaces can work together //—adapter > benefits———————————————– //   interface to an object my vary //   refactoring problem resolved //      inability to alter classes conveniently //      also decorator, visitor //—adapter > applicability—————————————— //   interface does … Read more

Bridge – structural design pattern – library MetaTrader 5

Bridge - structural design pattern - library for MetaTrader 5
//+——————————————————————+ //|                                                       Bridge.mqh | //|                                     2019-2020, dmitri pecheritsa | //|                                                 792112@gmail.com | //+——————————————————————+ //| bridge > structural design pattern                               | //+——————————————————————+ //   design patterns: elements of reusable object-oriented software //   gof > erich gamma, richard helm, ralph johnson, john vlissides //   published in 1994 //+——————————————————————+ //| intent                                                           | //+——————————————————————+ //   abstraction and implementation > decoupled, … Read more

Composite – structural design pattern – library MetaTrader 5

Composite - structural design pattern - library for MetaTrader 5
//+——————————————————————+ //|                                                    Composite.mqh | //|                                    2019-2020, dimitri pecheritsa | //|                                                 792112@gmail.com | //+——————————————————————+ //| src > patterns > structural > composite                          | //+——————————————————————+ //   design patterns: elements of reusable object-oriented software //   gof > erich gamma, richard helm, ralph johnson, john vlissides //   published in 1994 //+——————————————————————+ //| intent                                                           | //+——————————————————————+ //   object tree > represents > part-whole … Read more