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.

オープンソーススクリプト

TradingViewの精神に則り、このスクリプトの作者は、トレーダーが理解し検証できるようにオープンソースで公開しています。作者に敬意を表します!無料で使用することができますが、このコードを投稿で再利用するには、ハウスルールに準拠する必要があります。 お気に入りに登録してチャート上でご利用頂けます。

免責事項

これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。

チャートでこのスクリプトを利用したいですか?