50% Retracement - Support & Resistance [LevelUp]Retracement refers to price reversal after reaching a recent high or low, finding an area of support or resistance, and then continuing in the direction of the bigger picture trend. The concept of 50% retracement is based on the work of W.D. Gann.
Gann was born in 1878 in Texas. Over his trading career, it's been stated he was one of the most successful traders who ever lived. With that said, there is no irrefutable proof he made great fortunes in the market. However, it's a fact that his trading ideas and principles are still in use today, many years after his death in 1955.
Gann believed there was a natural order that exists for everything in the universe, including the stock market. He theorized that price movements occurred in a manner that can be pre-determined based on historical precedent and the influence of mathematical equations and relationships. The end result was predictable movement of prices between areas of support and resistance.
The idea of 50% retracement is best explained in this quote from Gann:
"After an initial, sustained price move, either up or down, prices retrace to 50% of their initial move."
What's important here is the idea that retracement applies in both directions. When price is heading up, it may be approaching an area of resistance. When price is declining, it may be heading towards an area of support.
Continuation of the Trend
The primary reason we are interested to gauge levels of retracement is that once a retracement is complete, there is often a continuation of the previous trend. For example, if moving from a recent low to a new high, if price retraces 50%, at that point we look for a bounce and a continuation of the upward trend.
Retracement to Area of Support
When moving a recent low to a recent high, one can anticipate a price to move down 50% of the original move up.
For example, if a stock climbed from $50 to $100, a 50% retracement of the move from low to high would result in a price of $75. We now look for this $75 price area to be an area of support.
Retracement to Area of Resistance
Retracement is also applicable in the other direction. If price moves from a recent high to a new low and starts moving back up, look for price to regain 50% of the original move down. This retracement is often an area of resistance.
For example, if the recent high was $100 and price bounced off a low of $50, look for resistance near $75.
Additional Retracements - 33% and 66%
Gann also focused on other incremental retracements that he calculated based on various geometric angles believed to balance price and time. What I've found most helpful is to keep things simple and focus on no more than three retracements, 33% 50% and 66%.
Direction of Retracement
When moving from a recent low to a new high, the retracement will be downward. If multiple retracement percentages are shown, they will be smallest to largest going from the top to bottom.
When moving from a recent high to a new low, the retracement will be upward. If multiple retracement percentages are shown, they will be smallest to largest going from the bottom to top.
Retracement Versus Reversal
As described above, retracement refers to retracing a move back down towards a recent low after hitting a new high, or moving back up from a recent low towards a previous high.
The difference between a retracement and reversal is that the latter breaks the uptrend as shown in the chart that follows:
■ With retracements, the upward trendline acted as support of the upward trend.
■ With a reversal, the upward trendline was broken and the price continued to move down.
Additional Retracement Examples
Features
■ Choose up to three retracement levels: 33%, 50% and 66%.
■ Configure price and line color at each retracement level.
■ Show/hide retracements on intraday, daily, weekly and monthly.
■ Set preferred lookback count for Marked Highs/Lows.
■ Show Marked Highs/Lows as price or symbols.
■ Show lines of support and/or resistance.
Cerca negli script per "high low"
Marked Highs - Support & Resistance [LevelUp]This indicator mimics the functionality of marked highs/lows in MarketSmith, a charting tool available from Investor's Business Daily. Marked highs/lows, sometimes referred to as pivot highs/lows, can be used to locate areas of support and resistance. These same points can also be helpful when drawing trendlines and channels.
I've added several customization options that add to the flexibility and overall usefulness of this technical indicator.
Custom Ranges for Marked Highs/Lows
In MarketSmith, a marked high is the highest high going back nine bars and forward nine bars. The number of required bars with lower highs on each side of the high is referred to as the period. The default for the indicator is a nine bar period, however, you can configure the period to fit with your trading style.
View Marked Highs/Lows on Any Timeframe
MarketSmith only supports marked highs/lows on daily charts. With this indicator you can view marked highs/lows on any timeframe.
Suggestions
■ Draw horizontal rays from the most recent marked high and low to help visualize areas of support and resistance.
■ Create a channel to show the current trading range. Draw a trendline across marked highs and a separate trendline across marked lows.
■ Increase the marked high/low periods to find more significant highs and lows.
EP/SL and ratio calculationExplanation of the indicator
The first question is - what is shown here at all. Generally, the indicator calculates order prices depending on the data found in the chart. The order is based on the lowest low (for a long) of the bounce and the high of the last candle. For a short it is based on the highest high and on the low of the last candle. There is no value for you, if you don’t do swing trading using trend lines on your chart.
All values shown are no financial advise - you are responsible for all your trades.
The indicator looks for the lowest low of the last days. How many days back to be searched can be configured in the settings. The lowest low is marked with the flag - the date and price is displayed there.
The high of the last candle is read out and based on this the entry price is calculated. On the green line are the EP percentages with which is calculated, the entry price and also the high of the last candle displayed.
On the line there is a green (or red) triangle, which indicates the trading direction. More about the direction can be found below in the settings.
Based on the lowest low (or in case of short the highest high) the stop loss is calculated. Also here the percentage and the price is given.
The lines labeled R1 to R5 are the prices of the respective ratios. The lines are 40 time units long (in the standard setting) and thus one can read off the ratio, which the trade would reach after approx. 8 weeks, over the trend lines and their intersection point at the end of the ratio lines.
The orange line marks the point at which we would be 10% above the entry price (or below the entry price for a short).
In general, the calculations are equivalent for short, the marker of the highest high is displayed.
The capital and the number of shares to be traded are not publicly displayed on the chart. The complete calculation is visible when you move the mouse over the text of the entry price.
In this small pop-up window you can see with which capital the calculation was done. The capital should be updated daily in the settings. Furthermore, you can see how many shares can be traded with this capital, taking into account the 1% portfolio risk. It is again the entry price and a proposal for a stop limit price (percentages also configurable) displayed. The price for the 3 ratio (take profit) and also the price for the stop loss can be read here. So actually everything that is necessary for the creation of the order.
Settings
The indicator now has a lot of settings and options. I have also built-in indicators such as EMA and JMA to have all the indicators necessary for me - with the free TV. Some things can also be changed under "Style", but I don't want to go into the things under "Style" here, just the basic settings.
Settings of the main indicator
With the checkmark at "Main Indicator" all lines etc. can be switched off without the other indicators (EMA, JMA) disappearing.
Capital:
Here you can set your daily capital (from paper trading or from the real money deposit). This is used to calculate the number of shares.
Search last bounce in last x candles:
Here you can influence how many candles the tool should look into the past to search for the lowest (long) or highest (short) candle. Default is 10, but sometimes shorter or longer periods make sense. It is also possible to tune a bit here and e.g. with "0" make the calculation of the SL based on the low/high of the last candle. Which low (long) or high (short) is taken, is always evident with the above described flag.
go back x candles for calculation:
If the calculation is not to be made on the basis of the last candle, but e.g. the one before last, this can be adjusted here. Everything is adapted with, thus e.g. also the Stochastic of this time is used for the direction. One can go back in time and reconstruct the calculation at that time.
EP percent:
Specifying how far the EP should be from the high (long)/low (short) of the last candle.
EP limit percent:
Specify how far the EP limit should be from the EP.
SL percent:
Specifying how far the SL should be from the lowest low (long)/highest high (short).
direction mode:
here is set in which way the indicator should be directed long or short. The stochastic used here has the settings 8-5-5. k is the blue line and d is the red line of this stochastic.
Stoch k>d = long automatic, blue line above the red line for long calculation
Stoch k<50% = long automatic, blue line below 50% for long calculation
long no automatic, always long calculation
short no automatic, always short calculation
ignore last candle if market is open:
Normally one calculates at closed market, thus on the finished candles. If you want to calculate with an open market or if you want to make sure that the indicator is not constantly running back and forth after the market has opened, you can automatically ignore the last candle (i.e. calculate on the second to last candle) if the market is open. If the market is closed, the last candle is always taken. If turned off, the last candle is always taken even if the market is open.
use close price for EP (instead of high/low):
You can adjust the EP calculation here to take the close price instead of the high/low of the last candle. This is not the usual strategy, but if there are long wicks/luns and you are quite sure with the trading direction, this can improve the ratio significantly.
Ratio lines length (bars):
The length of the lines. You can change here for 3M/6M trades to 80 time units.
Text color:
Color of the text (default is gray, this is kind of useful for white and black background).
Line color R-lines:
Color of the ratio lines (default is gray)
10% color:
Color of the 10% line (default orange)
Additional indicators settings
EMAs:
Here you can switch on/off all EMA lines
xx EMA Length:
Configuration of the individual EMA lines to be displayed. At 0 the line is switched off, colors are configured at the style.
JMA:
Here you can additionally display the JMA. Also its colors can be configured at Style.
JMA length:
JMA length, default 20, phase is fixed at 50 and power is fixed at 2.
Rabbit HoleHow deep is the Rabbit hole? Interesting experiment that finds the RISING HIGHS and FALLING LOWS and place the difference between the highs and lows into separate arrays.
== Calculations ==
In case current high is higher than previous high, we calculate the value by subtracting the current highest high with the previous High (lowest high) into array A,
same method for the lows just in Array B.
Since we subtract highs and lows it means velocity is taken into consideration with the plotting.
After adding a new value we remove the oldest value if the array is bigger than the Look back length. This is done for both lows and highs array.
Afterwards we sum up the lows and highs array (separately) and plot them separately, We can also smooth them a bit with Moving averages like HMA, JMA, KAMA and more.
== RULES ==
When High Lines crosses the Low Line we get a GREEN tunnel.
When Low Lines crosses the High line we get the RED tunnel.
The Greenish the stronger the up trend.
The Redish the stronger the downtrend.
== NOTES ==
Bars are not colored by default.
Better for higher time frames, 1 hour and above.
Enjoy and like if you like!
Follow up for new scripts: www.tradingview.com
TradeChartist Fib Master™TradeChartist Fib Master is a versatile Fibonacci Support and Resistance indicator that can be used to plot Automatic Levels and Fibonacci Levels based on a variety of ways from the settings, including Auto Fibs plot by connecting to an external indicator.
===================================================================================================================
What does ™TradeChartist Fib Master do?
Plots Automatic Levels without the need for user input
Plots 3 types of Fibonacci Levels
════ 1. Auto-Fibs (by connecting to an external indicator - Oscillatory or non-Oscillatory)
════ 2. Fibs based on Lookback (Lookback type - Candles or Days)
════ 3. Fibs based on Price Input
===================================================================================================================
Detailed description of ™TradeChartist Fib Master features
╔══ Automatic Levels Generator ══╗
Enabling Plot Automatic Levels plots support and resistance levels automatically without any input from the user other than preferred levels plot from the indicator settings namely,
Plot Local Levels for Lower TF - Plots all important Support/Resistance levels for mostly smaller time frames (can be used for up to 1hr in most cases). Recommended for Scalping/Swing Trading mostly dependent on volatility.
Plot Local Levels for Higher TF - Plots all important Support/Resistance levels inferred from mostly time frames - Short to Mid term outlook.
Plot Extended Levels for Higher TF - Plots all important Support/Resistance levels inferred from very higher time frames - Mid to Long term outlook.
Use Trading View Data Window to make effective use of the levels.
Tip: Add a duplicate Fib Master indicator to chart, use Automatic Levels Generator and increase transparency of Fib colours to 100. This helps view the levels on Data Window while having the Fib plots on chart.
Note: Uncheck Plot Automatic Levels to enable Fibonacci plots from Fibonacci Levels Generator
╔══ Fibonacci Levels Generator ══╗
════ 1. Auto-Fibs ════
Almost any indicator plot or Signal (Oscillatory or non-Oscillatory) can be connected to Fib Master to generate automatic fib levels. This is done by automatically detecting the price trend based on the connected indicator, its corresponding highest high and lowest low prices of each trend.
Also, Fib Master plots Bull (default - green) and Bear (default - red) Zones background including the signal candle (default - orange), where the trend changes based on the connected indicator Signal. This helps detect the effectiveness of the connected indicator Signal too, as too many unproductive signals from the connected indicator will create numerous Bull and Bear Zones (which also will render the Auto-Fibs ineffective).
To connect an external indicator Signal, just choose the corresponding Signal plot from the Plug Indicator Here dropdown from settings and choose whether the connected signal is Oscillatory (for Oscillators like RSI, CCI, MACD, Trend Identifier signals from more complex indicators like ™TradeChartist Bollinger Bands and Donchian Channels Pro etc.) or non-Oscillatory (for plots like Moving Averages, Super Trend, Ichimoku plots like Kijun Sen etc.)
If the connected Signal is Oscillatory, enter the filter levels. Default is 0 for both fields as most Oscillators have 0 as their mean reversal zone. For Oscillators like RSI, 60/40, 50/50, 55/45 etc. can be used.
Note: Please test the performance and effectiveness of Auto-Fibs of connected Signal first before using it for trades.
════ 2. Fibs based on Lookback ════
Lookback type - Candles
Determines the High and Low price of the user input number of Candles back (100 default) and plots Fibonacci Levels based on the calculated High and Low for the number of candles in the past from the current candle. The levels stay intact on any time frame as long as no new Highs or Lows are formed.
Lookback type - Days
Determines the High and Low price of the user input number of Days back (100 default) and plots Fibonacci Levels based on the calculated High and Low for the number of days in the past from the day of the current bar. The levels stay intact on any time frame as long as no new Highs or Lows are formed.
════ 3. Fibs based on Price Input ════
Plots Fibonacci Levels based on the user specified High and Low Price in the settings input fields. The levels stay intact on any time frame irrespective of new Highs or Lows being formed. Manual Price Input will enable the trader to keep the Levels intact and visually see the higher Fibonacci Retracement levels, when the price crosses beyond 100% retracement. On the other two lookback types, the Fibonacci levels are displayed only upto 100% retracement.
===================================================================================================================
Note: Show Auto-Fibs from current High/Low
When this option is chosen from indicator settings, the Auto-fib levels are drawn from the highest high of the trending price direction to lowest low of last trend for uptrend or vice-versa for downtrend.
===================================================================================================================
Extra Features
The Fibonacci levels can also be reversed by enabling Reverse Fibonacci Levels option from the settings.
0.886 and 1.113 Fib levels can be plotted on chart by enabling Show 0.886 and 1.113 Fibs from settings, as these are important levels for harmonic pattern traders.
Fib Line and Label Style including Color, transparency, size etc. can be changed from settings based on user preference.
===================================================================================================================
Example Charts
XAU-USD Gold Daily chart using Automatic Levels Generator with Zones identified when connected to external indicator
BTC-USDT Daily chart using Automatic Levels Generator
SPX 1hr chart using Automatic Levels Generator
ETH-USDT 1hr chart using AutoFibs generated by connecting Fib Master to RSI with 60/40 Filter levels
XAG-USD (Silver) 1hr chart using Fibonacci Levels based on lookback
===================================================================================================================
Best Practice: Test with different settings first using Paper Trades before trading with real money
===================================================================================================================
This is not a free to use indicator. Get in touch with me (PM me directly if you would like trial access to test the indicator)
Premium Scripts - Trial access and Information
Trial access offered on all Premium scripts.
PM me directly to request trial access to the scripts or for more information.
===================================================================================================================
Master Pivots (CPR)This helps in monitoring the support and resistance of the current day and plan for tomorrow's support and resistance. The formula for creating the indicator is as below.
Pivot Point (P) = (High + Low + Close)/3
Support 1 (S1) = (P x 2) - High
Support 2 (S2) = P - (High - Low)
Resistance 1 (R1) = (P x 2) - Low
Resistance 2 (R2) = P + (High - Low)
Floor Pivots are one of the classic pivot ranges and helps us in trading based on pivot values. This indicator that I have built is also capable of predicting tomorrow's support and resistance up to 3 levels i.e. R1, R2, R3 and S1, S2 and S3. This is the only indicator available in trading view which does the same. Thats the only reason of making a separate indicator.
In this indicator we have also added some symbols to identify the reversal patterns based on candle. This is best if used in 15 min candle. This plots engulfing pattern, shooting star, hammer and bullish and bearish reversals.
Please use it and provide feedback for changes. If i would change anything it would be available automatically anyway.
I have not added Fibonacci Pivots as its generally available in many sites out of box. How ever if you want to code you can use the below formula.
Pivot Point (P) = (High + Low + Close)/3
Support 1 (S1) = P - {.382 * (High - Low)}
Support 2 (S2) = P - {.618 * (High - Low)}
Support 3 (S3) = P - {1 * (High - Low)}
Resistance 1 (R1) = P + {.382 * (High - Low)}
Resistance 2 (R2) = P + {.618 * (High - Low)}
Resistance 3 (R3) = P + {1 * (High - Low)}
Liquidity Hunter 🎯🎯 Welcome to Liquidity Hunter!
This isn't just another indicator that draws lines on your chart. It's a comprehensive tool designed to help you see the market's structure by identifying key liquidity pools where stop-loss and pending orders are likely to be clustered. Price is often drawn to these levels, and understanding where they are can give you a significant edge in your trading.
💡 What is Liquidity?
In simple terms, liquidity refers to areas on the chart where a significant amount of trading activity is expected. These are often found:
Above old highs ( buy-side liquidity )
Below old lows ( sell-side liquidity )
When price revisits these areas, it can trigger a cascade of orders, leading to significant and rapid price movements. This indicator helps you anticipate these moves before they happen.
✨ Core Features
This indicator is packed with features to provide a complete liquidity analysis:
Multi-Type Liquidity Detection: Identifies and plots various types of liquidity:
Structural: Swing Highs/Lows (S-H, S-L) and Equal Highs/Lows (EQH, EQL).
Time-Based: Previous Day, Week, and Month Highs/Lows (PDH/L, PWH/L, PMH/L).
Session-Based: Highs and Lows of the Asia, London, and New York sessions.
Volume-Based Strength Analysis: Not all levels are equal. The indicator analyzes the volume at the creation of a swing point. A High-Strength level (marked with a ⭐) was formed with significant market participation, making it a more reliable point of interest.
Sweep vs. Break Intelligence: It intelligently distinguishes between a liquidity sweep (price wicks through a level and reverses) and a structural break (price closes firmly beyond the level), helping you understand market intention. Optional symbols (💰 for sweep, ▶ for break) can mark these events.
Advanced EQL/EQH Visualization: The new detection method visually connects equal highs or lows with a dotted line, making these obvious targets easy to spot without hiding the original swing points that form them.
Session & Killzone Visuals: Visualize the Asian, London, and New York trading sessions and their high-probability "Killzones" directly on your chart to better time your entries and understand the market context.
At-a-Glance Dashboard: The customizable on-screen dashboard keeps you informed of the nearest bullish and bearish liquidity targets, their distance from the current price, and their strength.
🚀 How To Use It
Here are a few ways you can incorporate Liquidity Hunter into your trading strategy:
As Targets: Use the plotted levels as potential take-profit targets. If you're in a long position, a nearby bearish liquidity level (e.g., an old Swing High) could be a logical place to exit.
As Entry Zones: Wait for price to react at these key levels. A common strategy is to look for a sweep of a key low (a "stop hunt") followed by a strong bullish candle, which can signal a high-probability long entry.
For Confluence: Combine the liquidity levels with your existing strategy. For example, if a high-strength swing low aligns with a key Fibonacci level or a moving average, it becomes a much stronger support zone.
To Gauge Momentum: The optional Trend Momentum Analysis looks at the volume of consecutive high-strength swings. A new high-strength high forming with more volume than the last one (📈) can indicate strengthening bullish momentum.
⚙️ Customization
Dive into the settings to fully customize the indicator to your liking. You can:
Toggle different liquidity types on or off.
Adjust the pivot lookback period to suit your trading style.
Define your exact session times (in your chosen timezone!).
Change all colors and styles to match your chart theme perfectly.
💬 We Want Your Feedback!
This indicator is actively developed, and your feedback is invaluable! If you...
Find a bug 🐞
Have an idea for a new feature or improvement 💡
Want to share how you use the indicator 📈
...please leave a comment below or send me a direct message! Let's work together to make this the best liquidity tool on TradingView. Happy hunting!
ADR% / CDR% Range Analyzer - PajameinThe "ADR%/CDR% Range Analyzer" is a versatile TradingView indicator designed for traders who want to monitor and compare the "Average Daily Range (ADR%)" and "Current Daily Range (CDR%)" in real-time. ADR% represents the average percentage range (high-low relative to low) over a user-defined number of daily bars, helping you gauge a stock's typical volatility. CDR% shows the current session's range as a percentage, either intraday (customizable from start to end price) or full daily, allowing you to assess how the current bar's movement stacks up against historical norms.
Key features include:
- "Visual Comparison": Displays both values as clean labels on the chart with customizable positions (separate or combined).
- "Dynamic Background Coloring": CDR% label background changes color based on its relation to ADR%—light green for low volatility (< low threshold), light blue for neutral (between thresholds), and light red for high volatility (> high threshold). This helps quickly spot expansion or contraction in daily moves.
- "Flexibility": Works on any timeframe, with options for intraday customization and anti-clipping adjustments for multi-pane layouts.
This indicator is ideal for day traders, swing traders, or anyone tracking volatility breakouts, range-bound setups, or risk management based on expected daily moves.
Input Settings Guide
Here's a breakdown of each setting and how it enhances your trading workflow:
- "Show ADR%" (Boolean, default: true)
Toggle to display/hide the ADR% label. Use this to declutter your chart when focusing solely on current range.
- "Show CDR%" (Boolean, default: true)
Toggle to display/hide the CDR% label. Ideal for charts where you only need historical average or current metrics.
- "ADR% Length" (Integer, default: 20, min: 1)
Number of daily bars for averaging the range percentage. Shorter lengths (e.g., 10) for recent volatility; longer (e.g., 50) for broader trends.
- "CDR%: Start" (Source, default: low)
Starting price for intraday CDR% (e.g., open, previous close). Customize for specific range measurements like gap fills.
- "CDR%: End" (Source, default: high)
Ending price for intraday CDR% (e.g., low, close). Pair with Start for targeted ranges, like open-to-low for downside capture.
- "Intraday Display" (String dropdown: "Intraday CDR%", "Daily CDR%", default: "Daily CDR%")
Switch between real-time intraday calculation (dynamic updates) or fixed daily value (stable, non-repainting).
- "Low Threshold %" (Float, default: 40.0, range: 0-100)
Percentage of ADR% below which CDR% gets the low (green) background. Lower it (e.g., 30%) for stricter low-volatility alerts.
- "High Threshold %" (Float, default: 60.0, range: 0-100)
Percentage of ADR% above which CDR% gets the high (red) background. Raise it (e.g., 70%) to highlight only extreme expansions.
- "ADR% Text Color" (Color picker, default: black)
Foreground color for ADR% text. Choose contrasting colors for dark/light themes.
- "CDR% Text Color" (Color picker, default: black)
Foreground color for CDR% text. Ensures readability over dynamic backgrounds.
- "Low CDR% Background (below low threshold)" (Color picker, default: light green with 70% transparency)
Background for subdued ranges. Adjust opacity for subtlety.
- "Mid CDR% Background (between thresholds)" (Color picker, default: light blue with 70% transparency)
Neutral background for typical moves.
- "High CDR% Background (above high threshold)" (Color picker, default: light red with 70% transparency)
Alert-style background for breakouts.
- "Cell Height %" (Integer, default: 8, range: 1-20)
Vertical padding for labels as a percentage of chart height. Increase (e.g., 12) in multi-pane layouts to prevent text clipping; decrease for compact views.
- "ADR% Position" (String dropdown: Top/Bottom/Middle Left/Right/Center, default: Bottom Right)
Placement of ADR% label. Use separate positions for side-by-side comparison.
- "CDR% Position" (String dropdown: Top/Bottom/Middle Left/Right/Center, default: Bottom Right)
Placement of CDR% label. Matching positions auto-stacks them vertically.
- "Text Size" (String dropdown: Tiny/Small/Normal/Large, default: Normal)
Font size for labels. "Small" for dense charts; "Normal" for clarity.
Usage Tips
- "Volatility Trading": Set thresholds to 50%/80% for spotting range expansions during news events.
- "Multi-Timeframe": Apply on 5-min charts with daily ADR for intraday targets (e.g., aim for 80% of ADR).
- "Customization": For forex/crypto, tweak Start/End to session opens. Test in replay mode to verify non-repainting.
- "Limitations": Intraday mode updates live but may not repaint until bar close; daily mode is fixed.
Pivot Trend Flow [BigBeluga]🔵 OVERVIEW
Pivot Trend Flow turns raw swing points into a clean, adaptive trend band. It averages recent pivot highs and lows to form two dynamic reference levels; when price crosses above the averaged highs, trend flips bullish and a green band is drawn; when it crosses below the averaged lows, trend flips bearish and a red band is drawn. During an uptrend the script highlights breakouts of previous pivot highs with ▲ labels, and during a downtrend it flags breakdowns of previous pivot lows with ▼ labels—making structure shifts and continuation signals obvious.
🔵 CONCEPTS
Pivot-Based Averages : Recent pivot highs/lows are collected and averaged to create smoothed upper/lower reference levels.
if not na(ph)
phArray.push(ph)
if not na(pl)
plArray.push(pl)
if phArray.size() > avgWindow
upper := phArray.avg()
phArray.shift()
if plArray.size() > avgWindow
lower := plArray.avg()
plArray.shift()
Trend State via Crosses : Close above the averaged-highs ⇒ bullish trend; close below the averaged-lows ⇒ bearish trend.
Trend Band : A colored band (green/red) is plotted and optionally filled to visualize the active regime around price.
Structure Triggers :
In bull mode the tool watches for prior pivot-high breakouts (▲).
In bear mode it watches for prior pivot-low breakdowns (▼).
🔵 FEATURES
Adaptive Trend Detection from averaged pivot highs/lows.
Clear Visuals : Green band in uptrends, red band in downtrends; optional fill for quick read.
Breakout/Breakdown Labels :
▲ marks breaks of previous pivot highs in uptrends
▼ marks breaks of previous pivot lows in downtrends
Minimal Clutter : Uses compact lines and labels that extend only on confirmation.
Customizable Colors & Fill for trend states and band styling.
🔵 HOW TO USE
Pivot Length : Sets how swing points are detected. Smaller = more reactive; larger = smoother.
Avg Window (pivots) : How many recent pivot highs/lows are averaged. Increase to stabilize the band; decrease for agility.
Read the Band :
Green band active ⇒ prioritize longs, pullback buys toward the band.
Red band active ⇒ prioritize shorts, pullback sells toward the band.
Trade the Triggers :
In bull mode, ▲ on a prior pivot-high break can confirm continuation.
In bear mode, ▼ on a prior pivot-low break can confirm continuation.
Combine with Context : Use HTF trend, S/R, or volume for confluence and to filter signals.
Fill Color Toggle : Enable/disable band fill to match your chart style.
🔵 CONCLUSION
Pivot Trend Flow converts swing structure into an actionable, low-lag trend framework. By blending averaged pivots with clean breakout/breakdown labels, it clarifies trend direction, timing, and continuation spots—ideal as a core bias tool or a confirmation layer in any trading system.
Trend Fib Zone Bounce (TFZB) [KedArc Quant]Description:
Trend Fib Zone Bounce (TFZB) trades with the latest confirmed Supply/Demand zone using a single, configurable Fib pullback (0.3/0.5/0.6). Trade only in the direction of the most recent zone and use a single, configurable fib level for pullback entries.
• Detects market structure via confirmed swing highs/lows using a rolling window.
• Draws Supply/Demand zones (bearish/bullish rectangles) from the latest MSS (CHOCH or BOS) event.
• Computes intra zone Fib guide rails and keeps them extended in real time.
• Triggers BUY only inside bullish zones and SELL only inside bearish zones when price touches the selected fib and closes back beyond it (bounce confirmation).
• Optional labels print BULL/BEAR + fib next to the triangle markers.
What it does
Finds structure using confirmed swing highs/lows (you choose the confirmation length).
Builds the latest zone (bullish = demand, bearish = supply) after a CHOCH/BOS event.
Draws intra-zone “guide rails” (Fib lines) and extends them live.
Signals only with the trend of that zone:
BUY inside a bullish zone when price tags the selected Fib and closes back above it.
SELL inside a bearish zone when price tags the selected Fib and closes back below it.
Optional labels print BULL/BEAR + Fib next to triangles for quick context
Why this is different
Most “zone + fib + signal” tools bolt together several indicators, or fire counter-trend signals because they don’t fully respect structure. TFZB is intentionally minimal:
Single bias source: the latest confirmed zone defines direction; nothing else overrides it.
Single entry rule: one Fib bounce (0.3/0.5/0.6 selectable) inside that zone—no counter-trend trades by design.
Clean visuals: you can show only the most recent zone, clamp overlap, and keep just the rails that matter.
Deterministic & transparent: every plot/label comes from the code you see—no external series or hidden smoothing
How it helps traders
Cuts decision noise: you always know the bias and the only entry that matters right now.
Forces discipline: if price isn’t inside the active zone, you don’t trade.
Adapts to volatility: pick 0.3 in strong trends, 0.5 as the default, 0.6 in chop.
Non-repainting zones: swings are confirmed after Structure Length bars, then used to build zones that extend forward (they don’t “teleport” later)
How it works (details)
*Structure confirmation
A swing high/low is only confirmed after Structure Length bars have elapsed; the dot is plotted back on the original bar using offset. Expect a confirmation delay of about Structure Length × timeframe.
*Zone creation
After a CHOCH/BOS (momentum shift / break of prior swing), TFZB draws the new Supply/Demand zone from the swing anchors and sets it active.
*Fib guide rails
Inside the active zone TFZB projects up to five Fib lines (defaults: 0.3 / 0.5 / 0.7) and extends them as time passes.
*Entry logic (with-trend only)
BUY: bar’s low ≤ fib and close > fib inside a bullish zone.
SELL: bar’s high ≥ fib and close < fib inside a bearish zone.
*Optionally restrict to one signal per zone to avoid over-trading.
(Optional) Aggressive confirm-bar entry
When do the swing dots print?
* The code confirms a swing only after `structureLen` bars have elapsed since that candidate high/low.
* On a 5-min chart with `structureLen = 10`, that’s about 50 minutes later.
* When the swing confirms, the script plots the dot back on the original bar (via `offset = -structureLen`). So you *see* the dot on the old bar, but it only appears on the chart once the confirming bar arrives.
> Practical takeaway: expect swing markers to appear roughly `structureLen × timeframe` later. Zones and signals are built from those confirmed swings.
Best timeframe for this Indicator
Use the timeframe that matches your holding period and the noise level of the instrument:
* Intraday :
* 5m or 15m are the sweet spots.
* Suggested `structureLen`:
* 5m: 10–14 (confirmation delay \~50–70 min)
* 15m: 8–10 (confirmation delay \~2–2.5 hours)
* Keep Entry Fib at 0.5 to start; try 0.3 in strong trends, 0.6 in chop.
* Tip: avoid the first 10–15 minutes after the open; let the initial volatility set the early structure.
* Swing/overnight:
* 1h or 4h.
* `structureLen`:
* 1h: 6–10 (6–10 hours confirmation)
* 4h: 5–8 (20–32 hours confirmation)
* 1m scalping: not recommended here—the confirmation lag relative to the noise makes zones less reliable.
Inputs (all groups)
Structure
• Show Swing Points (structureTog)
o Plots small dots on the bar where a swing point is confirmed (offset back by Structure Length).
• Structure Length (structureLen)
o Lookback used to confirm swing highs/lows and determine local structure. Higher = fewer, stronger swings; lower = more reactive.
Zones
• Show Last (zoneDispNum)
o Maximum number of zones kept on the chart when Display All Zones is off.
• Display All Zones (dispAll)
o If on, ignores Show Last and keeps all zones/levels.
• Zone Display (zoneFilter): Bullish Only / Bearish Only / Both
o Filters which zone types are drawn and eligible for signals.
• Clean Up Level Overlap (noOverlap)
o Prevents fib lines from overlapping when a new zone starts near the previous one (clamps line start/end times for readability).
Fib Levels
Each row controls whether a fib is drawn and how it looks:
• Toggle (f1Tog…f5Tog): Show/hide a given fib line.
• Level (f1Lvl…f5Lvl): Numeric ratio in . Defaults active: 0.3, 0.5, 0.7 (0 and 1 off by default).
• Line Style (f1Style…f5Style): Solid / Dashed / Dotted.
• Bull/Bear Colors (f#BullColor, f#BearColor): Per-fib color in bullish vs bearish zones.
Style
• Structure Color: Dot color for confirmed swing points.
• Bullish Zone Color / Bearish Zone Color: Rectangle fills (transparent by default).
Signals
• Entry Fib for Signals (entryFibSel): Choose 0.3, 0.5 (default), or 0.6 as the trigger line.
• Show Buy/Sell Signals (showSignals): Toggles triangle markers on/off.
• One Signal Per Zone (oneSignalPerZone): If on, suppresses additional entries within the same zone after the first trigger.
• Show Signal Text Labels (Bull/Bear + Fib) (showSignalLabels): Adds a small label next to each triangle showing zone bias and the fib used (e.g., BULL 0.5 or BEAR 0.3).
How TFZB decides signals
With trend only:
• BUY
1. Latest active zone is bullish.
2. Current bar’s close is inside the zone (between top and bottom).
3. The bar’s low ≤ selected fib and it closes > selected fib (bounce).
• SELL
1. Latest active zone is bearish.
2. Current bar’s close is inside the zone.
3. The bar’s high ≥ selected fib and it closes < selected fib.
Markers & labels
• BUY: triangle up below the bar; optional label “BULL 0.x” above it.
• SELL: triangle down above the bar; optional label “BEAR 0.x” below it.
Right-Panel Swing Log (Table)
What it is
A compact, auto-updating log of the most recent Swing High/Low events, printed in the top-right of the chart.
It helps you see when a pivot formed, when it was confirmed, and at what price—so you know the earliest bar a zone-based signal could have appeared.
Columns
Type – Swing High or Swing Low.
Date – Calendar date of the swing bar (follows the chart’s timezone).
Swing @ – Time of the original swing bar (where the dot is drawn).
Confirm @ – Time of the bar that confirmed that swing (≈ Structure Length × timeframe after the swing). This is also the earliest moment a new zone/entry can be considered.
Price – The swing price (high for SH, low for SL).
Why it’s useful
Clarity on repaint/confirmation: shows the natural delay between a swing forming and being usable—no guessing.
Planning & journaling: quick reference of today’s pivots and prices for notes/backtesting.
Scanning intraday: glance to see if you already have a confirmed zone (and therefore valid fib-bounce entries), or if you’re still waiting.
Context for signals: if a fib-bounce triangle appears before the time listed in Confirm @, it’s not a valid trade (you were too early).
Settings (Inputs → Logging)
Log swing times / Show table – turn the table on/off.
Rows to keep – how many recent entries to display.
Show labels on swing bar – optional tags on the chart (“Swing High 11:45”, “Confirm SH 14:15”) that match the table.
Recommended defaults
• Structure Length: 10–20 for intraday; 20–40 for swing.
• Entry Fib for Signals: 0.5 to start; try 0.3 in stronger trends and 0.6 in choppier markets.
• One Signal Per Zone: ON (prevents over trading).
• Zone Display: Both.
• Fib Lines: Keep 0.3/0.5/0.7 on; turn on 0 and 1 only if you need anchors.
Alerts
Two alert conditions are available:
• BUY signal – fires when a with trend bullish bounce at the selected fib occurs inside a bullish zone.
• SELL signal – fires when a with trend bearish bounce at the selected fib occurs inside a bearish zone.
Create alerts from the chart’s Alerts panel and select the desired condition. Use Once Per Bar Close to avoid intrabar flicker.
Notes & tips
• Swing dots are confirmed only after Structure Length bars, so they plot back in time; zones built from these confirmed swings do not repaint (though they extend as new bars form).
• If you don’t see a BUY where you expect one, check: (1) Is the active zone bullish? (2) Did the candle’s low actually pierce the selected fib and close above it? (3) Is One Signal Per Zone suppressing a second entry?
• You can hide visual clutter by reducing Show Last to 1–3 while keeping Display All Zones off.
Glossary
• CHOCH (Change of Character): A shift where price breaks beyond the last opposite swing while local momentum flips.
• BOS (Break of Structure): A cleaner break beyond the prior swing level in the current momentum direction.
• MSS: Either CHOCH or BOS – any event that spawns a new zone.
Extension ideas (optional)
• Add fib extensions (1.272 / 1.618) for target lines.
• Zone quality score using ATR normalization to filter weak impulses.
• HTF filter to only accept zones aligned with a higher timeframe trend.
⚠️ Disclaimer This script is provided for educational purposes only.
Past performance does not guarantee future results.
Trading involves risk, and users should exercise caution and use proper risk management when applying this strategy.
RSI Signals Multi-Layer RSI System with Classical Divergence**DrFX RSI Signals Fixed** is an advanced RSI-based trading system that combines duration-filtered extreme conditions with classical divergence detection and momentum confirmation. This enhanced version addresses common RSI false signals through multi-layer filtering while adding proper divergence analysis for identifying high-probability reversal points.
**Core Innovation & Originality**
This indicator uniquely integrates five analytical layers:
1. **Duration-Validated Extreme Zones** - Confirms RSI has remained overbought/oversold for minimum bars within lookback period
2. **Classical Divergence Detection** - Proper implementation comparing swing highs/lows in both price and RSI
3. **Momentum Confirmation Signals** - RSI crossing 50-line after extreme conditions for trend confirmation
4. **Multi-Signal Classification** - Four distinct signal types (Buy, Sell, Strong Buy, Strong Sell, Momentum)
5. **Visual Zone Highlighting** - Background coloring for instant extreme zone identification
**Technical Implementation & Improvements**
**Enhanced Duration Filter:**
Unlike the previous version, this system uses a refined approach:
```
for i = 0 to lookback_bars - 1
if rsi > overbought
barsInOverbought := barsInOverbought + 1
```
This counts actual bars within the lookback period (default 20 bars) where RSI was extreme, requiring minimum duration (default 4 bars) for signal validation.
**Classical Divergence Detection:**
The system implements proper divergence analysis, a significant improvement over simple delta comparison:
**Bullish Divergence Logic:**
- Price makes lower low: `low < prevPriceLow`
- RSI makes higher low: `rsi > prevRsiLow`
- Indicates weakening downward momentum despite lower prices
**Bearish Divergence Logic:**
- Price makes higher high: `high > prevPriceHigh`
- RSI makes lower high: `rsi < prevRsiHigh`
- Indicates weakening upward momentum despite higher prices
**Signal Generation Framework:**
**Primary Signals:**
- **Buy Signal**: RSI crosses above oversold (30) after meeting duration requirements
- **Sell Signal**: RSI crosses below overbought (70) after meeting duration requirements
**Strong Signals:**
- **Strong Buy**: Buy signal + bullish divergence confirmation
- **Strong Sell**: Sell signal + bearish divergence confirmation
**Momentum Signals:**
- **Momentum Buy (M+)**: RSI crosses above 50 after recent oversold conditions
- **Momentum Sell (M-)**: RSI crosses below 50 after recent overbought conditions
**What Makes This Version Superior**
**Compared to Standard RSI:**
1. **Duration Requirement**: Prevents signals on brief RSI spikes
2. **Lookback Validation**: Ensures extreme conditions actually occurred recently
3. **Proper Divergence**: Uses swing high/low comparison, not just bar-to-bar deltas
4. **Momentum Layer**: Adds trend confirmation via 50-line crosses
**Compared to Previous Version:**
1. **Pine Script v5**: Modern syntax with improved performance
2. **Configurable Parameters**: All values adjustable via inputs
3. **Better Divergence**: Classical divergence logic replaces simplified delta method
4. **Additional Signals**: Momentum confirmations for trend following
5. **Visual Enhancements**: Background coloring and improved signal differentiation
6. **Alert System**: Built-in alert conditions for all signal types
**Parameter Configuration**
**Customizable Inputs:**
- **Overbought Level** (70): Upper threshold, range 50-90
- **Oversold Level** (30): Lower threshold, range 10-50
- **RSI Period** (14): Calculation period, range 2-50
- **Minimum Duration** (4): Required bars in extreme zone, range 1-20
- **Lookback Bars** (20): Period to check for extreme conditions, range 5-100
- **Divergence Lookback** (5): Period for divergence swing comparison, range 2-20
**Optimization Guidelines:**
- **Shorter Duration** (2-3): More frequent signals, higher noise
- **Longer Duration** (5-7): Fewer signals, better quality
- **Smaller Lookback** (10-15): Faster response, may miss context
- **Larger Lookback** (30-50): More context, potentially delayed signals
**Signal Interpretation Guide**
**Visual Signal Hierarchy:**
**Light Green Triangle (Buy):**
- RSI recovered from oversold
- Duration requirements met
- Entry on reversal from oversold territory
**Light Red Triangle (Sell):**
- RSI declined from overbought
- Duration requirements met
- Entry on reversal from overbought territory
**Blue Triangle (Strong Buy):**
- Buy signal with bullish divergence
- Highest probability long setup
- Price made lower low, RSI made higher low
**Magenta Triangle (Strong Sell):**
- Sell signal with bearish divergence
- Highest probability short setup
- Price made higher high, RSI made lower high
**Tiny Green Circle (M+):**
- RSI crossed above 50 after oversold
- Momentum confirmation for uptrend
- Secondary entry or trend confirmation
**Tiny Red Circle (M-):**
- RSI crossed below 50 after overbought
- Momentum confirmation for downtrend
- Secondary entry or trend confirmation
**Background Coloring:**
- **Light Red Background**: RSI > 70 (overbought zone)
- **Light Green Background**: RSI < 30 (oversold zone)
**Trading Strategy Application**
**Conservative Approach (Strong Signals Only):**
1. Wait for blue/magenta triangles (divergence confirmed)
2. Enter on signal bar close or next bar open
3. Stop loss beyond recent swing high/low
4. Target minimum 2:1 risk/reward ratio
**Aggressive Approach (All Signals):**
1. Take light green/red triangles for earlier entries
2. Use momentum circles as confirmation
3. Tighter stops with partial profit taking
4. Scale positions based on signal strength
**Momentum Trading:**
1. Use momentum signals (M+/M-) as trend filters
2. Take primary signals aligned with momentum direction
3. Avoid counter-momentum signals in strong trends
4. Exit when opposing momentum signal appears
**Multi-Timeframe Strategy:**
1. Check higher timeframe for strong signals
2. Execute on lower timeframe primary signals
3. Use momentum signals for position management
4. Align all timeframe signals for best probability
**Optimal Market Conditions**
**Best Performance:**
- Mean-reverting markets with clear RSI extremes
- Range-bound or consolidating conditions
- Markets respecting support/resistance levels
- Timeframes: 15min to 4H for active trading
**Strong Signal Advantages:**
- Divergence signals often mark major turning points
- Work well at market structure levels
- Effective in both trending and ranging markets
- Higher success rate justifies waiting for setup
**Momentum Signal Benefits:**
- Confirms trend direction after extreme readings
- Useful for adding to positions
- Helps avoid counter-trend trades
- Works well in trending markets where reversals fail
**Technical Advantages**
**Divergence Accuracy:**
The improved divergence detection uses proper swing analysis rather than simple bar-to-bar comparison. This identifies genuine momentum shifts where price action diverges from oscillator movement over a meaningful period.
**Duration Logic:**
The for-loop counting method ensures the system checks actual RSI values within the lookback period, not just whether RSI touched levels. This distinguishes between sustained conditions and brief spikes.
**Momentum Filter:**
The 50-line crosses after extreme conditions provide an additional confirmation layer, helping traders distinguish between failed reversals (no momentum follow-through) and sustained moves (momentum confirmation).
**Risk Management Integration**
**Signal Priority:**
1. **Highest**: Strong signals with divergence (blue/magenta triangles)
2. **Medium**: Primary signals without divergence (light green/red triangles)
3. **Confirmation**: Momentum signals (tiny circles)
**Position Sizing:**
- Larger positions on strong signals (divergence present)
- Standard positions on primary signals
- Smaller positions or adds on momentum signals
**Stop Placement:**
- Beyond recent swing structure
- Below/above divergence swing low/high for strong signals
- Trail stops when momentum signals align with position
**Alert System**
Built-in alert conditions for:
- Buy Signal: RSI buy without divergence
- Sell Signal: RSI sell without divergence
- Strong Buy Alert: Buy with bullish divergence
- Strong Sell Alert: Sell with bearish divergence
Configure alerts via TradingView's alert system to receive notifications for chosen signal types.
**Important Considerations**
**Strengths:**
- Multiple confirmation layers reduce false signals
- Classical divergence improves reversal detection
- Momentum signals add trend-following capability
- Highly customizable for different trading styles
- No repainting - all signals fixed at bar close
**Limitations:**
- Duration requirements may cause missed quick reversals
- Divergence lookback period affects sensitivity
- Not suitable as standalone system
- Requires understanding of RSI principles and divergence concepts
**Best Practices:**
- Combine with price action and support/resistance
- Use higher timeframe context for directional bias
- Respect overall market trend and structure
- Implement proper position sizing based on signal type
- Test parameters on your specific instrument and timeframe
**Comparison Summary**
This enhanced version represents a significant upgrade:
- Upgraded to Pine Script v5 modern standards
- Proper classical divergence detection (not simplified)
- Added momentum confirmation signals
- Fully customizable parameters via inputs
- Visual background zone highlighting
- Comprehensive alert system
- Better signal differentiation through color coding
The system transforms basic RSI analysis into a multi-dimensional trading tool suitable for various market conditions and trading styles.
**Disclaimer**: This indicator is designed for educational and analytical purposes. While the multi-layer filtering and classical divergence detection improve upon standard RSI implementations, no indicator guarantees profitable trades. The duration filtering reduces false signals but may delay entries. Divergence signals, while statistically favorable, can fail in strong trending conditions. Always use proper risk management, position sizing, and stop-loss orders. Consider multiple confirmation methods and market context before making trading decisions. Past performance does not guarantee future results.
Volume ClusteringThis Volume Clustering script is a powerful tool for analyzing intraday trading dynamics by combining two key metrics: volume Z-Score and Cumulative Volume Delta (CVD). By categorizing market activity into distinct clusters, it helps you identify high-conviction trading opportunities and understand underlying market pressure.
How It Works
The script operates on a simple, yet effective, premise: it classifies each trading bar based on its statistical significance (volume Z-Score) and buying/selling pressure (CVD).
Volume Z-Score
The volume Z-Score measures how far the current bar's volume is from its average, helping to identify periods of unusually high or low volume. This metric is a powerful way to spot when institutional or large players might be entering the market. A high Z-Score suggests a significant event is taking place, regardless of direction.
Cumulative Volume Delta (CVD)
CVD tracks the net buying and selling pressure across different timeframes. The script uses a lower timeframe (e.g., 1-minute) and anchors it to a higher timeframe (e.g., 1-day) to capture intraday pressure. A positive CVD indicates more buying pressure, while a negative CVD suggests more selling pressure.
Cluster Categories
The script analyzes the confluence of these two metrics to assign a cluster to each bar, providing actionable insights. The clusters are color-coded and labeled to make them easy to interpret:
🟢 High Conviction Bullish: Unusually high volume (high Z-Score) combined with significant buying pressure (high CVD). This cluster suggests strong bullish momentum.
🔴 High Conviction Bearish: Unusually high volume (high Z-Score) coupled with significant selling pressure (low CVD). This cluster suggests strong bearish momentum.
🟡 Low Conviction/Noise: Low to moderate volume and mixed buying/selling pressure. This represents periods of indecision or consolidation, where market noise is more prevalent.
🟣 Other Clusters: The script also identifies other combinations, such as high volume with moderate CVD, or low volume with high CVD, which can provide additional context for understanding market dynamics.
Key Features & Customization
The script offers several customizable settings to tailor the analysis to your specific trading style:
Z-Score Lookback Length: Adjust the lookback period for calculating the average volume. A shorter period focuses on recent volume trends, while a longer period provides a broader context.
CVD Anchor & Lower Timeframe: Define the timeframes used for CVD calculation. You can anchor the analysis to a daily or weekly timeframe while using a lower timeframe (e.g., 1-minute) to capture granular intraday pressure.
High/Low Volume Mode: Toggle between "High Volume" mode (which uses 90th and 10th percentiles for clustering) and "Low Volume" mode (which uses 75th and 25th percentiles). This allows you to choose whether to focus on extreme events or more subtle shifts in market sentiment.
Monday's Range Superpowerkyu🔔 Settings
You can customize the colors and toggle ON/OFF in the indicator settings.
Works on daily, hourly, and minute charts.
Easily visualize Monday’s high, low, and mid-line range.
📌 1. Support & Resistance with Monday’s Range
Monday High: Acts as the first resistance of the week.
◽ Example: If price breaks above Monday’s high after Tuesday, it signals potential bullish continuation → long setup.
Monday Low: Acts as the first support of the week.
◽ Example: If price breaks below Monday’s low, it signals bearish continuation → short setup.
📌 2. Mid-Line Trend Confirmation
Monday Mid-Line = average price of Monday.
Price above mid-line → bullish bias.
Price below mid-line → bearish bias.
Use mid-line breaks as entry confirmation for long/short positions.
📌 3. Breakout Strategy
Break of Monday’s High = bullish breakout → long entry.
Break of Monday’s Low = bearish breakout → short entry.
Place stop-loss inside Monday’s range for a conservative approach.
📌 4. False Breakout Strategy
If price breaks Monday’s high/low but then falls back inside Monday’s range, it is a False Breakout.
Strategy: Trade in the opposite direction.
◽ False Breakout at High → short.
◽ False Breakout at Low → long.
Stop-loss at the wick (extreme point) of the failed breakout.
📌 5. Range-Based Scalping
Use Monday’s high and low as a trading range.
Sell near Monday’s High, buy near Monday’s Low, repeat until breakout occurs.
📌 6. Weekly Volatility Forecast
Narrow Monday range → higher chance of strong trend later in the week.
Wide Monday range → lower volatility expected during the week.
📌 7. Pattern & Trend Analysis within Monday Range
Look for candlestick patterns around Monday’s High/Low/Mid-Line.
◽ Example: Double Top near Monday’s High = short setup.
◽ Repeated bounce at Mid-Line = strong long opportunity.
✅ Summary
The Monday’s Range (Superpowerkyu) Indicator helps traders:
Identify weekly support & resistance
Confirm trend direction with Mid-Line
Trade breakouts & false breakouts
Apply range scalping strategies
Forecast weekly volatility
⚡ Especially, the False Breakout strategy is powerful as it captures failed moves and sudden sentiment reversals.
Qullamaggie High Tight Flag TableThis indicator is a breakout scanner inspired by Qullamaggie's high-tight flag momentum strategy and Stockbee's Momentum Burst setups. It displays a 2x5 table of key technical metrics to identify high-probability long breakout opportunities in trending stocks or crypto on daily charts. The table highlights setups where a stock consolidates tightly after a strong uptrend, signaling potential volatility expansion for sharp upside moves. Green boxes indicate bullish conditions, while alerts notify traders of optimal setups or risks.
Table Box Descriptions
The table is divided into two columns: the left focuses on volatility and range, the right on trend and relative strength. Each cell shows a metric’s value with conditional coloring—green for bullish alignment, red for bearish/unmet conditions, yellow/orange for neutral/warning zones, and consistent transparency (90%) for readability. Below are the updated box descriptions:
ADR (Left, Row 1): Average Daily Range (%) over a user-selectable lookback (5/10/15/20 days, default 20), calculated relative to the previous low, close, or current close (user-selectable). Always green for visibility, with higher values (e.g., ≥6%) indicating volatility suited for breakouts.
Change from Today Low (Left, Row 2): Percentage gain from the current day’s low to close. Green if ≥0% (intraday strength), red if negative (weakness). Signals if the stock is holding support without excessive downside.
ADR Multiples from 50 SMA (Left, Row 3): Price deviation from the 50-day SMA in ADR units (e.g., 6% move above SMA with 1% ADR = 6x). Green (<6x, healthy trend), yellow (6-9x, extended), red (9-14x, overextended), purple (>14x, extreme caution). Identifies coiled setups or overextension risks.
% from 52W Low (Left, Row 4): Percentage distance from the 52-week low. Green if ≥30% (strong recovery from bases), red otherwise. Filters for stocks with significant momentum from yearly lows.
Narrow Range (Left, Row 5): Average daily range (%) over 3-5 days (user-selectable), compared to ADR, with checks for today’s change from low < ADR and volume ≤70% of 20-day average. Optional: limits to one 4%+ drop. Green if range < ADR and volume low (tight consolidation), yellow if range < ADR but volume high, red otherwise. Signals coiling before a breakout.
Percent from Short SMA (Right, Row 1): Percentage deviation from the 10-day SMA. Green if ≥0% (price at/above short-term trend), red if below. Ensures alignment with immediate uptrend support.
VCP Tightness (Right, Row 2): 5-day high-low range as a percentage of the lowest low, with a breakout check (≥12% gain in prior 5-10 days). Shows "Tight: X.XX%" or "N/A". Green if <10% (tight contraction), red otherwise. Captures high-tight flag volatility squeezes.
Days Since 10d > 21d (Right, Row 3): Days since the 10-day SMA crossed above the 21-day SMA. Red if NA or downtrend (10d ≤ 21d), green if ≤10 days (fresh uptrend), yellow if 11-30 days (maturing), orange if >30 days (aging). Tracks trend freshness for timely entries.
% from 52W High (Right, Row 4): Percentage distance from the 52-week high. Green if ≥-25% (near highs), yellow if -25% to -30% (warning zone), red if <-30% (far from highs). Gauges proximity to breakout resistance.
7d SMA vs 65d SMA (Right, Row 5): Percentage difference between 7-day and 65-day SMAs. Green if ≥5% (short-term outpacing long-term), red otherwise. Confirms broader trend acceleration.
Key Features
Ideal Setup: Look for green boxes in Days Since 10d > 21d (≤10), VCP Tightness (<10%), and % from Short SMA (±3%) during a narrow range consolidation near support, signaling a high-probability breakout.
Alerts:
Qullamaggie Breakout Alert: Triggers when ADR ≥6%, Days Since 10d > 21d ≤10, 10d SMA > 21d SMA, VCP Tightness <10%, and price within ±3% of 10d SMA. Signals a high-tight flag breakout setup.
High Tight Flag Good Setup: Triggers when all non-ADR boxes (9 metrics) are green, yellow, or orange (no red or purple). Indicates a strong setup for long entry.
Overextension Warning: Triggers when ADR Multiples from 50 SMA ≥9x (red or purple), warning of pullback risk.
SMA Plots: 10-day (white) and 21-day (green) SMAs, toggleable in settings (off by default).
Customizable: Adjust table position (top/middle/bottom, left/center/right), text/background colors, ADR lookback, narrow range period (3-5 days), and enforce a single 4%+ drop limit.
Usage
Apply to daily charts (e.g., SOLUSDT, AAPL, TSLA) with 100+ bars.
Seek mostly green boxes, especially in Days Since 10d > 21d, VCP Tightness, and % from Short SMA, with rising volume for confirmation.
Use alerts to catch breakouts, strong setups, or overextensions in real-time.
Enable SMA plots to visualize trends if needed.
Handles edge cases (short history, crypto precision) for robust performance.
Note: Not financial advice—combine with your risk management, chart patterns, and market context.
eORB - Day EditionThe eORB – Day Edition (Enhanced Opening Range Breakout) is a powerful intraday trading indicator designed for Algo Trading, Scalpers, Day Traders, and ORB-based strategies. It combines classic ORB logic with advanced filters, multiple exit strategies, and smart risk management tools. The default setup is optimised for a 3-minute ETHUSD chart.
Key Features:-
# Opening Range Breakout (ORB)
- Defines intraday high/low for the first X minutes.
- Automatically updates breakout levels.
- Optional buffer (%) for precision entries.
# Day & Session Filters
- Enable/disable trading on specific weekdays.
- Flexible session time configuration.
# EMA Crossover
- Option to trade based on EMA crossover with ORB levels.
# Breakout Candle Logic
- Detects breakout candle high/low for secondary confirmation.
# RSI Filter
- Confirms signals using RSI thresholds (customisable).
# Exit Strategies
- ORB High/Low Exit
- Buffer Exit
- Trailing Stop Loss (TSL) with activation, lock, and increments
- Target & Stoploss (fixed points)
- Universal Exit (UTC time-based) with background highlight
# Trade Sync Logic
- Prevents consecutive Buy → Buy or Sell → Sell without the opposite signal in between.
# Alerts Ready
- Buy, Sell, and Exit conditions are available for alerts.
- Compatible with TradingView alert system (popup, email, SMS, webhook).
How to Use:-
1. Add indicator to the chart.
2. Set ORB Time & Session (e.g., 3 min ORB at market open).
3. Enable/disable filters (EMA, RSI, Breakout candle).
4. Configure exits (TSL, Target, Stoploss, Universal Exit).
5. Add alerts for automation or notifications.
- This indicator is ideal for Crypto, Nifty, BankNifty, Index Futures, and Stocks, but it can be applied to any asset.
- The default settings are optimised for ETHUSD.
How it Works – eORB Day Edition:-
Step 1 – Define the Range
- At market open, the indicator records the Opening Range High & Low for the first X minutes (configurable by the user).
- This creates a price boundary (box) that acts as support and resistance for the rest of the session.
- Optional buffers can be added to make signals more reliable.
Step 2 – Generate the Signal
- When price (or EMA, if enabled) crosses above the Opening Range High, a Buy signal is generated.
- When price (or EMA) crosses below the Opening Range Low, a Sell signal is generated.
- Extra filters like RSI and Breakout Candle confirmation can be turned on to reduce false breakouts.
- Built-in sync logic ensures signals alternate properly (no double Buy or double Sell without the opposite in between).
Step 3 – Manage the Exit
- Trades can exit using multiple methods:
- Target (fixed profit in points)
- Stoploss (fixed risk in points)
- Trailing Stop-loss (TSL) that locks profit and trails as price moves further in your favour
- ORB/Buffer exit when price re-enters the range
- Universal Exit at a fixed UTC time to close all positions for the day
- Exits are visualised on the chart with shapes, labels, and optional background highlights.
In simple terms:-
Step 1: DEFINE
- Opening Range (first X minutes) → Marks High & Low → Creates breakout zone
Step 2: SIGNAL
- Price / EMA crosses High (+ Buffer) → BUY
- Price / EMA crosses Low (- Buffer) → SELL
- + Optional filters: RSI, Breakout Candle
Step 3: EXIT
- Target | Stoploss | Trailing Stoploss | Universal Exit
Important Note on Alert Setup
- When using the RSI filter, signals may fluctuate in some edge cases where RSI hovers near the Buy or Sell level.
- To avoid this, it is recommended to use “Once Per Bar Close” as the alert trigger, since signals confirm only after the bar closes (especially helpful when Breakout Candle High/Low Crossover is enabled).
- If you choose not to use RSI, you can safely use “Once Per Bar” alerts, even when the Breakout Candle High/Low Crossover option is enabled.
Disclaimer:-
- This tool is for educational and research purposes only.
- It does not guarantee profits. Always backtest and use proper risk management before live trading. The author is not responsible for financial losses.
Developer: @ikunalsingh
Built using AI + the best of human logic.
AriVestHub_SMCIntroduction to the AriVestHub_SMC Indicator:
The AriVestHub_SMC indicator is designed and coded based on Smart Money Concepts (SMC). This tool has unique features that you won’t find in any other indicator built around SMC.
I’ve been active in the crypto market since 2019, and besides using the SMC strategy, I also apply several custom strategies in my trading. Personalized versions of these strategies will gradually be shared with you as well.
The main reason for developing this indicator was the gap in existing tools. Many times, setups like Valid Pullback or Inside Bar Candles appear on the chart but are not easily recognizable at first glance, and therefore they get ignored. This often leads to mistakes in Market Structure Mapping right from the beginning, which then causes errors in further analysis and predictions.
Since the SMC strategy is entirely built on market structure, any mistake in identifying its key components basically destroys the reliability of the analysis.
Unlike similar indicators that mostly just draw nice lines and zones on the chart for promotional purposes, AriVestHub_SMC aims to show the reality of the market, not beautify it. Price behavior is the result of trader psychology and the clash of different views—it doesn’t have to look neat and pretty all the time.
This indicator shows exactly what has happened in the market and the possible scenarios ahead. Once you use this tool and study this guide, you’ll clearly feel the difference compared to other common indicators. My main goal in creating AriVestHub_SMC was to give real help to traders—not just to sell or commercialize it.
The AriVestHub_SMC indicator is basically a Market Structure Mapping Engine (SMC Structure Mapping Engine), whose main task is to detect and accurately map market structure movements.
________________________________________
Its key features include:
• BOS / CHoCH – Detecting
• breakouts and changes in market character
• IDM / Pullback – Confirming pivots and valid moves
• OF / OB – Marking key supply and demand zones
• SMT (Smart Money Trap) – Spotting invalid zones and smart money traps
• Liquidity Sweeps / Equal High-Low – Liquidity hunts and reversal setups
• Transfer Option – Automatically correcting structure in Single Leg scenarios
________________________________________
Basic Concepts in the AriVestHub_SMC Strategy
1. Inside Bar
An Inside Bar is a candle (or group of candles) whose price range falls between the High and Low of the previous candle.
In Smart Money and market structure analysis, these candles are usually ignored, and only the main candle is considered.
Simply put, an Inside Bar signals market pause and energy buildup—a place where both buyers and sellers are waiting for price to decide its next direction.
In the picture, you can see candles highlighted in a different color that fall within the main candle range. They should not be treated as independent candles, and all of them together should be considered as one.
________________________________________
2. Pullback
A pullback happens when price makes a temporary return after a main move. Even a single candle can cause it.
In Smart Money, a valid pullback is defined as:
• In an uptrend: if the Low of a candle breaks the Low of the previous candle which is not an Inside Bar, a valid pullback occurs.
• In a downtrend: if the High of a candle breaks the High of the previous candle which is not an Inside Bar, a valid pullback occurs.
Valid pullbacks are the points where the market gathers the energy needed to continue its move.
In the image below, both valid and invalid pullbacks are shown.
________________________________________
3. IDM – Inducement
Inducement is one of the most important concepts in AriVestHub_SMC. Without IDM, no structure in Smart Money can form.
Every valid pullback can be considered an IDM.
There are two types: Major IDM and Minor IDM.
Correctly identifying IDM is critical, because the entire market structure is mapped based on it.
After each BOS or CHoCH, a new HH or LL pivot is only confirmed if the price returns and touches the IDM.
• In an uptrend after BOS: the lowest price of the first valid pullback is the Major IDM, and the last pullback before reaching the Major IDM is the Minor IDM.
• In an uptrend after CHoCH: the highest price of the first valid pullback is the Major IDM, and the last pullback before reaching the Major IDM is the Minor IDM.
The same rules apply in reverse for downtrends.
In this strategy, Major IDM always takes priority.
The image shows different types of IDM, and the same applies for downtrends.
________________________________________
4. BOS – Break of Structure
A Break of Structure happens when price breaks its previous High or Low in the direction of the trend:
• In an uptrend: if the previous HH is broken, BOS occurs.
• In a downtrend: if the previous LL is broken, BOS occurs.
BOS confirms continuation of the current market trend.
________________________________________
5. CHoCH – Change of Character
Change of Character occurs when price moves against the previous trend:
• In an uptrend: if the previous LL is broken, CHoCH occurs.
• In a downtrend: if the previous HH is broken, CHoCH occurs.
CHoCH is usually a signal of a trend reversal or a deep market correction.
The image shows the overall market structure with BOS and CHoCH.
________________________________________
6. Order Flow
Order Flow zones are formed from valid pullbacks and are usually points where price reacts strongly.
They are defined as:
• In an uptrend: Last Selling Momentum Before pushing upside
• In a downtrend: Last Buying Momentum Before pushing dowside
Three main types of Order Flow used in this strategy:
• OF: Decisional (Dec) – The first valid OF after IDM, where the market makes its key decision.
• OF: Extreme (Ext) – The last valid OF after IDM, acting as the final defense of buyers or sellers.
• SMT – Smart Money Trap – All order zones before IDM, and those between Dec and Ext. These usually cause short-term, deceptive reactions and are not valid for trading.
In addition:
• Unmitigated Order Flow – A zone not yet touched, still a liquidity source.
• Mitigated Order Flow – A zone that has been touched, with reduced validity.
• Redefine Order Flow – Identifying internal OFs within a main unmitigated OF for more precise entries.
The image shows the different types of OF.
________________________________________
7. H/L Liquidity Sweep
A Liquidity Sweep happens when price breaks a previous High or Low with a wick, but the candle body fails to close beyond it.
• If the High is broken with a wick but the candle closes below it, a Liquidity Sweep occurs.
• If the Low is broken with a wick but the candle closes above it, a Liquidity Sweep occurs.
These setups are often signs of trapping traders and starting a move in the opposite direction. In fact, Liquidity Sweep points are among the best trading setups.
________________________________________
🔑 Final Note
All these concepts are like puzzle pieces: Inside Bar, Valid Pullback, IDM, BOS, CHoCH, Order Flow, and Liquidity Sweep.
When combined, they create a clear and accurate picture of the market’s real behavior.
________________________________________
Indicator Settings
1. Analyze From … To …
• Set the analysis time range.
• Another use: In ping-pong structures, you can add another copy of the indicator to the chart, set the starting point at the recent HH or LL, and map the internal structure for counter-trend trading.
________________________________________
2. Main
• Confirm CHoCH with wicks → If enabled, only the wick (not the body) is considered for BOS and CHoCH confirmation. Useful for spotting subtle liquidity-based breaks.
• Major / Minor IDM → Choose IDM type.
• Consider Inside Bar → Best kept enabled, so candles inside the previous candle are ignored.
________________________________________
3. Fib Ret
• Min pullback retracement % → Set the minimum retracement level.
• Helps identify valid pullbacks and gives more confidence in trend continuation.
• Meaning: if BOS happens, price must at least retrace by the minimum percentage before expecting the trend to continue.
________________________________________
4. BOS/CHoCH
• Display BOS and CHoCH on the chart with customizable color and style.
________________________________________
5. IDM
• Mark previous IDM : Show past IDMs.
• Mark live IDM : Show current active IDM.
• Customize IDM display options.
________________________________________
6. Pivots
• Display HH and LL pivots.
________________________________________
7. Transferring H/L IDM BOS/CHoCH
• Transfer in case of lack idmB or idmS → When the move is Single Leg and no valid IDM exists in the recent move, HH, LL, and IDM must be shifted and corrected. This adjusts the market structure.
• In case of transferring, remove all previous transferred Market Structure → If enabled, every time HH/LL and IDM need to be shifted, the transfer happens and the market structure is re-analyzed from scratch.
• Important: Often after one transfer, another Single Leg appears. This option keeps adjusting structure automatically, while doing it manually would be slow and error-prone.
________________________________________
8. Order Flow
• Display Decisional, Extreme, and Supply/Demand OFs.
________________________________________
9. H/L Sweeps
• Detect Liquidity Sweeps at Highs and Lows.
• These are very strong reversal setups.
________________________________________
10. Equal High/Low
• Show equal Highs and Lows where liquidity often accumulates.
________________________________________
11. Moving Average
• Add a moving average as a trend filter.
• Option to choose type (SMA/EMA) and length (e.g., 50 or 200).
• Usually:
o MA50 → For mid-term trends, quick confirmation.
o MA200 → For long-term trends, stronger confirmation.
________________________________________
12. Internal Structure (ZigZag)
• Show internal market structure as ZigZag.
________________________________________
13. Inside Bar Candles
• Display Inside Bars in color or with a box.
Direct Message: Telegram.com/ArmanAria
Artharjan Intraday Trading ZonesArtharjan Intraday Trading Zones (AITZ)
Overview
The AITZ indicator is designed to visually mark intraday trading zones on a chart by using the current day’s High (DH) and Low (DL) as reference points. It creates three distinct market zones:
Bullish Zone: Near the daily high, suggesting strength.
Bearish Zone: Near the daily low, suggesting weakness.
Neutral / No-Trade Zone: Between the bullish and bearish thresholds, where price movement is less directional.
These zones are highlighted with color-fills for quick visual identification, and the indicator automatically resets at the start of each new trading day.
Key Features
Daily Reference Levels: Automatically fetches Day High, Day Low, and uses them to calculate intraday zones.
Configurable Zone Depth: Traders can set the percentage distance from High/Low to define bullish and bearish zones.
Conditional Zone Coloring: Option to highlight zones only when price is actively trading inside them.
Dynamic Updates: Zone coloring adjusts in real time as the day progresses.
Customizable Appearance: Line thickness and zone colors can be adjusted to match chart preferences.
Inputs
Parameter Type Default Description
Level Thickness Integer 1 Thickness of all plotted levels (1–10).
(DH-DL)% below Day High Float 25 Distance from daily high (as % of DH–DL range) to define bullish threshold.
(DH-DL)% above Day Low Float 25 Distance from daily low (as % of DH–DL range) to define bearish threshold.
Plot Zone Colors (Conditional)? Boolean true If enabled, zones are colored only when price trades inside them. Otherwise, they remain visible regardless of price position.
Bullish Zone Color Color Teal (90% transparent) Fill color for bullish zone.
Neutral Zone Color Color Blue (90% transparent) Fill color for neutral/no-trade zone.
Bearish Zone Color Color Maroon (90% transparent) Fill color for bearish zone.
Core Calculations
Zones:
Bullish Zone = between DH and LTL
Bearish Zone = between DL and STL
Neutral Zone = between LTL and STL
Reset Behavior: At the start of each new daily session, old lines are deleted and fresh ones are drawn.
Usage Example
A trader sets:
(DH–DL)% below High = 20%
(DH–DL)% above Low = 20%
If today’s DH = 1000 and DL = 900 (Range = 100):
Bullish threshold = 1000 – (100 × 20%) = 980
Bearish threshold = 900 + (100 × 20%) = 920
Zones:
Bullish Zone: 980 → 1000
Neutral Zone: 920 → 980
Bearish Zone: 900 → 920
This creates clear trade zones for scalpers or intraday directional traders.
Practical Application
Trend Confirmation: If price sustains in the bullish zone, bias stays long.
Weakness Detection: Price falling into the bearish zone signals short opportunities.
Neutral Play: Avoid trades or expect sideways action inside the neutral zone.
Limitations
Works on instruments with clear daily highs/lows (equities, futures, FX).
May repaint levels intraday until the daily high/low is confirmed.
Zones depend on daily volatility—very narrow ranges may cause zones to overlap.
Globex Trap w/ percentage [SLICKRICK]Globex Trap w/ Percentage
Overview
The Globex Trap w/ Percentage indicator is a powerful tool designed to help traders identify high-probability trading opportunities by analyzing price action during the Globex (overnight) session and regular trading hours. By combining Globex session ranges with Supply & Demand zones, this indicator highlights potential "trap" areas where significant price reactions may occur. Additionally, it calculates the Globex session range as a percentage of the daily Average True Range (ATR), providing valuable context for assessing market volatility.
This indicator is ideal for traders in futures markets or other instruments traded during Globex sessions, offering a visual and analytical edge for spotting key price levels and potential reversals or breakouts.
Key Features
Globex Session Tracking:
Visualizes the high and low of the Globex session (default: 3:00 PM to 6:30 AM PST) with customizable time settings.
Displays a semi-transparent box to mark the Globex range, with labels for "Globex High" and "Globex Low."
Calculates the Globex range as a percentage of the daily ATR, displayed as a label for quick reference.
Supply & Demand Zones:
Identifies Supply & Demand zones during regular trading hours (default: 6:00 AM to 8:00 AM PST) with customizable time settings.
Draws semi-transparent boxes to highlight these zones, aiding in the identification of key support and resistance areas.
Trap Area Identification:
Highlights potential trap zones where Globex ranges and Supply & Demand zones overlap, indicating areas where price may reverse or consolidate due to trapped traders.
Customizable Settings:
Adjust Globex and Supply & Demand session times to suit your trading preferences.
Toggle visibility of Globex and Supply & Demand zones independently.
Customize box colors for better chart readability.
Set the lookback period (default: 10 days) to control how many historical zones are displayed.
Configure the ATR length (default: 14) for the percentage calculation.
PST Timezone Default:
All times are based on Pacific Standard Time (PST) by default, ensuring accurate session tracking for users in this timezone or those aligning with U.S. West Coast market hours.
Recommended Usage
Timeframes: Best used on 1-hour charts or lower (e.g., 15-minute, 5-minute) for precise entry and exit points.
Markets: Optimized for futures (e.g., ES, NQ, CL) and other instruments traded during Globex sessions.
Historical Data: Ensure at least 10 days of historical data for optimal visualization of zones.
Strategy Integration: Use the indicator to identify potential reversals or breakouts at Globex highs/lows or Supply & Demand zones. The ATR percentage provides context for whether the Globex range is significant relative to typical daily volatility.
How It Works
Globex Session:
Tracks the high and low prices during the user-defined Globex session (default: 3:00 PM to 6:30 AM PST).
When the session ends, a box is drawn from the start to the end of the session, capturing the high and low prices.
Labels are placed at the midpoint of the session, showing "Globex High," "Globex Low," and the range as a percentage of the daily ATR (e.g., "75.23% of Daily ATR").
Supply & Demand Zones:
Tracks the high and low prices during the user-defined regular trading hours (default: 6:00 AM to 8:00 AM PST).
Draws a box to mark these zones, which often act as key support or resistance levels.
ATR Percentage:
Calculates the Globex range (high minus low) and divides it by the daily ATR to express it as a percentage.
This metric helps traders gauge whether the overnight price movement is significant compared to the instrument’s typical volatility.
Time Handling:
Uses PST (UTC-8) for all time calculations, ensuring accurate session timing for users aligning with this timezone.
Properly handles overnight sessions that cross midnight, ensuring seamless tracking.
Input Settings
Globex Session Settings:
Show Globex Session: Enable/disable Globex session visualization (default: true).
Globex Start/End Time: Set the start and end times for the Globex session (default: 3:00 PM to 6:30 AM PST).
Globex Box Color: Customize the color of the Globex session box (default: semi-transparent gray).
Supply & Demand Zone Settings:
Show Supply & Demand Zone: Enable/disable zone visualization (default: true).
Zone Start/End Time: Set the start and end times for Supply & Demand zones (default: 6:00 AM to 8:00 AM PST).
Zone Box Color: Customize the color of the zone box (default: semi-transparent aqua).
General Settings:
Days to Look Back: Number of historical days to display zones (default: 10).
ATR Length: Period for calculating the daily ATR (default: 14).
Notes
All times are in Pacific Standard Time (PST). Adjust the start and end times if your market operates in a different timezone or if you prefer different session windows.
The indicator is optimized for instruments with active Globex sessions, such as futures. Results may vary for non-24/5 markets.
A typo in the label "Globe Low" (should be "Globex Low") will be corrected in future updates.
Ensure your TradingView chart is set to display sufficient historical data to view the full lookback period.
Why Use This Indicator?
The Globex Trap w/ Percentage indicator provides a unique combination of session-based range analysis, Supply & Demand zone identification, and volatility context via the ATR percentage. Whether you’re a day trader, swing trader, or scalper, this tool helps you:
Pinpoint key price levels where institutional traders may act.
Assess the significance of overnight price movements relative to daily volatility.
Identify potential trap zones for high-probability setups.
Customize the indicator to fit your trading style and market preferences.
Strat Failed 2-Up/2-Down Scanner v2**Strat Failed 2-Up/2-Down Scanner**
The Strat Failed 2-Up/2-Down Scanner is designed for traders using The Strat methodology, developed by Rob Smith, to identify key reversal patterns in any market and timeframe. This indicator detects two specific candlestick patterns: Failed 2-Up (bearish) and Failed 2-Down (bullish), which signal potential reversals when a directional move fails to follow through.
**What It Does**
- **Failed 2-Up**: Identifies a bearish candle where the low and high are higher than the previous candle’s low and high, but the close is below the open, indicating a failed attempt to continue an uptrend. These are marked with a red candlestick, a red downward triangle above the bar, and a table entry.
- **Failed 2-Down**: Identifies a bullish candle where the high and low are lower than the previous candle’s high and low, but the close is above the open, signaling a failed downtrend. These are marked with a green candlestick, a green upward triangle below the bar, and a table entry.
- A table in the top-right corner displays the signal type ("Failed 2-Up" or "Failed 2-Down") and the ticker symbol for quick reference.
- Alerts are provided for both patterns, making the indicator compatible with TradingView’s screener for automated scanning.
**How It Works**
The indicator analyzes each candlestick’s high, low, and close relative to the previous candle:
- Failed 2-Up: `low > low `, `high > high `, `close < open`.
- Failed 2-Down: `high < high `, `low < low `, `close > open`.
When these conditions are met, the indicator applies visual markers (colored bars and triangles) and updates the signal table. Alert conditions trigger notifications for integration with TradingView’s alert system.
**How to Use**
1. Apply the indicator to any chart (stocks, forex, crypto, etc.) on any timeframe (e.g., 1-minute, hourly, daily).
2. Monitor the chart for red (Failed 2-Up) or green (Failed 2-Down) candlesticks with corresponding triangles.
3. Check the top-right table for the latest signal and ticker.
4. Set alerts by selecting “Failed 2-Up Detected” or “Failed 2-Down Detected” in TradingView’s alert menu to receive notifications (e.g., via email or app).
5. Use the signals to identify potential reversal setups in conjunction with other Strat-based analysis, such as swing levels or time-based strategies.
**Originality**
Unlike other Strat indicators that may focus on swing levels or complex candlestick combinations, this scanner specifically targets Failed 2-Up and Failed 2-Down patterns with clear, minimalist visualizations (bars, triangles, table) and robust alert functionality. Its simplicity makes it accessible for both novice and experienced traders using The Strat methodology.
**Ideal For**
Day traders, swing traders, and scalpers looking to capitalize on reversal signals in trending or ranging markets. The indicator is versatile for any asset class and timeframe, enhancing trade decision-making with The Strat’s pattern-based approach.
MaxAlgo - HTF Bias TableHTF Bias Tracker
Overview
The HTF Bias Tracker is a custom indicator designed to help traders monitor higher time frame (HTF) market biases while trading on lower time frames. It provides a clear visual table displaying the bias (bullish, bearish, mixed, or neutral) based on whether the current HTF candle has broken the high or low of the previous HTF candle. Additionally, it shows the current candle's condition (bullish or bearish based on close relative to open). This tool is particularly useful for multi-timeframe analysis, allowing traders to align lower time frame entries with higher time frame trends without switching charts.
The indicator does not generate buy/sell signals but offers contextual bias information to inform trading decisions. It is built for flexibility, supporting up to 5 customizable time frames (default: 1H, 4H, Daily, Weekly, Monthly) and can be used on any chart time frame.
How It Works
For each selected higher time frame (HTF):
Bias Calculation (H/L Break Column):
The indicator checks if the current HTF candle's high has exceeded the previous HTF candle's high (bullish break) or if the low has fallen below the previous HTF candle's low (bearish break).
Bullish: Current high > previous high (no low break).
Bearish: Current low < previous low (no high break).
Mixed: Both high and low breaks occur.
Neutral: No breaks yet. In this case, the text is colored based on the last completed break from the prior candle (green for bullish, red for bearish, orange for mixed) to maintain context.
Candle Condition (Candle Column):
Determines if the current HTF candle is bullish (close > open) or bearish (close <= open).
The results are displayed in a table with arrows (↑ for bullish, ↓ for bearish, ↔ for mixed) and color-coded text for quick readability.
The bias updates in real-time as the HTF candle develops, but final confirmation occurs at the HTF candle close.
This logic is rooted in price action principles: breaking a previous candle's extreme often indicates momentum. For example, historical data across various markets shows that when a candle takes the low of the previous candle, there's approximately a 70% probability it closes bearish (and vice versa for highs closing bullish). This can help gauge the likelihood of trend continuation, but results vary by asset, time frame, and market conditions—always backtest for your setup.
Features
Customizable Time Frames: Select up to 5 HTFs via inputs (e.g., "60" for 1H, "D" for Daily). Leave blank to disable.
Table Display: A compact table shows TF, H/L Break bias, and Candle condition. Includes headers for clarity.
Visual Enhancements: Color-coded text (green for bullish, red for bearish, orange for mixed, gray for neutral without prior bias). Arrows provide at-a-glance direction.
User Options:
Table Background Color: Adjust transparency and color for better visibility.
Table Position: Choose from 9 positions (e.g., Bottom Right default).
Border Width (Padding): Increase for more spacing around the table (min 0).
No Overlays: The indicator appears as a non-overlay pane, keeping your chart clean.
Supports all symbols and time frames, but best on lower TFs (e.g., 1m-15m) for monitoring HTFs.
How to Use It
Add to Chart: Search for "HTF Bias Tracker" in TradingView's indicator library and add it to your chart.
Configure Inputs: Set your desired HTFs, position, and colors.
Interpret the Table:
Look for alignment across multiple HTFs (e.g., multiple "Bullish ↑" biases suggest upward momentum).
Use the H/L Break as a directional filter: Enter long trades only when HTF bias is bullish or neutral with a prior bull break.
Combine with Candle Condition for confirmation: A bearish bias with a bearish candle might signal short opportunities.
Trading Example:
On a 1m chart, if the 1H bias shows "Bearish ↓" (low of previous 1H broken), there's ~70% chance the 1H closes lower. Wait for lower TF pullbacks to enter shorts, aligning with the HTF downtrend.
For scalping: If Daily is "Bullish ↑" but 4H is "Neutral ↓" (prior bear break), consider fading minor pullbacks but avoid counter-trend trades.
Risk Management: Always use stop-losses based on recent highs/lows and position size appropriately. This indicator aids bias assessment but should be combined with other tools like support/resistance or oscillators.
Strategy Ideas:
Trend Alignment: Trade in the direction of the majority HTF biases.
Breakout Confirmation: When a break occurs, monitor for volume or price action confirmation on your trading TF.
Reversion Plays: In ranging markets, a "Mixed ↔" bias might signal indecision—avoid trades until resolution.
Backtest the probability edge (e.g., via Pine Script strategies) to quantify performance in your markets.
Limitations and Disclaimer
The ~70% probability mentioned is a general observation from historical price action studies (e.g., across forex and indices); it is not a guarantee and should be verified with your own data. No backtesting results are provided here—users are encouraged to test independently.
The indicator relies on request.security() for HTF data, which may have minor delays in real-time.
This is not financial advice. Trading involves risk, and past performance does not predict future results. Use at your own discretion and consult a professional advisor if needed.
Transfer Function Filter [theUltimator5]The Transfer Function Filter is an engineering style approach to transform the price action on a chart into a frequency, then filter out unwanted signals using Butterworth-style filter approach.
This indicator allows you to analyze market structure by isolating or removing different frequency components of price movement—similar to how engineers filter signals in control systems and electrical circuits.
🔎 Features
Four Filter Types
1) Low Pass Filter – Smooths price data, highlighting long-term trends while filtering out short-term noise. This filter acts similar to an EMA, removing noisy signals, resulting in a smooth curve that follows the price of the stock relative to the filter cutoff settings.
Real world application for low pass filter - Used in power supplies to provide a clean, stable power level.
2) High Pass Filter – Removes slow-moving trends to emphasize short-term volatility and rapid fluctuations. The high pass filter removes the "DC" level of the chart, removing the average price moves and only outputting volatility.
Real world application for high pass filter - Used in audio equalizers to remove low-frequency noise (like rumble) while allowing higher frequencies to pass through, improving sound clarity.
3) Band Pass Filter – Allows signals to plot only within a band of bar ranges. This filter removes the low pass "DC" level and the high pass "high frequency noise spikes" and shows a signal that is effectively a smoothed volatility curve. This acts like a moving average for volatility.
Real world application for band pass filter - Radio stations only allow certain frequency bands so you can change your radio channel by switching which frequency band your filter is set to.
4) Band Stop Filter – Suppresses specific frequency bands (cycles between two cutoffs). This filter allows through the base price moving average, but keeps the high frequency volatility spikes. It allows you to filter out specific time interval price action.
Real world application for band stop filter - If there is prominent frequency signal in the area which can cause unnecessary noise in your system, a band stop filter can cancel out just that frequency so you get everything else
Configurable Parameters
• Cutoff Periods – Define the cycle lengths (in bars) to filter. This is a bit counter-intuitive with the numbering since the higher the bar count on the low-pass filter, the lower the frequency cutoff is. The opposite holds true for the high pass filter.
• Filter Order – Adjust steepness and responsiveness (higher order = sharper filtering, but with more delay).
• Overlay Option – Display Low Pass & Band Stop outputs directly on the price chart, or in a separate pane. This is enabled by default, plotting the filters that mimic moving averages directly onto the chart.
• Source Selection – Apply filters to close, open, high, low, or custom sources.
Histograms for Comparison
• BS–LP Histogram – Shows distance between Band Stop and Low Pass filters.
• BP–HP Histogram – Highlights differences between Band Pass and High Pass filters.
Histograms give the visualization of a pseudo-MACD style indicator
Visual & Informational Aids
• Customizable colors for each filter line.
• Optional zero-line for histogram reference.
• On-chart info table summarizing active filters, cutoff settings, histograms, and filter order.
📊 Use Cases
Trend Detection – Use the Low Pass filter to smooth noise and follow underlying market direction.
Volatility & Cycle Analysis – Apply High Pass or Band Pass to capture shorter-term patterns.
Noise Suppression – Deploy Band Stop to remove specific choppy frequencies.
Momentum Insight – Watch the histograms to spot divergences and relative filter strength.
FX4M by fx4_livingFX4M Simplified by fx4_living
1. Previous Period Framework
Selectable Period: Prior Daily, Weekly, or Monthly.
Range Box: Full high-to-low span of the prior period, shaded by up/down close.
Body Box: Open-to-close section within the range box.
High/Low Lines: Horizontal lines at the previous period’s high/low.
Equilibrium Line: Midpoint between the previous high and low.
2. Intraday Opening Lines
Plots reference price lines for:
Daily Open
(00:00 New York) Midnight Open
09:30 AM Open
13:30 PM Open
Current-Hour Open; plus Weekly/Monthly Opens when Weekly/Monthly is selected.
Each line has its own color, style, and time/price label.
3. Intraday High/Low Tracking
Marks the current day’s highest and lowest prices.
“D-H” and “D-L” labels with time in tooltip.
4. Accumulation Range
Definition: First one-third of the selected reference period.
Shows full range (high-to-low) and body (open-to-close), shaded by up/down close.
After it ends, the Accumulation High/Low/EQ are drawn as horizontal lines.
Optional alerts mark the first time the Accumulation High or Low is reached.
5. Accumulation Range Deviation Levels
After the Accumulation period ends, horizontal levels are drawn at ±0.5, ±1.0, ±1.5 … ±3.5 of the Accumulation range size from its High/Low. Optional small labels show the level value.
Optional alerts mark the first time each deviation level is reached.
6. Previous Period Hit Detection
Marks the first time price reaches the prior period’s High, Low, or Equilibrium during the current period.
Optional alerts are possible.
7. Pre-Market Zone
Marks 05:00–06:59 New York time with a shaded box and dotted midline; color reflects up/down close. The midline can extend forward.
Displayed on intraday charts up to 15 minutes.
8. Status Table
Daily High (time & price)
Daily Equilibrium (current deviation % and price)
Daily Low (time & price)
MWD Institutional order flow (optional): shows Daily/Weekly/Monthly closes vs. their respective opens (directional arrows in colored cells).
Customizable Watermark (optional).
Enjoy
fx4_living
Key Session Levels (KUUUMZ)
📜 Summary
Tired of manually drawing the same key levels every single trading day? The KUUMZ-Key Session Levels indicator automates this entire process, plotting the most critical intraday and previous day levels directly on your chart. This tool provides a clean, dynamic framework of potential support and resistance zones, allowing you to focus on your trading strategy, not on chart setup.
Built for day traders and scalpers of US equities, this indicator helps you instantly visualize the market's structure from the moment the session begins.
🎯 Key Levels Plotted
This indicator automatically identifies and draws horizontal lines for the following session levels:
Previous Day High (PDH) & Low (PDL): The highest and lowest points of the prior trading day, which often act as major psychological support and resistance magnets.
Pre-Market High & Low (PMH/PML): The range established during the pre-market session (4:00 - 9:30 AM ET). A breakout from this range can often signal the initial directional bias.
5-Minute Opening Range High & Low (OR5): The high and low of the first 5 minutes of the regular session (9:30 - 9:35 AM ET). A crucial level for opening range breakout (ORB) strategies.
15-Minute Opening Range High & Low (OR15): The high and low of the first 15 minutes (9:30 - 9:45 AM ET), providing a slightly broader view of the initial balance area.
📈 How to Use This Indicator
These levels are fundamental to many intraday trading strategies:
Support & Resistance: Watch how price reacts as it approaches these levels. A bounce or rejection can signal a potential reversal, while a clean break can indicate continuation.
Breakout Trading: A strong, high-volume move through one of these levels (e.g., breaking above the Pre-Market High) can be an entry signal for a breakout trade.
Market Context: Quickly gauge market sentiment. Is the price trading above or below the previous day's range? Is it trapped within the opening range? These levels provide immediate context to the current price action.
Setting Targets & Stops: Use these levels to set logical profit targets or place stop-loss orders. For example, if you go long on a breakout of the 5-min OR, the Pre-Market High or Previous Day High could be your first target.
⚙️ Features & Customization
The script is designed to be flexible and clean, allowing you to tailor it to your specific charting style.
Toggle Any Level: Enable or disable any set of levels (Previous Day, Pre-Market, etc.) to reduce clutter.
Full Style Control: Customize the Color, Width, and Style (Solid, Dotted, Dashed) for each pair of high/low lines independently.
Optional Labels: A master switch allows you to show or hide all price labels (like "PDH", "PM Low", etc.) with a single click.
Automatic & Dynamic: Levels are calculated and drawn in real-time as each session concludes and are automatically cleared and reset for the next trading day.