PINE LIBRARY
ToolsPrice

Library "ToolsPrice"
Library for generic tools for price related actions
Enum: PriceSource
An enumeration of named values representing price source.
Fields:
open Represents the "Open" price.
high Represents the "High" price.
low Represents the "Low" price.
close Represents the "Close" price.
hl2 Represents the "(High + Low)/2" price.
hlc3 Represents the "(High + Low + Close)/3" price.
ohlc4 Represents the "(Open + High + Low + Close)/4" price.
hlcc4 Represents the "(High + Low + Close + Close)/4" price.
Function: getPriceBySource(src)
Returns series float according to provided PriceSource enum
Parameters:
src (series PriceSource): PriceSource enum
Returns: Series float
Library for generic tools for price related actions
Enum: PriceSource
An enumeration of named values representing price source.
Fields:
open Represents the "Open" price.
high Represents the "High" price.
low Represents the "Low" price.
close Represents the "Close" price.
hl2 Represents the "(High + Low)/2" price.
hlc3 Represents the "(High + Low + Close)/3" price.
ohlc4 Represents the "(Open + High + Low + Close)/4" price.
hlcc4 Represents the "(High + Low + Close + Close)/4" price.
Function: getPriceBySource(src)
Returns series float according to provided PriceSource enum
Parameters:
src (series PriceSource): PriceSource enum
Returns: Series float
ספריית Pine
ברוח האמיתית של TradingView, המחבר לפרסם את הקוד של Pine הזה כספרייה בקוד פתוח, כך שמתכנתים אחרים בקהילתנו יעשו שימוש חוזר. כל הכבוד למחבר! ניתן להשתמש בספרייה הזו באופן פרטי או בומים בקוד פתוח, אך השימוש בחוזר בקוד הזה בפרסומים כפוף ל-כללי הבית.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
ספריית Pine
ברוח האמיתית של TradingView, המחבר לפרסם את הקוד של Pine הזה כספרייה בקוד פתוח, כך שמתכנתים אחרים בקהילתנו יעשו שימוש חוזר. כל הכבוד למחבר! ניתן להשתמש בספרייה הזו באופן פרטי או בומים בקוד פתוח, אך השימוש בחוזר בקוד הזה בפרסומים כפוף ל-כללי הבית.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.