PINE LIBRARY
已更新

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)
版本注释
v7 i think
版本注释
v3
版本注释
v4
版本注释
v6
版本注释
v6
版本注释
v7
版本注释
v8
版本注释
v9
版本注释
v10
版本注释
v11
版本注释
v12
版本注释
v13
版本注释
v14
版本注释
v15
版本注释
v16
版本注释
v17
版本注释
v18
版本注释
v19

Updated:
calculateMaxDrawdown(_equityCurve, startDate)
  Parameters:
    _equityCurve (float)
    startDate (int)
版本注释
v20
版本注释
v21

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

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。