OPEN-SOURCE SCRIPT
Mis à jour

Initial template

2822
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

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.