
এই কৌশলটি RSI সূচক এবং দুটি EMA লাইনের ক্রস সিগন্যালের উপর ভিত্তি করে ক্রয়-বিক্রয় চিহ্ন নির্ধারণ করে। যখন বন্ধের দাম EMA100 এবং EMA20 এর নীচে পড়ে এবং RSI মান 30 এর নীচে থাকে তখন এটি একটি কেনার সংকেত দেয়। যখন বন্ধের দাম EMA100 এবং EMA20 অতিক্রম করে এবং RSI মান 70 এর উপরে থাকে তখন এটি একটি বিক্রয় সংকেত দেয়। এই কৌশলটির মূল ধারণাটি হল RSI সূচকটি ব্যবহার করে ওভার ওভারসোল্ডের বিচার করা এবং EMA লাইনের প্রবণতা বিচার করা।
আরএসআই এবং ডাবল ইএমএ ক্রস সিগন্যাল কোয়ান্টেশন কৌশলটি একটি সহজ ব্যবহারিক কোয়ান্টেশন ট্রেডিং কৌশল যা আরএসআই সূচকগুলিকে ইএমএ গড়ের সাথে একত্রিত করে ঝড়ের পরিস্থিতিতে উচ্চ ও নিম্ন পয়েন্টগুলিকে আরও ভালভাবে ক্যাপচার করতে পারে। তবে এই কৌশলটির কিছু সীমাবদ্ধতা এবং ঝুঁকি রয়েছে, যেমন প্রবণতা পরিস্থিতিতে ব্যর্থতা, পজিশন পরিচালনা এবং ঝুঁকি নিয়ন্ত্রণের অভাব ইত্যাদি। সুতরাং, কৌশলটির স্থিতিশীলতা এবং লাভজনকতা বাড়ানোর জন্য বাজারের বৈশিষ্ট্য এবং ব্যক্তিগত পছন্দ অনুসারে যথাযথ অপ্টিমাইজেশন এবং উন্নতি করা প্রয়োজন। এই কৌশলটি কোয়ান্টেশন ট্রেডিংয়ের প্রবেশদ্বার কৌশল হিসাবে শিখতে এবং ব্যবহার করা যেতে পারে, তবে সতর্কতা অবলম্বন এবং কঠোর ঝুঁকি নিয়ন্ত্রণের প্রয়োজন।
/*backtest
start: 2024-03-01 00:00:00
end: 2024-03-31 23:59:59
period: 1h
basePeriod: 15m
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/
//@version=5
strategy("RSI-EMA100&20 Buy/Sell Signal", overlay=true)
// Input parameters
rsiLength = input.int(14, "RSI Length")
emaCloseLength = input.int(100, "EMA Length (Closing Price)")
emaLowLength = input.int(20, "EMA Length (Low Price)")
oversoldLevel = input.int(30, "Oversold Level")
overboughtLevel = input.int(70, "Overbought Level")
// Calculate RSI
rsi = ta.rsi(close, rsiLength)
// Calculate EMA of closing price
emaClose = ta.ema(close, emaCloseLength)
// Calculate EMA of low price
emaLow = ta.ema(low, emaLowLength)
// Determine overbought and oversold conditions
isOversold = rsi <= oversoldLevel
isOverbought = rsi >= overboughtLevel
// Plot RSI and its EMAs
plot(rsi, color=color.blue, title="RSI")
plot(emaClose, color=color.green, title="EMA 100 (Closing Price)")
plot(emaLow, color=color.orange, title="EMA 20 (Low Price)")
// Strategy entry condition: Closing price is below both EMAs and RSI is less than or equal to oversold level
buySignal = close < emaClose and close < emaLow and isOversold
// Plot buy signals
plotshape(series=buySignal, style=shape.triangleup, location=location.abovebar, color=color.green, size=size.small)
// Strategy entry
if (buySignal)
strategy.entry("Buy", strategy.long)
// Strategy exit condition: Price crosses above both EMAs and RSI is greater than or equal to overbought level
sellSignal = close > emaClose and close > emaLow and isOverbought
// Plot sell signals
plotshape(series=sellSignal, style=shape.triangledown, location=location.abovebar, color=color.red, size=size.small)
// Strategy exit
if (sellSignal)
strategy.entry("Sell", strategy.short)
// Plot sell signals
plotshape(series=sellSignal, style=shape.triangledown, location=location.abovebar, color=color.red, size=size.small)
// Strategy exit
if (sellSignal)
strategy.entry("Sell", strategy.short)