قیمت کارکردگی انڈیکس کی حکمت عملی

مصنف:چاؤ ژانگ، تاریخ: 2023-09-21 16:19:31
ٹیگز:

جائزہ

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

حکمت عملی منطق

بنیادی منطق:

  • پی پی آئی ایک مدت کے دوران فیصد قیمت کی تبدیلی کا حساب لگاتا ہے (ڈیفالٹ 14 دن)

  • جب پی پی آئی بڑھتا ہے، تو یہ قیمت میں اضافہ کا اشارہ کرتا ہے - طویل عرصے تک جانا

  • جب پی پی آئی گرتا ہے تو اس سے قیمت میں کمی کا اشارہ ہوتا ہے - مختصر ہوجائیں

  • تجارتی اشاروں کو تبدیل کرنے کا اختیار

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

فوائد

  • قیمتوں کے رجحان اور رفتار کا تعین کرنے کے لئے سادہ اشارے

  • حسب ضرورت پیرامیٹرز مختلف مصنوعات کے مطابق

  • واضح اور بدیہی تجارتی منطق

  • ریورس ٹریڈنگ مختلف مارکیٹ کے ماحول کے مطابق ڈھالتی ہے

خطرات

  • مختصر مدت کے شور کو فلٹر کرنے میں ناکام، جھوٹے بریک آؤٹ کے لئے موزوں

  • کوئی پوزیشن سائزنگ یا سٹاپ نقصان کا انتظام نہیں

  • ناقص پیرامیٹرز رجحانات کو یاد کرسکتے ہیں یا زیادہ تجارت کرسکتے ہیں

تخفیف:

  • استحکام اور حساسیت کو متوازن کرنے کے لئے پیرامیٹرز کو بہتر بنائیں

  • اسٹاپ نقصان کو کنٹرول نقصان میں فی تجارت شامل کریں

  • ہر تجارت کے لئے کم خطرے کے لئے پوزیشن سائزنگ پر غور کریں

بہتر مواقع

  • مختلف مصنوعات کے لئے ٹیسٹ پیرامیٹرز کے مجموعے

  • غلط سگنل کو اسکرین کرنے کے لئے دیگر فلٹرز شامل کریں

  • متحرک پوزیشن سائزنگ میکانزم تیار کریں

  • ٹرائلنگ یا وقت پر مبنی سٹاپ نقصان شامل کریں

  • سگنل کے معیار کا اندازہ لگانے کے لئے ML

نتیجہ

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


/*backtest
start: 2022-09-14 00:00:00
end: 2023-09-20 00:00:00
period: 1d
basePeriod: 1h
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/

//@version=2
////////////////////////////////////////////////////////////
//  Copyright by HPotter v1.0 23/03/2018
// The Performance indicator or a more familiar term, KPI (key performance indicator), 
// is an industry term that measures the performance. Generally used by organizations, 
// they determine whether the company is successful or not, and the degree of success. 
// It is used on a business’ different levels, to quantify the progress or regress of a 
// department, of an employee or even of a certain program or activity. For a manager 
// it’s extremely important to determine which KPIs are relevant for his activity, and 
// what is important almost always depends on which department he wants to measure the 
// performance for.  So the indicators set for the financial team will be different than 
// the ones for the marketing department and so on.
//
// Similar to the KPIs companies use to measure their performance on a monthly, quarterly 
// and yearly basis, the stock market makes use of a performance indicator as well, although 
// on the market, the performance index is calculated on a daily basis. The stock market 
// performance indicates the direction of the stock market as a whole, or of a specific stock 
// and gives traders an overall impression over the future security prices, helping them decide 
// the best move. A change in the indicator gives information about future trends a stock could 
// adopt, information about a sector or even on the whole economy. The financial sector is the 
// most relevant department of the economy and the indicators provide information on its overall 
// health, so when a stock price moves upwards, the indicators are a signal of good news. On the 
// other hand, if the price of a particular stock decreases, that is because bad news about its 
// performance are out and they generate negative signals to the market, causing the price to go 
// downwards. One could state that the movement of the security prices and consequently, the movement 
// of the indicators are an overall evaluation of a country’s economic trend.
//
// You can change long to short in the Input Settings
// WARNING:
//  - For purpose educate only
//  - This script to change bars colors.
////////////////////////////////////////////////////////////
strategy(title="Perfomance index Backtest")
Period = input(14, minval=1)
reverse = input(false, title="Trade reverse")
xKPI = (close - close[Period]) * 100 / close[Period]
clr = iff(xKPI > 0, green, red)
p1 = plot(xKPI, color=blue, title="KPI")
p2 = plot(0, color=blue, title="0")
pos = iff(xKPI > 0, 1,
       iff(xKPI < 0, -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 ) 
fill(p1,p2,color=clr)

مزید