ٹریفک سے چلنے والی دوغلی مقداری حکمت عملی


تخلیق کی تاریخ: 2023-12-05 11:35:50 آخر میں ترمیم کریں: 2023-12-05 11:35:50
کاپی: 0 کلکس کی تعداد: 763
1
پر توجہ دیں
1619
پیروکار

ٹریفک سے چلنے والی دوغلی مقداری حکمت عملی

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

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

یہ حکمت عملی مندرجہ ذیل نظریات پر مبنی ہے:

  1. قیمت کی حد ((سب سے زیادہ قیمت - سب سے کم قیمت) قیمت میں اتار چڑھاؤ کی شدت کی عکاسی کرتی ہے ، جبکہ حجم قیمت میں اتار چڑھاؤ کی طاقت ہے۔
  2. اس دن کی اعلی ترین قیمت + کم ترین قیمت + اختتامی قیمت کا مجموعہ اور پچھلے دن کا مجموعہ ، خریداروں کی طاقت میں اضافے ، جمع ہونے کی خصوصیت کو ظاہر کرتا ہے۔ اس کے برعکس ، تقسیم کی خصوصیت ہے۔
  3. اس کے علاوہ ، اس کی قیمتوں میں مسلسل تبدیلیاں خریداروں اور بیچنے والوں کی طاقت کی تبدیلیوں کی عکاسی کرتی ہیں۔

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

اس کے علاوہ، اس میں تین اہم اشارے شامل ہیں:

  1. ایکس ٹرینڈ: قیمتوں میں اتار چڑھاؤ کے رجحانات کی طاقت کی عکاسی کرتا ہے ، جس کی بنیاد دن کے اختتامی قیمتوں کے مجموعی مقابلے پر ہے جو پچھلے دن کے مقابلے میں ہے۔
  2. xFast: xTrend کی تیز رفتار اوسط ، پیرامیٹر 34 دن
  3. xSlow: xTrend کی سست رفتار اوسط لکیری ، پیرامیٹر 55 دن。

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

اسٹریٹجک فوائد

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

اس کے علاوہ، یہ حکمت عملی صرف قیمت اور حجم پر مبنی ہے. اس میں پیچیدہ ریاضیاتی اشارے کی ضرورت نہیں ہے، یہ کمپیوٹنگ کی کارکردگی ہے، اور یہ عملی طور پر لاگو ہوتا ہے.

خطرات اور ان کا مقابلہ

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

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

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

خطرے کے تجزیے کے مطابق ، ہم اس حکمت عملی کو مزید بہتر بنانے کے لئے درج ذیل نکات پر غور کر سکتے ہیں:

  1. نقصان کو روکنے کا طریقہ کار شامل کریں۔ جب قیمت ایک خاص تناسب سے پیچھے ہٹ جاتی ہے تو نقصان کو روکنے سے باہر نکلنا ، مختصر مدت کے ایڈجسٹمنٹ کی شور کی مداخلت کو کم کیا جاسکتا ہے۔

  2. رجحان فلٹرنگ اشارے میں اضافہ کریں۔ MACD جیسے اشارے کے ساتھ مل کر مارکیٹ کی مجموعی حرکت کا اندازہ لگانے کے ل moving حرکت پذیر اوسط اشارے ، ہنگامہ خیز حالات میں غلط سمت سے بچنے سے بچیں۔

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

  4. ابتدائی فنڈ مینجمنٹ کو بہتر بنائیں۔ جیسے اسٹاپ ونڈ اسٹاپ نقصان کی صورتحال کے مطابق پوزیشن کو متحرک طور پر ایڈجسٹ کریں۔

خلاصہ کریں۔

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

||

This is a trading strategy based on the Klinger Volume Oscillator. It captures the shifts in buying and selling forces during price fluctuations to identify turning points in market trends. The advantages are sensitivity and accuracy for both short-term and long-term analysis. However, some risks need to be noticed.

Strategy Logic

The strategy is built on the following assumptions:

  1. The price range (high-low) reflects the amplitude of price swings, while volume is the driving force behind price movements.
  2. If today’s sum of high + low + close is greater than yesterday’s, it indicates strengthened buying forces and accumulation; the opposite suggests distribution.
  3. Continuous changes in volume reflect shifts in the forces of buyers and sellers.

Based on the theories, the strategy calculates the Klinger Volume Oscillator by comparing the relationship between today’s sum of closing prices and yesterday’s, combined with changes in volume. It goes long when the indicator crosses above its moving average line, and goes short on crosses below.

Specifically, there are three main indicators involved:

  1. xTrend: reflects the force of price trend based on comparison of sum of prices between days.
  2. xFast: fast EMA of xTrend with period of 34.
  3. xSlow: slow EMA of xTrend with period of 55.

The difference xKVO is then calculated as the trading indicator. Go long on crossing above 13-day EMA xTrigger, and short on crossing below.

Advantages

The greatest advantage is being suitable for both short-term and long-term analysis simultaneously. The fast and slow EMA settings make it sensitive to catch short-term swings, while also filtering out market noise and capturing long-term trends, which most price-based indicators struggle with.

In addition, it is purely based on price and volume data without complex math. This makes it highly efficient for actual trading applications.

Risks & Solutions

The main risk is weaker ability to distinguish false breakouts. Short-term price adjustments may generate wrong long signals. Other factors should be considered to determine the trend.

Also, the strategy is sensitive towards parameter tuning. Optimization is required on the EMAs and trigger line to find best performance.

Strategy Optimization

Some aspects that could further optimize the strategy according to the risks:

  1. Add stop loss mechanisms. Exiting at some percentage retracement reduces noise interference.

  2. Add trend filtering with indicators like MACD to avoid directional mistakes in ranging markets.

  3. Optimize parameter sets through backtests to improve robustness.

  4. Capital management optimization such as dynamic position sizing based on stop loss/take profit levels.

Conclusion

Overall, the strategy captures shifts in market forces by comparing price quantities and volumes for both sensitivity and stability. It can perform well given optimized parameters and trend validation, but inherent limitations of volume indicators can still pose risks for traders.

[/trans]

حکمت عملی کا ماخذ کوڈ
/*backtest
start: 2022-11-28 00:00:00
end: 2023-12-04 00:00:00
period: 1d
basePeriod: 1h
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/

//@version=2
////////////////////////////////////////////////////////////
//  Copyright by HPotter v1.0 30/08/2017
// The Klinger Oscillator (KO) was developed by Stephen J. Klinger. Learning 
// from prior research on volume by such well-known technicians as Joseph Granville, 
// Larry Williams, and Marc Chaikin, Mr. Klinger set out to develop a volume-based 
// indicator to help in both short- and long-term analysis.
// The KO was developed with two seemingly opposite goals in mind: to be sensitive 
// enough to signal short-term tops and bottoms, yet accurate enough to reflect the 
// long-term flow of money into and out of a security.
// The KO is based on the following tenets:
// Price range (i.e. High - Low) is a measure of movement and volume is the force behind 
// the movement. The sum of High + Low + Close defines a trend. Accumulation occurs when 
// today's sum is greater than the previous day's. Conversely, distribution occurs when 
// today's sum is less than the previous day's. When the sums are equal, the existing trend 
// is maintained.
// Volume produces continuous intra-day changes in price reflecting buying and selling pressure. 
// The KO quantifies the difference between the number of shares being accumulated and distributed 
// each day as "volume force". A strong, rising volume force should accompany an uptrend and then 
// gradually contract over time during the latter stages of the uptrend and the early stages of 
// the following downtrend. This should be followed by a rising volume force reflecting some 
// accumulation before a bottom develops.
//
// You can change long to short in the Input Settings
// Please, use it only for learning or paper trading. 
////////////////////////////////////////////////////////////
strategy(title="Klinger Volume Oscillator (KVO)", shorttitle="KVO")
TrigLen = input(13, minval=1)
FastX = input(34, minval=1)
SlowX = input(55, minval=1)
reverse = input(false, title="Trade reverse")
hline(0, color=gray, linestyle=line)
xTrend = iff(hlc3 > hlc3[1], volume * 100, -volume * 100)
xFast = ema(xTrend, FastX)
xSlow = ema(xTrend, SlowX)
xKVO = xFast - xSlow
xTrigger = ema(xKVO, TrigLen)
pos = iff(xKVO > xTrigger, 1,
	   iff(xKVO < xTrigger, -1, nz(pos[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)	   	    
barcolor(possig == -1 ? red: possig == 1 ? green : blue )  
plot(xKVO, color=blue, title="KVO")
plot(xTrigger, color=red, title="Trigger")