OPEN-SOURCE SCRIPT
Güncellendi

Trailing TP Bot

519
• Crossover-based Trend Strategy using two simple moving averages (SMAs)
• Includes Take Profit and optional Trailing Take Profit
• Trades both long and short
• No pyramiding, i.e., one position at a time
Sürüm Notları
Core Idea
• Trend-following SMA crossover strategy that:
• Enters long when the fast SMA crosses above the slow SMA.
• Enters short when the fast SMA crosses below the slow SMA.



Exits
1. Take Profit (TP)
• Configurable fixed % target for both long and short trades.
• Optional trailing take profit that moves in your favor as price moves.
2. Stop Loss (SL)
• Fixed 3% (configurable) protective stop for both long and short trades.
• Runs independently of TP/trailing logic so either can trigger first.



Execution Rules
• Only trades within the configured date range (fromDate to toDate).
• One position at a time (pyramiding=0).
• Commission set at 0.07% per trade.
• Positions sized at 100% of equity for each trade.

Feragatname

Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.