
यह रणनीति आरएसआई और सुपरट्रेंड सूचकांकों पर आधारित एक प्रवृत्ति ट्रैकिंग प्रणाली है, जो एटीआर उतार-चढ़ाव के साथ मिलकर जोखिम प्रबंधन के लिए है। रणनीति प्रवृत्ति संकेतों और ओवरबॉय ओवरसोल्ड क्षेत्रों के निर्णय के माध्यम से प्रवेश का समय निर्धारित करती है, और बाजार की अस्थिरता के आधार पर गतिशील स्टॉप-स्टॉप-लॉस का उपयोग करके जोखिम का प्रबंधन करती है। यह रणनीति 15 मिनट की समय अवधि को गोद लेती है और डिफ़ॉल्ट रूप से 15% धन प्रबंधन नियम का उपयोग करती है।
इस रणनीति में मुख्य रूप से निम्नलिखित प्रमुख तत्वों के आधार पर व्यापार किया जाता हैः
यह एक पूरी तरह से संरचित, तर्कसंगत और स्पष्ट प्रवृत्ति ट्रैकिंग रणनीति है। सुपरट्रेंड, आरएसआई और एटीआर के तीन संकेतकों को व्यवस्थित रूप से संयोजित करके, प्रवृत्ति को पकड़ने के साथ-साथ जोखिम नियंत्रण पर ध्यान केंद्रित किया गया है। रणनीति का मुख्य लाभ इसकी अनुकूलनशीलता और जोखिम प्रबंधन ढांचे में है, लेकिन वास्तविक अनुप्रयोगों में अभी भी बाजार की स्थिति के अनुसार उचित पैरामीटर समायोजन और अनुकूलन की आवश्यकता है।
/*backtest
start: 2023-12-02 00:00:00
end: 2024-11-28 08:00:00
period: 3d
basePeriod: 3d
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/
//@version=5
strategy("ETH Signal 15m", overlay=true)
// Backtest period
start_time = input(timestamp("2024-08-01 00:00"), title="Backtest Start Time")
end_time = input(timestamp("2054-01-01 00:00"), title="Backtest End Time")
atrPeriod = input(12, "ATR Length")
factor = input.float(2.76, "Factor", step=0.01)
rsiLength = input(12, title="RSI Length")
rsiOverbought = input(70, title="RSI Overbought Level")
rsiOversold = input(30, title="RSI Oversold Level")
[_, direction] = ta.supertrend(factor, atrPeriod)
rsi = ta.rsi(close, rsiLength)
// Ensure current time is within the backtest period
in_date_range = true
// Long condition: Supertrend buy signal and RSI not overbought
if in_date_range and ta.change(direction) < 0 and rsi < rsiOverbought
strategy.entry("Long", strategy.long)
// Short condition: Supertrend sell signal and RSI not oversold
if in_date_range and ta.change(direction) > 0 and rsi > rsiOversold
strategy.entry("Short", strategy.short)
// Optional: Add stop loss and take profit using ATR
atr = ta.atr(atrPeriod)
strategy.exit("Exit Long", "Long", stop=close - 4 * atr, limit=close + 2 * atr)
strategy.exit("Exit Short", "Short", stop=close + 4 * atr, limit=close - 2.237 * atr)