OPEN-SOURCE SCRIPT
업데이트됨 Dynamic Date and Price Tracker with Entry Price

The Dynamic Date and Price Tracker indicator is a simple tool designed for traders to visualize and monitor their trade's progress in real-time from a specified starting point.
This tool provides an intuitive graphical representation of your trade's profitability based on a custom entry date and price.
Features:
-Starting Date Selection: Choose a specific starting date, after which the indicator begins tracking your trade's performance.
-Custom Entry Price: Input a starting price to accurately reflect your actual entry price for performance tracking across different timeframes.
-Real-Time Tracking: As new bars form, the indicator automatically adjusts a dynamic line to the current closing price.
-Profit/Loss Color Coding: The dynamic line color changes based on whether the current price is above (green for profit) or below (red for loss) your specified entry price.
-Performance Label: A real-time label displays the absolute and percentage change in price since your initial entry, color-coded for positive (green) or negative (red) performance.
-Entry Price Line: The horizontal line marks your starting price for easy visual comparison.
This tool provides an intuitive graphical representation of your trade's profitability based on a custom entry date and price.
Features:
-Starting Date Selection: Choose a specific starting date, after which the indicator begins tracking your trade's performance.
-Custom Entry Price: Input a starting price to accurately reflect your actual entry price for performance tracking across different timeframes.
-Real-Time Tracking: As new bars form, the indicator automatically adjusts a dynamic line to the current closing price.
-Profit/Loss Color Coding: The dynamic line color changes based on whether the current price is above (green for profit) or below (red for loss) your specified entry price.
-Performance Label: A real-time label displays the absolute and percentage change in price since your initial entry, color-coded for positive (green) or negative (red) performance.
-Entry Price Line: The horizontal line marks your starting price for easy visual comparison.
릴리즈 노트
The Dynamic Date and Price Tracker indicator is a simple tool designed for traders to visualize and monitor their trade's progress in real-time from a specified starting point. (what it does)It's meant to make your life easier, not rocket science.
Step1: Open Settings
Step 2: Enter Entry Price and Entry Date
That's it! A label is added on the chart at the current price showing the Absolute Profit/Loss.
This tool provides an intuitive graphical representation of your trade's profitability based on a custom entry date and price. Previously you would need to manually draw on the chart with 'Measure' or 'Prediction' tools in TV. This plots absolute Profit/Loss real-time so you can keep your chart nice and tidy without constantly needing to adjust your drawings. I wasn't able to find a simple enough indicator to fill this need, so I decided to make it for myself. (how it's unique)
Profit (%) = (Profit/Price) × 100
Loss (%) = (Loss/Price) × 100
(how it does it)
How to use it:
-Starting Date Selection: Choose a specific starting date, after which the indicator begins tracking your trade's performance.
-Custom Entry Price: Input a starting price to accurately reflect your actual entry price for performance tracking across different timeframes.
Features:
-Real-Time Tracking: As new bars form, the indicator automatically adjusts a dynamic line to the current closing price.
-Profit/Loss Color Coding: The dynamic line color changes based on whether the current price is above (green for profit) or below (red for loss) your specified entry price.
-Performance Label: A real-time label displays the absolute and percentage change in price since your initial entry, color-coded for positive (green) or negative (red) performance.
-Entry Price Line: The horizontal line marks your starting price for easy visual comparison.
I hope you find it as useful as I do!
릴리즈 노트
-Label Positioning Option: Added an option to position the label either to the right of the entry line or the current price.-Enhanced Label Text: Updated the label text to correctly show the price change and percentage change.
-Persistent Entry Line: Added a persistent variable for the entry price line to ensure it updates correctly.
-Improved Label Color: Made the label background color semi-translucent green or red based on whether the current price is above or below the entry price.
-Optimized Code: Streamlined the update logic for lines and labels, and removed redundant calculations.
릴리즈 노트
Re-built from the ground up! Enhancements include-
-Multiple Entries: The enhanced indicator supports tracking up to 5 different entries, whereas the old indicator only tracks one entry.
-Entry Shares: It allows for specifying the number of shares for each entry, enabling accurate dollar gain/loss calculations.
-Gain/Loss Calculations: The enhanced indicator calculates both dollar and percentage gain/loss for each entry.
-Label Customization: Users can choose to display either dollar gain/loss, percentage gain/loss, or both on the labels.
-Dynamic Label Colors: Labels and lines change color based on whether the current price is above or below the entry price.
-Comprehensive Overview: It includes a table displaying the total gain/loss across all entries in the selected position on the chart, as well as two chart positions.
-Enhanced Visualization: It uses dotted lines to visually connect entry points with current price levels, much easier on the eyes.
릴리즈 노트
Made tracking your multi-entry position much faster, cleaner, and more flexible. -Expanded to 10 Entries
-Toggle “Ave Price”, “$ G/L”, and “% G/L” Labels On/Off
-Adjust the Label and Table Position
-Calculates Total $ and % Gain or Loss for easy reference
-Plots entry markers at the Date/Time of Entries
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.