
यह रणनीति एक ग्रिड ट्रेडिंग रणनीति है जो मूल्य में गिरावट की सीमा के आधार पर पोजीशन बढ़ाती है और एक निश्चित लाभ लक्ष्य तक पहुंचने पर पोजीशन को बंद कर देती है। इस रणनीति का मूल तर्क यह है कि जब बाजार एक पूर्व निर्धारित सीमा तक गिर जाए तो खरीद कर लें, तथा जब कीमत लक्ष्य लाभ तक पहुंचने के लिए उछल जाए तो पूरी स्थिति को बंद कर दें, तथा इस प्रक्रिया को लगातार दोहराकर लाभ अर्जित करें। यह रणनीति अस्थिर बाजारों में अल्पकालिक सुधार के अवसरों को हासिल करने के लिए विशेष रूप से उपयुक्त है।
यह रणनीति ग्रिड ट्रेडिंग और दिशात्मक लाभ लेने की एक मिश्रित प्रणाली का उपयोग करती है:
यह एक सरल लेकिन व्यावहारिक ग्रिड ट्रेडिंग रणनीति है, जो पूर्व निर्धारित गिरावट सीमा के अनुसार बैचों में पोजीशन बनाती है और लक्ष्य लाभ तक पहुंचने पर सभी पोजीशन को बंद कर देती है। रणनीति का मुख्य लाभ इसके कार्यान्वयन की निश्चितता और जोखिम के विविधीकरण में निहित है, लेकिन इसका उपयोग करते समय, बाजार के वातावरण के चयन और मापदंडों के अनुकूलन पर ध्यान दिया जाना चाहिए। गतिशील स्टॉप लॉस जोड़कर, स्थिति प्रबंधन में सुधार करके, आदि रणनीति के अनुकूलन के लिए अभी भी बहुत जगह है। वास्तविक ट्रेडिंग में इसका उपयोग करते समय, पहले पर्याप्त बैकटेस्टिंग करने और वास्तविक बाजार स्थितियों के आधार पर मापदंडों को समायोजित करने की सिफारिश की जाती है।
/*backtest
start: 2019-12-23 08:00:00
end: 2025-01-04 08:00:00
period: 1d
basePeriod: 1d
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/
//@version=5
strategy("Buy Down 5%, Sell at 5% Profit", overlay=true, default_qty_type=strategy.fixed, default_qty_value=1)
// Inputs
initial_date = input(timestamp("2024-01-01 00:00:00"), title="Initial Purchase Date")
profit_target = input.float(5.0, title="Profit Target (%)", minval=0.1) // Target profit percentage
rebuy_drop = input.float(5.0, title="Rebuy Drop (%)", minval=0.1) // Drop percentage to rebuy
// Variables
var float initial_price = na // Initial purchase price
var int entries = 0 // Count of entries
var float total_profit = 0 // Cumulative profit
var bool active_trade = false // Whether an active trade exists
// Entry Condition: Buy on or after the initial date
if not active_trade
initial_price := close
strategy.entry("Buy", strategy.long)
entries += 1
active_trade := true
// Rebuy Condition: Buy if price drops 5% or more from the initial price
rebuy_price = initial_price * (1 - rebuy_drop / 100)
if active_trade and close <= rebuy_price
strategy.entry("Rebuy", strategy.long)
entries += 1
// Exit Condition: Sell if the price gives a 5% profit on the initial investment
target_price = initial_price * (1 + profit_target / 100)
if active_trade and close >= target_price
strategy.close_all(comment="Profit Target Hit")
active_trade := false
total_profit += profit_target
// Display information on the chart
plotshape(series=close >= target_price, title="Target Hit", style=shape.labelup, location=location.absolute, color=color.green, text="Sell")
plotshape(series=close <= rebuy_price, title="Rebuy", style=shape.labeldown, location=location.absolute, color=color.red, text="Rebuy")
// Draw statistics on the chart
var label stats_label = na
if (na(stats_label))
stats_label := label.new(x=bar_index, y=close, text="", style=label.style_none, size=size.small)
label.set_xy(stats_label, bar_index, close)
label.set_text(stats_label, "Entries: " + str.tostring(entries) + "\nTotal Profit: " + str.tostring(total_profit, "#.##") + "%")