দ্বি-ফ্যাক্টর পরিমাণগত বিপরীত ট্র্যাকিং কৌশল

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

img

সারসংক্ষেপ

এই কৌশলটি ডুয়াল-ফ্যাক্টর পরিমাণগত বিপরীত ট্র্যাকিং ট্রেডিং বাস্তবায়নের জন্য 123 বিপরীত প্যাটার্ন এবং আশ্চর্যজনক দোলকের সূচককে একত্রিত করে। মৌলিক ধারণাটি হ'ল আরও সঠিক এন্ট্রি টাইমিং অর্জনের জন্য আশ্চর্যজনক দোলকের সংকেত একত্রিত করার সময় বাজারের বিপরীত নির্ধারণ করা।

কৌশলটি মূলত মাঝারি-স্বল্পমেয়াদী বিপরীত ট্রেডিংয়ের জন্য উপযুক্ত। মাল্টি-ফ্যাক্টর নিশ্চিতকরণের মাধ্যমে এটি কার্যকরভাবে মিথ্যা বিপরীতগুলি ফিল্টার করতে এবং সংকেতের গুণমান উন্নত করতে পারে।

কৌশল নীতি

  1. 123 বিপরীত প্যাটার্ন

    পূর্ববর্তী দু'দিনের বন্ধের মূল্য এবং বর্তমান বন্ধের মূল্যের মধ্যে সম্পর্ক বিচার করুন একটি উচ্চ-উচ্চ-নিম্ন বা নিম্ন-নিম্ন-উচ্চ প্যাটার্ন গঠনের জন্য, একটি সম্ভাব্য বিপরীত সংকেত নির্দেশ করে।

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

  2. অসাধারণ দোলক

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

    এই কৌশলটি ক্রয় এবং বিক্রয় পয়েন্ট নির্ধারণের জন্য সূচকটির উত্থান বা হ্রাসের সিদ্ধান্ত গ্রহণ করে।

  3. ডাবল ফ্যাক্টর নিশ্চিতকরণ

    123 বিপরীতমুখী প্যাটার্ন এবং অসাধারণ দোলকের দ্বৈত নিশ্চিতকরণের মাধ্যমে, মিথ্যা বিপরীতমুখী কার্যকরভাবে ফিল্টার করা যেতে পারে এবং প্রবেশের সময় নির্ধারণের নির্ভুলতা উন্নত করা যেতে পারে।

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

  1. বিপরীতমুখী পয়েন্ট নির্ধারণের জন্য দ্বৈত ফ্যাক্টর ব্যবহার করে মিথ্যা বিপরীতমুখী সংকেতগুলি কার্যকরভাবে ফিল্টার করতে পারে।

  2. গতির সূচক হিসেবে, অসাধারণ দোলক প্রবেশের সময়সূচির নির্ভুলতা উন্নত করতে পারে।

  3. স্টোক্যাস্টিক সূচক যোগ করা সর্বোচ্চ সময়ে কেনার এবং নীচে বিক্রি করার ঝুঁকি এড়াতে পারে।

  4. বিপরীতমুখী কৌশলগুলি নিজেই উচ্চতর বিজয় হার এবং ঝুঁকি-প্রতিদান অনুপাতের সুবিধা রয়েছে।

কৌশলটির ঝুঁকি

  1. বিপরীত ব্যর্থতার ঝুঁকি এখনও বিদ্যমান। দ্বৈত ফ্যাক্টর ব্যবহার করে সম্ভাবনা হ্রাস করতে পারে, তবে এই ঝুঁকি সম্পূর্ণরূপে এড়ানো যায় না।

  2. অতিরিক্ত অপ্টিমাইজেশান ঝুঁকিঃ অতিরিক্ত অপ্টিমাইজেশান রোধ করার জন্য বিভিন্ন বাজারের জন্য সূচক পরামিতিগুলি পরীক্ষা করা এবং অপ্টিমাইজ করা দরকার।

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

