
यह रणनीति एक ट्रेडिंग सिस्टम है जो एक बहु-आयामी सूचकांक चलती औसत (ईएमए) और एक अपेक्षाकृत मजबूत सूचक (आरएसआई) पर आधारित है। यह रणनीति ट्रेडिंग निर्णय लेने के लिए 20, 50, 100 तीन-आयामी ईएमए रुझानों का आकलन करती है, जो मूल्य ब्रेकआउट और आरएसआई ओवरबॉय सिग्नल के साथ संयुक्त होती है। यह रणनीति मुख्य रूप से ट्रेंडिंग मार्केट के लिए है, जो कई तकनीकी संकेतकों के सत्यापन के माध्यम से ट्रेडिंग की सटीकता में सुधार करती है।
रणनीति के मूल तर्क में निम्नलिखित प्रमुख भाग शामिल हैं:
यह एक जटिल रणनीति प्रणाली है जिसमें प्रवृत्ति अनुवर्ती और गतिशीलता उलट है। रणनीति को सरल और समझने में आसान रखते हुए, कई तकनीकी संकेतकों के संयोजन के उपयोग के माध्यम से, बेहतर जोखिम-लाभ विशेषताएं प्राप्त की जाती हैं। रणनीति का मुख्य लाभ इसकी सख्त प्रवृत्ति की पुष्टि करने वाली तंत्र और एक पूरी तरह से विकसित जोखिम नियंत्रण प्रणाली में है, लेकिन वास्तविक अनुप्रयोगों में पैरामीटर अनुकूलन और बाजार की स्थिति के अनुकूलता पर ध्यान देने की आवश्यकता है।
/*backtest
start: 2024-02-18 00:00:00
end: 2025-02-17 00:00:00
period: 4h
basePeriod: 4h
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/
//@version=5
strategy("EMA Crossover + RSI Strategy", overlay=true, initial_capital=10000, default_qty_type=strategy.percent_of_equity, default_qty_value=200)
// Calculate EMAs
ema20 = ta.ema(close, 20)
ema50 = ta.ema(close, 50)
ema100 = ta.ema(close, 100)
// Calculate RSI
rsiPeriod = 14
rsiValue = ta.rsi(close, rsiPeriod)
// Determine if each EMA is trending up (current value greater than the previous value)
ema20_trending_up = ema20 > ema20[1]
ema50_trending_up = ema50 > ema50[1]
ema100_trending_up = ema100 > ema100[1]
all_emas_trending_up = ema20_trending_up and ema50_trending_up and ema100_trending_up
// Buy condition:
// 1. Price crosses above the EMA20 from below (using ta.crossover)
// 2. All three EMAs are trending upward
buySignal = ta.crossover(close, ema20) and all_emas_trending_up
// Sell conditions:
// Sell if RSI is above 70 OR price crosses below the EMA20 from above (using ta.crossunder)
sellSignal = (rsiValue > 70) or ta.crossunder(close, ema20)
// Enter a long position if the buy condition is met
if (buySignal)
strategy.entry("Long", strategy.long)
// Exit the long position if either sell condition is met
if (sellSignal)
strategy.close("Long")
// Plot the EMAs on the chart for visualization
plot(ema20, color=color.blue, title="EMA 20")
plot(ema50, color=color.orange, title="EMA 50")
plot(ema100, color=color.green, title="EMA 100")
// (Optional) Plot the RSI and a horizontal line at 70 for reference
plot(rsiValue, title="RSI", color=color.purple)
hline(70, title="Overbought (70)", color=color.red)