PINE LIBRARY
Telah dikemas kini

Backtesting

718
Library "Backtesting"

curve(disp_ind)
  Call function to get a certain curve of your strategy.
  Parameters:
    disp_ind (string)
  Returns: Returns type of curve plot.

cleaner(disp_ind, plot)
  Call function to filter out your Strategy plots
  Parameters:
    disp_ind (string)
    plot (float)

backtestTable(option, position)
  Assign this function to a random variable to get the "Performance Table"
  Parameters:
    option (simple string)
    position (simple string)
Nota Keluaran
v7 i think
Nota Keluaran
v3
Nota Keluaran
v4
Nota Keluaran
v6
Nota Keluaran
v6
Nota Keluaran
v7
Nota Keluaran
v8
Nota Keluaran
v9
Nota Keluaran
v10
Nota Keluaran
v11
Nota Keluaran
v12
Nota Keluaran
v13
Nota Keluaran
v14
Nota Keluaran
v15
Nota Keluaran
v16
Nota Keluaran
v17
Nota Keluaran
v18
Nota Keluaran
v19

Updated:
calculateMaxDrawdown(_equityCurve, startDate)
  Parameters:
    _equityCurve (float)
    startDate (int)
Nota Keluaran
v20
Nota Keluaran
v21

Added:
buyandhold(startPrice, startDate)
  Parameters:
    startPrice (float)
    startDate (int)

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.