انکولی بل ونکل انڈیکیٹر لمبی مختصر حکمت عملی


تخلیق کی تاریخ: 2024-01-04 16:09:30 آخر میں ترمیم کریں: 2024-01-04 16:09:30
کاپی: 0 کلکس کی تعداد: 651
1
پر توجہ دیں
1621
پیروکار

انکولی بل ونکل انڈیکیٹر لمبی مختصر حکمت عملی

اوور ویو

یہ حکمت عملی مارکیٹ کے رجحانات کی خود کار طریقے سے شناخت کرنے اور کھلی پوزیشنیں قائم کرنے کے لئے بوینکو اشارے پر مبنی ہے۔ اس میں بوینکو اشارے ، متحرک اوسط اور سطحی معاون لائن جیسے تکنیکی اشارے شامل ہیں ، جو خود بخود بریک سگنل کی شناخت اور پوزیشنیں قائم کرسکتے ہیں۔

حکمت عملی کا اصول

اس حکمت عملی کا بنیادی اشارے بوانکو اشارے ہے ، جو مختلف تجارتی دن کے اختتامی قیمتوں کے عددی فرق کی گنتی کرکے مارکیٹ کے رجحانات اور اہم حمایت / مزاحمت کی سطح کا تعین کرتا ہے۔ جب اشارے کسی خاص افقی لائن کو عبور کرتے ہیں تو زیادہ کرتے ہیں ، اور جب نیچے جاتے ہیں تو خالی ہوجاتے ہیں۔

اس کے علاوہ ، اس حکمت عملی میں 21 دن ، 55 دن اور اس طرح کی متعدد متحرک اوسطوں پر مشتمل ای ایم اے حفاظتی بینڈ شامل ہیں۔ ان یکساں لائنوں کے ترتیب کے تعلقات کے مطابق فیصلہ کیا گیا ہے کہ اب یہ کثیر مارکیٹ ، خالی مارکیٹ یا مجموعی مارکیٹ ہے ، اور اسی کے مطابق خالی یا زیادہ کام کرنے پر پابندی عائد ہے۔

بیوینکو اشارے کے ذریعہ ٹریڈنگ سگنل کی شناخت اور مارکیٹ کے مرحلے کا اندازہ لگانے کے لئے منتقل اوسط کا استعمال ، دونوں کے ساتھ مل کر ، نامناسب پوزیشن کی تعمیر سے بچا جاسکتا ہے۔

فائدہ تجزیہ

اس حکمت عملی کا سب سے بڑا فائدہ یہ ہے کہ یہ مارکیٹ کے متعدد رجحانات کو خود بخود پہچان سکتا ہے۔ بونیکو اشارے دو ٹائم فریموں کی قیمتوں میں فرق کے لئے بہت حساس ہے ، جس سے اہم معاون مزاحمت کو تیزی سے تلاش کیا جاسکتا ہے۔ اسی وقت ، چلتی اوسط کی ترتیب سے یہ معلوم کیا جاسکتا ہے کہ اس وقت کیا چل رہا ہے ، زیادہ ہے یا زیادہ ہے۔

اس حکمت عملی کے سب سے بڑے فوائد میں سے ایک یہ ہے کہ یہ حکمت عملی تیزی سے خرید و فروخت کے مقامات کو تیزی سے تلاش کرنے اور غیر مناسب خرید و فروخت سے بچنے کے لئے تیز رفتار اشارے اور رجحان اشارے کو جوڑتی ہے۔

خطرے کا تجزیہ

اس حکمت عملی کا خطرہ بنیادی طور پر دو پہلوؤں سے آتا ہے ، ایک یہ کہ بونکو اشارے خود قیمت میں ہونے والی تبدیلیوں کے لئے بہت حساس ہیں ، جس سے بہت سارے غیر ضروری تجارتی اشارے پیدا ہوسکتے ہیں۔ دوسرا یہ کہ جب حرکت پذیر اوسط افقی طور پر ترتیب دیتا ہے تو اس کی ترتیب میں خلل پڑتا ہے ، جس کی وجہ سے پوزیشن میں خلل پڑتا ہے۔

پہلے خطرے کے ل the ، بونکو اشارے کے پیرامیٹرز کو مناسب طریقے سے ایڈجسٹ کیا جاسکتا ہے ، اشارے کے حساب کتاب کے دورانیے میں اضافہ کیا جاسکتا ہے ، اور غیر ضروری تجارت کو کم کیا جاسکتا ہے۔ دوسرے خطرے کے ل the ، زیادہ متحرک اوسط شامل کیا جاسکتا ہے ، جس سے رجحانات کا اندازہ لگانا زیادہ درست ہوگا۔

