OPEN-SOURCE SCRIPT

Disruptor Trend-Following (Drawdown < 30%)

This is an example Pine Script v5 strategy template that combines trend-following logic with an automated drawdown check. The script uses a 200 EMA filter and RSI threshold for entries, along with adjustable stop-loss/take-profit parameters. It also includes a dynamic drawdown tracker that closes all positions if total strategy drawdown exceeds 30%.
Trend Analysis

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer