OPEN-SOURCE SCRIPT
Three-Candle Lookback

This indicator projects three synthetic candles to the right of live price so you can see the structure of the last completed 15-minute, 4-hour, and 6-hour sessions at a glance — without switching timeframes.
🔵 Blue — 15m candle
🟠 Orange — 4H candle
🟣 Purple — 6H candle
Each candle shows the session's open, high, low, and close, with the high/low marked by lines and the session name labelled above it. Colors are fixed (they don't flip green/red), so you can tell the sessions apart instantly.
Settings: each candle's color, the offset from the last bar, and the spacing between candles are all adjustable. If a candle isn't visible, it's sitting off the right edge — scroll right, or reduce the offset/spacing values.
🔵 Blue — 15m candle
🟠 Orange — 4H candle
🟣 Purple — 6H candle
Each candle shows the session's open, high, low, and close, with the high/low marked by lines and the session name labelled above it. Colors are fixed (they don't flip green/red), so you can tell the sessions apart instantly.
Settings: each candle's color, the offset from the last bar, and the spacing between candles are all adjustable. If a candle isn't visible, it's sitting off the right edge — scroll right, or reduce the offset/spacing values.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.