آپٹمائزیشن ہدایات

اس حکمت عملی کے اہم اصلاحات میں سے ایک پیرامیٹرز کو ایڈجسٹ کرنا اور فلٹرنگ کے حالات میں اضافہ کرنا ہے۔

بونکو اشارے کے ل different ، آپ مختلف دورانیہ کے پیرامیٹرز کو آزما سکتے ہیں تاکہ پیرامیٹرز کا بہترین مجموعہ تلاش کیا جاسکے۔ منتقل اوسط کے ل more ، آپ مزید اوسط لائنوں کو شامل کرنا جاری رکھ سکتے ہیں تاکہ رجحان کا فیصلہ کرنے کا ایک مکمل نظام تشکیل دیا جاسکے۔ اس کے علاوہ ، آپ فلٹرنگ شرائط جیسے اتار چڑھاؤ کی شرح اشارے ، تجارت کے حجم کے اشارے شامل کرسکتے ہیں ، تاکہ جھوٹے سگنل کو کم کیا جاسکے۔

پیرامیٹرز اور شرائط کی جامع ایڈجسٹمنٹ کے ذریعے ، حکمت عملی کی استحکام اور منافع کو مزید بہتر بنایا جاسکتا ہے۔

خلاصہ

اس خود کو اپنانے والی بونکوڈو کی حکمت عملی نے تیزی کے اشارے اور رجحان کے اشارے کو کامیابی کے ساتھ جوڑ دیا ، جس سے مارکیٹ کے اہم نکات کی خود بخود شناخت ہوسکتی ہے اور صحیح پوزیشن قائم کی جاسکتی ہے۔ اس کی خوبی یہ ہے کہ یہ فوری طور پر پوزیشن حاصل کرنے اور نامناسب پوزیشنوں کی تشکیل کو روکنے کی صلاحیت رکھتی ہے۔ اگلے مرحلے میں ، اسٹریٹجی کی استحکام اور منافع کی سطح کو مزید بڑھانے کے لئے پیرامیٹرز اور شرائط کے ذریعہ بہتر بنایا جاسکتا ہے۔

