ভেগাস ট্রেন্ড ওয়েভ কৌশল

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

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

বিশেষত, এটি বর্তমান মূল্য, ১৪৪-পরিয়ড ইএমএ, ১৬৯-পরিয়ড ইএমএ এবং ২৩৩-পরিয়ড ইএমএ এর মধ্যে শতাংশ মূল্য পার্থক্য গণনা করে। যখন তিনটি পূর্বনির্ধারিত ইতিবাচক পার্থক্যের প্রান্তিক পূরণ করে তখন লং সংকেত উত্পন্ন হয়। যখন দাম তিনটি ইএমএর নীচে পড়ে এবং ১৪৪-পরিয়ড ইএমএ ২৩৩-পরিয়ড ইএমএর নীচে অতিক্রম করে তখন শর্টস ট্রিগার হয়।

ইএমএ কম্বো একক ইএমএ এর তুলনায় আরো মিথ্যা বিরতি ফিল্টার করে। এছাড়াও, ভেগাস তরঙ্গ নিজেই শক্তিশালী প্রবণতা বিশ্লেষণের জন্য একাধিক ইএমএ ধারণ করে।

তবে, ইএমএগুলির অন্তর্নিহিত বিলম্ব রয়েছে এবং সর্বোত্তম এন্ট্রিগুলি সনাক্ত করতে পারে না। এবং তরঙ্গ তত্ত্বের মধ্যে বিষয়বস্তু রয়েছে, পারফরম্যান্স মূলত পরামিতি অপ্টিমাইজেশনের উপর নির্ভর করে। লাইভ ফলাফলগুলির সতর্ক মূল্যায়ন প্রয়োজন।

সামগ্রিকভাবে, ভেগাস ট্রেন্ড ওয়েভ কৌশলটি ট্রেন্ডিং মার্কেটে ভাল ফলাফলের জন্য ইএমএ বিশ্লেষণ এবং তরঙ্গ তত্ত্বের সমন্বয় করে। তবে দীর্ঘমেয়াদী প্রয়োগের জন্য ঝুঁকি ব্যবস্থাপনা গুরুত্বপূর্ণ।


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

//@version=3
strategy("Vegas Wave Strategy", overlay=true)

ema144 = ema(close, 144)
ema169 = ema(close, 169)
ema233 = ema(close, 233)

current = close

upd144 = input(title="EMA144 percent difference from EMA233", type=float, defval=0.1)
upd169 = input(title="EMA169 percent difference from EMA233", type=float, defval=0.1)
upd_current = input(title="Current price percent difference from EMA233", type=float, defval=0.1)

//pDiff - Percentage Difference
pDiff(x, y) =>
    ((x-y)/x)*100

gtDiff(x, y) =>
    x > y


pd144 = pDiff(ema144, ema233)
pd169 = pDiff(ema169, ema233)
pd_current = pDiff(current,ema233)

plot(ema144,color=orange, linewidth=2, transp=0, title="144 EMA")
plot(ema169,color=blue,linewidth=2, transp=0, title="169 EMA")
plot(ema233,color=red,linewidth=2, transp=0, title="233 EMA")


//plot(current, color=white, title="Current Candle")


if (gtDiff(pd_current, upd_current) and gtDiff(pd144, upd144) and gtDiff(pd169, upd169))
    strategy.entry("buy", strategy.long, when=strategy.position_size <=0)

// if (ema8 > ema55 and ema13 > ema55 and ema21 > ema55 and current > ema55 and pd_current > upd_current)
//     strategy.entry("buy", strategy.long, 10000, when=strategy.position_size <=0)
    
if (current < ema144 and current < ema169 and current < ema233 and ema144 <= ema233)
    strategy.entry("sell", strategy.short, when=strategy.position_size > 0)

আরো