OPEN-SOURCE SCRIPT
Samil Dogru SmartTrailing v1.1

📘 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.
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.
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。