OPEN-SOURCE SCRIPT
Atualizado

Strategy Backtesting Template [MYN]

9 759
A few people have been asking me to share my backtesting template. Currently I use this as my starting point for validating existing strategies and developing new ones.

Features:

  • Trading Date Range [Start / End]
  • Trade Direction [Long/Short/Both]
  • 4 progressive take profits with target percents and percentage of position to take profit on (Thanks adolgo)
  • Variable percentage Stop Loss
  • Automatic ProfitView Alert Syntax builder for Longs and Shorts
  • ADX checkbox to automatically add conditional logic to your strategy


Notas de Lançamento
Fixed typo in the example strategy shortCondition referencing the longConditionEntry
Notas de Lançamento
  • Added EMA Filter
  • Added MASANAKAMURA ADX option to existing ADX Filter
  • Added Time Of Day Window
  • Added Performance Summary Dashboard
  • Added Monthly Performance Dash (Thanks QuantNomad)
  • Fixed leverage calculation (Thanks Cybertron)

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.