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. اقرأ المزيد في شروط الاستخدام.

هل تريد استخدام هذا النص البرمجي على الرسم البياني؟