OPEN-SOURCE SCRIPT
PDH PDL Indicator

This TradingView indicator plots important historical levels on your chart, including the previous day's high (PDH) and low (PDL), previous week's high (PWH) and low (PWL), and the current day's, week's, and month's opening prices (D, W, M). The lines and labels are customizable in terms of color, and each level can be toggled on or off based on your preference.
Features:
Customization:
How to Use:
Example Usage:
This indicator is particularly useful for traders who want to keep track of significant price levels from previous trading sessions and the opening prices of the current trading periods. These levels can serve as potential support and resistance areas.
Features:
- PDH (Previous Day High): Displays the high price of the previous trading day.
- PDL (Previous Day Low): Displays the low price of the previous trading day.
- PWH (Previous Week High): Displays the high price of the previous trading week.
- PWL (Previous Week Low): Displays the low price of the previous trading week.
- D (Daily Open): Displays the opening price of the current trading day.
- W (Weekly Open): Displays the opening price of the current trading week.
- M (Monthly Open): Displays the opening price of the current trading month.
Customization:
- Color Settings: You can customize the colors of the lines and text for each level.
- Toggle Levels: You can toggle the display of each level (PDH, PDL, PWH, PWL, D, W, M) on or off.
How to Use:
- Add the indicator to your TradingView chart.
- Customize the colors and toggle the levels as per your requirements from the settings panel.
- The lines will be plotted on the right side of the last candle, with labels indicating the corresponding level.
Example Usage:
This indicator is particularly useful for traders who want to keep track of significant price levels from previous trading sessions and the opening prices of the current trading periods. These levels can serve as potential support and resistance areas.
Script open-source
Dans l'esprit de TradingView, le créateur de ce script l'a rendu open-source, afin que les traders puissent examiner et vérifier sa fonctionnalité. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script open-source
Dans l'esprit de TradingView, le créateur de ce script l'a rendu open-source, afin que les traders puissent examiner et vérifier sa fonctionnalité. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.