অপ্টিমাইজেশান নির্দেশাবলী

  1. নির্ভরযোগ্যতা বাড়ানোর জন্য সূচক পরামিতিগুলির সমন্বয় পরীক্ষা এবং অনুকূলিতকরণ।

  2. একক ক্ষতি নিয়ন্ত্রণের জন্য স্টপ লস কৌশল যোগ করুন।

  3. অপ্রয়োজনীয় স্টক নির্বাচন এড়াতে শিল্প এবং সেক্টর নির্বাচন একত্রিত করুন।

  4. অন্ধ প্রবণতা এড়ানোর জন্য হোল্ডিং সময়কাল অপ্টিমাইজ করুন।

  5. বিভিন্ন চলমান গড় সিস্টেমকে সহায়ক অবস্থার মতো পরীক্ষা করুন।

সিদ্ধান্ত

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

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


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

//@version=4
////////////////////////////////////////////////////////////
//  Copyright by HPotter v1.0 12/08/2021
// 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 indicator is based on Bill Williams` recommendations from his book 
//    "New Trading Dimensions". We recommend this book to you as most useful reading.
//    The wisdom, technical expertise, and skillful teaching style of Williams make 
//    it a truly revolutionary-level source. A must-have new book for stock and 
//    commodity traders.
//    The 1st 2 chapters are somewhat of ramble where the author describes the 
//    "metaphysics" of trading. Still some good ideas are offered. The book references 
//    chaos theory, and leaves it up to the reader to believe whether "supercomputers" 
//    were used in formulating the various trading methods (the author wants to come across 
//    as an applied mathemetician, but he sure looks like a stock trader). There isn't any 
//    obvious connection with Chaos Theory - despite of the weak link between the title and 
//    content, the trading methodologies do work. Most readers think the author's systems to 
//    be a perfect filter and trigger for a short term trading system. He states a goal of 
//    10%/month, but when these filters & axioms are correctly combined with a good momentum 
//    system, much more is a probable result.
//    There's better written & more informative books out there for less money, but this author 
//    does have the "Holy Grail" of stock trading. A set of filters, axioms, and methods which are 
//    the "missing link" for any trading system which is based upon conventional indicators.
//    This indicator plots the oscillator as a histogram where periods fit for buying are marked 
//    as blue, and periods fit for selling as red. If the current value of AC (Awesome Oscillator) 
//    is over the previous, the period is deemed fit for buying and the indicator is marked blue. 
//    If the AC values is not over the previous, the period is deemed fir for selling and the indicator 
//    is marked red.
//
// 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


BWAO(nLengthSlow,nLengthFast) =>
    pos = 0.0
    xSMA1_hl2 = sma(hl2, nLengthFast)
    xSMA2_hl2 = sma(hl2, nLengthSlow)
    xSMA1_SMA2 = xSMA1_hl2 - xSMA2_hl2
    pos := iff(xSMA1_SMA2 > xSMA1_SMA2[1], 1,
    	      iff(xSMA1_SMA2 < xSMA1_SMA2[1], -1, nz(pos[1], 0)))   
    pos

strategy(title="Combo Backtest 123 Reversal & Awesome Oscillator (AO)", shorttitle="Combo", overlay = true)
line1 = input(true, "---- 123 Reversal ----")
Length = input(14, minval=1)
KSmoothing = input(1, minval=1)
DLength = input(3, minval=1)
Level = input(50, minval=1)
//-------------------------
line2 = input(true, "---- Awesome Oscillator (AO) ----")
nLengthSlow = input(34, minval=1, title="Length Slow")
nLengthFast = input(5, minval=1, title="Length Fast")
reverse = input(false, title="Trade reverse")
posReversal123 = Reversal123(Length, KSmoothing, DLength, Level)
posBWAO = BWAO(nLengthSlow,nLengthFast)
pos = iff(posReversal123 == 1 and posBWAO == 1 , 1,
	   iff(posReversal123 == -1 and posBWAO == -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 )

আরো