Discussion of article "Studying candlestick analysis techniques (Part II): Auto search for new patterns"

 

New article Studying candlestick analysis techniques (Part II): Auto search for new patterns has been published:

In the previous article, we analyzed 14 patterns selected from a large variety of existing candlestick formations. It is impossible to analyze all the patterns one by one, therefore another solution was found. The new system searches and tests new candlestick patterns based on known candlestick types.

In order to develop the new candlestick pattern generation algorithm, we need to define the key rules:

  • New patterns will consist of one, two or three simple candlestick types.
  • The simple candlestick types are: long candlestick, short candlestick, spinning top, doji, marubozu and hammer.
  • Candlestick types will be divided based on the direction: bullish and bearish. The exception is the doji candlestick.
  • Simple candlestick types can be repeated. Example: a pattern of two bearish long candlesticks.

The general scheme of new pattern creation is shown in Figure 1.


Fig.1 New pattern creation algorithms.

Thus we have a certain pool of candlesticks, of which new patterns will be formed. These new patterns will contain 1-3 candlesticks with or without repetitions. The pool will totally contain 11 basic candlesticks. Generated candlestick patterns will be analyzed according the same principle, which was discussed in the first article.

Author: Alexander Fedosov

 

Hi Alexander

Is the cause of these errors known?

 'AddItem'                - wrong parameters count        MainWindow.mqh   164      17
implicit conversion from 'number' to 'string'            MainWindow.mqh   164      25
'AddItem'                - wrong parameters count        MainWindow.mqh   165      17
implicit conversion from 'number' to 'string'            MainWindow.mqh   165      25
'SelectedRowColor'       - undeclared identifier         MainWindow.mqh   383      10
'C' 120 , 100 , 225 ''         - some operator expected        MainWindow.mqh   383      27
'SelectedRowColor'       - undeclared identifier         MainWindow.mqh   441      13
'C' 120 , 100 , 225 ''         - some operator expected        MainWindow.mqh   441      30
'GreenCheckBox'          - undeclared identifier         MainWindow.mqh   638      16
'true'                   - some operator expected        MainWindow.mqh   638      30
 

Hi Alexander

Thanks for nice series articles.

 I can open code of Part I, but when run code of Part II and part IV their window close rapidly. please help me to correct it.

Thanks

Reason: