PINE LIBRARY
Güncellendi visualization

Library "visualization"
method tagLine(message, priceLevel, showCondition, labelPosition, labelSize, offsetX, textColor, bgColor, lineWidth, lineStyle)
Creates a textLabel with line at specified price level
Namespace types: series string, simple string, input string, const string
Parameters:
message (string): Text to display in the textLabel. If starts with '$', price included. Empty = no textLabel
priceLevel (float): Price level for textLabel and line positioning
showCondition (bool): Condition to display the textLabel and line
labelPosition (string): Label position ("above", "below")
labelSize (string): Label size
offsetX (int): X-axis offset for textLabel and line
textColor (color): Text color
bgColor (color): Background color
lineWidth (int): Line width
lineStyle (string): Line style
Returns: void
textLabel(message, showCondition, position, textColor)
Creates dynamic labels with optional arrows
Parameters:
message (string): Message to show (prefix with "!" to hide arrow)
showCondition (bool): Display condition
position (string): Label position ("above", "below")
textColor (color): Text color
Returns: void
box(showCondition, topValue, bottomValue, barsBack, borderColor, bgColor)
Creates a box around price range
Parameters:
showCondition (bool): Condition to draw the box
topValue (float): Optional custom top value
bottomValue (float): Optional custom bottom value
barsBack (int): Number of bars to look back
borderColor (color): Box border color
bgColor (color): Box background color
Returns: box Box object
method tagLine(message, priceLevel, showCondition, labelPosition, labelSize, offsetX, textColor, bgColor, lineWidth, lineStyle)
Creates a textLabel with line at specified price level
Namespace types: series string, simple string, input string, const string
Parameters:
message (string): Text to display in the textLabel. If starts with '$', price included. Empty = no textLabel
priceLevel (float): Price level for textLabel and line positioning
showCondition (bool): Condition to display the textLabel and line
labelPosition (string): Label position ("above", "below")
labelSize (string): Label size
offsetX (int): X-axis offset for textLabel and line
textColor (color): Text color
bgColor (color): Background color
lineWidth (int): Line width
lineStyle (string): Line style
Returns: void
textLabel(message, showCondition, position, textColor)
Creates dynamic labels with optional arrows
Parameters:
message (string): Message to show (prefix with "!" to hide arrow)
showCondition (bool): Display condition
position (string): Label position ("above", "below")
textColor (color): Text color
Returns: void
box(showCondition, topValue, bottomValue, barsBack, borderColor, bgColor)
Creates a box around price range
Parameters:
showCondition (bool): Condition to draw the box
topValue (float): Optional custom top value
bottomValue (float): Optional custom bottom value
barsBack (int): Number of bars to look back
borderColor (color): Box border color
bgColor (color): Box background color
Returns: box Box object
Sürüm Notları
v2Sürüm Notları
v3Updated:
textLabel(message, showCondition, labelPosition, textColor)
Creates dynamic labels with optional arrows
Parameters:
message (string): Message to show (prefix with "!" to hide arrow)
showCondition (bool): Display condition
labelPosition (string): Label labelPosition ("above", "below")
textColor (color): Text color
Returns: void
Pine kitaplığı
Gerçek TradingView ruhuyla, yazar bu Pine kodunu açık kaynaklı bir kütüphane olarak yayınladı, böylece topluluğumuzdaki diğer Pine programcıları onu yeniden kullanabilir. Yazara saygı! Bu kütüphaneyi özel olarak veya diğer açık kaynaklı yayınlarda kullanabilirsiniz, ancak bu kodun bir yayında yeniden kullanımı Site Kuralları tarafından yönetilmektedir.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.
Pine kitaplığı
Gerçek TradingView ruhuyla, yazar bu Pine kodunu açık kaynaklı bir kütüphane olarak yayınladı, böylece topluluğumuzdaki diğer Pine programcıları onu yeniden kullanabilir. Yazara saygı! Bu kütüphaneyi özel olarak veya diğer açık kaynaklı yayınlarda kullanabilirsiniz, ancak bu kodun bir yayında yeniden kullanımı Site Kuralları tarafından yönetilmektedir.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.