Long Bar With ATR Multi Timframe | Amoo HassanLong Bar with ATR Multi Timeframe | Amoo Hassan
Looking for a smarter way to spot powerful moves in the market?
Long Bar with ATR Multi Timeframe is built exactly for that!
This tool helps you catch strong trend breakouts and potential reversals — in a simple, clear, and effective way.
What This Script Does:
Detects Long Bars: It looks for candles with a larger body compared to recent averages and confirms them with ATR (Average True Range). Only truly significant moves are highlighted.
Trend Filtering: Uses fast and slow moving averages (60 EMA, 34 EMA, and 200 SMA) to check if the overall market trend supports your trade.
Multi-Timeframe Supertrend: Supertrend signals are combined across different timeframes to give extra confirmation and reduce false signals.
Sharp Peaks and Valleys: Special candlestick patterns like sharp tops and bottoms are detected automatically.
Smart Trading Sessions: Trades are filtered based on the most active trading hours, avoiding dead times when price action is messy.
Important Date Control: On days with historically strange price action (like the 13th and 20th), the script stays cautious by disabling trades.
Clear Buy and Sell Labels: When all conditions are aligned, you'll see clean and clear "BUY" or "SELL" signals right on your chart.
Why You'll Like It:
It's easy to use, even if you're not a technical analysis expert.
It helps you avoid bad trades and focus on quality setups.
It fits into your existing trading system — or it can work as a standalone entry tool.
Friendly Reminder:
No indicator is 100% perfect! Always combine signals with good risk management and your own judgment.
And remember: Past results don't guarantee future performance.
Best Timeframes:
For the best results, we recommend using this script on 5-minute and 1-minute timeframes.
Cari dalam skrip untuk "session"
Mon to Fri + LSE and NYSE📌 Highlight Custom Days & Market Hours Indicator 📌
🔹 Overview:
This script allows traders to visually highlight specific weekdays and market sessions directly on their TradingView charts. With customizable checkboxes, you can choose which days of the week to highlight, along with session times for the New York Stock Exchange (NYSE) and London Stock Exchange (LSE).
🔹 Features:
✅ Select individual weekdays (Monday–Friday) to highlight in blue
✅ Highlight NYSE open hours (2:30 PM – 9:30 PM UK time) in green
✅ Highlight LSE open hours (8:00 AM – 4:30 PM UK time) in orange
✅ Ensures NYSE & LSE sessions are only highlighted on weekdays (no weekends)
✅ Clean and simple visualization for enhanced market awareness
🔹 How to Use:
1️⃣ Add the indicator to your TradingView chart
2️⃣ Use the settings panel to enable/disable specific weekdays
3️⃣ Toggle NYSE or LSE session highlights based on your trading preference
🚀 Perfect for traders who follow institutional sessions and want better time-based confluence in their strategies!
Volume profile [Signals] - By Leviathan [Mindyourbuisness]Market Sessions and Volume Profile with Sweep Signals - Based on Leviathan's Volume Profile
This indicator is an enhanced version of Leviathan's Volume Profile indicator, adding session-based value area analysis and sweep detection signals. It combines volume profile analysis with market structure concepts to identify potential reversal opportunities.
Features
- Session-based volume profiles (Daily, Weekly, Monthly, Quarterly, Yearly)
- Forex sessions support (Tokyo, London, New York)
- Value Area analysis with POC, VAH, and VAL levels
- Extended level visualization for the last completed session
- Sweep detection signals for key value area levels
Sweep Signals Explanation
The indicator detects two types of sweeps at VAH, VAL, and POC levels:
Bearish Sweeps (Red Triangle Down)
Conditions:
- Price makes a high above the level (VAH/VAL/POC)
- Closes below the level
- Closes below the previous candle's low
- Previous candle must be bullish
Trading Implication: Suggests a failed breakout and potential reversal to the downside. These sweeps often indicate stop-loss hunting above key levels followed by institutional selling.
Bullish Sweeps (Green Triangle Up)
Conditions:
- Price makes a low below the level (VAH/VAL/POC)
- Closes above the level
- Closes above the previous candle's high
- Previous candle must be bearish
Trading Implication: Suggests a failed breakdown and potential reversal to the upside. These sweeps often indicate stop-loss hunting below key levels followed by institutional buying.
Trading Guidelines
1. Use sweep signals in conjunction with the overall trend
2. Look for additional confirmation like:
- Volume surge during the sweep
- Price action patterns
- Support/resistance levels
3. Consider the session's volatility and time of day
4. More reliable signals often occur at VAH and VAL levels
5. POC sweeps might indicate stronger reversals due to their significance as fair value levels
Notes
- The indicator works best on higher timeframes (1H and above)
- Sweep signals are more reliable during active market hours
- Consider using multiple timeframe analysis for better confirmation
- Past performance is not indicative of future results
Credits: Original Volume Profile indicator by Leviathan
The Ultimate Indicator by ATK
The Ultimate Indicator By ATK
This all-in-one trading indicator integrates multiple advanced tools to provide ICT traders with deep insights into market structure, liquidity zones, Fair Value Gaps (FVG), and AI-powered signals. Whether you’re a scalper or a long-term trader, this indicator offers real-time analysis and helps identify potential trading opportunities in dynamic markets.
🔵 Key Features
🔹 2 options for checking SMT (Separation and Divergence) Detection:
First - Compares highs and lows of a primary symbol (e.g., NQ1!) with a user-defined comparison symbol (e.g., ES1!).
Automatically detects and visualizes discrepancies (red for highs, blue for lows) between the symbols.
Offers customizable comparison settings and alerts for divergence detection.
Second -
Real-time SMT comparison between two tickers - red/green lines.
🔹 Market Structure Change (MSS) & Break of Structure (BOS) Detection:
Identifies market structure shifts and breakouts, crucial for spotting potential reversals.
Customizable sensitivity and length settings to adapt to various market conditions and trading strategies. Use 3 different timeframes on the same chart.
🔹 Buy Side & Sell Side Liquidity Zones:
Highlights liquidity zones on both buy and sell sides, offering a clear view of market pressure points.
Configurable settings for detection length, margin, and alert conditions for liquidity sweeps like the 15-minute Buy Side Liquidity (BSL) and Sell Side Liquidity (SSL).
These lines from Swing Highs & Lows:
Automatically plots horizontal lines at the most recent swing highs and lows.
Lines are removed once the closing price breaches these levels, ensuring real-time updates and clean charting.
🔹 Fair Value Gap (FVG) Detection:
Detects FVG formations on 5-minute and 1-minute charts, making it ideal for scalpers capturing liquidity gaps.
Includes directional arrows and customizable alerts based on higher and lower timeframe FVG analysis, helping traders time their entry and exit points.
🔹IFVG (Inverse fair value gap) - yellow
🔹IFVG + SMT - Light blue
🔹IFVG + SMT + HTF FVG - green/red (1 min only)
🔹IFVG + SMT + BSL/SSL Swept - green/red (1 min only)
for example:
🔹 Capture and plot significant price levels at specific times throughout the trading day:
TDO (True Day Open): The price at which a market opens at 12:00 AM US.
TMSO (True Micro Session Open): The open price of the Q2 of the micro session.
RVT (Revolving True Open): The price recorded at 12:00 PM US.
AO (Asia True Open Price): The price captured at 7:30 PM US, specifically representing the opening price of the Asian session.
LO (London True Open Price): 1:30 AM US
AM (New York Session - Afternoon Market True Open Price): 7:30 AM US
PM (Post Market Open Price): 1:30 PM US.
For example TMSO:
🔹 AI-Powered Entry Detection:
The script helps identify entry points based on specific candle patterns, while also considering the exponential moving averages (EMAs) for trend confirmation.
🔶FFMS Strategy: (First Five Minute Strategy)
Check 5-min time frame if the price is between the high and low of the previous day. then, when NYO if there is retest on the High/Low on the 5-min chart after crossover or crossunder the 5 minute first candle high/low lines.
🔶PSP & PSP + FVG
🔹The Precision Swing Point (PSP). It helps you visually identify price decorrelation (type of SMT) among key futures contracts (NQ/ES or NQ/ES/YM/ZB) and set alerts for these significant market movements.
🔹The PSP HTF 15 Min + FVG LTF 1 Min
In this strategy the script is looking for PSP in HTF (15-Min) and capture the FVG in LTF (1-Min) only if its between High and Low of the PSP.
If there is a retracement in parallel micro session time, for example: Q1 with Q3 or Q2 with Q4, Q3 with Q1, etc…
if the retracement was happened and the price close above/below the high/low of the FVG from the LTF that captured according to the direction for long/short, it plots an arrow.
Update the script that checks the purple arrows and shows all of them each time there is a new PSP in a 15-minute timeframe and then FVG in 1 Min timeframe with the reference to the TDO/TMSO/Open session
for example:
Step 1: PSP 15Min LOW/HIGH Lines look for FVG by the conditions above - purple arrow
Step 2:FVG founded - purple arrow
SMT Fill on 15 min timeframe + IFVG 1 min - Detected option:
When Sym1 closed above/below FVG and Sym2 didn't it is SMT FILL (15 Min timeframe)
White arrows when captured SMT FIll + IFVG:
option to turn on alert on this strategy too.
🔹Detect liquidity swept on 15-min timeframe by $$ - green/red
🔹Detect liquidity to sweep zones on by diamonds - green/red
🔹Alerts for all Events and full scenarios.
Real-time notifications ensure traders can act quickly on potential trade setups.
🔵 Conclusion:
This Ultimate Indicator by ATK brings together critical elements of market analysis in one tool for ICT traders, offering real-time insights, alerts, and visual aids to enhance trading strategies. Whether you’re focused on short-term price action or long-term market trends, this indicator provides the tools necessary for informed decision-making and improved trading performance.
Time Vertical LinesVLines - Time-Based Vertical Lines with Zones
This PineScript indicator creates vertical time lines with customizable zones between them. Perfect for marking trading sessions, key market times, or any time-based analysis.
Key Features:
- 5 configurable time lines
- 3 customizable zones (between lines 1-2, 2-3, and 4-5)
- Each zone features:
- Background shading
- Horizontal lines at high/low points
- Independent color controls
- Adjustable line styles and widths
- Time zone offset adjustment
- Option to show/hide historical lines
Installation Instructions:
1. Open TradingView's Pine Script Editor
2. Create a new script
3. Copy and paste the entire code
4. Add to Chart
Setup Guide:
1. Time Zone Adjustment:
- Find the "Time Zone Offset (Hours)" setting
- Adjust if lines appear at wrong times
- Example: If lines appear 3 hours early, set offset to 3
2. Basic Time Lines (1-3):
- Each line has settings for:
- Hour (0-23)
- Minute (0-59)
- Color
- Show/Hide toggle
3. Session Lines (4-5):
- Special lines typically used for session marking
- Same settings as basic lines
- Default red color to distinguish from other lines
4. Zone Customization:
Three separate zones are available:
- Zone 1-2 (between first and second lines)
- Zone 2-3 (between second and third lines)
- Zone 4-5 (between fourth and fifth lines)
Each zone can be customized with:
- Background color and transparency
- Horizontal line color
- Line style (Solid/Dashed/Dotted)
- Line width
- Individual show/hide toggles for zone and lines
5. Additional Settings:
- "Show Historical Lines" - toggle to show/hide lines on previous days
- Global line style and width settings for vertical lines
Suggested Uses:
1. Mark pre-market, market, and post-market sessions
2. Highlight specific trading windows
3. Track time-based support/resistance levels
4. Monitor price ranges during specific time periods
Tips:
- Start by setting just one zone to get familiar with the controls
- Use different colors for different sessions/time periods
- Adjust transparency to maintain chart visibility
- Use the show/hide toggles to focus on specific times
- The horizontal lines automatically mark the high/low range between time points
Asian Range IndicatorIndicator Name:
Asian Range Indicator
Description:
This TradingView indicator is designed to accurately detect the price range during the Asian session, based on our trading strategy. This range is crucial for planning trades in the European and American sessions. Using advanced algorithms, the indicator automatically identifies and plots the highs and lows within the Asian session period, highlighting them on the chart with shaded areas for clear visualization. This helps traders anticipate breakouts and set more precise entry and exit levels.
How to Use the Indicator:
Add the indicator to your TradingView chart.
Observe the shaded areas representing the Asian range.
Use these levels to plan your trades during the European and American sessions.
Combine with other technical indicators to confirm your trading decisions.
Chart:
The chart published with this script is clean and easy to understand, clearly showing the Asian range highlighted with shaded areas. No other scripts are included, ensuring the indicator's output is easily identifiable. The shaded areas contribute to the visual understanding of the Asian range, helping traders effectively use the script.
AllTheUpsTheresAlwaysDowns "AllTheUpsTheresAlwaysDowns" ☆ATUTAD☆ // w%r + ma indicator designed for forex trading.
This indicator combines the Williams %R, moving averages, and session tracking.
Key Inputs:
Williams%Range Period: Adjusts the sensitivity of the Williams %R calculation.
Moving Average Period: Defines the period for the moving average used in the indicator.
Overbought and Oversold Thresholds: Sets the thresholds for identifying overbought and oversold conditions.
Features:
Williams %R Calculation: Calculates the Williams %R, a momentum oscillator that measures overbought and oversold levels.
Moving Averages: Plots two moving averages to capitalize on and visualize trend direction.
Session Tracking: Identifies the start and end of trading sessions (Tokyo, London, New York) for better session-based analysis.
Signal Generation: Generates buy/sell signals based on Williams %R levels and moving average crossovers.
Color Coding: Visualizes color-coded bars and shapes to highlight different market conditions and signal types.
Alerts: For buy/sell signals and overbought/oversold conditions to prompt timely actions.
Usage Tips:
Interpret Signals: Trend direction through buy/sell signals and overbought/oversold trend,- reversal / breakout line conditions for potential trading opportunities.
Session Awareness: Take into account the trading sessions (Tokyo, London, New York) to move along with the market dynamics during different times of the day.
Confirmation: Use additional technical analysis tools to confirm signals before executing trades. For example the Williams Percetange Range indicator.
Risk Management: Trade with proper risk management strategies to avoid potential losses.
HappyTrading
True Opens [Dango]Description:
This True Open Indicator for Quarterly Theory is designed to assist traders in studying and backtesting Quarterly Theory, a time-based approach to interpreting market cycles. Quarterly Theory, as introduced by the Inner Circle Trader, suggests that time must be divided into quarters for proper analysis of market cycles.
Key concepts of Quarterly Theory:
The yearly cycle consists of four quarters, each comprising three months.
The monthly cycle consists of four quarters, each representing one week (excluding partial weeks).
The weekly cycle consists of four quarters, each representing one day (Monday to Thursday).
The daily cycle consists of four quarters, each representing six hours, aligning with the four main trading sessions (Asian, London, New York, and afternoon).
This indicator plots the true opens, which are crucial reference points in Quarterly Theory. True opens are the opening prices of the second quarter (Q2) of each cycle. They serve as a time-based filter for gauging market swings and determining entry points. When bullish, traders aim to buy below the true open, and when bearish, they aim to sell above it.
The true opens plotted by this indicator include:
Yearly true open
Monthly true open
Weekly true open
Daily true open
Asian session true open
London session true open
New York session true open
Afternoon session true open
The exact times of these true opens are not disclosed, as they are calculated using a proprietary method to ensure accuracy and reliability.
By clearly delineating these true opens on the chart, this indicator serves as a handy visual reference for those who have studied Quarterly Theory. It enables traders to easily identify these key reference points while studying price action across various time frames. It helps traders make informed decisions based on the principles of Quarterly Theory, enhancing their understanding of market cycles and potentially improving the accuracy of their trades.
To effectively utilize this indicator, traders should have a basic understanding of Quarterly Theory and its underlying concepts. The indicator can be used in conjunction with other tools and strategies to analyze price action and make trading decisions.
Please note that while this indicator is designed to assist in studying Quarterly Theory, it should not be considered a standalone trading system. Traders should always exercise caution and use appropriate risk management techniques when trading.
Originality and Usefulness:
This True Open Indicator for Quarterly Theory is a unique tool designed specifically to assist traders in studying and applying the concepts of Quarterly Theory. While there may be other indicators that plot certain opening prices, this indicator stands out by comprehensively plotting all the true opens across various time frames, as defined by Quarterly Theory. Not all
The key unique features of this indicator are:
It plots true opens based on the specific rules of Quarterly Theory, which are not commonly found in other indicators.
It covers a wide range of time frames, from yearly and monthly down to intraday sessions, providing a comprehensive view of market cycles.
The plotted true opens serve as time-based filters for gauging market swings and determining entry points, which is a distinct approach based on Quarterly Theory.
The true opens are calculated using a proprietary method that ensures accuracy and reliability.
The source code of this indicator is kept closed to protect the intellectual property and the proprietary algorithms used to accurately identify and plot the true opens based on Quarterly Theory. The closed-source nature also ensures that the indicator remains reliable and consistent, as it prevents unauthorized modifications that could lead to incorrect or misleading results.
By offering a unique and comprehensive tool for studying Quarterly Theory, this indicator provides significant value to traders seeking to enhance their understanding of market cycles and improve their trading accuracy. The closed-source approach is necessary to maintain the integrity and effectiveness of this specialized indicator.
NDOG + ASIA CONFLUENCENDOG (New Day Opening Gap) Visualization:
The indicator identifies and visualizes New Day Opening Gaps (NDOGs), which are essentially the differences between the opening price of a new trading day and the closing price of the previous day.
For each NDOG identified, it creates a box on the chart that highlights the high and low price range of the NDOG.
The color of these boxes, as well as the number of NDOGs to be displayed, can be customized by the user.
Asia Session Highlighting:
The indicator includes a feature to highlight the Asia trading session, typically spanning from 18:00 to 00:00, but customizable to suit different time zones or preferences.
It does not dynamically calculate or display the Asia session but uses a fixed time input by the user.
The color for highlighting the Asia session can be chosen by the user.
Additional Lines on NDOGs:
The script draws horizontal lines at the high and low of each NDOG, spanning from 18:00 to 00:00, to visually represent the range of the NDOG during the Asia session.
The color of these lines can be customized.
Customizability:
The indicator provides various input options for users to customize the colors of the NDOG boxes and the lines that represent the high and low of the NDOGs.
Purpose and Usage:
This indicator is useful for traders who focus on price gaps between trading days and are particularly interested in the price action during the Asia trading session.
It helps in identifying potential zones of interest where significant price movements or trading activities could occur, especially at the opening of a new trading day.
JustaBox_NY_LexThis indicator marks two boxes around the opening hour of the chosen session(s). One around the highs and lows and one around the highest open/close and lowest open/close for that hour., its main purpose if for backtesting the DR/IDR strategy but is useful for live trading as it auto adds the boxes and STD levels. The buy and sell signals that show up are not meant for trade entries, they just give an idea of whether there was a signal that day which is a close above or below the IDR (inner box lines), from there loops are started and it tests which STD levels get hit or if the opposite end of the box is crossed it considers it a stop out and closes the loops. The data from these loops can be pulled to email and then excel using the alert system.
This is the first thing i've ever coded, I put alot of work into it but id recommend going thru a few days randomly and checking the data matches up as expected.
This indicator only pulls data from the NY session, I have two others of identical functionality, the only difference being they pull the data from the London and Tokyo sessions respectively, wanted to include all three in one but I reached a limit. Search JustaBox_LDN_Lex and JustaBox_TKO_Lex
When live, once the hour of the chosen session resolves it marks the DR and IDR lines onward for a few hours, adds a 0.5 retracement line in the middle and STD levels above and below at 0.5, 1, 1.5, 2, 2.5, & 3.
There are labels that can be turned off, they show the prices these lines are set at.
Read the tooltips in the menu for more information.
(Might be self explanatory when you pull it but I'll add a key here for the titles of the data(had to keep them short due to character limit) and explain how the test works in the next couple of days but quickly:
Each STD levels has a true, false or NaN state, if its a buy signal for the session the STD levels below the bottom DR are turned off and will return NaN, but if its a sell signal they'll return false if they don't get hit true if they do. Each level has a cross time this is a bar number, you also get a bar number for the last bar in the DR box and one for when you received the buy or sell signal, so you subtract one of these from the STD X number and it will give you number of bars since 10:30 for NY sess or from when you received signal. Multiply that number by 5 to get the number of minutes. Gives prices for boxes, open and close prices of first and last candles in box and price of the NY day open for all sessions)
DR/IDR V1Defining Range DR and Implied Defining Range IDR for regular Session and overnight Session
This script is showing the IDR and DR for the regular trading session and for the overnight session based on the rules from the creator of the DR/IDR concept.
It works for all major Forex Pairs, BTC, ETH and the US Equity indices. This concept is based on rules and has a 80 % probability to be correct.
It should be applied in the 5 Min. Timeframe.
The timings for the RDR are from 09.30 - 10.30 am New York local time.
The timings for the ODR are from 03.00 - 04.00 am New York local time.
Rules:
1. If price in the 5 Min timeframe closes above the DR high after 10.30 am or 04.00 am then the DR low will be with 80 percent probability the low of the trading session. This is called confirmation.
2. If price in the 5 Min timeframe closes below the DR low after 10.30 am or 04.00 am then the DR high will be with 80 percent probability the high of the trading session. This is called confirmation.
3. If price closes above the IDR high after 10.30 am or 04.00 am it is an early indication that the low of the DR will be the low of the day and vice versa.
Credits:
This script imports the recently published (VisibleChart) library containing functions that return values calculated from the range of visible bars on the chart.
bmistiaen helped me a lot with this script. Thank you a lot.
New York Happy HourNew York Happy Hour
Script inspired by Stacey Burke’s 'Trading New York Open 1 Hour a Day'. You know where to search. The algos run on New York time. You’ll be looking to trade from 9.30 AM NY EST using a full day of trading data behind you.
Instruments:
- Gold, major currency pairs, indexes, metals and crypto
Timing: 15 Min
Best Trade Setups:
- 3 Levels (HOD/LOD)
- Trend Trades
- Reversal Trades
- Trading Range
- Or what you see best fit
Script Breakdown:
Sessions:
Asia: 8-11 PM
London: 2-5 AM
New York: 8-11 AM
Other lines:
New York Midnight Open
New York Open
London and NY vertical lines
Previous daily and weekly high and low
Delta Profile SpaceManBTCDelta Profile SpaceManBTC
Delta Profile SpaceManBTC, provides 2 very useful functions to tradingview traders with increased statistic for their candles in which case they can use to add confluence to their trading style.
Profile Types:
There are 2 main modes as it stands:
Delta Profile: Comes with the ability to show where buyers and sellers are stepping in more aggressively at which points to show a representation of trapped traders easier and aggression in the market.
Volume Profile: Can be used to do the same but in a more pure volume form, as well as allows for an ease in detecting a momentum shift.
Statistic Types: works with all modes
Ask/Bid Ask bid gives you the pure representation of that data showing at which points buyers stepped in and seller stepped in, no additional calculation on top.
Delta Delta shows the difference between, ie delta, for the ask and bid so its easier to view the difference at loss of the exact values used.
Volume Volume, shows the pure volumetric values no explanation of who buyers and sellers are allowing for a clean view of what is happening in the market with no code functionality applied.
The statistics are not isolated to their desired profile type as this provides the ability to use the volume profile type and delta values and vice versa, allowing users to choose which UI representation they want but which data.
This allows users to get both parts of the picture at any one time!
Using the tick data provided i am able to accurately caclulate the information, however this means for historical data there is none until the script is run for a period of time without stopping.
The tool is a method of providing flow data to the tradingview community, it can allow for good confluences at key levels of interaction E.G., key swing points/S/R points is when its accuracy for trading shines and can give you a good understanding of whats
happening at that time in the market.
Highly recommend dialing the ticksize manually. this provides greater consistency, auto ticksize was made for entry level users to quickly get a feel of the indicator but manually tuning to get the data you require without too much noise is very useful.
TO DO:
Sessions: accounting for Asia,Europe and North America
Tick based candles. e.g number of ticks before a new candle is generated.
Stochastic Oscillator Binary System by Hashtag_binaryRules
- Time Frame 1 min.
- Expires Time 3 min or 15 min (the best option).
- Markets: Forex (only volatile currency pair), Futures.
- Sessions: London and New York.
Call
- Heiken Ashi Dodger blue;
-Stochastic Oscillator cross upward from oversold Zone (conservative trade, aggressive trade: Stochastic Oscillator cross upward ).
-Matrix three square dodger blue.
Put
- Heiken Ashi white;
- Stochastic Oscillator cross downward from overbougth Zone (conservative trade, aggressive trade: Stochastic Oscillator cross downward ).
- Matrix three square withe.
This Binary System is also good for trade scalping. The same rule for entry with conservative trade:
Exit position options
- For Buy close position when the stochastic line touches 80 levels,
- For Sell close positions when stochastic line touches 20 levels.
- Initial Stop loss on the previous swing.
NIBIRU SUPPORT AND RESISTANCEThe Nibiru Support and Resistance Indicator is set of visual tools providing better trading experience. It is based on the classics of trading: horizontal trend lines and moving averages. It's main feature are automated support and resistance lines defining the main trading range and market structure, making it a superior tool to trade based on horizontal trend lines .
The set of moving averages along with entry and stop loss levels allows for easier risk management with trending strategies.
What does it plot?
Automatic horizontal support and resistance levels
Main and local trading ranges
Four moving averages with adjustable types and periods
Entry and stop-loss level hints for trending strategy
Pivot points based on candle patterns
London, New York and Tokyo trading sessions indication based on exchange time
Visual indication of current trend strength
Indicator components:
Horizontal trendlines
Main trading range – dictating general price structure
Local trading range – indicating current trading cluster
Fibonacci trendlines – Fibonacci based trendlines dividing main trading range into tradeable support and resistance lines
Fibonacci extensions of main trading range – for price trending out of main range it gives potential take profit levels by extending the range by selected Fibonacci ratio
Moving Averages
MA 1 – fastest moving average for trending strategy entries. In addition this moving average provides color based information on current short term trend:
Green – uptrend
Red – downtrend
Gray - indecision
MA 2 – slower moving average for trending strategy risk management
MA 3 and MA 4 – main trend change and support/resistance zone
Entry/Stop Loss hints
Entry dots – early entry for moving average trending strategy
Stop Loss (SL) dots – safe SL levels providing at least 1:2 RR setups at entry point
Pivot Points (beta) - Hints of potential short term trend reversals based on candle setups and patterns. Early beta, currently in testing–improvements and more patterns to be added.
Sessions - Indicating main trading sessions. This is a very important tool for trading traditional and OTC markets like forex. Knowing when money comes in and out of the market during the trading-day is crucial, because liquidity and volatility is the bread and butter for a consistently profitable trader. Due to limitations, this indicator is based on the exchange time zone. In the near future we will add a time offset option to fine tune to the time zone of the exchange you are trading on. Sessions are visible on all time frames below 4H.
The Nibiru Support and Resistance Indicator works on all assets that provide trading volume and all time frames.
Use the link below or PM me to gain access to the indicator.
ATR LinesDocumentation V0.1 (Beta)
ATR value will be defined using the last fully formed daily candle and 20 periods as a default value.
ATR lines will use current session's hourly bar highs and lows.
Upside ATR line = current session lowest low + ATR value
Downside ATR line = current session highest high - ATR value
Real time ATR lines update upon hourly bar close
Lines will be displayed both on the 1H and 4H time-frames
Inputs
During session you can chose 1 as value for "Hours back to show" effectively only displaying current ATR line instead of all previous lines, if you want to keep track of past lines just select the number of hours you'd like
When a market is closed, if you want to display the last lines just select the number of hours separating current time and the last hour of market session. For exemple if market closed on Friday 20.00 P.M and we are on Sunday 14.00 P.M use 42 hours value
Style
Lines use color 2 as main style, for exemple you can make upside line red and downside line green to mimic support and resistance settings
Color 0 and 1 will trigger if downside ATR goes above upside ATR and vice-versa
For full length lines just tick Price Line
Timezone
Forex brokers choose their own timezone, two of them on TradingView use New York time and two of them use UTC-0. Meaning that, depending on your own timezone and TradingViews settings, you could get confused while back-testing the script.
For example, FXCM use NY time (UTC -5). If you are from Brussels in Belgium (UTC +2) you could be under the impression that 7 hourly bar are from the previous day session. That is also what your X axis will display. However, if you use TradingView's official mutli-time period charts indicator (MTCP) you will be able to clearly identify your broker daily range.
Why is it important ? Because ATR lines script uses intraday hourly bar and reset everyday. If you do the math thinking an hourly bar should be excluded when in fact it should not, you'll end up with false positive.
For any question or bug report please use Discord Mugen#9114 or Twitter @MugenBTC
CryptoVN - All-in-One-Chart : Multiple IndicatorI usually use a lot of indicators, so I have integrated them into a single package.
These are the types of indicators embedded in the chart, so I called it "All-in-One-Chart".
Indicators included are listed below:
01. Price_action bars
02. Double Bollinger Bands
03. Ichimoku Cloud
04. Triple Exponential Moving Average + VWMA
05. Parabolic SAR
06. Fractal Support Resistance
07. Price Channel (High/Low price)
Market sessions: North American (NY), Asia (Tokyo), European (London), Australian. Thanks to @penright
With this indicator, you can load more than 03 indicators at once if you so choose and don't a paid account.
If you like and use this, tips and donations are always welcome. :)
Bitcoin: 3BMEXfdqNNmVmtHYvZ1HqMyXchAGLUrbqF
(*) My Advice to You:
- The Trend Is Your Friend. TRADE WHAT YOU SEE, NOT WHAT YOU THINK.
Happy Trading Life ^^!
Functionally Weighted Moving AverageOVERVIEW
An anchor-able moving average that weights historical prices with mathematical curves (shaping functions) such as Smoothstep , Ease In / Out , or even a Cubic Bézier . This level of configurability lends itself to more versatile price modeling, over conventional moving averages.
SESSION ANCHORS
Aside from VWAP, conventional moving averages do not allow you to use the first bar of each session as an anchor. This can make averages less useful near the open when price is sufficiently different from yesterdays close. For example, in this screenshot the EMA (blue) lags behind the sessionally anchored FWMA (yellow) at the open, making it slower to indicate a pivot higher.
An incrementing length is what makes a moving average anchor-able. VWAP is designed to do this, indefinitely growing until a new anchor resets the average (which is why it doesn't have a length parameter). But conventional MA's are designed to have a set length (they do not increment). Combining these features, the FWMA treats the length like a maximum rather than a set length, incrementing up to it from the anchor (when enabled).
Quick aside: If you code and want to anchor a conventional MA, the length() function in my UtilityLibrary will help you do this.
Incrementing an averages length introduces near-anchor volatility. For this reason, the FWMA also includes an option to saturate the anchor with the source , making values near the anchor more resistant to change. The following screenshot illustrates how saturation affects the average near the anchor when disabled (aqua) and enabled (fuchsia).
AVERAGING MATH
While there's nothing special about the math, it's worth documenting exactly how the average is affected by the anchor.
Average = Dot Product / Sum of Weights
Dot Product
This is the sum of element-wise multiplication between the Price and Weight arrays.
Dot Product = Price1 × Weight1 + Price2 × Weight2 + Price3 × Weight3 ...
When the Price and Weight arrays are equally sized (aka. the length is no longer incrementing from the anchor), there's a 1-1 mapping between Price and Weight indices. Anchoring, however, purges historical data from the Price array, making it temporarily smaller. When this happens, a dot product is synthesized by linearly interpolating for proportional indices (rather than a 1-1 mapping) to maintain the intended shape of weights.
Synthetic Dot Product = FirstPrice × FirstWeight + ... MidPrice × MidWeight ... + LastPrice × LastWeight
Sum of Weights
Exactly what it sounds like, the sum of weights used by the dot product operation. The sum of used weights may be less than the sum of all weights when the dot product is synthesized.
Sum of Weights = Weight1 + Weight2 + Weight3 ...
CALCULATING WEIGHTS
Shaping functions are mathematical curves used for interpolation. They are what give the Functionally Weighted Moving Average its name, and define how each historical price in the look back period is weighted.
The included shaping functions are:
Linear (conventional WMA)
Smoothstep (S curve)
Ease In Out (adjustable S curve)
Ease In (first half of Ease In Out)
Ease Out (second half of Ease In Out)
Ease Out In (eases out and then back in)
Cubic Bézier (aka. any curve you want)
In the following screenshot, the only difference between the three FWMA's is the shaping function (Ease In, Ease In Out, and Ease Out) illustrating how different curves can influence the responsiveness of an average.
And here is the same example, but with anchor saturation disabled .
ADJUSTING WEIGHTS
Each function outputs a range of values between 0 and 1. While you can't expand or shrink the range, you can nudge it higher or lower using the Scalar . For example, setting the scalar to -0.2 remaps to , and +0.2 remaps to . The following screenshot illustrates how -0.2 (lightest blue) and +0.2 (darkest blue) affect the average.
Easing functions can be further adjusted with the Degree (how much the shaping function curves). There's an interactive example of this here and the following illustrates how a degrees 0, 1, and 20 (dark orange, orange, and light orange) affect the average.
This level of configurability completely changes how a moving average models price for a given length, making the FWMA extremely versatile.
INPUTS
You can configure:
Length (how many historical bars to average)
Source (the bar value to average)
Offset (horizontal offset of the plot)
Weight (the shaping function)
Scalar (how much to adjust each weight)
Degree (how much to ease in / out)
Bézier Points (controls shape of Bézier)
Divisor & Anchor parameters
Style of the plot
BUT ... WHY?
We use moving averages to anticipate trend initialization, continuation, and termination. For a given look back period (length) we want the average to represent the data as accurately and smoothly as possible. The better it does this, the better it is at modeling price.
In this screenshot, both the FWMA (yellow) and EMA (blue) have a length of 9. They are both smooth, but one of them more accurately models price.
You wouldn't necessarily want to trade with these FWMA parameters, but knowing it does a better job of modeling price allows you to confidently expand the model to larger timeframes for bigger moves. Here, both the FWMA (yellow) and EMA (blue) have a length of 195 (aka. 50% of NYSE market hours).
INSPIRATION
I predominantly trade ETF derivatives and hold the position that markets are chaotic, not random . The salient difference being that randomness is entirely unpredictable, and chaotic systems can be modeled. The kind of analysis I value requires a very good pricing model.
The term "model" sounds more intimidating than it is. Math terms do that sometimes. It's just a mathematical estimation . That's it. For example, a regression is an "average regressing" model (aka. mean reversion ), and LOWESS (Locally Weighted Scatterplot Smoothing) is a statistically rigorous local regression .
LOWESS is excellent for modeling data. Also, it's not practical for trading. It's computationally expensive and uses data to the right of the point it's averaging, which is impossible in realtime (everything to the right is in the future). But many techniques used within LOWESS are still valuable.
My goal was to create an efficient real time emulation of LOWESS. Specifically I wanted something that was weighted non-linearly, was efficient, left-side only, and data faithful. Incorporate trading paradigms (like anchoring) and you get a Functionally Weighted Moving Average.
The formulas for determining the weights in LOWESS are typically chosen just because they seem to work well. Meaning ... they can be anything, and there's no justification other than "looks about right". So having a variety of functions (aka. kernels) for the FWMA, and being able to slide the weight range higher or lower, allows you to also make it "look about right".
William Cleveland, prominent figure in statistics known for his contributions to LOWESS, preferred using a tri-cube weighting function. Using Weight = Ease Out In with the Degrees = 3 is comparable to this. Enjoy!
Opening Range and Market BoundariesOpening Range and Market Boundaries
This versatile and insightful indicator combines two powerful concepts frequently used by professional traders: Opening Range Analysis and Market Boundaries derived from previous high/low levels. It is specifically designed to support intraday trading strategies and helps you identify key price zones for entries, exits, and breakout confirmations.
🔍 Features & Utility
1. Opening Range Box
What it does:
Highlights the high and low of the first candle after market open (9:15 AM IST) with a shaded box. This box spans the full trading session, from 9:15 AM to 3:30 PM, representing the key price range where the initial balance is formed.
Timeframe Compatibility:
The Opening Range box is optimized for 1-minute to 1-hour charts. It is most effective on lower timeframes (1m, 5m, 15m, 30m) where intraday price movements and breakout patterns can be clearly observed.
Usage Tips:
Breakouts above or below the Opening Range box can signal potential directional bias for the rest of the trading day.
Price consolidating within the range may indicate a choppy or range-bound session.
Works well with volume and momentum indicators for confirmation.
2. Market Boundaries
What it does:
Plots horizontal lines at:
Previous Day High/Low
Previous Week High/Low
Previous Month High/Low
Why it matters:
These levels act as natural support and resistance zones, and are commonly watched by institutional traders, making them crucial for:
Spotting reversals or breakouts
Planning stop-loss and target zones
Avoiding trades around high-rejection areas
Customization Options:
Toggle ON/OFF for Daily, Weekly, and Monthly levels.
Independent colors and line thickness for each level, enabling you to distinguish between different timeframes easily.
🛠️ How to Use Effectively
Use during market open:
Switch to a 5-minute or 15-minute chart during the first few candles of the session. Observe the Opening Range box formation and plan trades based on breakout direction.
Confluence Trading:
Look for price action near previous session highs/lows in confluence with the Opening Range box edges. These intersections often become high-probability zones for breakouts or reversals.
Session Preparation:
Before the market opens, analyze where the price is relative to past high/low boundaries. If it's near a weekly/monthly level, be cautious — those areas can cause whipsaws or false breakouts.
Avoid low-volume breakouts:
Use this indicator in conjunction with volume tools or price action confirmation to validate the strength of a move outside the Opening Range or Market Boundaries.
📌 Summary
This indicator is designed for intraday traders, scalpers, and swing traders who want a reliable structure to guide their decisions. It visually marks the opening balance of the market and essential higher timeframe boundaries, helping you trade with discipline and precision.
AlphaTrend++AlphaTrend++
Overview
The AlphaTrend++ is an advanced Pine Script indicator designed to help traders identify buy and sell opportunities in trending and volatile markets. Building on trend-following principles, it uses a modified Average True Range (ATR) calculation combined with volume or momentum data to plot a dynamic trend line. The indicator overlays on the price chart, displaying a colored trend line, a filled trend zone, buy/sell signals, and optional stop-loss tick labels, making it ideal for day trading or swing trading, particularly in markets like futures (e.g., MES).
What It Does
This indicator generates buy and sell signals based on the direction and momentum of a custom trend line, filtered by optional time restrictions and signal frequency logic. The trend line adapts to price action and volatility, with a filled zone highlighting trend strength. Buy/sell signals are plotted as labels, and stop-loss distances are displayed in ticks (customizable for instruments like MES). The indicator supports standard chart types for realistic signal generation.
How It Works
The indicator employs the following components:
Trend Line Calculation: A dynamic trend line is calculated using ATR adjusted by a user-defined multiplier, combined with either Money Flow Index (MFI) or Relative Strength Index (RSI) depending on volume availability. The line tracks price movements, adjusting upward or downward based on trend direction and volatility.
Trend Zone: The area between the current trend line and its value two bars prior is filled, colored green for bullish trends (upward movement) or red for bearish trends (downward movement), providing a visual cue of trend strength.
Signal Generation: Buy signals occur when the trend line crosses above its value two bars ago, and sell signals occur when it crosses below, with optional filtering to reduce signal noise (based on bar timing logic). Signals can be restricted to a 9:00–15:00 UTC trading window.
Stop-Loss Ticks: For each signal, the indicator calculates the distance to the trend line (acting as a stop-loss level) in ticks, using a user-defined tick size (default 0.25 for MES). These are displayed as labels below/above the signal.
Time Filter: An optional filter limits signals to 9:00–15:00 UTC, aligning with active trading sessions like the US market open.
The indicator ensures compatibility with standard chart types (e.g., candlestick or bar charts) to avoid unrealistic results associated with non-standard types like Heikin Ashi or Renko.
How to Use It
Add to Chart: Apply the indicator to a candlestick or bar chart on TradingView.
Configure Settings:
Multiplier: Adjust the ATR multiplier (default 1.0) to control trend line sensitivity. Higher values widen the stop-loss distance.
Common Period: Set the ATR and MFI/RSI period (default 14) for trend calculations.
No Volume Data: Enable if volume data is unavailable (e.g., for certain forex pairs), switching from MFI to RSI.
Tick Size: Set the tick size for stop-loss calculations (default 0.25 for MES futures).
Show Buy/Sell Signals: Toggle signal labels (default enabled).
Show Stop Loss Ticks: Toggle stop-loss tick labels (default enabled).
Use Time Filter: Restrict signals to 9:00–15:00 UTC (default disabled).
Use Filtered Signals: Enable to reduce signal frequency using bar timing logic (default enabled).
Interpret Signals:
Buy Signal: A blue “BUY” label below the bar indicates a potential long entry (trend line crossover, passing filters).
Sell Signal: A red “SELL” label above the bar indicates a potential short entry (trend line crossunder, passing filters).
Trend Zone: Green fill suggests bullish momentum; red fill suggests bearish momentum.
Stop-Loss Ticks: Gray labels show the stop-loss distance in ticks, helping with risk management.
Monitor Context: Use the trend line and filled zone to confirm the market’s direction before acting on signals.
Unique Features
Adaptive Trend Line: Combines ATR with MFI or RSI to create a responsive trend line that adjusts to volatility and market conditions.
Tick-Based Stop-Loss: Displays stop-loss distances in ticks, customizable for specific instruments, aiding precise risk management.
Signal Filtering: Optional bar timing logic reduces false signals, improving reliability in choppy markets.
Trend Zone Visualization: The filled zone between trend line values enhances trend clarity, making it easier to assess momentum.
Time-Restricted Trading: Optional 9:00–15:00 UTC filter aligns signals with high-liquidity sessions.
Notes
Use on standard candlestick or bar charts to ensure accurate signals.
Test the indicator on a demo account to optimize settings for your market and timeframe.
Combine with other analysis (e.g., support/resistance, volume spikes) for better decision-making.
The indicator is not a standalone system; use it as part of a broader trading strategy.
Limitations
Signals may lag in highly volatile or low-liquidity markets due to ATR-based calculations.
The 9:00–15:00 UTC time filter may not suit all markets; disable it for 24-hour assets like forex or crypto.
Stop-loss tick calculations assume consistent tick sizes; verify compatibility with your instrument.
This indicator is designed for traders seeking a robust, trend-following tool with customizable risk management and signal filtering, optimized for active trading sessions.
Fractal Time GridOverview
The Fractal Time Grid is a Pine-Script v5 TradingView indicator designed to automate session-based entries, stops, and targets. It overlays on your chart, shading trading “quarters” of any chosen timezone, highlighting bullish or bearish bias zones, and marking up to N entries per quarter with on-chart signals. Optional SL/TP rays and built-in alerts make it a one-stop tool for disciplined session trading.
1. User Inputs
All inputs appear in the indicator’s Settings panel:
Category Input Description
Trend & History Trend Source („Auto“, Bull, Bear) Auto-detects daily bias or forces Bull/Bear
History (days) (≥1) How far back (in days) to keep session shading active
Session Limits Max Entries per 6H Quarter (1–10) Caps how many signals you’ll get in each 6-hour window
Risk Management & Visuals Show Entry/SL/TP Rays (On/Off) Toggles horizontal lines and price labels
SL Method („Bar High/Low“ or „1.5× Candle“) How the stop-loss distance is calculated
Risk:Reward Ratio (e.g. 4.0) Multiplier applied to SL distance to plot TP
Ray Length (bars) (≥1) How far right SL/TP rays extend
Session Timing Timezone Offset (hours, –12 to +14) Shifts session shading to your local clock
Colors Bullish/Bearish Session BG opacity Semi-transparent fill for bias zones
Entry candle colors (Bull/Bear) Highlights actual entry bars
2. Bias Determination
Daily Close vs. Open
Fetches prior-day open/close via request.security(..., "D", …)
If close > open → bullish bias; close < open → bearish
Manual Override
“Bullish” or “Bearish” mode forces one direction
“Auto” follows daily bias
3. Time-Grid Logic
Timezone Handling
Converts UTC bar timestamps by your tzOffset input
Quarter Windows (6H each)
Q1: 23:00–05:00 local
Q2: 05:00–11:00
Q3: 11:00–17:00
Q4: 17:00–23:00
Session Shading
During Q1–Q3 (configurable days back), background colored to match bias
4. Entry Logic
Conditions:
Within an active quarter, bias must match candle direction (bullish candle in bullish quarter, etc.)
Entry count for the quarter must be below your maximum
Counters:
Automatically resets on quarter switch
Tracks how many entries you’ve taken, preventing over-trading
5. Visual Signals
Bar Coloring: Flags entry bars green/red
Shape Markers:
BUY label below bar for long entries
SELL label above bar for shorts
6. Optional SL/TP Rays
When “Show Entry/SL/TP Rays” is enabled:
Computes SL distance either from bar high/low or a multiple of candle size
TP = SL × R:R ratio
Draws three horizontal rays (entry, SL, TP) with end-of-ray price labels
7. Alerts
Pre-built alertcondition calls let you create TradingView alerts instantly:
Names: “BUY Alert” and “SELL Alert”
Messages:
arduino
Copy
Edit
BUY {{ticker}} at {{close}} – Q{{quarter}} – {{entryCount}}/{{maxEntriesQuarter}} entries
(same format for SELL)
8. Why Publish This?
Discipline Built-In: Caps over-trading per session
Timezone-Agnostic: Works equally for NY, London, Tokyo sessions
All-in-One: Bias, timing, entries, risk and alerts in one script
Fully Customizable: Colors, risk settings, time windows, and more
Initial Imbalance [First FVG - ICT] v1Initial Imbalance v1
This indicator identifies the first Fair Value Gap (FVG) at the start of a user-defined session, inspired by The Inner Circle Trader. It helps traders spot initial imbalance in a sessions price action, offering filter options to refine FVG detection and optional session high/low lines for context.
Features:
Detects the first bullish or bearish FVG at the session start (default: 08:30). ISE: Sets a custom session start time (hour and minute).
Filters FVGs by size: None, ATR-based, or Points-based.
Displays session high/low lines (optional) to visualize the session range.
Customizable colors for bullish and bearish FVGs (background and border derived from a single color input).
Alerts for new FVGs and mitigated FVGs.
Settings:
Session Start Time: Define the hour and minute for the session start.
FVG Filter Type: Choose None, ATR, or Points to filter FVGs by size.
ATR Multiple / Minimum Points: Set the minimum FVG size for ATR or Points filters.
Show Session High/Low Lines: Toggle visibility of session range lines.
Bullish/Bearish FVG Colors: Customize colors for FVGs.
Technical Details:
Overlay indicator, displayed directly on the price chart.
This indicator is ideal for traders seeking to identify key price imbalances at the start of a session, with flexible filtering and visualization options.
Custom Time Range Boxes + Fibs + ExtensionThis script draws two customizable time-range boxes per day, helping traders visualize key market sessions or activity windows. Each box is defined by start and end times that can be adjusted in the settings. You can also choose a custom color and extend the visual width of the box independently from the actual session time. Within each box, the indicator plots three Fibonacci levels: 0.3, 0.5, and 0.7. These levels are useful for identifying potential support, resistance, or retracement zones inside the session range. The script supports two separate time blocks, allowing you to track sessions like the New York Open and Power Hour simultaneously. All lines and boxes are drawn using bar_index for precision and control. The levels and box colors match for visual consistency. Perfect for intraday traders who want to track price behavior around key times. Clean, minimal, and performance-friendly — this tool adds clarity to your session-based strategy.