Discussion of article "Reversal patterns: Testing the Double top/bottom pattern"

 

New article Reversal patterns: Testing the Double top/bottom pattern has been published:

Traders often look for trend reversal points since the price has the greatest potential for movement at the very beginning of a newly formed trend. Consequently, various reversal patterns are considered in the technical analysis. The Double top/bottom is one of the most well-known and frequently used ones. The article proposes the method of the pattern programmatic detection. It also tests the pattern's profitability on history data.

The Double top/bottom pattern can be found frequently on a price chart. Its formation is closely connected with the theory of trade levels. The pattern is formed at the end of a trend when the price meets a support or resistance level (depending on the previous movement). After a correction during a repeated testing of the level, it rolls back again instead of breaking through it.

At this point, counter-trend traders come into play trading a roll-back from the level and pushing the price towards correction. While the correction movement gains momentum, traders following the trend start exiting the market by either fixing the profit or closing loss-making positions that were aimed at breaking through the level. That strengthens the movement even further leading to the emergence of a new trend.

Double top pattern

When searching for a pattern on a chart, there is no point in searching for the exact match of tops/bottoms. Deviation of top/bottom levels is considered normal. Just make sure the peaks are within the same support/resistance level. The pattern reliability depends on a strength of a level it is based on.

Author: Dmitriy Gizlyk

 
Great, thank you. Looking forward to the next experiments.
 
Hello, thanks for your EA, I tried to replicate the results but, with all the same settings I am not closing most of my trades. See the screenshot. What could be the problem?

 
Where and how to download and install!?
 
kim1264:
Where and how to download and install!?

1. Read the article

2. look at the table "Programmes used in the article". 2.

3. Download the archive "Attached files".

 
I'm dealing with a similar problem myself right now. The information is very, very helpful. I want to say thank you very much!
 

Good afternoon.

I trade the Mini Index and I really liked the article.

However, when I try to test it on the index in MT5, it generates zero results and I can't execute any trades.

Suppose I'm setting the wrong parameters for execution.

I'd like to see what the result would be if I ran it on Wing19.

Can you help me?

 

The market he is testing is forex, to use it on bmf you can use the code as a base and change it.

If you don't know how to edit the code, use the freelance area.

https://www.mql5.com/pt/job

Aplicativos de negociação para o MetaTrader 5 por encomenda
Aplicativos de negociação para o MetaTrader 5 por encomenda
  • www.mql5.com
Regras de Entrada- Utilizar o período de 15 minutos e deixar o stop inicial com 110 pontos- Para a entrada somar ou subtrair 140 pontos a partir do valor de abertura do candle- Não abrir posições a partir das 17:30h e encerrar qualquer posição aberta até 17:35h- Reentradas no mesmo candle para operações de mesmo sentido em caso de loss- Caso...
 

In 'LimitTakeProfit.mqh' file :

4 errors,

'CSymbolInfo'- parameter passed as reference, variable expected, Line 55, Column 56

'CArrayLong'- parameter passed as reference, variable expected, Line 56, Column 56

'CArrayDouble'- parameter passed as reference, variable expected, Line 57, Column 56

'virtual'- unexpected token, Line 55, Column 1

1 advice,

deprecated behavior, hidden method calling will be disabled in a future MQL compiler version, Line 124, Column 21

And more files with errors, this work is top of errors.
 

Hello,

Thanks for this interesting article, but included MQL5 code canot be compiled, many errors :(

'CArrayLong' - parameter passed as reference, variable expected    LimitTakeProfit.mqh    56    56
'CArrayDouble' - parameter passed as reference, variable expected    LimitTakeProfit.mqh    57    56
'Create' - unexpected token, probably type is missing?    ZigZag.mqh    72    10
and many more

Thanks

 
tluszczofil:

Hello,

Thanks for this interesting article, but included MQL5 code canot be compiled, many errors :(

'CArrayLong' - parameter passed as reference, variable expected    LimitTakeProfit.mqh    56    56
'CArrayDouble' - parameter passed as reference, variable expected    LimitTakeProfit.mqh    57    56
'Create' - unexpected token, probably type is missing?    ZigZag.mqh    72    10
and many more

Thanks

Hello,

You must to add
#include "SymbolInfo.mqh"
#include <Arrays\ArrayDouble.mqh>
#include <Arrays\ArrayLong.mqh>
form LimitTakeProfit.mqh