jilpatel

Marubozu Signals

This Pine Script code is designed to identify and plot Marubozu candlestick patterns on a trading chart. Marubozu candles are characterized by having very small or non-existent wicks (shadows) and a large body, indicating strong buying or selling pressure.

The script first calculates the body size and wick size for both red (bearish) and green (bullish) Marubozu candles. It then defines thresholds for both body and wick sizes based on a percentage of the body size. For example, a red Marubozu candle is identified if its body size is at least 90% of the calculated threshold, and both upper and lower wick sizes are smaller than 5% of the body size.

Similarly, green Marubozu candles are identified using the same logic. If a Marubozu candle of either color is detected, a corresponding label is plotted on the chart indicating the occurrence of the pattern. A "Sell" label is placed above the candle for red Marubozu patterns, while a "Buy" label is placed below the candle for green Marubozu patterns.

This script provides visual cues to traders, helping them quickly identify potential buying or selling opportunities based on Marubozu candlestick patterns. Traders can use these signals as part of their technical analysis to make informed trading decisions.
نص برمجي مفتوح المصدر

قام مؤلف هذا النص البرمجي بنشره وجعله مفتوح المصدر، بحيث يمكن للمتداولين فهمه والتحقق منه، وهو الأمر الذي يدخل ضمن قيم TradingView. تحياتنا للمؤلف! يمكنك استخدامه مجانًا، ولكن إعادة استخدام هذا الكود في منشور تحكمه قواعد الموقع. يمكنك جعله مفضلاً لاستخدامه على الرسم البياني.

إخلاء المسؤولية

لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.

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