
यह रणनीति एक बहु-तकनीकी सूचक-आधारित ट्रेंड ट्रैकिंग रणनीति है, जिसमें कई तकनीकी सूचकांकों जैसे कि चलती औसत (EMA), औसत ट्रेंड सूचक (ADX) और अपेक्षाकृत मजबूत सूचक (RSI) को एकीकृत किया गया है, और बहु-समय-फ्रेम विश्लेषण विधियों को जोड़ा गया है। रणनीति मुख्य रूप से तेजी से और धीमी गति से ईएमए के क्रॉसिंग के माध्यम से प्रवृत्ति की दिशा की पुष्टि करती है। रणनीति का उपयोग प्रवृत्ति की ताकत को फ़िल्टर करने के लिए एडीएक्स का उपयोग करती है, आरएसआई के माध्यम से बाजार की गतिशीलता का आकलन करने के लिए, जिससे 1 मिनट के चार्ट पर उच्च आवृत्ति व्यापार किया जा सकता है। समीक्षा परिणामों से पता चलता है कि रणनीति में 76.92% की जीत की दर और 1.819 के लाभप्रदता कारक हैं, जो अच्छी लाभप्रदता का प्रदर्शन करते हैं।
रणनीति निम्नलिखित मुख्य तंत्रों पर आधारित हैः
इस रणनीति में कई तकनीकी संकेतकों के साथ समन्वय के माध्यम से एक मजबूत प्रवृत्ति ट्रैकिंग प्रणाली का निर्माण किया गया है। इस रणनीति ने उच्च जीत दर बनाए रखने के साथ-साथ एक अच्छी तरह से विकसित जोखिम नियंत्रण तंत्र के माध्यम से काफी लाभ प्राप्त किया है। हालांकि कुछ अनुकूलन के लिए जगह है, समग्र प्रदर्शन संतोषजनक है, विशेष रूप से उन व्यापारियों के लिए उपयुक्त है जो स्थिर लाभ की तलाश में हैं।
/*backtest
start: 2024-02-19 00:00:00
end: 2025-02-17 08:00:00
period: 4h
basePeriod: 4h
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/
//@version=5
strategy("Enhanced Trend Following Strategy", overlay=true, default_qty_type=strategy.percent_of_equity, default_qty_value=200)
// === INPUTS ===
emaFastLength = input(50, title="Fast EMA Length")
emaSlowLength = input(200, title="Slow EMA Length")
adxLength = input(14, title="ADX Length")
adxSmoothing = input(14, title="ADX Smoothing")
adxThreshold = input(25, title="ADX Threshold")
rsiLength = input(14, title="RSI Length")
rsiOverbought = input(70, title="RSI Overbought Level")
rsiOversold = input(30, title="RSI Oversold Level")
// === INDICATORS ===
emaFast = ta.ema(close, emaFastLength)
emaSlow = ta.ema(close, emaSlowLength)
[dip, dim, adxValue] = ta.dmi(adxLength, adxSmoothing)
rsiValue = ta.rsi(close, rsiLength)
// === MULTI-TIMEFRAME EMA ===
emaFastHTF = request.security(syminfo.tickerid, "240", ta.ema(close, emaFastLength))
emaSlowHTF = request.security(syminfo.tickerid, "240", ta.ema(close, emaSlowLength))
// === CONDITIONS ===
bullishTrend = ta.crossover(emaFast, emaSlow) and adxValue > adxThreshold and rsiValue > rsiOversold
bearishTrend = ta.crossunder(emaFast, emaSlow) and adxValue > adxThreshold and rsiValue < rsiOverbought
// === TRADE EXECUTION ===
if (bullishTrend)
strategy.entry("Long", strategy.long)
strategy.exit("TakeProfit_Long", from_entry="Long", limit=close * 1.05, stop=close * 0.98)
if (bearishTrend)
strategy.entry("Short", strategy.short)
strategy.exit("TakeProfit_Short", from_entry="Short", limit=close * 0.95, stop=close * 1.02)
// === PLOT INDICATORS ===
plot(emaFast, color=color.blue, title="Fast EMA")
plot(emaSlow, color=color.red, title="Slow EMA")
hline(adxThreshold, "ADX Threshold", color=color.gray, linestyle=hline.style_dotted)
bgcolor(bullishTrend ? color.green : bearishTrend ? color.red : na, transp=90)
// === ALERTS ===
alertcondition(bullishTrend, title="Buy Signal", message="A bullish trend detected!")
alertcondition(bearishTrend, title="Sell Signal", message="A bearish trend detected!")
// === STRATEGY SETTINGS ===
strategy.close("Long", when=rsiValue > rsiOverbought)
strategy.close("Short", when=rsiValue < rsiOversold)