OPEN-SOURCE SCRIPT
تم تحديثه

OHLC History

136
OHLC History is a Pine Script v6 overlay that snapshots up to 32 historical OHLC-derived levels from a selectable higher (or different) timeframe and projects them onto the active chart. It uses request.security to fetch the chosen source (Close/High/Low/Open), rounds each value to the instrument’s minimum tick, and stores them in an array. A “Max Number Lookback” input limits how many of those levels are rendered. For each retained level the script draws a horizontal line extended both ways, coloring it dynamically based on whether the level is above (customizable “above” color) or below (customizable “below” color) the current price, and places compact labels (01–32) with optional price text offset by a user-defined label distance. Prior bar artifacts (lines and labels) are explicitly deleted each update to keep the chart clean, while small white plot markers ensure the levels appear in the price scale and data window for quick reference.
ملاحظات الأخبار
New labels with better descriptions.

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

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