حکمت عملی کا ماخذ کوڈ
/*backtest
start: 2023-12-27 00:00:00
end: 2024-01-03 00:00:00
period: 1m
basePeriod: 1m
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/

// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © boftei

//@version=5

strategy("Boftei's Strategy", overlay=false, pyramiding=1, default_qty_type= strategy.percent_of_equity, default_qty_value = 100, calc_on_order_fills=false, margin_long = 100, margin_short = 100, slippage=0, commission_type=strategy.commission.percent, commission_value = 0, initial_capital = 40, precision = 6)
strat_dir_input = input.string("all", "strategy direction", options=["long", "short", "all"])
strat_dir_value = strat_dir_input == "long" ? strategy.direction.long : strat_dir_input == "short" ? strategy.direction.short : strategy.direction.all
strategy.risk.allow_entry_in(strat_dir_value)
//////////////////////////////////////////////////////////////////////
//DATA
testStartYear = input(2005, "Backtest Start Year")
testStartMonth = input(7, "Backtest Start Month")
testStartDay = input(16, "Backtest Start Day")
testPeriodStart = timestamp(testStartYear,testStartMonth,testStartDay,0,0)
//Stop date if you want to use a specific range of dates
testStopYear = input(2030, "Backtest Stop Year")
testStopMonth = input(12, "Backtest Stop Month")
testStopDay = input(30, "Backtest Stop Day")
testPeriodStop = timestamp(testStopYear,testStopMonth,testStopDay,0,0)


testPeriod() =>
    time >= testPeriodStart and time <= testPeriodStop ? true : false
//////////////////////////////////////////////////////////////////////
sell = input.float(0.0065, "sell level")
buy = input.float(0, "buy level")
long1 = input.float(-0.493, "long retry - too low")
long2 = input.float(2, "long close up")
long3 = input.float(-1.5, "long close down")
short1 = input.float(1.26, "short retry - too high")
short2 = input.float(-5, "dead - close the short")
///< botvenko script
nn = input(60, "Histogram Period")
float x = 0
float z = 0
float k = 0



y = math.log(close[0]) - math.log(close[nn])
if y>0
    x := y
else
    k := y
//---------------------------------------------
        
plot(y > 0 ? x: 0, color = color.green, linewidth = 4)
plot(y <= 0 ? k: 0, color = color.maroon, linewidth = 4)
plot(y, color = color.yellow, linewidth = 1)

co = ta.crossover(y, buy)
cu = ta.crossunder(y, sell)
retry_long = ta.crossunder(y, long1)
deadline_long_up = ta.crossover(y, long2)
deadline_long_down = ta.crossunder(y, long3)
retry_short = ta.crossover(y, short1)
deadline_short = ta.crossunder(y, short2)


hline(buy, title='buy', color=color.green, linestyle=hline.style_dotted, linewidth=2)
hline(0, title='zero', color=color.white, linestyle=hline.style_dotted, linewidth=1)
hline(sell, title='sell', color=color.red, linestyle=hline.style_dotted, linewidth=2)
hline(long1, title='long retry', color=color.blue, linestyle=hline.style_dotted, linewidth=2)
hline(long2, title='overbought', color=color.teal, linestyle=hline.style_dotted, linewidth=2)
hline(long3, title='oversold', color=color.maroon, linestyle=hline.style_dotted, linewidth=2)
hline(short1, title='short retry', color=color.purple, linestyle=hline.style_dotted, linewidth=2)
hline(short2, title='too low to short - an asset may die', color=color.navy, linestyle=hline.style_dotted, linewidth=2)


////////////////////////////////////////////////////////////EMAprotectionBLOCK
ema_21 = ta.ema(close, 21)
ema_55 = ta.ema(close, 55)
ema_89 = ta.ema(close, 89)
ema_144 = ta.ema(close, 144)
//ema_233 = ta.ema(close, 233)
// ema_377 = ta.ema(close, 377)

long_st = ema_21>ema_55 and ema_55>ema_89 and ema_89>ema_144 //and ema_144>ema_233 and ema_233>ema_377
short_st = ema_21<ema_55 and ema_55<ema_89 and ema_89<ema_144 //and ema_144<ema_233 and ema_233<ema_377 

g_v = long_st == true?3:0
r_v = short_st == true?-2:0
y_v = long_st != true and short_st != true?2:0

plot(math.log(ema_21), color = color.new(#ffaf5e, 50))
plot(math.log(ema_55), color = color.new(#b9ff5e, 50))
plot(math.log(ema_89), color = color.new(#5eff81, 50))
plot(math.log(ema_144), color = color.new(#5effe4, 50))
//plot(math.log(ema_233), color = color.new(#5e9fff, 50))
//plot(math.log(ema_377), color = color.new(#af5eff, 50))

plot(long_st == true?3:0, color = color.new(color.green, 65), linewidth = 5)
plot(short_st == true?-2:0, color = color.new(color.red, 65), linewidth = 5)
plot(long_st != true and short_st != true?2:0, color = color.new(color.yellow, 65), linewidth = 5)
////////////////////////////////////////////////////////////EMAprotectionBLOCK




if (co and testPeriod() and (g_v == 3 or y_v == 2))
    strategy.close("OH BRO", comment = "EXIT-SHORT")
    strategy.close("OH DUDE", comment = "EXIT-SHORT")
	strategy.entry("OH DAMN", strategy.long, comment="ENTER-LONG 'co'")
if (retry_long and testPeriod() and (g_v == 3 or y_v == 2))
    strategy.close("OH DAMN", comment = "EXIT-LONG")
    strategy.entry("OH BRUH", strategy.long, comment="ENTER-LONG 'retry_long'")
	
if (cu and testPeriod() and (r_v == -2 or y_v == 2))
    strategy.close("OH DAMN", comment = "EXIT-LONG")
    strategy.close("OH BRUH", comment = "EXIT-LONG")
	strategy.entry("OH BRO", strategy.short, comment="ENTER-SHORT 'cu'")
if (retry_short and testPeriod() and (r_v == -2 or y_v == 2))
    strategy.close("OH BRO", comment = "EXIT-SHORT")
    strategy.entry("OH DUDE", strategy.short, comment="ENTER-SHORT 'retry_short'")
	
    
if (deadline_long_up and testPeriod() or r_v == -2 and testPeriod())
    strategy.close("OH DAMN", comment = "EXIT-LONG 'deadline_long_up'")
if (deadline_long_down and testPeriod())
    strategy.close("OH DAMN", comment = "EXIT-LONG 'deadline_long_down'")
if (deadline_short and testPeriod() or g_v == 3 and testPeriod())
    strategy.close("OH BRO", comment = "EXIT-SHORT 'deadline_short'")
    // (you can use strategy.close_all(comment = "close all entries") here)