মাসিক ট্রেন্ড ব্রেকআউট কৌশল

লেখক:চাওঝাং, তারিখ: ২০২৩-১০-২৪ ১৬ঃ০৮ঃ৩৩
ট্যাগঃ

img

সারসংক্ষেপ

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

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

  1. সর্বশেষ এন্ট্রি মাস ট্র্যাক করতে lastEntryMonth ভেরিয়েবল সংজ্ঞায়িত করুন. currentMonth বর্তমান মাস পায়.

  2. ট্রামা অ্যাডাপ্টিভ এমএ প্যারামিটারগুলি লম্বা=৯৯ সেট করুন যাতে দাম মসৃণ হয় এবং প্রবণতা নির্ধারণ করা যায়।

  3. পিভট হাইসের উপর ভিত্তি করে ট্রেন্ডলাইন উপরের প্লট করতে length_trend=14 সেট করুন। যখন দাম ট্রেন্ডলাইনের উপরে ভাঙ্গবে তখন লং।

  4. RsiLength=14 এর সাথে RSI সূচক গণনা করুন যাতে overbought/oversold নির্ধারণ করা যায়।

  5. এন্ট্রি লজিকঃ বন্ধ হলে লং যান > TRAMA এবং বন্ধ করুন ট্রেন্ড লাইনের উপরের অংশে, যদি গত মাসে কোন এন্ট্রি না থাকে।

  6. প্রস্থান লজিকঃ RSI > 70 হলে লং বন্ধ করুন (অভারকোপেড) ।

  7. ট্রামা লাইন এবং আরএসআই ৭০ স্তরের ওপরে কেনা হয়েছে।

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

সুবিধা

  1. শক্তিশালী বাজার বিশ্লেষণ এবং উচ্চতর নির্ভুলতার জন্য একাধিক সূচক একত্রিত করে।

  2. অতিরিক্ত ট্রেডিং এড়ানোর জন্য মাসিক সময়সীমার মধ্যে এন্ট্রি সীমাবদ্ধ করে।

  3. অভিযোজিত এমএ দ্রুত প্রবণতা পরিবর্তনের সাথে মানিয়ে নেয়।

  4. ওভারসোল্ড আরএসআই বাজারের শীর্ষে কেনা এড়ায় এবং ঝুঁকি নিয়ন্ত্রণ করে।

  5. সহজ প্রবেশ/প্রস্থান নিয়ম বাস্তবায়ন করা সহজ।

  6. কাস্টমাইজযোগ্য পরামিতি কৌশল অপ্টিমাইজেশান অনুমতি দেয়।

ঝুঁকি

  1. যদি বিচ্ছিন্নতা ব্যর্থ হয়, তাহলে হুমকি। যদি মূল্য প্রবণতা লাইনের নিচে ফিরে আসে, তাহলে হ্রাস বন্ধ করুন।

  2. খারাপ টাইমিং এর ফলে শীর্ষের কাছাকাছি এন্ট্রি হয়।

  3. খারাপ সূচক পরামিতি বিভ্রান্তিকর সংকেত সৃষ্টি করে।

  4. ব্রেকআউট সাম্প্রতিক বাজারের অস্থিরতা প্রতিফলিত করতে পারে। অভিযোজিত স্টপ / অবস্থান আকার বিবেচনা করুন।

  5. ঝুঁকি / পুরস্কার পর্যবেক্ষণ করুন। শুধুমাত্র ট্রেডিং pullbacks বা অন্যান্য নিশ্চিতকরণ ফিল্টার যোগ বিবেচনা করুন।

  6. একাধিক সময়সীমার উপর সূচকগুলি যাচাই করুন। প্রবণতা সনাক্ত করতে উচ্চতর সময়সীমা এবং প্রবেশের জন্য কম ব্যবহার করুন।

  7. বিভিন্ন বাজারের অবস্থার উপর ব্যাকটেস্ট। বাজারের ধরন কৌশল মেলে পরামিতি অপ্টিমাইজ।

