PINE LIBRARY
Atualizado

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)
Notas de Lançamento
v7 i think
Notas de Lançamento
v3
Notas de Lançamento
v4
Notas de Lançamento
v6
Notas de Lançamento
v6
Notas de Lançamento
v7
Notas de Lançamento
v8
Notas de Lançamento
v9
Notas de Lançamento
v10
Notas de Lançamento
v11
Notas de Lançamento
v12
Notas de Lançamento
v13
Notas de Lançamento
v14
Notas de Lançamento
v15
Notas de Lançamento
v16
Notas de Lançamento
v17
Notas de Lançamento
v18
Notas de Lançamento
v19

Updated:
calculateMaxDrawdown(_equityCurve, startDate)
  Parameters:
    _equityCurve (float)
    startDate (int)
Notas de Lançamento
v20
Notas de Lançamento
v21

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

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.