Specific zigzag

MQL4 Indicadores

Trabalho concluído

Tempo de execução 2 dias
Comentário do desenvolvedor
Thank you very much, it has been a please to work with.
Comentário do cliente
Excellent programmer. Very responsive, attentive to his clients and their expectations. Friendly, courteous, and committed to delivering a fully finished project. Highly recommended.

Termos de Referência

Dear programmers


I have a new order.

It's a zigzag-type indicator. (MQL4)

I can choose the color of the trendlines and their thickness. Bullish and bearish trendlines have the same color.

I can choose a different color for each time frame.

The zigzag appears individually on each timeframe, I mean there is no overlap of the different timeframes.

I can choose from how many candles in the past the indicator starts,

Obviously, trendlines connect highs to lows, and lows to the next highs.


Here are the rules of th zigzag :


A bullish segment is defined as: a succession (at least one)

of bullish candles (without interruption) followed by a succession (at least one) of bearish candles (without interruption). Be careful because the bearish candles are included in the segment. We then determine the high point of this segment. (It is therefore perfectly possible that this high point is the top of a bearish candle.)


From this high point the next bearish segment begins.


A bearish segment is defined as: a succession (of at least one) of bearish candles (without interruption) followed by a succession (of at least one) of bullish candles (without interruption). Note that bullish candles are included in the segment. We then determine the low point of this segment. (It is therefore entirely possible that this low point is the bottom of a bullish candle.)


Then from this low point begins the next bullish segment, and so on.


Special case: If a candle is neither bearish nor bullish (opening price = closing price) We consider that this candle has the same color as the previous candle.


I attach an illustration.


Thank you.


Arquivos anexados:

Respondido

1
Desenvolvedor 1
Classificação
(208)
Projetos
310
34%
Arbitragem
59
36% / 39%
Expirado
100
32%
Trabalhando
2
Desenvolvedor 2
Classificação
(845)
Projetos
1446
72%
Arbitragem
119
29% / 47%
Expirado
355
25%
Trabalhando
Publicou: 3 artigos

Informações sobre o projeto

Orçamento
30+ USD