
কৌশলটি একটি প্রযুক্তিগত বিশ্লেষণ-ভিত্তিক প্রবণতা ট্র্যাকিং সিস্টেম যা সমান্তরাল সিস্টেম, আরএসআই গতিশীলতা এবং এটিআর অস্থিরতার সূচকগুলিকে একত্রিত করে, একাধিক সংকেত যাচাইয়ের মাধ্যমে ব্যবসায়ের সুযোগ নিশ্চিত করে। কৌশলটি বাজারের প্রবণতা নির্ধারণের জন্য বহু-চক্রের সমান্তরাল ক্রস ব্যবহার করে, আরএসআই গতিশীলতার সাথে দামের শক্তি নিশ্চিত করে এবং শেষ পর্যন্ত এটিআর গতিশীলতা ব্যবহার করে স্টপ লস এবং লাভের অবস্থান নির্ধারণ করে, একটি সম্পূর্ণ ব্যবসায়ের সিস্টেম গঠন করে।
এই কৌশলটির তিনটি মূল অংশ রয়েছেঃ
এই কৌশলটি একাধিক প্রযুক্তিগত সূচককে একীভূত করে একটি যৌক্তিকভাবে সম্পূর্ণ প্রবণতা ট্র্যাকিং সিস্টেম তৈরি করে। কৌশলটির সুবিধাটি হ’ল একাধিক সংকেত যাচাইকরণ এবং গতিশীল ঝুঁকি ব্যবস্থাপনা, তবে একই সাথে প্রবণতা বিলম্ব এবং ভুয়া ব্রেকিংয়ের মতো ঝুঁকিগুলি মোকাবেলার বিষয়েও সতর্কতা অবলম্বন করা প্রয়োজন। ট্র্যাফিক নিশ্চিতকরণ, অনুকূলিতকরণ প্যারামিটার সেটিং ইত্যাদি যুক্ত করার মাধ্যমে কৌশলটি এখনও অনেক উন্নতি করতে পারে। সামগ্রিকভাবে, এই কৌশলটি স্পষ্ট প্রবণতা বাজারে পরিচালনার জন্য উপযুক্ত এবং মাঝারি এবং দীর্ঘমেয়াদী প্রবণতা ট্র্যাকিংয়ের জন্য ভাল ব্যবহারের মূল্য রয়েছে।
/*backtest
start: 2024-11-12 00:00:00
end: 2024-12-11 08:00:00
period: 3h
basePeriod: 3h
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/
//@version=5
strategy("Bullish Engulfing with EMA Crossover and ATR-Based SL/TP with RSI Filter", overlay=true)
// Inputs for moving averages
short_ema_length = input.int(100, title="Short EMA Length")
long_ema_length = input.int(200, title="Long EMA Length")
// RSI Input
rsi_length = input.int(14, title="RSI Length")
rsi_threshold = input.float(50, title="RSI Threshold")
// Calculate the Exponential Moving Averages (EMAs)
short_ema = ta.ema(close, short_ema_length)
long_ema = ta.ema(close, long_ema_length)
// Plot EMAs on the chart
plot(short_ema, color=color.blue, title="100 EMA")
plot(long_ema, color=color.red, title="200 EMA")
// Calculate RSI
rsi_value = ta.rsi(close, rsi_length)
// Plot RSI on a separate panel
hline(rsi_threshold, "RSI Threshold", color=color.gray)
plot(rsi_value, color=color.purple, title="RSI")
// Bullish Engulfing Pattern
bullish_engulfing = close > open[1] and open < close[1] and close > open
// Define strategy entry condition with RSI filter
long_condition = bullish_engulfing and short_ema > long_ema and rsi_value > rsi_threshold
// Plot a buy signal when conditions are met
plotshape(long_condition, style=shape.labelup, location=location.belowbar, color=color.green, title="Buy Signal", text="BUY")
// ATR Calculation
atr_length = input.int(14, title="ATR Length")
atr_value = ta.atr(atr_length)
// Define Stop Loss and Take Profit as levels
stop_loss_level = 1.1 * atr_value
take_profit_level = 2.0 * atr_value
// Execute Strategy Entry
if (long_condition)
strategy.entry("Buy", strategy.long)
// Adjust SL and TP levels using the entry price
if (strategy.position_size > 0)
// Calculate SL and TP relative to the entry price
stop_price = strategy.position_avg_price - stop_loss_level
limit_price = strategy.position_avg_price + take_profit_level
// Exit strategy with SL and TP
strategy.exit("Exit", from_entry="Buy", stop=stop_price, limit=limit_price)