polyclick

Bill Williams Divergent Bars

Bill William Bull/Bear divergent bars
See: Book, Trading Chaos by Bill Williams
Coded by polyclick

A bullish (green) divergent bar, signals a trend switch from bear -> bull
-> The current bar has a lower low than the previous bar, but closes in the upper half of the candle.
-> This means the bulls are pushing from below and are trying to take over, potentially resulting in a trend switch to bullish .
-> We also check if this bar is below the three alligator lines to avoid false positives.

A bearish (red) divergent bar, signals a trend switch from bull -> bear
-> The current bar has a higher high than the previous bar, but closes in the lower half of the candle.
-> This means the bears are pushing the price down and are taking over, potentially resulting in a trend switch to bearish .
-> We also check if this bar is above the three alligator lines to avoid false positives.

Best used in combination with the Bill Williams Alligator indicator.
Remover dos Scripts Favoritos Adicionar para Scripts Favoritos
Some stuff I noticed while using this indicator which are -IMPORTANT- to know.
Works best on higher timeframes (1H, 4H, 1D, ...).
It's important you look for, what Bill Williams calls, "angularation" before using the signal.

Angularation, for full explaination, check his book: "Trading Chaos".

Quick giveaway: draw an average line through the last few prices, draw an average line through the green/red line of the alligator.
When a divergent bar pops up when the angle between those 2 lines is very big, then the trend is about to switch.

So, what we want is: a divergent bar popping up from a big distance to the alligator. A correction, aka: trend switch will occur to go back to the alligator.
Then, for an extra confirmation, use the awesome oscillator.

For more insights, read his book, it's hard to explain it all in this description :D
+2 Resposta
Hi Nice code. I can't transpose it to prorealtime. Can you give a hand ?
Resposta
polyclick robinstephane
@robinstephane, sorry I don't think I understand what you mean. You need some explaination?
Resposta
robinstephane polyclick
@polyclick, No thanks. I am just trying to make this code work on prorealtime.
Resposta
is there a way to make this in to a mtf indecater ?
Resposta
@bossx, I have noooooo idea :D it's my first indicator so I'll have to look into this. Don't really know wether this is going to be beneficial tho.
Resposta
Início Rastreador de Fundamentos Rastreador Forex Rastreador de Sinais Criptomoedas Calendário econômico Como Funciona Recursos gráficos Planos Regras da Casa Moderadores Soluções para sites e corretoras Widgets Soluções em Gráficos Obter Ajuda Solicitação de recurso Blog & Notícias FAQ Wiki Twitter
Perfil Configurações de perfil Conta e cobrança Obter Ajuda Ideias Publicadas Seguidores Seguindo Mensagens Privadas Conversa Deslogar