সংকীর্ণ পরিসীমা অভ্যন্তরীণ দিন ব্রেকআউট কৌশল

লেখক:চাওঝাং, তারিখ: ২০২৩-০৯-১৫ 14:34:11
ট্যাগঃ

কৌশল ওভারভিউ

সংকীর্ণ ব্যাপ্তি অভ্যন্তরীণ দিনের ব্রেকআউট কৌশলটি দীর্ঘ-শুধুমাত্র প্রবণতা অনুসরণ করার জন্য সংকীর্ণ ব্যাপ্তি দোলন এবং অভ্যন্তরীণ দিনের বন্ধ ব্রেকআউটগুলি সনাক্ত করে। এটি দীর্ঘ সংকেত তৈরি করে যখন দাম সংকীর্ণকরণ, অভ্যন্তরীণ দিন এবং এসএমএ ঢাল আপ সমস্ত ব্রেকআউট-পরবর্তী প্রবণতা ক্যাপচার করতে উত্থিত হয়।

কৌশলগত যুক্তি

  1. গত ৭ দিনের মধ্যে সবচেয়ে সংকীর্ণ পরিসীমা দিন চিহ্নিত করতে NR7 ব্যবহার করুন।

  2. পূর্ববর্তী দিনের উচ্চতা বর্তমান দিনের উচ্চতার চেয়ে কম এবং পূর্ববর্তী দিনের নিম্নতা বর্তমান দিনের নিম্নতার চেয়ে বেশি তা নির্ধারণ করতে দিনের ভিতরে ব্যবহার করুন।

  3. যখন NR7 এবং ইনসাইড ডে একসাথে ঘটে, তখন খোলার দামের তুলনায় বন্ধের দাম বেশি হয়, তখন লম্বা হয়ে যায়।

  4. পরের দিন বন্ধ হওয়ার সময় খোলা থেকে বেশি হলে বেরিয়ে আসুন।

এই কৌশলটি মূল্য সংকীর্ণকরণ এবং অভ্যন্তরীণ দিনের সংকেত উভয়ই জমে থাকা পর্যায়গুলি সনাক্ত করতে ব্যবহার করে। এসএমএর ঢাল বাড়ার সাথে সাথে দামটি ভেঙে যাওয়ার সম্ভাবনা রয়েছে। এই জাতীয় বহু-শর্ত ফিল্টারিং নির্ভুলতা উন্নত করে।

এছাড়াও, শুধুমাত্র দীর্ঘ পদ্ধতিতে একীকরণের ফাঁদ এবং অপ্রয়োজনীয় লেনদেন এড়ানো হয়।

কৌশলটির সুবিধা

  • উভয় সংকীর্ণ এবং ভিতরে দিন সংকেত বিবেচনা করে

  • এসএমএ দিকটি ট্রেন্ডের অস্তিত্ব নির্ধারণ করে

  • মাল্টি-কন্ডিশন ফিল্টারিং সিগন্যালের নির্ভুলতা উন্নত করে

  • দীর্ঘকালীন একীকরণের ফাঁদ এড়ানো

  • অপ্টিমাইজযোগ্য ব্যাকটেস্ট প্যারামিটার, নমনীয়

ঝুঁকি সতর্কতা

  • সংকেত অপ্টিমাইজ করার জন্য এসএমএ টিউনিং প্রয়োজন

  • দীর্ঘ প্রবেশের বিলম্ব হতে পারে, ব্রেকআউট টাইমিং উপর ফোকাস

  • নিম্নমুখী প্রবণতা থেকে লাভ করতে অক্ষম

  • পরিসীমা পুনরায় সম্প্রসারণ রোধ করুন

সিদ্ধান্ত

সংকীর্ণ পরিসীমা ভিতরে দিন ব্রেকআউট কৌশল পুঙ্খানুপুঙ্খভাবে বাজার কাঠামো পরীক্ষা করে এবং উচ্চ সম্ভাব্যতা সংকেত উত্পন্ন করে। পরামিতি টিউনিং সঙ্গে, এটি অত্যন্ত অভিযোজিত হয়। কৌশল ব্যাকটেস্টিং, লাইভ অপ্টিমাইজেশান, এবং সামগ্রিক পরিমাণ সিস্টেমের মধ্যে ইন্টিগ্রেশন মূল্য।


/*backtest
start: 2023-09-11 00:00:00
end: 2023-09-14 00:00:00
period: 10m
basePeriod: 1m
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/

//@version=2
strategy("NR7ID: Narrow Range + Inside Day, Long Only Strategy (by ChartArt)", shorttitle="CA_-_NR7ID_Strat", overlay=true) // max_bars_back=5000

// ChartArt's Narrow Range + Inside Day Strategy (Long Only)
//
// Version 1.0
// Idea by ChartArt on Oktober 16, 2016.
//
// This long only strategy determines when there is both
// a NR7 (narrow range 7, a trading day in which the range
// is narrower than any of the previous six days), plus a
// inside day (high of the current day is lower than the high
// of the previous day and the low of the current day is higher
// than the low of the previous day) both on the same trading day
// and enters a long trade when the close is larger than the
// open and the slope of the simple moving average is upwards, too.
//
// The strategy exits the long trade next time the close is
// larger than the open in any of the next trading days.
//
// In addition the NR7ID can be colored (if close large open
// colored in green, else in red) and the SMA can be drawn
// with a color based on the direction of the SMA slope.
//
// List of my work: 
// https://www.tradingview.com/u/ChartArt/
// 
//  __             __  ___       __  ___ 
// /  ` |__|  /\  |__)  |   /\  |__)  |  
// \__, |  | /~~\ |  \  |  /~~\ |  \  |  
// 
// 


// NR7 Identifier
show_NR7=input(true, type=bool,title="Show Narrow Range 7 (NR7) ?")
range=(high-low)
nr7=(range < range[1]) and (range < range[2]) and (range < range[3]) and (range < range[4]) and (range < range[5]) and (range < range[6])
plotchar(show_NR7?nr7:na, char="7", location=location.abovebar, color=blue)

// Inside Day Identifier
show_insidebar = input(true, type=bool,title="Show Inside Day (I) ?")
insidebar =  (high < high[1] and low > low[1])
plotchar(show_insidebar?insidebar:na, char="i", location=location.abovebar, color=blue)

// NR7 + Inside Day Identifier
show_NR7ID = input(true, type=bool,title="Show NR7ID (NR7 + Inside Day) colors ?")
NR7ID = nr7 and insidebar
NR7ID_color = NR7ID and open < close ? green : NR7ID and open > close ? red : gray
barcolor(show_NR7ID?NR7ID_color:na)

// Simple Moving Average
show_ma = input(true, type=bool,title="Show SMA ?")
ma_length = input(14,title="SMA Length")
ma = sma(close,ma_length)
ma_change = change(ma) > 0
ma_change_color = change(ma) > 0 ? green : change(ma) < 0 ? red : blue
plot(show_ma?ma:na,color=ma_change_color,linewidth=3)

// (not enabled) Short Strategy: NR7 + Inside Day + close is smaller than open + change of SMA is downwards
//strategy.entry("sell", strategy.short, when = NR7ID and open > close and ma_change == false, comment="Short")
//strategy.close("sell", when = open > close )

// Long Strategy: NR7 + Inside Day + close is larger than open + change of SMA is upwards
strategy.entry("long", strategy.long, when = NR7ID and open < close and ma_change == true, comment="Long")
strategy.close("long", when = open < close )

আরো