বলিঙ্গার+আরএসআই ডুয়াল স্ট্র্যাটেজি (শুধুমাত্র দীর্ঘ সময়ের জন্য) v1.2


সৃষ্টির তারিখ: 2023-12-08 10:39:52 অবশেষে সংশোধন করুন: 2023-12-08 10:39:52
অনুলিপি: 0 ক্লিকের সংখ্যা: 1066
1
ফোকাস
1621
অনুসারী

বলিঙ্গার+আরএসআই ডুয়াল স্ট্র্যাটেজি (শুধুমাত্র দীর্ঘ সময়ের জন্য) v1.2

১, কৌশল নাম

Bollinger + RSI ডাবল মাল্টিপ্লেয়ার কৌশল

দ্বিতীয়, কৌশলগত বিশ্লেষণ

এই কৌশলটি বুলিং লাইন সূচক এবং আরএসআই সূচকগুলির সমন্বয় ব্যবহার করে, যখন উভয়ই ওভারসোল সংকেত দেখায় তখন পজিশন বাড়ায় এবং যখন উভয়ই ওভারসোল সংকেত দেখায় তখন পজিশন কমিয়ে দেয়। একক সূচকের তুলনায়, এটি ট্রেডিং সংকেতগুলি নিশ্চিত করার জন্য আরও নির্ভরযোগ্য এবং মিথ্যা সংকেতগুলি এড়াতে পারে।

তৃতীয়, কৌশলগত নীতি

  1. আরএসআই দ্বারা ওভারবয় ওভারসোল্ড
    • আরএসআই ৫০ এর নিচে ওভারসোল্ড
    • আরএসআই ৫০ এর বেশি হলে, এটিকে ওভারবয় বলা হয়।
  2. দামের অস্বাভাবিকতা নির্ণয়ের জন্য ব্রাইন লাইন ব্যবহার করা হয়েছে
    • ট্র্যাকের নিচে দামকে অতিরিক্ত বিক্রি বলা হয়
    • রেলের চেয়ে বেশি দামে ভাড়া নেওয়াকে ওভারবয় বলা হয়
  3. যখন RSI এবং বুলিং লাইন একই সময়ে ওভারসোল্ডের সংকেত দেয়, তখন অতিরিক্ত পজিশন তৈরি করুন
    • RSI রেখা 50 এর নিচে
    • বুলিনের নিচে রেল লাইন
  4. যখন RSI এবং বুলিং লাইন একই সময়ে ওভার-বই সংকেত দেয়, তখন প্লেইন পজিশন
    • RSI রেখা 50 এর উপরে
    • বুলিনের চেয়েও বেশি দামে ট্রেন

চার, কৌশলগত সুবিধা

  1. দুটি সূচক একত্রিত করা হয়েছে, যাতে ভুয়া সংকেত এড়ানো যায়
  2. কেবলমাত্র একাধিক পজিশন তৈরি করুন, লজিক সরল করুন, ট্রেডিং ঝুঁকি হ্রাস করুন

পঞ্চম, কৌশলগত ঝুঁকি এবং সমাধান

  1. ভুলভাবে সেট করা ব্রিন লাইন প্যারামিটার, ওপেন এবং ডাউন ট্র্যাকের সীমাবদ্ধতা খুব প্রশস্ত, ভুল লেনদেনের ঝুঁকি বাড়ায়
    • বুলিন লাইন প্যারামিটার অপ্টিমাইজ করুন, বুলিন লাইন চক্র এবং স্ট্যান্ডার্ড ডিফারেনশিয়াল যুক্তিসঙ্গতভাবে সেট করুন
  2. RSI প্যারামিটারগুলি ভুলভাবে সেট করা হয়েছে, ওভার-বয় ওভার-সেলিংয়ের জন্য ভুল বিচারক রয়েছে, যা ভুল লেনদেনের ঝুঁকি বাড়িয়ে তোলে
    • আরএসআই প্যারামিটারগুলিকে অনুকূলিত করুন, আরএসআই চক্রগুলিকে সামঞ্জস্য করুন, ওভার-বিক্রয় ওভার-বিক্রয় মানদণ্ডকে যুক্তিসঙ্গতভাবে সেট করুন
  3. রাভিন যখন কোন ট্রেন্ড দেখায় না, তখন তার কার্যকারিতা খারাপ হয়
    • প্রবণতা-ভিত্তিক সূচকগুলির সাথে একত্রে, অস্থিরতা এড়ানো

