PINE LIBRARY
Telah dikemas kini

StrategyMatrixLib

87
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
Nota Keluaran
v2
Nota Keluaran
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)
Nota Keluaran
v4
Nota Keluaran
v5
Nota Keluaran
v6
Nota Keluaran
v7
Nota Keluaran
v8

Penafian

Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.