OPEN-SOURCE SCRIPT

Litecoin Trailing-Stop Strategy

998
Altcoins Trailing-Stop Strategy
This strategy is based on a momentum breakout approach using PKAMA (Powered Kaufman Adaptive Moving Average) as a trend filter, and a delayed trailing stop mechanism to manage risk effectively.

It has been designed and fine-tuned Altcoins, which historically shows consistent volatility patterns and clean trend structures, especially on intraday timeframes like 15m and 30m.

Strategy Logic:
Entry Conditions:
Long when PKAMA indicates an upward move
Short when PKAMA detects a downward trend
Minimum spacing of 30 bars between trades to avoid overtrading

Trailing Stop:
Activated only after a customizable delay (delayBars)
User can set trailing stop % and delay independently
Helps avoid premature exits due to short-term volatility

Customizable Parameters:
This strategy uses a custom implementation of PKAMA (Powered Kaufman Adaptive Moving Average), inspired by the work of alexgrover https://www.tradingview.com/script/Jh0YGJr0-Powered-Kaufman-Adaptive-Moving-Average/
PKAMA is a volatility-aware moving average that adjusts dynamically to market conditions, making it ideal for altcoins where trend strength and direction change frequently.

This script is for educational and experimental purposes only. It is not financial advice. Please test thoroughly before using it in live conditions, and always adapt parameters to your specific asset and time frame.
Feedback is welcome! Feel free to clone and adapt it for your own trading style.

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.