OPEN-SOURCE SCRIPT
Volume (Custom Timeframe & Color)

This indicator displays volume data from a custom timeframe, regardless of the current chart resolution.
The bar color is determined by the price movement of the selected timeframe (green for bullish, red for bearish).
Features:
- Select any custom timeframe for volume (e.g., 5m, 15m, 1h, 1D).
- Volume bars are painted according to the candle direction of that timeframe.
- Useful for multi-timeframe analysis and detecting higher timeframe volume trends.
Inspired by TradingView’s built-in Volume indicator, but enhanced with custom timeframe and consistent coloring.
The bar color is determined by the price movement of the selected timeframe (green for bullish, red for bearish).
Features:
- Select any custom timeframe for volume (e.g., 5m, 15m, 1h, 1D).
- Volume bars are painted according to the candle direction of that timeframe.
- Useful for multi-timeframe analysis and detecting higher timeframe volume trends.
Inspired by TradingView’s built-in Volume indicator, but enhanced with custom timeframe and consistent coloring.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.