OPEN-SOURCE SCRIPT

Initial template

Mis à jour
I have created a starting template for strategies.

It allows quick control of turning on/off long and short conditions, or disabling them entirely.

It includes trade filters for strategy equity and volatility. If there is not enough volatility it will not trade, or if the strategy equity is below the equity ema it will not trade.

It has standard stops and limits.

Simply change the long/short conditions!

Notes de version
  • Added the exit logic from adolgov's stepped stop loss (
    Stepped trailing strategy example
    )
  • Added functions to record when condition is met and save the status of when strategy is long or short
  • Added option to wait for the trigger to open the position then wait for a better price
  • removed informational segments and old risk management parameters/orders
  • calculated a profitable strategy using the template
Notes de version
Added interoperable comments
Notes de version
Corrected the strategy
Notes de version
Comment feature at the top of script now
blankdefaultMoving AveragesstarttemplatetoolVolatility

Script open-source

Dans le plus pur esprit TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par nos Règles. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Vous voulez utiliser ce script sur un graphique ?

Clause de non-responsabilité