OPEN-SOURCE SCRIPT

Irchesh Enhanced Momentum Strategy

154
Trend Filter (EMA):
Dual EMA (50/200 periods) to identify the main trend
Long condition only when EMA 50 > EMA 200
Short condition only when EMA 50 < EMA 200
Momentum RSI with Divergences:
14-period RSI with customizable levels
Automatic detection of bullish/bearish divergences
Volume filter (1.5x the 20-period moving average)
Advanced Risk Management:
Fixed stop loss (1%) and take profit (2%)
Dynamic trailing stop (1.5%)
Option to disable the trailing stop
Additional Filters:
Price above/below fast EMA for confirmation
Volume above average to confirm strength
Recommended Optimization:
Test different EMA values (e.g., 21/50 instead of 50/200)
Adjust RSI parameters based on the timeframe
Experiment with different volume multipliers
Optimize stop loss/take profit levels
Important Notes:
The strategy works best in strongly trending markets
RSI divergences require volume confirmation
Use H1 or higher timeframes to reduce noise
Combine with fundamental analysis for better performance

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.