PROTECTED SOURCE SCRIPT

Supertrend Strategy With Multi Tp & Tsl

116
Hello Traders,

This strategy is based on the popular Supertrend indicator, which many traders use as a simple trend-following tool. The core entry logic is straightforward:

Buy (Long) when the price closes above the Supertrend line.
Sell (Short) when the price closes below the Supertrend line.

However, trading success isn’t only about entries — proper risk management makes all the difference. That’s why this strategy includes four stop-loss methods, two take-profit types, and a trailing stop-loss system. You can customize all of these settings to create your own personalized version.

🛑 Stop-Loss Methods
снимок
Tick – Uses the instrument’s smallest price increment. Ideal for tick-based markets such as Futures or Forex.

Percent – Defines the stop-loss as a percentage of entry price. Commonly used in Crypto trading.

ATR – Uses the Average True Range value to determine stop-loss distance. Perfect for adapting to changing market volatility.

Supertrend – The stop-loss level is set at the Supertrend line value at the time of entry.

🔁 Trailing Stop-Loss & Reverse Signals

Trailing SL: If enabled, the chosen stop-loss method will trail the price dynamically from the moment the position opens.

Close with Reverse Signals: When activated, the current position closes and reverses on an opposite signal. If disabled, the strategy waits until the current position is closed before opening a new one.

🎯 Take-Profit Options
снимок
Tick – Set a fixed take-profit level based on tick distance.

Percent – Set take-profit based on a percentage change from entry.

Ratio – Sets take-profit based on the entry-to-stop-loss distance × ratio value.

Each take-profit method allows you to define the percentage of position to close at that level.

⚖️ Breakeven Option

When Breakeven is enabled, after the first take-profit is triggered, the stop-loss automatically moves to the entry level, protecting your capital.

⚙️ Additional Settings

Position Type: Choose between Long only, Short only, or Both directions.

Session Filter: Trade only during specific time ranges. Activate this option and set your desired session hours (make sure to select your correct timezone).

📈 Visuals

The strategy plots entry, stop-loss, and take-profit levels directly on the chart, allowing you to clearly visualize your trades and manage them effectively.
снимок
Feel free to ask any questions or suggest improvements — this strategy is built for flexibility and experimentation!

Отказ от ответственности

Все виды контента, которые вы можете увидеть на TradingView, не являются финансовыми, инвестиционными, торговыми или любыми другими рекомендациями. Мы не предоставляем советы по покупке и продаже активов. Подробнее — в Условиях использования TradingView.