Session Bar Color (US Time)This script is designed to change the color of bars on a trading chart based on different trading sessions in Eastern Time (ET). It is different from currently published scripts in that it specifically focuses on US time sessions and provides a customizable approach to defining and coloring each session.
To use this script, you can apply it to a chart by selecting it from the list of available indicators or overlays.
The script is meant for traders who are interested in visualizing different trading sessions on their charts. By coloring the bars based on session boundaries, it can help traders quickly identify session changes and potentially adjust their trading strategies accordingly. Mostly it's used to draw the high and low zones of each session.
The markets this script is suitable for are those that operate within the US time zones, as it specifically focuses on Eastern Time (ET) sessions. It can be used for various types of markets, including stocks, futures, and forex.
The conditions for each session are defined using the input. session function, which allows you to specify the start and end times for each session. The script includes four sessions: Asian, London, USA, and New York. By modifying the defval parameter for each session input, you can customize the session times to fit your specific trading preferences or time zone.
The script uses the time function to check if the current bar falls within a particular session. If the condition is met, it sets the color of the bar using the bar color function. Each session is assigned a different color: black for the Asian session, teal for the London session, a custom RGB color (dark red) for the USA session, and red for the New York session.
It's important to note that this script assumes the time zone of the trading platform is set to "Etc/GMT+4" to align with Eastern Time (ET). If your platform uses a different time zone, you may need to adjust the time function calls to match your desired time zone.
Sessionprofile
SpaceTime RemasteredSpaceTime Remastered
SpaceTime Remastered provides a new code base for TPO Calculations. Significantly enhanced and some differences justifying leaving both choices for users to choose between. Using the PineV5 library, providing the ability to create a profile of price and time.
The main advantage is now being able to run multiple sessions simultaneously whilst also being more efficient. This has allowed for synchronous data generation for multi profile uses and still executing at a faster speed. Additionally this has given the rise to London, New York and Asia sessions as options with this new knowledge in mind. However, the sessions can be utilised beyond this in the form of D,W,M at the same time as an example with a multitude of possible combinations up to the users interest.
Tick for the multiple sessions to determine the segmented data generation of the TPO, can be split between the sessions and work independently of one another. This tick is vital alongside time and price. The generation of this tool can be used to highlight trending and ranging conditions and opportunities to spot both can be used to take trades, e.g. using value migration in use of trend development.
The release of the AutoTick improvements is significant as well providing more consistency and less affected reaction to the volatility in its calculation leading to a more accurate profile tool. AutoTick is a global controller and will handle tick generation for any enabled session.
The words and their abbreviation plus key.
POC: Point Of Control
VA: Value Area
SP: Single Print
EXS: Excess *sell or buy tail
PHL: Poor High/Low
TPO: Time Price Opportunity
N = Naked e.g. NPOC Naked Point of Control
D = Developing e.g. DVA Developing Value Area
VAStyles and POCStyles exist to better customise the representation of datak,
Show Text Data is toggleable to give the text representation of key inflection points and data. TPO Count, TickSize used, Excess location boundaries, Single Print Location Boundaries.
Display modes exist for All data, VA + Levels and Levels up to the users choosing.
Session timings are adjustable.
ToDo:
Add Initial balance if requested.
Add User Settings for select members of the community.
Add TPO lettering, delayed as mostly unused in predecessor.
Add Rotation Factor