Flow of Fund Divergence with alert

HISTOGRAM shows an approximate amount of money get in or out of the market within 1 bar. If selling pressure is stronger than buying pressure, it will be a red histogram, otherwise, it will be a green histogram.
Flow of fund trend line indicates the short or long term movement of the flow, determined by the "Length of FOF" input you set.
Divergence
The divergence signal has two types, bearish and bullish.
A bullish divergence occurs when the price hit a lower low and the FOF line is in uptrend. A down arrow will be drawn above the current FOF line when there is a bearish divergence between FOF and price trend.
A bearish divergence occurs when the price hit a higher high and the FOF line is in downtrend. A up arrow will be drawn below price candle bar when there is a bullish divergence between FOF and price trend.
Script sob convite
Somente usuários aprovados pelo autor podem acessar este script. Você precisará solicitar e obter permissão para usá-lo. Normalmente, essa permissão é concedida após o pagamento. Para obter mais detalhes, siga as instruções do autor abaixo ou entre em contato diretamente com Patternsmart.
A TradingView NÃO recomenda pagar ou usar um script, a menos que você confie totalmente em seu autor e entenda como ele funciona. Você também pode encontrar alternativas gratuitas e de código aberto em nossos scripts da comunidade.
Instruções do autor
Aviso legal
Script sob convite
Somente usuários aprovados pelo autor podem acessar este script. Você precisará solicitar e obter permissão para usá-lo. Normalmente, essa permissão é concedida após o pagamento. Para obter mais detalhes, siga as instruções do autor abaixo ou entre em contato diretamente com Patternsmart.
A TradingView NÃO recomenda pagar ou usar um script, a menos que você confie totalmente em seu autor e entenda como ele funciona. Você também pode encontrar alternativas gratuitas e de código aberto em nossos scripts da comunidade.