Trailing Stop Snippet — Strategy by Autoview_official
By Autoview_official
Performance Metrics
- Author: Autoview_official
- Symbol: BINANCE:ETHUSDT
- Timeframe: 4 hours
- Net P&L: +386.80 USDT (+0.04%)
- Win Rate: 38.7%
- Profit Factor: 1.015
- Max Drawdown: 2,363.37 USDT (0.24%)
- Total Trades: 669
- Sharpe Ratio: −5.259
Description
This is an example snippet that should allow for adding a trailing stop and trailing stop activation to almost any script.You can use it by setting a trailing stop alone. This will provide you standard trailing stop functionality allowing you to lock in profits and increase your stop-loss as the price moves in your direction.You can also set the trailing stop activation to trigger the original trailing stop at a certain level. "Once price rises 5%, set a trailing stop at break even". This would be set as 5 and 5 in the settings.