OPEN-SOURCE SCRIPT

GK Momentum Crossover with Risk Mgmt

165
The **GK Momentum Crossover with Risk Mgmt** strategy is a trend-following Pine Script v5 strategy for TradingView, trading 1 unit. It uses:
- **Entry**: Buys when the 9-period EMA crosses above the 21-period EMA (bullish) with volume above its 20-period SMA; sells when the 9-period EMA crosses below (bearish).
- **Risk Management**:
- Fixed stop loss (e.g., $10 below/above entry for long/short).
- Trailing stop activates after a $10 profit, trailing by $5.
- Optional fixed take profit (e.g., $20) is commented out.
- **Goal**: Captures trends while limiting drawdown via absolute price-based stops, suitable for stocks, forex, or crypto. Adjustable inputs for SL, TP, and trailing thresholds.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.