OPEN-SOURCE SCRIPT

Samil Dogru SmartTrailing v1.1

157
📘 Samil Dogru SmartTrailing v1.1 – BTCUSDT Optimized Strategy (15-Minute)

Samil Dogru SmartTrailing v1.1 is an advanced trend-tracking and profit-locking strategy, specifically optimized for BTCUSDT on the 15-minute timeframe.
It integrates dynamic price following, intelligent trailing exit after trigger activation, and protective hard-stop loss logic to maximize profit while limiting downside risk.

⚙️ Core Strategy Logic:
Entry Signal: Based on a crossover of HMA100 and HMA200, filtered by the trend direction of HMA500 and HMA1000 (cloud logic).

Trigger Mechanism: When price moves a user-defined percentage (e.g., +1.2%) from the entry, the trailing logic is activated.

Smart Trailing Exit: Once triggered, the strategy tracks new highs (for long) or new lows (for short). A trailing stop is dynamically updated. If price pulls back by the defined margin (e.g., 0.8%), the position exits.

Hard Stop (Pre-Trigger): If price moves adversely by a defined percentage (e.g., 2.5%) before the trigger is hit, the position is forcefully exited to protect capital.

📊 Performance Note:
On BTCUSDT with 15-minute candles, historical testing has shown:

High directional accuracy

Optimized entry and exit timing

Improved profit retention with minimal user intervention

This setup is ideal for semi-automated swing scalping within structured trend conditions.

📎 User Controls:
All percentages are user-defined:

Trigger Threshold (%)

Trailing Margin (%)

Maximum Loss (%) before trigger

Trailing logic is active only after the trigger level is reached. One position at a time (pyramiding=0).

⚠️ Disclaimer:
This strategy is not financial advice. While historical performance is promising, future results are not guaranteed.
Always test in a simulated environment before deploying real capital. Use proper position sizing and risk management.

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.