INVITE-ONLY SCRIPT
Mis à jour

Profitable SuperTrend

30190
Introduction
I was faced with the fact that many authors contradicted each other about the indicator settings. Each trader offers his(her) own settings, without having an evidence base. Therefore, I decided to make an algorithmic optimizer.

What is this tool?
This tool is a performance optimizer that uses a decision tree-based algorithm under the hood to find the most profitable settings for the SuperTrend indicator. It analyzes a bunch of different ATR Periods (between 3 to 45) and ATR Multipliers (between 1 to 8 with a decimal step of 0.1) and backtests each combination across the entire history of an instrument. If the more profitable parameters were found, the indicator will switch its values to the found ones immediately.

Instead of manually selecting parameters, just relax - the algorithm will do it for you.

Alerts
It has an alert that notifies when the more profitable settings were found.

NOTE: It does not change what has already been plotted before.
NOTE 2: The implementation of the SuperTrend indicator I used can be found here
Notes de version
  • Made optimization fixes
Notes de version
  • Added date range for optimizer
  • Added option to use Early Switch Algorithm
  • Added optimization fixes
Notes de version
  • Changed alert name
Notes de version
  • Security update
Notes de version
  • Security update
Notes de version
  • Security update
Notes de version
  • Security update
Notes de version
  • Security update
Notes de version
  • Security update
Notes de version
  • Security update
Notes de version
  • Security update
  • Optimization update
  • Added commission customization
Notes de version
  • Update
Notes de version
  • Update
Notes de version
  • Update
Notes de version
  • Update
Notes de version
  • Minor update
Notes de version
  • Update
Notes de version
  • Fixed bug with the SuperTrend calculation on doji candles

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.