HPotter

Dunnigan Bars

1531 vizualizações
154
1531 6
This displays "Dunnigan Bars," which is defined as:
Higher High and High Low = Green Color
Lower High and Lower Low = Red Color
Inside Bar = Black Color
Outside Bar = Yellow Color
Remover dos Scripts Favoritos Adicionar para Scripts Favoritos
////////////////////////////////////////////////////////////
//  Copyright by HPotter v1.0 20/08/2014
// This displays "Dunnigan Bars," which is defined as:
// Higher High and High Low = Green Color
// Lower High and Lower Low = Red Color
// Inside Bar = Black Color
// Outside Bar = Yellow Color
////////////////////////////////////////////////////////////
study(title = "Dunnigan Bars", overlay = true)
colr =	iff(high > high[1] and low > low[1], green,
	        iff(high < high[1] and low < low[1], red, 
	            iff(high < high[1] and low > low[1], black,
	                iff(high > high[1] and low < low[1], yellow, na))))
barcolor(colr)
DONATE/TIP

BTC: 3FKWwtaYrf5NHZzaCi1fyAfQj7XSgtyCqe
hi,
found a little bug in that... for inside candles, when same high/low and LL/HH it has still black colour, it could be red/green also... with some dot above/below...
+1 Resposta

Users can change line 13 "1"'s to a number of their choosing to add a highlight feature to this indicator. Meaning this: if on an hourly chart you change line numerical values to 24 then you have an indicator which will look back for a bar where there was heavy activity. Thanks HPotter!

sjc

Resposta
coondawg71 coondawg71
Actually, scratch that last post, must have been a coincidence. I'll fix that.
Resposta
Useful indicator, thanks!

sjc
Resposta
HPotter coondawg71
You are welcome
Resposta
Do you have anymore of these chart indicators with candlesticks?
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 TradingView Coins Meus Tíquetes de Suporte Obter Ajuda Ideias Publicadas Seguidores Seguindo Mensagens Privadas Conversa Deslogar