
ডাবল ট্রেন্ড ট্র্যাকিং কৌশল হল একটি পরিমাণযুক্ত ট্রেডিং কৌশল যা একই সময়ে ডাবল ট্রেন্ডিং নির্দেশকগুলির সাথে ট্রেন্ডিং নির্দেশকগুলিকে সংযুক্ত করে। এই কৌশলটি প্রথমে 123 টি বিপরীত নির্দেশক ব্যবহার করে মূল্যের বিপরীত সংকেত নির্ধারণ করে এবং তারপরে দিকনির্দেশের ট্রেন্ডিং নির্দেশক ((ডিটিআই) এর সাথে দামের ট্রেন্ডিং নির্দেশকগুলিকে সংযুক্ত করে, যার ফলে ডাবল কনফার্মিং অর্ডার সংকেত উপলব্ধ হয়।
এই কৌশলটি মূলত দুটি অংশে বিভক্তঃ
123 রিভার্সাল ইনডেক্সের মূল্যায়নঃ
যখন বন্ধের দাম 2 দিন পর পর বেড়ে যায় এবং 9 দিনের জন্য ধীর গতির K-লাইন 50 এর নিচে থাকে, তখন বেশি করুন;
যখন ক্রেডিট ক্রমাগত 2 দিনের জন্য হ্রাস পায় এবং 9 তম দ্রুত K লাইন 50 এর উপরে থাকে, তখন খালি করুন।
এইভাবে, আপনি মূল্যের বিপরীত দিকটি ক্যাপচার করতে পারেন।
ডিটিআই সূচকের মূল্যায়ন নীতিটি হ’লঃ একটি নির্দিষ্ট সময়ের জন্য মূল্যের ওঠানামার গড় মান গণনা করুন, তারপরে দামের গড় তরঙ্গদৈর্ঘ্যকে ভাগ করুন।
যখন DTI ওভার-বই লাইনের উপরে থাকে, তখন এটি একটি নিম্নমুখী প্রবণতা দেখায়;
যখন ডিটিআই ওভার সেল লাইনের নিচে থাকে, তখন তা নির্দেশ করে যে এটি একটি উচ্চতর প্রবণতা।
প্রথমে 123 বিপরীতমুখী সূচক ব্যবহার করে দামের বিপরীতমুখী সংকেত পাওয়া যায় কিনা তা নির্ধারণ করুন। তারপরে ডিটিআই সূচকের সাথে একত্রিত হয়ে বিপরীতমুখী দামের সামগ্রিক প্রবণতা নির্দেশ করুন।
এইভাবে, আপনি কেবলমাত্র বিপরীত সিগন্যালের উপর নির্ভর করে মিথ্যা বিপরীত সমস্যাগুলি এড়াতে পারেন, যা কৌশলটির স্থিতিশীলতা এবং লাভজনকতা বাড়িয়ে তুলবে।
ডাবল ইন্ডিকেটর যাচাইকরণ, ভুয়া রিভার্সের ঝুঁকি এড়ানো
বিপরীতমুখী এবং প্রবণতা মূল্যায়ন, অপারেশনাল নমনীয়তা এবং স্থিতিশীলতা
প্যারামিটার অপ্টিমাইজেশনের জন্য বড় জায়গা, বিভিন্ন জাতের জন্য নমনীয়ভাবে সামঞ্জস্য করা যায়
DTI প্যারামিটার সেট করার জন্য অভিজ্ঞতার প্রয়োজন হয় এবং প্রবণতা দিকটি ভুলভাবে মূল্যায়ন করা উচিত নয়
রিভার্সনের অর্থ নতুন প্রবণতা সৃষ্টি নয়, বরং একটি ঝড়ের সম্ভাবনা রয়েছে।
একক ক্ষতি নিয়ন্ত্রণের জন্য কার্যকরভাবে ক্ষতি বন্ধ করা প্রয়োজন
সমাধানঃ পরামিতি অপ্টিমাইজেশান টেস্ট + যুক্তিসঙ্গত স্টপ লস + অন্যান্য সূচকগুলির সাথে মিলিত
ডিটিআই প্যারামিটার পরীক্ষা করে সেরা প্যারামিটার সমন্বয় খুঁজে বের করা
অন্যান্য সূচকগুলির সাথে মিলিত ফিল্টারিং জাল বিপরীত সিগন্যাল
স্টপ লস কৌশলগুলি অপ্টিমাইজ করুন এবং সর্বোত্তম স্টপ লস পয়েন্টগুলি সন্ধান করুন
ডাবল ট্রেন্ড ট্র্যাকিং কৌশলটি 123 বিপরীতের সাথে ডিটিআই দ্বৈত সূচক দ্বারা নিশ্চিত করা হয়, যা কার্যকরভাবে মূল্য বিপরীতের মূল্যায়ন করে এবং নতুন প্রবণতার দিকটি ক্যাপচার করে, যার ফলে কৌশলটির লাভের সম্ভাবনা বাড়ায়। তবে প্যারামিটার সেট এবং স্টপ লস কৌশলগুলিকে ক্রমাগত পরীক্ষার এবং অপ্টিমাইজ করার প্রয়োজন যাতে কৌশলটির লাভের স্থান সর্বাধিক করা যায়। সামগ্রিকভাবে, কৌশলটি প্রবণতা এবং বিপরীত ব্যবসায়ের সুবিধাগুলিকে একত্রিত করে এবং এটি একটি প্রস্তাবিত পরিমাণগত কৌশল।
/*backtest
start: 2023-12-25 00:00:00
end: 2024-01-01 00:00:00
period: 15m
basePeriod: 5m
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/
//@version=4
////////////////////////////////////////////////////////////
// Copyright by HPotter v1.0 19/02/2020
// This is combo strategies for get a cumulative signal.
//
// First strategy
// This System was created from the Book "How I Tripled My Money In The
// Futures Market" by Ulf Jensen, Page 183. This is reverse type of strategies.
// The strategy buys at market, if close price is higher than the previous close
// during 2 days and the meaning of 9-days Stochastic Slow Oscillator is lower than 50.
// The strategy sells at market, if close price is lower than the previous close price
// during 2 days and the meaning of 9-days Stochastic Fast Oscillator is higher than 50.
//
// Second strategy
// This technique was described by William Blau in his book "Momentum,
// Direction and Divergence" (1995). His book focuses on three key aspects
// of trading: momentum, direction and divergence. Blau, who was an electrical
// engineer before becoming a trader, thoroughly examines the relationship between
// price and momentum in step-by-step examples. From this grounding, he then looks
// at the deficiencies in other oscillators and introduces some innovative techniques,
// including a fresh twist on Stochastics. On directional issues, he analyzes the
// intricacies of ADX and offers a unique approach to help define trending and
// non-trending periods.
// Directional Trend Index is an indicator similar to DM+ developed by Welles Wilder.
// The DM+ (a part of Directional Movement System which includes both DM+ and
// DM- indicators) indicator helps determine if a security is "trending." William
// Blau added to it a zeroline, relative to which the indicator is deemed positive or
// negative. A stable uptrend is a period when the DTI value is positive and rising, a
// downtrend when it is negative and falling.
//
// WARNING:
// - For purpose educate only
// - This script to change bars colors.
////////////////////////////////////////////////////////////
Reversal123(Length, KSmoothing, DLength, Level) =>
vFast = sma(stoch(close, high, low, Length), KSmoothing)
vSlow = sma(vFast, DLength)
pos = 0.0
pos := iff(close[2] < close[1] and close > close[1] and vFast < vSlow and vFast > Level, 1,
iff(close[2] > close[1] and close < close[1] and vFast > vSlow and vFast < Level, -1, nz(pos[1], 0)))
pos
TDI(r,s,u,OS,OB) =>
pos = 0.0
xHMU = iff(high - high[1] > 0, high - high[1], 0)
xLMD = iff(low - low[1] < 0, -(low - low[1]), 0)
xPrice = xHMU - xLMD
xPriceAbs = abs(xPrice)
xuXA = ema(ema(ema(xPrice, r),s),u)
xuXAAbs = ema(ema(ema(xPriceAbs, r),s),u)
Val1 = 100 * xuXA
Val2 = xuXAAbs
DTI = iff(Val2 != 0, Val1 / Val2, 0)
pos := iff(DTI > OS, -1,
iff(DTI < OB, 1, nz(pos[1], 0)))
pos
strategy(title="Combo Backtest 123 Reversal & Directional Trend Index (DTI)", shorttitle="Combo", overlay = true)
Length = input(14, minval=1)
KSmoothing = input(1, minval=1)
DLength = input(3, minval=1)
Level = input(50, minval=1)
//-------------------------
r = input(14, minval=1)
s = input(10, minval=1)
u = input(5, minval=1)
OS = input(45, minval=1)
OB = input(-45, maxval=-1)
reverse = input(false, title="Trade reverse")
posReversal123 = Reversal123(Length, KSmoothing, DLength, Level)
posTDI = TDI(r,s,u,OS,OB)
pos = iff(posReversal123 == 1 and posTDI == 1 , 1,
iff(posReversal123 == -1 and posTDI == -1, -1, 0))
possig = iff(reverse and pos == 1, -1,
iff(reverse and pos == -1 , 1, pos))
if (possig == 1)
strategy.entry("Long", strategy.long)
if (possig == -1)
strategy.entry("Short", strategy.short)
if (possig == 0)
strategy.close_all()
barcolor(possig == -1 ? #b50404: possig == 1 ? #079605 : #0536b3 )