PINE LIBRARY
Aktualisiert

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

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

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

Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.