ষষ্ঠ, কৌশলগত দিকনির্দেশনা

  1. বুলিন লাইন এবং RSI প্যারামিটার সেটিং অপ্টিমাইজ করুন
  2. ক্ষতিপূরণ বাড়ানো
  3. ট্রেন্ডিং সূচক যেমন MACD
  4. সংক্ষিপ্ত ও দীর্ঘ লাইন যুক্ত করে বিচার করা

7. সারাংশ

এই কৌশলটি বুলিন লাইন এবং আরএসআই উভয় সূচকের সুবিধাগুলিকে একত্রিত করে, যখন উভয়ই একই সাথে ওভারব্লু ওভারসোল সংকেত প্রদর্শন করে তখন ট্রেড করে, একক সূচক দ্বারা উত্পন্ন মিথ্যা সংকেত এড়ানো, যার ফলে সংকেত নির্ভুলতা বৃদ্ধি পায়। পূর্ববর্তী সংস্করণের তুলনায়, কেবলমাত্র একাধিক পজিশন স্থাপন করা, ব্যবসায়ের ঝুঁকি হ্রাস করে। পরবর্তীতে প্যারামিটার অপ্টিমাইজেশন, স্টপ লস মেশিন এবং প্রবণতা-ভিত্তিক সূচকগুলির সাথে সংমিশ্রণের মাধ্যমে কৌশলটি অপ্টিমাইজ করা যেতে পারে, যাতে এটি বিভিন্ন বাজারের পরিবেশে আরও উপযুক্ত হয়।

কৌশল সোর্স কোড
/*backtest
start: 2023-11-30 00:00:00
end: 2023-12-07 00:00:00
period: 1m
basePeriod: 1m
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/

//@version=3
strategy("Bollinger + RSI, Double Strategy Long-Only (by ChartArt) v1.2", shorttitle="CA_-_RSI_Bol_Strat_1.2", overlay=true)

// ChartArt's RSI + Bollinger Bands, Double Strategy UPDATE: Long-Only
//
// Version 1.2
// Idea by ChartArt on October 4, 2017.
//
// This strategy uses the RSI indicator 
// together with the Bollinger Bands 
// to buy when the price is below the
// lower Bollinger Band (and to close the
// long trade when this value is above
// the upper Bollinger band).
//
// This simple strategy only longs when
// both the RSI and the Bollinger Bands
// indicators are at the same time in
// a oversold condition.
//
// In this new version 1.2 the strategy was
// simplified by going long-only, which made
// it more successful in backtesting. 
//
// List of my work: 
// https://www.tradingview.com/u/ChartArt/
// 
//  __             __  ___       __  ___ 
// /  ` |__|  /\  |__)  |   /\  |__)  |  
// \__, |  | /~~\ |  \  |  /~~\ |  \  |  
// 
// 


///////////// RSI
RSIlength = input(6,title="RSI Period Length") 
RSIoverSold = 50
RSIoverBought = 50
price = close
vrsi = rsi(price, RSIlength)


///////////// Bollinger Bands
BBlength = input(200, minval=1,title="Bollinger Period Length")
BBmult = 2 // input(2.0, minval=0.001, maxval=50,title="Bollinger Bands Standard Deviation")
BBbasis = sma(price, BBlength)
BBdev = BBmult * stdev(price, BBlength)
BBupper = BBbasis + BBdev
BBlower = BBbasis - BBdev
source = close
buyEntry = crossover(source, BBlower)
sellEntry = crossunder(source, BBupper)
plot(BBbasis, color=aqua,title="Bollinger Bands SMA Basis Line")
p1 = plot(BBupper, color=silver,title="Bollinger Bands Upper Line")
p2 = plot(BBlower, color=silver,title="Bollinger Bands Lower Line")
fill(p1, p2)


///////////// Colors
switch1=input(true, title="Enable Bar Color?")
switch2=input(true, title="Enable Background Color?")
TrendColor = RSIoverBought and (price[1] > BBupper and price < BBupper) and BBbasis < BBbasis[1] ? red : RSIoverSold and (price[1] < BBlower and price > BBlower) and BBbasis > BBbasis[1] ? green : na
barcolor(switch1?TrendColor:na)
bgcolor(switch2?TrendColor:na,transp=50)


///////////// RSI + Bollinger Bands Strategy
long = (crossover(vrsi, RSIoverSold) and crossover(source, BBlower))
close_long = (crossunder(vrsi, RSIoverBought) and crossunder(source, BBupper))

if (not na(vrsi))

    if long
        strategy.entry("RSI_BB", strategy.long, stop=BBlower, comment="RSI_BB")
    else
        strategy.cancel(id="RSI_BB")
        
    if close_long
        strategy.close("RSI_BB")


//plot(strategy.equity, title="equity", color=red, linewidth=2, style=areabr)