ملٹی ٹائم فریم اوسلیٹنگ چینل کا رجحان مندرجہ ذیل حکمت عملی


تخلیق کی تاریخ: 2023-12-25 14:27:06 آخر میں ترمیم کریں: 2023-12-25 14:27:06
کاپی: 0 کلکس کی تعداد: 687
1
پر توجہ دیں
1623
پیروکار

ملٹی ٹائم فریم اوسلیٹنگ چینل کا رجحان مندرجہ ذیل حکمت عملی

[trans]

جائزہ

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

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

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

طاقت کا تجزیہ

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

خطرات اور حل

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

اصلاح کی سمت

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

خلاصہ کریں۔

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

||

Overview

This strategy is based on the Supertrend indicator, combined with multiple timeframe market trend analysis, and adopts the oscillation channel method to identify entry opportunities.

Strategy Principle

  • Use the traditional Supertrend indicator to determine the trend direction
  • Add Supertrend of higher timeframe to ensure there is a trend in higher timeframe too
  • Determine the overall trend direction based on the Supertrend indicators of two timeframes
  • Identify specific entry opportunities based on the price breakout of the upper and lower rails of the oscillation channel

Advantage Analysis

  • Multi-timeframe analysis makes trend judgment more reliable
  • Combining high and low timeframes ensures catching the major trend while being able to capture short-term opportunities
  • The oscillation channel setting stops loss points which helps risk control

Risks and Solutions

  • The Supertrend itself has some lagging phenomenon, which may miss trend reversal points
  • The lagging risk can be reduced by optimizing parameters or incorporating other indicators to assist in identifying trend changes

Optimization Directions

  • Optimize Supertrend parameters to reduce lagging
  • Add trend filtering indicators to ensure catching the major trend more accurately
  • Test and select more appropriate stop loss methods

Summary

This strategy integrates multi-timeframe analysis and trend tracking indicators to grasp the major trend while seeking specific entry opportunities. With continuous optimization, it is expected to achieve long-term steady excess returns.

حکمت عملی کا ماخذ کوڈ
/*backtest
start: 2022-12-18 00:00:00
end: 2023-12-24 00:00:00
period: 1d
basePeriod: 1h
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/
// © ramki_simple
// Thanks to LonesomeTheBlue for the original code
//@version=4
strategy("Multi Supertrend with no-repaint HTF option strategy", overlay = true, shorttitle='Multi Supertrend')
//auto higher time frame
HTFAuto = timeframe.period == '1' ? '5' : 
  timeframe.period == '3' ? '15' : 
  timeframe.period == '5' ? '15' : 
  timeframe.period == '15' ? '60' : 
  timeframe.period == '30' ? '60' : 
  timeframe.period == '45' ? '60' : 
  timeframe.period == '60' ? '240' : 
  timeframe.period == '120' ? '240' : 
  timeframe.period == '180' ? '240' : 
  timeframe.period == '240' ? 'D' : 
  timeframe.period == 'D' ? 'W' :
  '5W'
HTFSelection = input(title='Select HTF Automatically for Additional Supertrend', type=input.bool, defval=false)
HTFUserSel = input(title='Select Higher Timeframe for Additional Supertrend',type=input.resolution, defval ='')
HTF = HTFSelection ? HTFAuto : HTFUserSel


Mult1 = input(title='Multiplier for Default Supertrend', defval=3.0, minval = 0, maxval = 10)
Period1 = input(title='Period for Default Supertrend', defval=10, minval = 1, maxval = 100)
Mult2 = input(title='Multiplier for Additional Supertrend', defval=2.0, minval = 0, maxval = 10)
Period2 = input(title='Period for Additional Supertrend', defval=14, minval = 1, maxval = 100)

chbarcol = input(true, title = "Change Bar Color")

[Trailings, Trend] = supertrend(Mult1, Period1)

linecolor = Trend == -1 and Trend[1] == -1 ? color.teal :
   Trend == 1 and Trend[1] == 1 ? color.red :
   color.new(color.white, 100)
plot(Trailings, color = linecolor,  linewidth = 2,title = "SuperTrend")

f_Security(_symbol, _res, _src) => security(_symbol, _res, _src[1], lookahead = barmerge.lookahead_on)

nonVectorSupertrend(Mult, Period) =>
    [Trail_, Trend_] = supertrend(Mult, Period)
    Trail_*Trend_


[TrailingslHtf, TrendHtf] = supertrend(Mult2, Period2)

if HTF != timeframe.period and HTF != ''
    CompositeTrailHtf = f_Security(syminfo.tickerid, HTF,nonVectorSupertrend(Mult2, Period2) )
    TrailingslHtf := abs(CompositeTrailHtf)
    TrendHtf := CompositeTrailHtf > 0 ? 1 : -1


linecolorHtf = TrendHtf == -1 and TrendHtf[1] == -1 ? color.blue :
   TrendHtf == 1 and TrendHtf[1] == 1 ? color.maroon :
   color.new(color.white, 100)
plot(TrailingslHtf, color = linecolorHtf, linewidth = 3, title = "Supertrend Higher Time Frame")

barcolor_ = Trend == -1 and TrendHtf == -1 ? color.lime :
   Trend == 1 and TrendHtf == 1 ? color.red :
   color.white
barcolor(color = chbarcol ? barcolor_ : na)

vwapfilter = input(false)

Long = Trend == -1 and TrendHtf == -1
Short = Trend == 1 and TrendHtf == 1
strategy.entry("enter long", true, 1, when = Long and not Long[1] and (vwapfilter and close > vwap or not vwapfilter))
strategy.entry("enter short", false, 1, when = Short and not Short[1] and (vwapfilter and close < vwap or not vwapfilter))
strategy.close("enter long", when = Long[1] and not Long)
strategy.close("enter short", when = Short[1] and not Short)