tmpascoe

Bull/Bear Candle

This script will display a small triangle under the latest two candles to indicate whether that candle is bullish or bearish based on the following definition.

A bullish candle closes in the top portion of the trading range of the candle while a bearish candle closes in the bottom portion of the trading range of the candle.

The cutoff is currently set at 65% (you can adjust it) so the close must be outside or equal to 65% of the trading range to be considered bullish or bearish. If less than 65% the triangle will indicate a neutral candle.

Colours are;
green triangle = bullish candle
red triangle = bearish candle
yellow triangle = neutral candle

I hope this helps those using TraderCobb's cradle strategy.

Script de código aberto

Dentro do verdadeiro espírito TradingView, o autor deste script publicou ele como um script de código aberto, para que os traders possam compreender e checar ele. Um viva ao autor! Você pode usá-lo gratuitamente, mas a reutilização deste código em uma publicação é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.

Quer usar esse script no gráfico?