PINE LIBRARY
מעודכן StrategyMatrixLib

Library "StrategyMatrixLib"
render_matrix(posStr, digits, bgCol, headBg, headTxt, valCol, valTxt)
Renders a strategy performance matrix (table) using strategy.* and strategy.closedtrades.*
Parameters:
posStr (string): Table anchor position: "Top Left" | "Top Right" | "Bottom Left" | "Bottom Right"
digits (int): Decimal places for numeric formatting
bgCol (color): Background color for non-header cells
headBg (color): Background for header rows
headTxt (color): Text color for header rows
valCol (color): Background for value cells
valTxt (color): Text color for value cells
Returns: table id The created/updated table ID
render_matrix(posStr, digits, bgCol, headBg, headTxt, valCol, valTxt)
Renders a strategy performance matrix (table) using strategy.* and strategy.closedtrades.*
Parameters:
posStr (string): Table anchor position: "Top Left" | "Top Right" | "Bottom Left" | "Bottom Right"
digits (int): Decimal places for numeric formatting
bgCol (color): Background color for non-header cells
headBg (color): Background for header rows
headTxt (color): Text color for header rows
valCol (color): Background for value cells
valTxt (color): Text color for value cells
Returns: table id The created/updated table ID
הערות שחרור
v2הערות שחרור
v3Updated:
render_matrix(posStr, digits, bgCol, headBg, headTxt, valCol, valTxt)
Renders a strategy performance matrix table.
Parameters:
posStr (string): "Top Left" | "Top Right" | "Bottom Left" | "Bottom Right"
digits (int): Decimal places for numeric formatting
bgCol (color): Background for non-header label cells
headBg (color): Background for header rows
headTxt (color): Text color for header rows
valCol (color): Background for value cells
valTxt (color): Text color for value cells
Returns: table id (so caller can hold the table if desired)
הערות שחרור
v4הערות שחרור
v5הערות שחרור
v6הערות שחרור
v7הערות שחרור
v8ספריית Pine
ברוח האמיתית של TradingView, המחבר לפרסם את הקוד של Pine הזה כספרייה בקוד פתוח, כך שמתכנתים אחרים בקהילתנו יעשו שימוש חוזר. כל הכבוד למחבר! ניתן להשתמש בספרייה הזו באופן פרטי או בומים בקוד פתוח, אך השימוש בחוזר בקוד הזה בפרסומים כפוף ל-כללי הבית.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
ספריית Pine
ברוח האמיתית של TradingView, המחבר לפרסם את הקוד של Pine הזה כספרייה בקוד פתוח, כך שמתכנתים אחרים בקהילתנו יעשו שימוש חוזר. כל הכבוד למחבר! ניתן להשתמש בספרייה הזו באופן פרטי או בומים בקוד פתוח, אך השימוש בחוזר בקוד הזה בפרסומים כפוף ל-כללי הבית.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.