PINE LIBRARY
Mis à jour

StrategyMatrixLib

213
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
Notes de version
v2
Notes de version
v3

Updated:
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)
Notes de version
v4
Notes de version
v5
Notes de version
v6
Notes de version
v7
Notes de version
v8

Clause de non-responsabilité

Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.