অপ্টিমাইজেশন

  1. কম ভলিউমে মিথ্যা ব্রেকআউট এড়াতে ভলিউম ইন্ডিকেটর যোগ করুন।

  2. আংশিক মুনাফা গ্রহণের বিষয়টি বিবেচনা করুন RSI ওভারকুপেড প্রস্থান, আংশিক অবস্থান বজায় রাখা।

  3. প্রবণতা পরিবর্তনের সাথে আরও ভালভাবে মানিয়ে নিতে এমএ পরামিতিগুলি অনুকূলিত করুন।

  4. ব্রেকআউট পয়েন্টের আগে/পরে জোনে যোগ করুন যাতে বিপরীত সময়ে ডানদিকে কেনা না হয়।

  5. আরো ফিল্টার যোগ করুন যেমন চ্যানেল, উচ্চতর নির্ভুলতার জন্য উদ্বায়ীতা।

  6. নতুন প্রতিরোধের স্তরে অতিরিক্ত ব্রেকআউটের সাথে স্কেল করুন।

সিদ্ধান্ত

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


/*backtest
start: 2022-10-17 00:00:00
end: 2023-10-23 00:00:00
period: 1d
basePeriod: 1h
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/

//@version=5
strategy('Bannos Strategy', shorttitle='Bannos', overlay=true)

//The provided script is an indicator for TradingView written in Pine Script version 5. The indicator is used to determine entry and exit points for a trading strategy. Here's a detailed breakdown of what the script does:

// Strategy Definition:

// Bannos Strategy is the full name, with a short title Bannos.
// The overlay=true option indicates that the strategy will be overlayed on the price chart.
// Tracking Entry Month:

// A variable lastEntryMonth is set up to track the month of the last entry.
// currentMonth identifies the current month.
// Trend Regularity Adaptive Moving Average (TRAMA):

// It takes an input of length 99 as default.
// It uses adaptive calculations to track trend changes.
// Trendlines with Breaks:

// Identifies local peaks over a given period (in this case, 14) and calculates a slope based on these peaks.
// Relative Strength Index (RSI):

// Uses a length of 14 (default) to calculate the RSI.
// RSI is an oscillation indicator that indicates overbought or oversold conditions.
// Strategy Logic for Long Entry:

// A long position is opened if:
// The close price is above the TRAMA.
// There's a crossover of the close price and the upper trendline.
// The position is taken only once per month.
// Strategy Logic for Long Exit:

// The long position is closed if the RSI exceeds 70, indicating an overbought condition.
// Plotting:

// The TRAMA is plotted in red on the chart.
// A horizontal line is also drawn at 70 to indicate the RSI's overbought zone.
// In summary, this strategy aims to enter a long position when certain trend and crossover conditions are met, and close the position when the market is considered overbought as per the RSI. Additionally, it ensures entries only occur once a month.
//



// Variable pour suivre le mois de la dernière entrée
var float lastEntryMonth = na
currentMonth = month(time)

// Parameters for Trend Regularity Adaptive Moving Average (TRAMA)
length_trama = input(99)
src_trama = close
ama = 0.
hh = math.max(math.sign(ta.change(ta.highest(length_trama))), 0)
ll = math.max(math.sign(ta.change(ta.lowest(length_trama)) * -1), 0)
tc = math.pow(ta.sma(hh or ll ? 1 : 0, length_trama), 2)
ama := nz(ama[1] + tc * (src_trama - ama[1]), src_trama)

// Parameters for Trendlines with Breaks
length_trend = 14
mult = 1.0
ph = ta.pivothigh(length_trend, length_trend)
upper = 0.
slope_ph = 0.
slope_ph := ph ? mult : slope_ph
upper := ph ? ph : upper - slope_ph

// Parameters for RSI
rsiLength = 14
up = ta.rma(math.max(ta.change(close), 0), rsiLength)
down = ta.rma(-math.min(ta.change(close), 0), rsiLength)
rsi = down == 0 ? 100 : up == 0 ? 0 : 100 - (100 / (1 + up / down))

// Strategy Logic for Long Entry
longCondition = close > ama and ta.crossover(close, upper) and (na(lastEntryMonth) or lastEntryMonth != currentMonth)
if (longCondition)
    lastEntryMonth := currentMonth
    strategy.entry('Long', strategy.long)

// Strategy Logic for Long Exit
exitCondition = rsi > 70
if (exitCondition)
    strategy.close('Long')

// Plotting
plot(ama, 'TRAMA', color=color.red)
hline(70, 'Overbought', color=color.red)


আরো