PINE LIBRARY
Telah dikemas kini

Backtesting

667
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 dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.