OPEN-SOURCE SCRIPT

Initial template

已更新
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!

版本注释
  • 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
版本注释
Added interoperable comments
版本注释
Corrected the strategy
版本注释
Comment feature at the top of script now
blankdefaultMoving AveragesstarttemplatetoolVolatility

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明