
এটি একটি ট্রেডিং কৌশল যা VWAP এবং স্ট্যান্ডার্ড ডিফারেনশিয়াল চ্যানেলের উপর ভিত্তি করে গড় মূল্যের উপর ভিত্তি করে। এই কৌশলটি VWAP থেকে দামের বিচ্যুতি সনাক্ত করে ট্রেডিংয়ের সুযোগগুলি সন্ধান করে, যখন দাম স্ট্যান্ডার্ড ডিফারেনশিয়াল চ্যানেলের সীমানা অতিক্রম করে তখন বিপরীতভাবে ট্রেড করে এবং যখন দাম VWAP এ ফিরে আসে তখন সমতল হয়। এই পদ্ধতিটি প্রযুক্তিগত বিশ্লেষণ এবং পরিসংখ্যানগত নীতিগুলির সমন্বয়ে বাজারের গড় মূল্যের পুনরুদ্ধারের বৈশিষ্ট্যগুলিকে পুরোপুরি ব্যবহার করে।
কৌশলটির মূল অংশ হল VWAP এবং মূল্যের অস্থিরতার স্ট্যান্ডার্ড ডিফারেনশিয়াল গণনা করে ট্রেডিং অঞ্চল তৈরি করা। এর মধ্যে রয়েছেঃ
এটি একটি পরিসংখ্যানগত নীতির উপর ভিত্তি করে একটি নিরপেক্ষ কৌশল যা ভিডাব্লুএপি এবং স্ট্যান্ডার্ড ডিভেরিয়েন্স চ্যানেলের মাধ্যমে মূল্য বিচ্যুতি এবং রিটার্ন ক্যাপচার করে। কৌশলটি উদ্দেশ্যমূলক এবং পদ্ধতিগত বৈশিষ্ট্যযুক্ত, তবে বাস্তব প্রয়োগে ঝুঁকি নিয়ন্ত্রণ এবং প্যারামিটার অপ্টিমাইজেশনের দিকে মনোযোগ দেওয়ার প্রয়োজন। প্রবণতা ফিল্টার এবং বায়ু নিয়ন্ত্রণ ব্যবস্থা উন্নত করে কৌশলটির স্থায়িত্ব এবং নির্ভরযোগ্যতা আরও বাড়ানো যেতে পারে।
/*backtest
start: 2024-12-03 00:00:00
end: 2024-12-10 00:00:00
period: 1m
basePeriod: 1m
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/
// This Pine Script™ code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © jklonoskitrader
//@version=5
strategy("ETHUSD VWAP Fade Strategy", overlay=true)
// Input for standard deviation multiplier
std_multiplier = input.float(2.0, title="Standard Deviation Multiplier")
// Calculate cumulative VWAP
cumulative_pv = ta.cum(close * volume) // Cumulative price * volume
cumulative_vol = ta.cum(volume) // Cumulative volume
vwap = cumulative_pv / cumulative_vol // VWAP calculation
// Calculate standard deviation of the closing price
length = input.int(20, title="Standard Deviation Length")
std_dev = ta.stdev(close, length)
upper_band = vwap + std_multiplier * std_dev
lower_band = vwap - std_multiplier * std_dev
// Plot VWAP and its bands
plot(vwap, color=color.blue, linewidth=2, title="VWAP")
plot(upper_band, color=color.red, linewidth=1, title="Upper Band")
plot(lower_band, color=color.green, linewidth=1, title="Lower Band")
// Strategy conditions
go_long = ta.crossunder(close, lower_band)
go_short = ta.crossover(close, upper_band)
// Execute trades
if (go_long)
strategy.entry("Long", strategy.long)
if (go_short)
strategy.entry("Short", strategy.short)
// Exit strategy
if (strategy.position_size > 0 and close > vwap)
strategy.close("Long")
if (strategy.position_size < 0 and close < vwap)
strategy.close("Short")