Previous Day and Current Day High/LowKey Features:
Previous Day High and Low Lines:
Displays the high (PDH) and low (PDL) levels of the previous trading day.
Allows customization of line colors, styles (solid, dashed, or dotted), and widths.
Extends these lines by a specified number of candles into the current day for better visualization.
Current Day High and Low Lines:
Displays the high (CDH) and low (CDL) levels during the current day's regular trading hours.
Customizable line attributes, including color, style, width, and extension length.
Customizable Input Options:
User-configurable settings for both the previous and current day high/low lines, grouped under respective sections for clarity.
Regular trading hours can be defined manually (default is 9:30 AM to 4:00 PM).
Ability to toggle the visibility of the lines for both the previous and current days.
Automatic Reset at the Start of a New Day:
Captures the high and low values of the completed day and resets for the new day.
Deletes old lines and labels to ensure clarity and avoid overlap.
Dynamic Updates:
Updates the current day's high and low lines and labels as new data comes in.
Adjusts previous day lines dynamically based on the user-defined number of candles to extend.
Session-Based Filtering:
Ensures the calculations and updates are restricted to the defined regular trading hours.
Code Logic:
Input Groups: The script uses grouped inputs to allow users to configure settings for previous and current day levels separately.
Line and Label Management: It creates and deletes lines and labels dynamically to prevent clutter and keep the chart organized.
Session Check: Uses the session input to determine if a bar falls within regular trading hours.
High/Low Calculation: Tracks the high and low for both the previous and current days during regular trading hours.
New Day Detection: Identifies the start of a new trading day to update previous day values and reset current day variables.
Applications:
Intraday Trading: Helps traders identify critical support and resistance levels from the previous and current days.
Trend Analysis: Provides visual cues for price movement trends across consecutive days.
Custom Visualization: With extensive customization options, traders can adapt the indicator to suit their trading style and chart aesthetics.
This script is highly configurable, making it versatile for a wide range of trading strategies and styles.
Dailylevels
HT: Intraday LevelsIndicator draws several most important intraday levels: last day RTH high/low, ETH high/low, Half Back, Day Close and current day RTH Day Open. These levels often act as support/resistance for intraday price movements. Also, they can help to assess day character and control of power.
Indicator can be used for ETH + RTH sessions.
Important notes:
• User must specify RTH session time, appropriate for his time zone and exchange
• Half-back is calculated as a middle line between RTH High and Low.
• Day Close is always equal to close of the last bar of the previous day
• RTH Day Open will be redrawn for the current day as soon as it is known (after RTH session opens and at least one bar gets confirmed).
Known issues:
• Day open will not be shown if there is no bar, clearly corresponding to RTH open time (e.g. if 4h timeframe is selected)
• For some ETH sessions it is not possible to determine session’s last bar (this is pine script limitation) until next day trading starts. This means that daily levels will be also update with only then.
Parameters:
Date – user can select date, for which levels will be plotted. Works only if “Use” check box is on. Otherwise, levels will be plotted for the last day. (“time” value doesn’t matter; unfortunately, there is no way to hide the input box)
RTH Open/Close time – it is important to specify time, appropriate for your time zone.
Time zone – your chart time zone (as UTC offset)
Visuals – controls visibility and colors
Script is published as an open source. It uses two libraries: Levels Lib and Functions Lib. First one demonstrates how to work with pine-script object model and arrays. You can also reuse it in your custom scripts where there is need to construct any support/resistance levels. The second library contains some useful functions for working with time and dates.
Disclaimer
This indicator should not be used as a standalone tool to make trading decisions but only in conjunction with other technical analysis methods.
MUJBOT - ADVANCED DAILY OPENTitle: MUJBOT - ADVANCED DAILY OPEN
Description:
The "MUJBOT - ADVANCED DAILY OPEN" is a versatile and user-friendly TradingView indicator designed to enhance daily trading strategies by highlighting the daily open price on the chart. This indicator is particularly useful for traders who focus on intraday price movements around the opening price of the trading day.
Key Features:
Daily Open Line: Visually represents the opening price of each trading day on the chart, providing a clear reference point for the day's initial market sentiment.
Dynamic Testing Counter: Keeps track of how many times the price tests or crosses the daily open level within the day. This feature offers insight into the significance and market reaction to the daily open price.
Customizable Display: Includes an option to show or hide the daily open line and the testing counter label. Traders can easily toggle the display according to their preference, keeping their charts uncluttered.
Real-Time Updates: The label and line are dynamically updated in real-time with each new price bar, ensuring traders have the most current information at their fingertips.
Simplicity and Efficiency: With a straightforward design, the indicator adds minimal complexity to the chart while providing valuable trading information.
Usage:
Intraday Trading: Ideal for intraday traders, the indicator helps in identifying how the current price is behaving relative to the opening price, which can be a crucial factor in decision-making.
Support and Resistance: The daily open can act as a natural support or resistance level. Monitoring how the price interacts with this level can provide insights into potential breakout or reversal opportunities.
Trend Analysis: Observing the frequency of the daily open price being tested can give clues about the day's trend strength and potential continuation or reversal.
Customization Options:
Toggle the visibility of the daily open line and label.
The line extends six bars ahead from the daily open for clear visibility.
The label displays the daily open price and the count of how many times it has been tested.
Conclusion:
The "MUJBOT - ADVANCED DAILY OPEN" indicator is a valuable tool for traders who emphasize the importance of the daily open in their trading strategy. Its simplicity, combined with real-time tracking features, makes it an essential addition to the trader's toolkit on TradingView.
Feel free to modify or add any additional details specific to your trading strategy or indicator functionality.
Previous Levels With Custom TimeZoneThe Previous Levels With Custom TimeZone indicator shows to users specifics price area which can be liquidity to take.
Users can determine the desired time zone to retrieve the correct daily, weekly and monthly values.
Several price area are shown with with indicator which are :
Daily Open Price
Daily Low Price
Daily High Price
Previous Daily Low Price
Previous Daily High Price
Previous Weekly Low Price
Previous Weekly High Price
Previous Monthly Low Price
Previous Monthly High Price
All price area are configurable to let user have specific color or line style for each area.
Here's some example :
Daily Open / High / Low
Previous Daily High / Low
Previous Weekly High / Low
Previous Monthly High / Low
Lepelle's Key LevelsCredit to original code goes to paaax and NSDT. Modified to include premarket H/L levels and to show only daily levels. Indicator includes Close levels.
-US Premarket High and Low Levels
-Daily OHL Levels (No close included)
-Yesterday and Previous day OHLC level
-Labels and ability to modify user preferences (color, line)
Simple Trader - LevelsThis indicator plots the below levels in the chart.
Note: This is not a buy/sell recommendation. Reach Simple Trader to understand how to trade these levels.
Current day open,
Prev. day close,
Prev. day high,
Prev. day low.
Prev. week high,
Prev. week low,
Prev. month high,
Prev. month low.
Key Levels SpacemanBTC IDWMKey levels, plotted automatically
Additional timeframes can be added on request
Useful for seeing strength of the trend in the market
ATR Daily LevelsPlots the daily ATR on the chart as upper and lower levels.
It can be use to adapt your trading in high and low periods of market volatility, determine reasonable target or take profit, entry at likely mean reversion, stop loss beyond normal flows etc...
More on the script behavior:
- Daily ATR upper/lower levels are applied on the current day low/high;
- The ATR value is defined by the last D1 bar;
- Shows up to D1 timeframe;
- Configuration for the indicator's period (default: 20 period ATR);
- Configuration for plotting the indicator on the the x axis with an offset/at begining of the day (default: offset);