PROTECTED SOURCE SCRIPT
Güncellendi Performance Indicator

Performance Indicator
This TradingView indicator calculates and displays the performance of a selected price type over a specified timeframe. It also provides the option to display an additional price type with a customizable line color.
Features:
Timeframe Selection: Choose the timeframe for performance calculation (e.g., 3-Month, 1-Year).
Price Type Selection: Select the price type for performance calculation (Open, High, Low, Close).
Customizable Colors: Set colors for the box, text, and lines.
Box Positioning: Choose the position of the information box on the chart.
Additional Price Type: Display an additional price type with a separate customizable line color.
Inputs:
Timeframe: Select the timeframe for performance calculation.
Price Type: Choose the price type (Open, High, Low, Close) for performance calculation.
Box Color: Set the color of the information box.
Text Color: Set the color of the text inside the box.
Line Color: Set the color of the main performance line.
Line Width: Set the width of the main performance line.
Box Position: Choose the position of the information box (Top Right, Top Left, Bottom Right, Bottom Left).
Additional Price Type: Select an additional price type to display (Open, High, Low, Close).
Additional Line Color: Set the color of the additional price line.
How to Use:
Add the Indicator: Add the indicator to your TradingView chart.
Configure Inputs: Use the input options to configure the timeframe, price types, colors, and box position according to your preferences.
View Performance: The indicator will display the performance of the selected price type over the chosen timeframe in the information box.
Additional Price: The additional price type will also be displayed in the information box with a separate line on the chart.
Example:
If you select a 3-Month timeframe and choose “Close” as the price type, the indicator will calculate the performance of the closing price over the last 3 months. It will also display an additional price type (e.g., “Low”) with a separate line on the chart.
This TradingView indicator calculates and displays the performance of a selected price type over a specified timeframe. It also provides the option to display an additional price type with a customizable line color.
Features:
Timeframe Selection: Choose the timeframe for performance calculation (e.g., 3-Month, 1-Year).
Price Type Selection: Select the price type for performance calculation (Open, High, Low, Close).
Customizable Colors: Set colors for the box, text, and lines.
Box Positioning: Choose the position of the information box on the chart.
Additional Price Type: Display an additional price type with a separate customizable line color.
Inputs:
Timeframe: Select the timeframe for performance calculation.
Price Type: Choose the price type (Open, High, Low, Close) for performance calculation.
Box Color: Set the color of the information box.
Text Color: Set the color of the text inside the box.
Line Color: Set the color of the main performance line.
Line Width: Set the width of the main performance line.
Box Position: Choose the position of the information box (Top Right, Top Left, Bottom Right, Bottom Left).
Additional Price Type: Select an additional price type to display (Open, High, Low, Close).
Additional Line Color: Set the color of the additional price line.
How to Use:
Add the Indicator: Add the indicator to your TradingView chart.
Configure Inputs: Use the input options to configure the timeframe, price types, colors, and box position according to your preferences.
View Performance: The indicator will display the performance of the selected price type over the chosen timeframe in the information box.
Additional Price: The additional price type will also be displayed in the information box with a separate line on the chart.
Example:
If you select a 3-Month timeframe and choose “Close” as the price type, the indicator will calculate the performance of the closing price over the last 3 months. It will also display an additional price type (e.g., “Low”) with a separate line on the chart.
Sürüm Notları
📌 توضیحات فارسی:نام اندیکاتور: Custom Historical Price Indicator (Improved)
عملکرد کلی:
این اندیکاتور به شما اجازه میدهد قیمت مشخصی از گذشته (مثلاً ۹۰ روز یا هفته یا ماه یا ساعت قبل) را انتخاب کرده و آن را روی نمودار نمایش دهید. همچنین میتوانید تغییرات درصدی قیمت فعلی نسبت به آن قیمت تاریخی را ببینید.
ویژگیهای کلیدی:
نمایش قیمت تاریخی بر اساس یکی از گزینههای Open / High / Low / Close.
ترسیم یک خط افقی روی نمودار در سطح قیمت تاریخی.
نمایش برچسب اطلاعاتی (label) که شامل قیمت تاریخی، تاریخ آن، قیمت فعلی و تغییرات درصدی است.
قابلیت نمایش خط و اطلاعات ثانویه (مثلاً همزمان هم Open و هم Close) بهصورت انتخابی.
رنگبندی بر اساس تغییرات مثبت (سبز)، منفی (قرمز) یا خنثی (خاکستری).
پشتیبانی از تایمفریمهای روزانه، هفتگی، ماهانه، ساعتی (با تطبیق خودکار).
موارد استفاده:
بررسی عملکرد قیمت نسبت به یک نقطه در گذشته.
استفاده در تحلیلهای تاریخی، تست استراتژی یا بررسی بازدهی.
تعیین خطوط مرجع برای تحلیل تکنیکال.
📌 English Description:
Indicator Name: Custom Historical Price Indicator (Improved)
Main Functionality:
This indicator allows you to display a specific historical price (e.g., from 90 days/weeks/months/hours ago) on the TradingView chart, and compare it to the current price. It visually shows the percentage change from the historical price to the latest closing price.
Key Features:
Select which price to use from history: Open / High / Low / Close.
Draw a horizontal line at the historical price level.
Show a label on the chart displaying:
The historical date,
The historical price,
Current price,
Percentage change.
Optionally display a secondary price line and label (e.g., both Open and Close).
Use color coding for gain/loss/neutral scenarios.
Supports multiple timeframe types: Daily, Weekly, Monthly, Hourly.
Use Cases:
Assess how much price has moved since a certain point in time.
Conduct backtesting or visual price performance analysis.
Mark reference levels on charts for technical decision-making.
Korumalı komut dosyası
Bu komut dosyası kapalı kaynak olarak yayınlanmaktadır. Ancak, özgürce ve herhangi bir sınırlama olmaksızın kullanabilirsiniz – daha fazla bilgi burada.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.
Korumalı komut dosyası
Bu komut dosyası kapalı kaynak olarak yayınlanmaktadır. Ancak, özgürce ve herhangi bir sınırlama olmaksızın kullanabilirsiniz – daha fazla bilgi burada.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.