OPEN-SOURCE SCRIPT

Arun - Timing

170
Session Timing:

This script allows you to visualize key trading sessions (Asian, Frankfurt, London, and New York) by drawing boxes and lines around those time periods.

It has the ability to adjust the time range for each session using input variables. For example:

Asian Range: rangeTime = input.session(title='Session Time', defval='1700-0100')

Frankfurt: rangeTime0 = input.session(title='FRANKFURT', defval='0200-0301')

London: rangeTime4 = input.session(title='LONDON KZ', defval='0300-0500')

New York: rangeTime5 = input.session(title='NEWYORK KZ', defval='0800-1000')

Box Creation for Sessions:

The script creates boxes that highlight the high and low values of each session.

The boxes are drawn based on session time intervals and can be extended into the future (if extendLines is true).

You can also enable or disable the background color and middle line for the boxes.

Previous High/Low for Various Timeframes:

Previous Daily High/Low: Plots the high and low of the previous day.

Previous Weekly High/Low: Plots the high and low of the previous week.

Previous Monthly High/Low: Plots the high and low of the previous month.

These levels can be displayed on the chart with configurable colors and options.

MMM (Market Maker Movements) Levels:

The script allows you to plot "Market Maker Movements" (MMM), which are key levels that may act as support or resistance during specific times of the trading day. It includes:

mmm1Range = input.session(title='MMM', defval='0330-0331')

You can configure the color and style of the lines for these levels as well.

Daily Open:

The Daily Open is shown on the chart as a labeled point, so you can easily track the opening price of the day.

Dynamic Features:
Real-Time Adjustments: The script dynamically updates the lines and boxes when the session starts and ends. It can delete and redraw lines and boxes based on whether the session is active or extended.

Line/Box Styles: You can customize the appearance of the lines (solid, dotted, or dashed) and set the color of the session boxes and lines.

Background and Middle Lines: You can choose to display the background color of the session ranges and a middle line that divides the high and low of the session.

How It Works:
Boxes and Lines: For each session (like the Asian range), the script draws a box between the session’s high and low values. You can also draw vertical lines marking the start and end of the session. These are updated in real-time as new bars are formed.

Previous High/Low: The script plots the previous day's, week's, or month's high and low prices, helping traders identify important support and resistance levels from earlier time periods.

Market Maker Movements (MMM): These levels are drawn at specific times of the day based on your input and are often used by traders who believe that institutional players move the market at specific times.

User Input Options:
Show/Hide Options: You can enable or disable the display of various features like the daily open, previous daily/weekly highs, and the MMM levels.

Customization: You can set the colors, line styles, and the timeframes for each session and other levels.

Text Labels: The script supports labeling the session lines and high/low points, with customizable text color.

Example Visualization:
Asian Session Box: A box is drawn for the Asian session range (from 1700 to 0100), with the session’s high and low price points marked.

Previous High/Low: You would see circles or labels for the previous day's high and low.

MMM Lines: Horizontal lines or areas drawn at specific times based on the user input for the "Market Maker Movement".

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.