
এই কৌশলটি হ’ল একটি উচ্চ-ফ্রিকোয়েন্সি ট্রেডিং সিস্টেম যা বুলিন ব্যান্ডের সূচকগুলি এবং মূল্যের ব্রেকডাউনগুলির সাথে মিলিত হয়। কৌশলটি দামের সাথে বুলিন ব্যান্ডের অবস্থান সম্পর্কিত সম্পর্ক পর্যবেক্ষণ করে, পূর্ববর্তী উচ্চ-নিম্ন ব্রেকডাউন সংকেতগুলির সাথে মিলিত হয়, যখন বাজারে ওভারব্লু ওভারসেল হয় তখন বিপরীত ট্রেডিং করা হয়। সিস্টেমটি 1:1 ঝুঁকি-লাভের তুলনায় স্টপ লস সেট করে এবং বিভিন্ন মূল মূল্যকে দৃশ্যমান উপায়ে প্রদর্শন করে, যা ব্যবসায়ীদের বাজারের গতিবিধির দৃষ্টিভঙ্গি বুঝতে সহায়তা করে।
কৌশলটির কেন্দ্রীয় যুক্তি দুটি প্রধান বিচার শর্তের উপর ভিত্তি করে তৈরি করা হয়েছেঃ যখন দাম পূর্বের উচ্চতা অতিক্রম করে এবং পূর্বের উচ্চতা বুলিন বন্ডের নীচে অবস্থিত হয়, তখন একাধিক সংকেত ট্রিগার করা হয়; যখন দাম পূর্বের নিম্নের নীচে পড়ে এবং পূর্বের নিম্নটি বুলিন বন্ডের উপরে অবস্থিত হয়, তখন একটি খালি সংকেত ট্রিগার করা হয়। বুলিন বন্ডের প্যারামিটারটি বাজারের অস্থিরতার পরিধি এবং ওভারব্লড ওভারসোল জোন সিস্টেমের বিচার করার জন্য 20 পিরিয়ডের মুভিং এভারেজ এবং 2 গুণ স্ট্যান্ডার্ড ডিফারেনসিয়াল ব্যবহার করে। ট্রেডিং সিগন্যাল ট্রিগার করার পরে, স্বয়ংক্রিয়ভাবে সংশ্লিষ্ট স্টপ লস এবং টার্গেট পয়েন্ট সেট করা হয় এবং বিভিন্ন স্টাইলের লাইনগুলির মাধ্যমে দৃশ্যমান করা হয়।
এটি একটি সম্পূর্ণ ট্রেডিং সিস্টেম যা একাধিক প্রযুক্তিগত বিশ্লেষণের ধারণাগুলিকে একীভূত করে। বুলিন-ব্যান্ডের সূচকগুলিকে মূল্যের ব্রেকডাউনগুলির সাথে একত্রিত করার মাধ্যমে, কৌশলটি বাজারের ওভার-বিক্রয় ওভার-বিক্রয় অঞ্চলে বিপরীত সুযোগগুলি ধরতে সক্ষম হয়। যদিও কিছু অপ্টিমাইজেশনের জায়গা রয়েছে, তবে সিস্টেমের মৌলিক কাঠামোটি ভাল স্কেলযোগ্যতা এবং ব্যবহারিক মূল্য রয়েছে। যুক্তিসঙ্গত ঝুঁকি ব্যবস্থাপনা এবং প্যারামিটার অপ্টিমাইজেশনের মাধ্যমে, কৌশলটি প্রকৃত লেনদেনের ক্ষেত্রে স্থিতিশীল আয় পাওয়ার সম্ভাবনা রয়েছে।
/*backtest
start: 2019-12-23 08:00:00
end: 2024-12-03 00:00:00
period: 2d
basePeriod: 2d
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/
//@version=5
strategy("Bollinger Band Scalping", overlay=true)
// Input for Bollinger Bands length and standard deviation
bbLength = input(20, title="Bollinger Bands Length")
stdDev = input(2.0, title="Bollinger Bands Std Dev")
// Calculate and plot the Bollinger Bands
basis = ta.sma(close, bbLength)
deviation = stdDev * ta.stdev(close, bbLength)
upperBB = basis + deviation
lowerBB = basis - deviation
// Get previous candle's values
prevHigh = high[1] // Previous candle high
prevLow = low[1] // Previous candle low
// Buy Signal Condition: Current high crossed above previous high and previous high is below the lower Bollinger Band
buyCondition = ta.crossover(high, prevHigh) and (prevHigh < lowerBB[1])
// Sell Signal Condition: Current low crossed below previous low and previous low is above the upper Bollinger Band
sellCondition = ta.crossunder(low, prevLow) and (prevLow > upperBB[1])
// Entry and exit for Buy signals
if (buyCondition)
strategy.entry("Buy", strategy.long)
// Calculate target and stop loss
stopLossPrice = prevLow
targetPrice = prevHigh + (prevHigh - stopLossPrice) // 1:1 RR target
// Set stop loss and target orders
strategy.exit("Sell", "Buy", limit=targetPrice, stop=stopLossPrice)
// // Plot entry line
// line.new(x1=bar_index, y1=prevHigh, x2=bar_index + 12, y2=prevHigh, color=color.green, width=2, style=line.style_solid)
// // Plot stop loss line
// line.new(x1=bar_index, y1=stopLossPrice, x2=bar_index + 12, y2=stopLossPrice, color=color.red, width=1, style=line.style_dashed)
// // Plot target line
// line.new(x1=bar_index, y1=targetPrice, x2=bar_index + 12, y2=targetPrice, color=color.blue, width=2, style=line.style_solid)
// Entry and exit for Sell signals
if (sellCondition)
strategy.entry("Sell", strategy.short)
// Calculate target and stop loss
stopLossPriceSell = prevHigh
targetPriceSell = prevLow - (stopLossPriceSell - prevLow) // 1:1 RR target
// Set stop loss and target orders
strategy.exit("Cover", "Sell", limit=targetPriceSell, stop=stopLossPriceSell)
// // Plot entry line
// line.new(x1=bar_index, y1=prevLow, x2=bar_index + 12, y2=prevLow, color=color.red, width=2, style=line.style_solid)
// // Plot stop loss line
// line.new(x1=bar_index, y1=stopLossPriceSell, x2=bar_index + 12, y2=stopLossPriceSell, color=color.green, width=1, style=line.style_dashed)
// // Plot target line
// line.new(x1=bar_index, y1=targetPriceSell, x2=bar_index + 12, y2=targetPriceSell, color=color.blue, width=2, style=line.style_solid)
// Plotting Bollinger Bands with 70% transparency
plot(upperBB, color=color.red, title="Upper Bollinger Band", transp=70)
plot(lowerBB, color=color.green, title="Lower Bollinger Band", transp=70)
plot(basis, color=color.blue, title="Middle Band", transp=70)