OPEN-SOURCE SCRIPT
Doji Detector

This script is designed to detect Doji candlesticks, which are characterized by a small body compared to the overall candle range. The script identifies a Doji when:
✔ The body size is smaller than 10% of the total candle range, OR
✔ The body size is less than 3 pips.
How It Works:
The script calculates the body size of each candle (absolute difference between the open and close price).
It then compares the body size with the total candle range (high - low).
If the body size is smaller than 10% of the candle range or less than 3 pips, the script marks it as a Doji.
How to Use It:
Apply the script to your TradingView chart.
It will highlight Doji candles automatically.
Suitable for traders using price action analysis to identify potential market reversals or indecision zones.
🚀 Best suited for: Forex, Stocks, and Crypto markets.
🔔 Optional: You can modify the conditions to fit your trading strategy.
✔ The body size is smaller than 10% of the total candle range, OR
✔ The body size is less than 3 pips.
How It Works:
The script calculates the body size of each candle (absolute difference between the open and close price).
It then compares the body size with the total candle range (high - low).
If the body size is smaller than 10% of the candle range or less than 3 pips, the script marks it as a Doji.
How to Use It:
Apply the script to your TradingView chart.
It will highlight Doji candles automatically.
Suitable for traders using price action analysis to identify potential market reversals or indecision zones.
🚀 Best suited for: Forex, Stocks, and Crypto markets.
🔔 Optional: You can modify the conditions to fit your trading strategy.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
للوصول السريع إلى الرسم البياني، أضف هذا النص البرمجي إلى مفضلاتك - تعرف على المزيد هنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
للوصول السريع إلى الرسم البياني، أضف هذا النص البرمجي إلى مفضلاتك - تعرف على المزيد هنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.