پرائس پرفارمنس انڈیکس کی حکمت عملی


تخلیق کی تاریخ: 2023-09-21 16:19:31 آخر میں ترمیم کریں: 2023-09-21 16:19:31
کاپی: 0 کلکس کی تعداد: 607
1
پر توجہ دیں
1617
پیروکار

جائزہ

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

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

بنیادی منطق:

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

  • جب پی پی آئی بڑھتا ہے تو یہ ظاہر کرتا ہے کہ قیمتیں بڑھ رہی ہیں، زیادہ کام کریں

  • جب پی پی آئی گرتا ہے تو ، قیمتوں میں کمی کا اشارہ ہوتا ہے ، اور اس سے فائدہ ہوتا ہے

  • اختیاری ریورس ٹریڈنگ سگنل

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

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

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

  • پیرامیٹرز کو آزادانہ طور پر ترتیب دیا جاسکتا ہے ، جو مختلف اقسام کے لئے موزوں ہے

  • ٹریڈنگ منطق واضح اور بدیہی

  • ریورس ٹریڈنگ، مختلف مارکیٹ کے حالات کو مدنظر رکھتے ہوئے

اسٹریٹجک رسک

  • مختصر مدت کے شور کو ختم کرنے کے قابل نہیں، جعلی توڑنے کے لئے آسان

  • پوزیشن مینجمنٹ اور اسٹاپ نقصان کو مدنظر نہیں رکھا گیا

  • غلط پیرامیٹرز شاید رجحانات کو یاد کریں یا زیادہ تجارت کریں

کیا کرنا ہے:

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

  • نقصانات کو روکنے کے لئے حکمت عملی میں اضافہ

  • پوزیشن مینجمنٹ پر غور کریں اور انفرادی خطرے کو کم کریں

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

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

  • دوسرے اشارے کے ساتھ مل کر جعلی سگنل کو فلٹر کریں

  • متحرک پوزیشن مینجمنٹ میکانزم تیار کریں

  • بڑھتی ہوئی نقل و حرکت یا وقت کا نقصان

  • مشین لرننگ کا استعمال کرتے ہوئے سگنل کے معیار کا تعین کرنا

خلاصہ کریں۔

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

حکمت عملی کا ماخذ کوڈ
/*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)