HT: Weekly LevelsIndicator draws several most important weekly levels on the lower timeframe: last week high/low, halfback, week close and current week open. These levels often act as support/resistance for price movements. Also, they can help to assess week character and control of power.
Indicator can be used on any timeframe, lower than weekly, for any type of instrument, including futures. It also provides an option to draw levels for any selected week back in time.
Important notes:
• Levels for the last week are drawn after the new week opens.
• Half-back is calculated as a middle line between week High and Low.
Parameters:
Date – user can select date, belonging to week, for which levels will be plotted. Works only if “Use” check box is on. Otherwise, levels will be plotted for the last week. (“time” value doesn’t matter; unfortunately, there is no way to hide the input box)
Time zone – your chart time zone (as UTC offset). Only needed if you use “Date” parameter.
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.
Weeklylevels
Week designationThe script is primarily used for visualizing the beginning and end of the week. It is particularly helpful when working with time intervals shorter than one day. In a very simple and clear manner, you can see when a specific week has started. This makes it easier to assess the market sentiment in a short timeframe.
Here are the operating principles of this script:
Initialization:
The script begins with initialization, where basic parameters and settings such as line colors and line style are defined.
Determining the Session Start:
The startSession(hour, minute) function is used to calculate the starting time of a session on the chart. Sessions can be divided into different time intervals, such as the daily session (D), weekly session (W), and monthly session (M).
Checking for Session Start:
The script checks if a new session is starting. If so, a vertical line is inserted on the chart to mark the beginning of that session.
isSessionStart checks for the start of the daily session.
isSessionStart_2 checks for the start of the weekly session.
isSessionStart_3 checks for the start of the monthly session.
Marking Mondays:
The script checks if the current day is Monday (the day of the week number 2 represents Monday).
If the current session is starting or it is Monday, a vertical line is inserted on the chart with the day designation (color color_day).
Marking Lines on the Chart:
The lines inserted on the chart are vertical and have a specified style and color, which can be customized in the settings.
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.
Daily and Weekly Moving Averages on Daily ChartThis script is designed to be used on Swing and Position style approaches.
Based on moving averages that I use with the integration of a weekly moving average that is visible on the daily chart /all timeframes.
The moving averages are:
9EMA;
21EMA;
10 week SMA ;
50EMA;
150EMA;
and 200EMA.
Base script from CaptainBrett with Matt Caruso's chat with Richard Moglen showing me that this can be done on Tradingview. When searching for the script, I couldn't find it within the public library.
Please Enjoy
Key Levels SpacemanBTC IDWMKey levels, plotted automatically
Additional timeframes can be added on request
Useful for seeing strength of the trend in the market