
কৌশলগত বিবরণঃ এই কৌশলটি আরএসআই সূচক এবং দামের মধ্যে সম্পর্কের উপর ভিত্তি করে, গতিশীলভাবে স্টপ-স্টপ-ড্রপ পয়েন্টগুলিকে সামঞ্জস্য করে ট্রেডিংয়ের পারফরম্যান্সকে অনুকূল করে তোলে। কৌশলটির মূল ধারণাটি হ’ল আরএসআই সূচকের ওভার-বিক্রয় ওভার-বিক্রয় বৈশিষ্ট্যগুলি ব্যবহার করা, দাম এবং লেনদেনের পরিমাণের পরিবর্তনগুলির সাথে মিলিত করে, আরএসআইয়ের বিপরীতে সময়মতো থামানো এবং গতিশীল স্টপ-ড্রপ দ্বারা ঝুঁকি নিয়ন্ত্রণ করা।
নীতিমালাঃ
কৌশলগত সুবিধাঃ
কৌশলগত ঝুঁকিঃ
অনুকূলিতকরণঃ
সংক্ষিপ্ত বিবরণঃ আরএসআই গতিশীল স্টপ লস স্টপ কৌশলটি আরএসআই সূচক এবং দামের বিচ্ছিন্নতার সাথে সম্পর্কিত, লেনদেনের পরিমাণের পরিবর্তনের সংমিশ্রণ, প্রবণতার শুরুতে সময়মতো স্টপ, এবং ঝুঁকি নিয়ন্ত্রণের জন্য গতিশীল স্টপ সেট করে। এই কৌশলটির সুবিধা হ’ল প্রবণতা বিপরীত হওয়ার শুরুতে মুনাফা লক করা যায়, কৌশলটির প্রত্যাহার হ্রাস করা যায় এবং কিছুটা অভিযোজনযোগ্যতা রয়েছে। তবে অস্থির বাজারে এই কৌশলটি আরও মিথ্যা সংকেত দেখা দিতে পারে, তাই কৌশলটির কার্যকারিতা বাড়ানোর জন্য অন্যান্য প্রযুক্তিগত সূচক এবং অপ্টিমাইজড স্টপ লস স্টপ প্রয়োগের প্রয়োজন। এছাড়াও, পজিশন ম্যানেজমেন্ট এবং প্যারামিটার অপ্টিমাইজেশন যুক্ত করা কৌশলটির স্থিতিশীলতা এবং উপার্জনকে আরও বাড়ানোর জন্য গুরুত্বপূর্ণ দিক।
/*backtest
start: 2024-03-11 00:00:00
end: 2024-03-15 09:00:00
period: 3m
basePeriod: 1m
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/
//@version=4
strategy("RMM_byMR", overlay=true)
// RSI uzunluğu girişi
rsiLength = input(14, title="RSI Uzunluğu")
// Tepe ve dip seviyeleri için girişler
overboughtLevel = input(70, title="Aşırı Alım Seviyesi")
oversoldLevel = input(30, title="Aşırı Satım Seviyesi")
// RSI hesaplama
rsiValue = rsi(close, rsiLength)
// Son tepe noktalarını tespit etme // Son dip noktalarını tespit etme
isPeak = rsiValue[2] > overboughtLevel and rsiValue[2] > rsiValue[1] and rsiValue[2] > rsiValue[3] and (rsiValue[1] > rsiValue or rsiValue[3] > rsiValue[4])
isBottom = rsiValue[2] < oversoldLevel and rsiValue[2] < rsiValue[1] and rsiValue[2] < rsiValue[3] and (rsiValue[1] < rsiValue or rsiValue[3] < rsiValue[4])
// Önceki tepe noktalarını tespit etme
prevPeak = valuewhen(isPeak, rsiValue[2], 1)
prevPeakHighPrice = valuewhen(isPeak, high[2], 1)
volumePeak = valuewhen(isPeak, volume[1]+volume[2]+volume[3], 1)
prevPeakBarIndex = valuewhen(isPeak, bar_index, 1)
// Önceki dip noktalarını tespit etme
prevBottom = valuewhen(isBottom, rsiValue[2], 1)
prevBottomLowPrice = valuewhen(isBottom, low[2], 1)
volumeBottom = valuewhen(isBottom, volume[1]+volume[2]+volume[3], 1)
prevBottomBarIndex = valuewhen(isBottom, bar_index, 1)
// Tepe noktasında satış sinyali
isSellSignal = prevPeakBarIndex > prevBottomBarIndex and isPeak and rsiValue[2] < prevPeak and high[2] > prevPeakHighPrice and (volume[1]+volume[2]+volume[3]) < volumePeak
isBuyTakeProfit = isPeak and ((rsiValue[2] < prevPeak and high[2] > prevPeakHighPrice) or (rsiValue[2] < prevPeak and (volume[1]+volume[2]+volume[3]) < volumePeak))
// Dip noktasında alış sinyali
isBuySignal = prevBottomBarIndex > prevPeakBarIndex and isBottom and rsiValue[2] > prevBottom and low[2] < prevBottomLowPrice and (volume[1]+volume[2]+volume[3]) < volumeBottom
isSellTakeProfit = isBottom and ((rsiValue[2] > prevBottom and low[2] < prevBottomLowPrice) or (rsiValue[2] > prevBottom and (volume[1]+volume[2]+volume[3]) < volumeBottom))
sellTakeProfit = valuewhen(isSellTakeProfit, low, 1)
buyTakeProfit = valuewhen(isBuyTakeProfit, high, 1)
// isSellTakeProfit koşulu için işaretlemeyi yap
plotshape(isSellTakeProfit, style=shape.triangleup, location=location.abovebar, color=color.green, size=size.small, title="Sell Take Profit", offset=-2)
// isBuyTakeProfit koşulu için işaretlemeyi yap
plotshape(isBuyTakeProfit, style=shape.triangledown, location=location.belowbar, color=color.red, size=size.small, title="Buy Take Profit", offset=-2)
buyComment = "Buy \n Rsi:" + tostring(round(rsiValue[2], 2)) + " \n Low:" + tostring(round(low[2],2)) + " \n Hacim:" + tostring(round(volume[1]+volume[2]+volume[3],2))
sellComment = "Sell \n Rsi:" + tostring(round(rsiValue[2], 2)) + " \n High:" + tostring(round(high[2],2)) + " \n Hacim:" + tostring(round(volume[1]+volume[2]+volume[3],2))
// Alış sinyali durumunda uzun pozisyon aç
if (isBuySignal)
strategy.entry("Buy", strategy.long, comment = buyComment )
strategy.exit("SL", "Buy", stop=close * 0.98)
// Satış sinyali durumunda kısa pozisyon aç
if (isSellSignal)
strategy.entry("Sell", strategy.short, comment = sellComment )
strategy.exit("SL","Sell", stop=close * 1.02)
// Limit değerini sonradan belirleme
// Alış sinyali durumunda uzun pozisyon kapat
if (isBuyTakeProfit)
strategy.close("Buy", comment="TP")
// Satış sinyali durumunda kısa pozisyon kapat
if (isSellTakeProfit)
strategy.close("Sell", comment="TP")