BeardedQuant

Pinbar (30-50 Rule)

My first script to identify pin bars with a predefined rules, any feedbacks are welcome.

Rules

Bullish Candle

1. Body of the candle should be above the 50% of the day's price range

AND

2. Either the open or the close should be above the 30% of the day's price range

if both the above conditions are met then a bullish arrow is produced with "B".

Bearish Candle

1. Body of the candle should be below the 50% of the day's price range

AND

2. Either the open or the close should be below the 30% of the day's price range

if both the above conditions are met then a bearish arrow is produced with "S".

Thanks

Hope this indicator helps you identify trading entries.

نص برمجي مفتوح المصدر

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

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

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

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