[MiV] Trading SessionHello, everyone!
Today I want to present my new script, which I hope will help not only me!
I'm sure that many people, like me, went through such a stage as "building their strategy". This is when you sit and test on the history how you would enter or exit a trade.
Recently I was doing the same thing and realized that my "tests" involve night time, when in reality I would be asleep and not trading! So I decided to create an indicator that would display my "working hours" so that the backtest I conduct would be as realistic as possible.
Also this indicator is able to display sessions of major exchanges and forex working hours, so it will be useful not only for cryptocurrency lovers.
In addition, we don't always trade every day and, for example, I don't trade on Sunday. That's why we added a feature that "turns off" the day and does not highlight it in color if you're not planning to trade on that day.
And finally, I added a notification of the beginning and end of the trading session. A small thing, but it may also be a useful feature for those who like to sit at the chart!
I will be glad to receive any comments and suggestions!
-----
Всем привет!
Хочу сегодня представить свой новый скрипт, который, надеюсь, поможет не только мне!
Уверен, что многие, как и я, проходили такой этап как "постройка своей стратегии". Это когда ты сидишь и тестируешь на истории то как бы ты входил или выходил из сделки.
Вот недавно я ровно также занимался этим и осознал, что мои "тесты" затрагивают и ночное время, когда в реальности я бы спал и не торговал! Поэтому я решил создать индикатор, который будет отображать мои "рабочие часы", чтобы бектест, который я провожу, был максимально реалистичным.
Также данный индикатор умеет отображать сессии крупных бирж и время работы форекса, так что полезным он будет не только для любителей криптовалюты.
Кроме того, мы же не всегда торгуем каждый день и например я не торгую в воскресенье. Поэтому добавлен функционал, который "выключает" день и не подсвечивает его цветом, если ты в этот день не планируешь торговать.
Ну и в заключении, добавил уведомление о начале и завершении торговой сессии. Мелочь, а тоже может быть полезной фичей для тех кто любит засесть за графиком!
Буду рад любым замечаниям и предложениям!
Cari dalam skrip untuk "session"
Advanced Time SessionsIntroducing Advanced Time Sessions , this tool uses a 24 hour look ahead plot - this is to help inform the trader about not just the current session but the next one coming up. Now traders, at a quick glance can see what session they trading in, how much time till the sessions close, what is the next session, and when the daily market close is! Main features of the tool include daily dividers, day labels and kill zone highlighters.
This tool is a day traders dream to have this subtle and stylish data at a glance letting you focus on more strategically placing your trades based around time and price!
EURUSD - 15m
EURUSD - 5m
Smart Money Concepts used with Advanced Time Sessions
Quarterly Theory ICT 01 [TradingFinder] XAMD + Q1-Q4 Sessions🔵 Introduction
The Quarterly Theory ICT indicator is an advanced analytical system based on the concepts of ICT (Inner Circle Trader) and fractal time. It divides time into quarterly periods and accurately determines entry and exit points for trades by using the True Open as the starting point of each cycle. This system is applicable across various time frames including annual, monthly, weekly, daily, and even 90-minute sessions.
Time is divided into four quarters: in the first quarter (Q1), which is dedicated to the Accumulation phase, the market is in a consolidation state, laying the groundwork for a new trend; in the second quarter (Q2), allocated to the Manipulation phase (also known as Judas Swing), sudden price changes and false moves occur, marking the true starting point of a trend change; the third quarter (Q3) is dedicated to the Distribution phase, during which prices are broadly distributed and price volatility peaks; and the fourth quarter (Q4), corresponding to the Continuation/Reversal phase, either continues or reverses the previous trend.
By leveraging smart algorithms and technical analysis, this system identifies optimal price patterns and trading positions through the precise detection of stop-run and liquidity zones.
With the division of time into Q1 through Q4 and by incorporating key terms such as Quarterly Theory ICT, True Open, Accumulation, Manipulation (Judas Swing), Distribution, Continuation/Reversal, ICT, fractal time, smart algorithms, technical analysis, price patterns, trading positions, stop-run, and liquidity, this system enables traders to identify market trends and make informed trading decisions using real data and precise analysis.
♦ Important Note :
This indicator and the "Quarterly Theory ICT" concept have been developed based on material published in primary sources, notably the articles on Daye( traderdaye ) and Joshuuu . All copyright rights are reserved.
🔵 How to Use
The Quarterly Theory ICT strategy is built on dividing time into four distinct periods across various time frames such as annual, monthly, weekly, daily, and even 90-minute sessions. In this approach, time is segmented into four quarters, during which the phases of Accumulation, Manipulation (Judas Swing), Distribution, and Continuation/Reversal appear in a systematic and recurring manner.
The first segment (Q1) functions as the Accumulation phase, where the market consolidates and lays the foundation for future movement; the second segment (Q2) represents the Manipulation phase, during which prices experience sudden initial changes, and with the aid of the True Open concept, the real starting point of the market’s movement is determined; in the third segment (Q3), the Distribution phase takes place, where prices are widely dispersed and price volatility reaches its peak; and finally, the fourth segment (Q4) is recognized as the Continuation/Reversal phase, in which the previous trend either continues or reverses.
This strategy, by harnessing the concepts of fractal time and smart algorithms, enables precise analysis of price patterns across multiple time frames and, through the identification of key points such as stop-run and liquidity zones, assists traders in optimizing their trading positions. Utilizing real market data and dividing time into Q1 through Q4 allows for a comprehensive and multi-level technical analysis in which optimal entry and exit points are identified by comparing prices to the True Open.
Thus, by focusing on keywords like Quarterly Theory ICT, True Open, Accumulation, Manipulation, Distribution, Continuation/Reversal, ICT, fractal time, smart algorithms, technical analysis, price patterns, trading positions, stop-run, and liquidity, the Quarterly Theory ICT strategy acts as a coherent framework for predicting market trends and developing trading strategies.
🔵b]Settings
Cycle Display Mode: Determines whether the cycle is displayed on the chart or on the indicator panel.
Show Cycle: Enables or disables the display of the ranges corresponding to each quarter within the micro cycles (e.g., Q1/1, Q1/2, Q1/3, Q1/4, etc.).
Show Cycle Label: Toggles the display of textual labels for identifying the micro cycle phases (for example, Q1/1 or Q2/2).
Table Display Mode: Enables or disables the ability to display cycle information in a tabular format.
Show Table: Determines whether the table—which summarizes the phases (Q1 to Q4)—is displayed.
Show More Info: Adds additional details to the table, such as the name of the phase (Accumulation, Manipulation, Distribution, or Continuation/Reversal) or further specifics about each cycle.
🔵 Conclusion
Quarterly Theory ICT provides a fractal and recurring approach to analyzing price behavior by dividing time into four quarters (Q1, Q2, Q3, and Q4) and defining the True Open at the beginning of the second phase.
The Accumulation, Manipulation (Judas Swing), Distribution, and Continuation/Reversal phases repeat in each cycle, allowing traders to identify price patterns with greater precision across annual, monthly, weekly, daily, and even micro-level time frames.
Focusing on the True Open as the primary reference point enables faster recognition of potential trend changes and facilitates optimal management of trading positions. In summary, this strategy, based on ICT principles and fractal time concepts, offers a powerful framework for predicting future market movements, identifying optimal entry and exit points, and managing risk in various trading conditions.
Indian Market Sessions for BacktestingThis indicator is designed to increase the quality of your backtesting in the Indian Market.
NSE & BSE run from 9:15 am IST to 3:30 pm IST.
Naturally different times have different kinds of volatility.
On your chart you will find premarked -
Saffron - 9:15 am to 10:30 am - Opening Session - High Volatility Observed Historically
White - 10:35 am to 2:25 pm - Middle Session - Lower Volatility Observed Historically
Green - 2:30 pm to 3:30 pm - Closing Session - Medium to High Volatility Observed Historically
You will also find the start of each session marked with an arrow.
Feel free to change the times from the input settings and the color and visibility from the style settings.
_______________
Usage:
When you backtest any strategies, say moving average crossovers, also mark the sessions in your sheet which will help you further increase accuracy.
Feel free to drop your doubts in the comments.
ATR+ Advanced Sessions ATR for DaterangeATR+ Advanced Sessions ATR for Daterange
The ATR+ adds the following additional filters to the stock ATR indicator by Tradingview:
- Calculates the overall average ATR for a user defined daterange, optionally filtered by trading session and selected weekdays, presented as a secondary line over the standard ATR line.
- Basic ATR line, with colour highlight to indicate the selected sessions, days and timeframe being calculated by the average ATR+ line.
- Average ATR+ line indicating the average of all ATRs within the defined timeframe, optionally filtered by instances of a selected trading session and selected weekdays.
- Customisable appearance.
- The ATR+ also includes the basic ATR configuration options typically found in the standard ATR by Tradingview, including period length and smoothing type. Defaults are set to the factory standards: 14 length, RMA smoothing type.
What Is the Average True Range (ATR)?
The ATR is a technical analysis tool that measures market volatility by decomposing the entire range asset price for that period. Investopedia describes the ATR as follows:
"The average true range (ATR) is a technical analysis indicator, introduced by market technician J. Welles Wilder Jr. in his book New Concepts in Technical Trading Systems, that measures market volatility by decomposing the entire range of an asset price for that period.
The true range indicator is taken as the greatest of the following: current high less the current low; the absolute value of the current high less the previous close; and the absolute value of the current low less the previous close. The ATR is then a moving average, generally using 14 days, of the true ranges."
For more information on the ATR and its calculations and use cases, see here:
Investopedia link here.
Tradingview link here.
Note
The indicator may time out if the number of bars being calculated is too long. If this happens, you will need to reduce the datetime range, or increase the chart timeframe in order to reduce the number of bars being calculated and the indicator will attempt to recalculate.
Market Maker Session TimesThis indicator is design to mark out the session times for the Market Maker Method. All times are on NY time however you do not need to change your personal timezone.
The colours are also changeable, here's what the standard version are:
Asia Session - Green
UK Session - Yellow
US Session - Red
Dead Zone - Grey
FX Sessions - All in OneFX Sessions - All In One
This Script offer a wide variety of goodies
SESSION OPEN
it will draw a line for the TOP, MID and LOW of the asian session (you can adjust the hours of the session)
It will draw a line for the TOP and LOW of the London Session (you can adjust the hours of the session)
It will draw a line for the TOP and LOW of the NY Session (you can adjust the hours of the session)
SEPARATORS
while on lower timeframe, you will have a separator for days that occurs at midnight NY time
While on Daily timeframe, you will have a separator that will separate every month, on the 1st trading day of that given month
IMBALANCE
The candle leaving imbalance (a candle where there is a portion that is not matched with a price action left or right)
NY Midnight opening price
a dotted line will be drawn (up to 500 bar limitation) from NY open until it reaches either the 500 bar or the end of the day.
on lower timeframe (below 3 minutes) the bar will not reach the end of the day
London&NY Sessions with DaysOnly has certain time frames for New York and London which can be changed. Does not included other sessions. Also has options to include the market open.
Trademinator Forex Sessions"Trademinator Forex Sessions" displays overlapping colored boxes on the chart delimited by the opening and closing times of the specific exchange on the horizontal axis, and the maximum and minimum trading prices on the vertical axis, respectively. It also displays the exchange name on top of the candle corresponding to the opening time for each exchange.
Sessions can be enabled or disabled on the chart for each individual exchange through the "Inputs" tab of the "Settings" dialog box of the indicator. The exchange names can also be enabled or disabled in the same tab.
The included exchange sessions in sequential opening order are:
1- Sydney
2- Tokio
3- Frankfurt
4- London
5- New York
And additional session is included to account for the 2 hour timespan between the New York close and the Sydney open, when all exchanges are closed but still there is someone out there trading the Forex. I don't need to nominate you, since by now you already know who you are.
A future release of the indicator is planned to automatically adjust the opening and closing times of each exchange by the Daylight Saving Time.
30 Second Futures Session Open RangeThis indicator displays 30 second opening ranges from Globex, Europe, and RTH sessions.
From the RTH session range, it also displays infinitely generating Price Targets based on a % of the opening range size.
I am retrieving the 30 second data using the new "request.security_lower_tf()" function.
The importance of these levels is based on the idea that when the market opens, algorithms establish their positions within the first 30 seconds.
These areas can also be seen as potential areas of support and resistance throughout the sessions.
Enjoy!
ICT NY Futures Indices Session Model - YT New York MentorshipThis indicator plots out the time periods and open lines as outlined in ICT's 2022 Mentorship and is designed specifically for the New York futures trading session.
Time zone is set to GMT-4 (NY) by default but can be changed for accommodate daylight saving in the menu.
Please note this indicator is to be used only on the 30min timeframe and below.
Here are its features:
The background color shows the morning session, in two parts (8.30am to 9.30am and 9.30am to 11.30am), then a two hour gap for lunch (ICT calls this "Dead time") and finally, the afternoon session, also to two (1.30pm to 3pm and 3pm to 4pm).
It not only shows the current killzones, but future zones as well.
These times are important; trades can be framed within these zones as taught in the mentorship.
Next are the open lines. These lines are automatically plotted and can be areas for price to react off of; they are the opening price of a candle at these times:
00.00 (New York Midnight, also known as "True Day Open")
8.30am (New York Equities pre-open)
9.30am (New York Equities open)
2.00am (London Stock Exchange open)
And lastly, London's trading session High and Low are projected forward onto the New York trading session.
These two price points are areas of liquidity that were pooled during London, but they can also often set the high or low of the day.
Please let me know if there are any bugs or if you have suggestions for the next update.
Crypto / Fx SessionsTrading sessions for crypto markets - the major time segments: London, NYC, Beijing. Times are set in UTC.
Quick experiment for now, may be edited.
More granular data around session breaks for these time zones at www.altcointrading.net or as CSVs daily updated on Keybase keybase.pub
NRD Sessions Basic FunctionsThis script is an extension and modification of a popular BackGround color script.
Added
1. Style and programming standards to make is easier to read and modify
2. broke out Asia to Sydney and Tokyo Sessions
3. added override to show ICT Kill zones for London and New York
4. Made all this configurable via settings Menu
Enjoy
watch this space as I intend to do more complex session scripts to allow for High and Lows and Mondays too :-)
USA SessionThe USA session (9:30am to 4:00pm) is the most volatile session during market hours. Because of this, previous day OHLC values during that time frame are important to stock traders. For future traders, these and the overnight high/low are important. This indicator overlays the open, previous day open, previous day close, previous day high and previous day low (of the USA session) onto most stock chart. And for most future charts, this indicator will also plot the overnight high and low.
How to use
Currently, this indicator is only intended to work on stock and future assets. I'm not sure what will happen when used with other assets, but that's not my problem. This will also only work on a 5 minute chart, but I am working to have it function with all intraday time frames. When viewing stocks, you have to turn off the Extended Hours view in chart settings, else the calculated values will be garbage.
Assuming your chart meets those 3 constraints, this indicator should work automatically, all values are displayed by default. It may take a while to process when you first add this indicator. If you are only viewing stocks, you may want to disable the overnight levels as they will always be n/a. When viewing stocks, levels are not drawn on the last bar for the US session (3:55pm) to avoid ugly connecting lines between sessions. If you want those lines to connect, it can be enables in the indicator settings.
If levels are not flat across the whole session or you are still experiencing difficulties/inconsistencies please review the known issues below.
Knows issues
This indicator breaks when the asset is missing data. If a bar is missing, this indicator will break and move to a different level that is no longer valid. You can tell a bar is missing because the time will jump, for example, from 2:15 to 2:25 instead of 2:20. Unfortunately, I think this is an issue with the data feed and I have no way of correcting this. From the test I have done with the data feed I have, this has not been a big problem with more popular assets, but results will vary. A more professional data feed may be required for consistent and proper results.
During my tests, I found that my future assets are always missing data from 3:10pm to 3:25pm. It was so consistent, I put code in to correct it. However, I'm not sure if other people will experience this same issue, or if the issue varies. Because of this, I there is a 'Fix missing data bug' input in the indicator settings that is enabled by default. If you are missing data from 3:10pm to 3:25pm on your futures chart (like myself) make sure this stays on. If you have data during this time, you need to turn that setting off.
This indicator only works when the USA session opens/closes at its regular time. Days that do no follow this rule may produce garbage levels. Don't worry, they will work fine the next day!
Session Extremes High/Low 1.2 By RouroSession Extremes High/Low 1.2 By Rouro highlights the true trading range of the three major FX sessions (Asia, London, New York) by shading only between each session’s high and low. It also plots and continuously updates the previous day’s high/low and the previous week’s high/low as customizable lines with labels that point at the current bar while the text remains neatly to the right. Inputs let you shift sessions by UTC, choose line color, width, style and transparency, and control label offset for a clean, uncluttered chart.
Avg Session & Daily Volatility (Pips) - Forex/CFDS🔍 Overview
The Avg Session & Daily Volatility (Pips) indicator measures the average High–Low range (volatility) of three major Forex sessions—Asia, London, New York—and the entire trading day, then displays the results in a compact overlay table.
⚙️ Key Features
Session Windows
Asia: Default 23:00 – 07:00 server time
London: 07:00 – 16:00
New York: 13:00 – 22:00
Daily Range
– Tracks the full High–Low from midnight to midnight.
Flexible Lookback
– Choose 1W / 2W / 4W / 8W (≈ 5 / 10 / 20 / 40 trading days)
Pip Conversion
Forex Pairs: 1 pip = 0.0001 → (ticks / mintick) / 10
XAU/USD (Gold): 1 pip = 1 USD → direct price difference
Custom Styling
– Pick your own colors per session & daily
– Table position: Left/Center/Right × Top/Middle/Bottom
📈 Benefits & Use Cases
Optimal Stop-Loss & Take-Profit
Gauge each session’s typical movement to size SL/TP appropriately.
Intraday Performance Check
Compare your real-time trade swings against historical averages.
Risk Management
Align position sizes with average volatility to control risk.
Multi-Asset Support
Works seamlessly for major Forex pairs and Gold (XAU/USD) thanks to smart pip logic.
🚀 How It Works
Session Scanning – Continuously tracks the session’s high and low.
Array Storage – At session close, calculates range in pips and pushes it into a rolling buffer.
Averaging – Computes the arithmetic mean of the last N values (your chosen lookback).
Visualization – Paints the four averages in a neat 2×5 table overlay.
👍 Pro Tips
Check Your Time Zone – Make sure chart timezone matches your broker’s session times.
Tweak Lookback – Use shorter windows (1W) to react quickly; longer (4–8W) to smooth out outliers.
Combine Indicators – Pair with volume or trend tools for deeper insights.
Happy Trading,
Riseofatrader
Horizontal Sessions - B A N K $This is a simple indicator that has been designed to aid intraday trading and has only 1 function;
Information ℹ️
This indicator prints Horizontal Lines in a separate chart pane above/below for the 3 main session killzones in the markets; Asia, London & New York + Optimal Exit Time.
The indicator is only visible up to and including the 1h timeframe.
Settings ⚙️
The default timings are set to perfectly align with each session killzone however the Start & End times for each session can be changed in the settings.
You can change the colour & line thickness of the horizontal lines in the settings.
B A N K $ - Advanced Session RangesThis is a simple indicator that has been designed to aid intraday trading and has a few components;
Key Features
Session Ranges + Optimal Exit Time
Asia Pip Range
New York Midnight Open Line
Session Ranges + Optimal Exit Time
Information ℹ️
This is a visual depiction of the 3 main sessions in the markets. Asia, London & New York. The default timings are set to perfectly align with each session however the Start & End times for each session can be changed in the settings. (I've added a website on the tooltip to easily convert timezones)
I have also added a 4th session range called "Optimal Exit Time". This is statistically the most probable time window for the opposite High / Low of Day to form is within this window. It helps the trader understand when they should look to take profit.
How It Works 🔑
The indicator automatically maps on two lines for the High & Low of the range between the selected Start & End time, it also colours the background.
The individual lines & background can be toggled & customised to the traders preference.
Asia Pip Range
Information ℹ️
This displays the Asia Range in pips beneath the Asia Session Low.
How It Works 🔑
This calculates the distance between the Asia High - Asia Low in pips. It will automatically recalibrate to the timings the trader sets in the settings if they change the Start / End.
New York Midnight Open Line
Information ℹ️
This helps look for Buys beneath the line for a Bullish Expansion day 📈 & Sells above the line for a Bearish Expansion day 📉
How It Works 🔑
This adds a horizontal line to the chart that is anchored to New York Midnight Open (00:00) by default. It can be changed in the settings in required. You can also toggle on the time being shown above the line.
Globbex Session IdTThis indicator allows you to visualize a specific period of time, marking the maximums and minimums they have had.
Additionally, it marks the change of day (NY Time).
The base configuration that the Indicator brings, shows the Globbex session, obtaining the maximum and minimum that it has had.
Marks the London/NY Session Intersection.
Settings
Inputs
Session
Globbex Session Idt
• From HH:MM
• To HH:MM
Globbex Session Check box
o Shows or Hide Session
Display Hour
• Mark - Number of hours after Globbex Session Ends
• We use it to shows the London/NY Session Intersection
Timezone Offset UTC – 4 NY
DIVIDERS
Daily Divider Check box
Style
Background Color checkbox
o Shows or Hide Session
o Can choose the background color
Globbex Low checkbox
o Shows or Hide Low Line
o Can choose the Low Line color
Globbex High checkbox
o Shows or Hide High Line
o Can choose the High Line color
Tradesharpe Session BiasThis script is designed for traders who want help defining their session bias it is for people who trade in sessions which will most likely be 1 4h candle. The way I trade using Price action to get my daily bias, to either look for sells or buys or both I look at the previous daily candle close and previous 4hr candle close before analyzing the structure on the lower time frames to get my session bias of bullish/bearish. so this indicator compares the daily and 4hr candles to develop a bias for example
previous daily bullish + Previous 4hr Bullish = BULLISH BIAS
previous daily Bearish + Previous 4hr Bearish = BEARISH BIAS
if Daily bullish 4hr bearish = MIXED SESSION
if daily bearish 4hr bullish = MIXED SESSION
MIXED SESSION = Can argue both buys and sells
BEARISH SESSION = Best to look for Sells only based on my trading style
BULLISH SESSION = Best to look for Buys only based on my trading style