
यह रणनीति एक स्वचालित ट्रेडिंग प्रणाली है जो अपेक्षाकृत मजबूत सूचक (आरएसआई) पर आधारित है, जो संभावित उछाल के अवसरों को पकड़ने के लिए मुख्य रूप से बाजार की ओवरसोल्ड स्थितियों की पहचान करके है। रणनीति एक प्रगतिशील पोजीशन बिल्डिंग विधि का उपयोग करती है, जो आरएसआई कमियों को पार करने पर कई पोजीशनों को धीरे-धीरे स्थापित करती है, और लाभप्रदता लक्ष्य निर्धारित करके जोखिम नियंत्रण करती है। सिस्टम को एक लचीली धन प्रबंधन तंत्र के लिए डिज़ाइन किया गया है, जो प्रत्येक लेनदेन पर खाते के कुल 6.6% का उपयोग करता है, जो अधिकतम 15 पिरामिड वृद्धि की अनुमति देता है।
रणनीति का मूल तर्क निम्नलिखित प्रमुख तत्वों पर आधारित है:
इस रणनीति ने ओवरसोल्ड अवसरों की पहचान आरएसआई संकेतक के माध्यम से की, पिरामिड-आधारित बढ़ोतरी और निश्चित अनुपात के साथ लाभान्वित किया, और एक पूर्ण व्यापार प्रणाली का निर्माण किया। रणनीति का लाभ व्यवस्थित संचालन और जोखिम वितरण में है, लेकिन रणनीति के प्रदर्शन पर बाजार की प्रवृत्ति और पैरामीटर सेटिंग के प्रभाव पर ध्यान देने की आवश्यकता है। गतिशील पैरामीटर समायोजन, स्टॉप-लॉस तंत्र और बाजार फ़िल्टरिंग जैसे अनुकूलन उपायों को जोड़कर रणनीति की स्थिरता और लाभप्रदता को और बढ़ाया जा सकता है।
/*backtest
start: 2024-09-15 00:00:00
end: 2024-12-10 00:00:00
period: 1h
basePeriod: 1h
exchanges: [{"eid":"Binance","currency":"ETH_USDT"}]
*/
//@version=5
strategy("RSI Cross Under Strategy", overlay=true, initial_capital=1500, default_qty_type=strategy.percent_of_equity, default_qty_value=6.6)
// Input parameters
rsiLength = input(14, "RSI Length")
rsiOversold = input(28.5, "RSI Oversold Level")
profitTarget = input(900, "Profit Target (%)")
maxPyramiding = input(15, "Max Pyramiding")
// Calculate RSI
rsi = ta.rsi(close, rsiLength)
// Detect RSI crossunder
rsiCrossunder = ta.crossunder(rsi, rsiOversold)
// Calculate the profit target price
entryPrice = strategy.position_avg_price
targetPrice = entryPrice * (1 + profitTarget / 100)
// Buy condition
if (rsiCrossunder and strategy.position_size <= maxPyramiding * strategy.equity * 0.066)
strategy.entry("Buy", strategy.long)
// Take profit condition
if (strategy.position_size > 0 and high >= targetPrice)
strategy.close("Buy", qty_percent = 50)
// Plot buy signals
plotshape(rsiCrossunder, title="Buy Signal", location=location.belowbar, color=color.green, style=shape.triangleup, size=size.small)
// Plot sell signals (when position is partially closed)
plotshape(strategy.position_size > 0 and high >= targetPrice, title="Sell Signal", location=location.abovebar, color=color.red, style=shape.triangledown, size=size.small)
// Plot RSI
plot(rsi, "RSI", color=color.blue, linewidth=2)
hline(rsiOversold, "RSI Oversold", color=color.red, linestyle=hline.style_dashed)
// Plot entry and target prices
plot(strategy.position_size > 0 ? entryPrice : na, "Entry Price", color=color.green, linewidth=2, style=plot.style_linebr)
plot(strategy.position_size > 0 ? targetPrice : na, "Target Price", color=color.red, linewidth=2, style=plot.style_linebr)
// Display strategy information
var table infoTable = table.new(position.top_right, 3, 6, border_width=1)
table.cell(infoTable, 0, 0, "Strategy Info", bgcolor=color.blue, text_color=color.white)
table.cell(infoTable, 0, 1, "RSI Length: " + str.tostring(rsiLength))
table.cell(infoTable, 0, 2, "RSI Oversold: " + str.tostring(rsiOversold))
table.cell(infoTable, 0, 3, "Profit Target: " + str.tostring(profitTarget) + "%")
table.cell(infoTable, 0, 4, "Order Size: 6.6% of total")
table.cell(infoTable, 0, 5, "Max Pyramiding: " + str.tostring(maxPyramiding) + " times")