Momentum Trail Oscillator [AlgoAlpha]🟠 OVERVIEW
This script builds a Momentum Trail Oscillator designed to measure directional momentum strength and dynamically track shifts in trend bias using a combination of smoothed price change calculations and adaptive trailing bands. The oscillator aims to help traders visualize when momentum is expanding or contracting and to identify transitions between bullish and bearish conditions.
🟠 CONCEPTS
The core idea combines two methods. First, the script calculates a normalized momentum measure by smoothing price changes relative to their absolute values, which creates a bounded oscillator that highlights whether moves are directional or choppy. Second, it uses a trailing band mechanism inspired by volatility stops, where bands adapt to the oscillator’s volatility, adjusting the thresholds that define a shift in directional bias. This dual approach seeks to address both the magnitude and persistence of momentum, reducing false signals in ranging markets.
🟠 FEATURES
The momentum calculation applies Hull Moving Averages and double EMA smoothing to price changes, producing a smooth, responsive oscillator.
The trailing bands are derived by offsetting a weighted moving average of the oscillator by a multiple of recent momentum volatility. A directional state variable tracks whether the oscillator is above or below the bands, updating when the momentum crosses these dynamic thresholds.
Overbought and oversold zones are visually marked between fixed levels (+30/+40 and -30/-40), with color fills to highlight when momentum is in extreme areas. The script plots signals on both the oscillator pane and optionally overlays markers on the main price chart for clarity.
🟠 USAGE
To use the indicator, apply it to any symbol and timeframe. The “Oscillator Length” controls how sensitive the momentum line is to recent price changes—lower values react faster, higher values smooth out noise. The “Trail Multiplier” sets how far the adaptive bands sit from the oscillator mid-line, which affects how often trend state changes occur. When the momentum line rises into the upper filled area and then crosses back below +40, it signals potential overbought exhaustion. The opposite applies for the oversold zone below -40. The plotted trailing bands switch visibility depending on the current directional state: when momentum is trending up, the lower band acts as the active trailing stop, and when trending down, the upper band becomes active. Trend changes are marked with circular symbols when the direction variable flips, and optional overlay arrows appear on the price chart to highlight overbought or oversold reversals. Traders can combine these signals with their own price action or volume analysis to confirm entries or exits.
Göstergeler ve stratejiler
Uptrick: Universal Z-Score ValuationOverview
The Uptrick: Universal Z-Score Valuation is a tool designed to help traders spot when the market might be overreacting—whether that’s on the upside or the downside. It does this by combining the Z-scores of multiple key indicators into a single average, letting you see how far the current market conditions have stretched away from “normal.” This average is shown as a smooth line, supported by color-coded visuals, signal markers, optional background highlights, and a live breakdown table that shows the contribution of each indicator in real time. The focus here is on spotting potential reversals, not following trends. The indicator works well across all timeframes and asset classes, from fast intraday charts like the 1-minute and 5-minute, to higher timeframes such as the 4-hour, daily, or even weekly. Its universal design makes it suitable for any market — whether you're trading crypto, stocks, forex, or commodities.
Introduction
To understand what this indicator does, let’s start with the idea of a Z-score. In simple terms, a Z-score tells you how far a number is from the average of its recent history, measured in standard deviations. If the price of an asset is two standard deviations above its mean, that means it’s statistically “rare” or extended. That doesn’t guarantee a reversal—but it suggests the move is unusual enough to pay attention.
This concept isn’t new, but what this indicator does differently is apply the Z-score to a wide set of market signals—not just price. It looks at momentum, volatility, volume, risk-adjusted performance, and even institutional price baselines. Each of those indicators is normalized using Z-scores, and then they’re combined into one average. This gives you a single, easy-to-read line that summarizes whether the entire market is behaving abnormally. Instead of reacting to one indicator, you’re reacting to a statistically balanced blend.
Purpose
The goal of this script is to catch turning points—places where the market may be topping out or bottoming after becoming overstretched. It’s built for traders who want to fade sharp moves rather than follow trends. Think of moments when price explodes upward and starts pulling away from every moving average, volume spikes, volatility rises, and RSI shoots up. This tool is meant to spot those situations—not just when price is stretched, but when multiple different indicators agree that something is overdone.
Originality and Uniqueness
Most indicators that use Z-scores only apply them to one thing—price, RSI, or maybe Bollinger Bands. This one is different because it treats each indicator as a contributor to the full picture. You decide which ones to include, and the script averages them out. This makes the tool flexible but also deeply informative.
It doesn’t rely on complex or hidden math. It uses basic Z-score formulas, applies them to well-known indicators, and shows you the result. What makes it unique is the way it brings those signals together—statistically, visually, and interactively—so you can see what’s happening in the moment with full transparency. It’s not trying to be flashy or predictive. It’s just showing you when things have gone too far, too fast.
Inputs and Parameters
This indicator includes a wide range of configurable inputs, allowing users to customize which components are included in the Z-score average, how each indicator is calculated, and how results are displayed visually. Below is a detailed explanation of each input:
General Settings
Z-Score Lookback (default: 100): Number of bars used to calculate the mean and standard deviation for Z-score normalization. Larger values smooth the Z-scores; smaller values make them more reactive.
Bar Color Mode (default: None): Determines how bars are visually colored. Options include: None: No candle coloring applied. - Heat: Smooth gradient based on the Z-score value. - Latest Signal: Applies a solid color based on the most recent buy or sell signal
Boolean - General
Plot Universal Valuation Line (default: true): If enabled, plots the average Z-score (zAvg) line in the separate pane.
Show Signals (default: true): Displays labels ("𝓤𝓹" for buy, "𝓓𝓸𝔀𝓷" for sell) when zAvg crosses above or below user-defined thresholds.
Show Z-Score Table (default: true): Displays a live table listing each enabled indicator's Z-score and the current average.
Select Indicators
These toggles enable or disable each indicator from contributing to the Z-score average:
Use VWAP Z-Score (default: true)
Use Sortino Z-Score (default: true)
Use ROC Z-Score (default: true)
Use Price Z-Score (default: true)
Use MACD Histogram Z-Score (default: false)
Use Bollinger %B Z-Score (default: false)
Use Stochastic K Z-Score (default: false)
Use Volume Z-Score (default: false)
Use ATR Z-Score (default: false)
Use RSI Z-Score (default: false)
Use Omega Z-Score (default: true)
Use Sharpe Z-Score (default: true)
Only enabled indicators are included in the average. This modular design allows traders to tailor the signal mix to their preferences.
Indicator Lengths
These inputs control how each individual indicator is calculated:
MACD Fast Length (default: 12)
MACD Slow Length (default: 26)
MACD Signal Length (default: 9)
Bollinger Basis Length (default: 20): Used to compute the Bollinger %B.
Bollinger Deviation Multiplier (default: 2.0): Standard deviation multiplier for the Bollinger Band calculation.
Stochastic Length (default: 14)
ATR Length (default: 14)
RSI Length (default: 14)
ROC Length (default: 10)
Zones
These thresholds define key signal levels for the Z-score average:
Neutral Line Level (default: 0): Baseline for the average Z-score.
Bullish Zone Level (default: -1): Optional intermediate zone suggesting early bullish conditions.
Bearish Zone Level (default: 1): Optional intermediate zone suggesting early bearish conditions.
Z = +2 Line Level (default: 2): Primary threshold for bearish signals.
Z = +3 Line Level (default: 3): Extreme bearish warning level.
Z = -2 Line Level (default: -2): Primary threshold for bullish signals.
Z = -3 Line Level (default: -3): Extreme bullish warning level.
These zone levels are used to generate signals, fill background shading, and draw horizontal lines for visual reference.
Why These Indicators Were Merged
Each indicator in this script was chosen for a specific reason. They all measure something different but complementary.
The VWAP Z-score helps you see when price has moved far from the volume-weighted average, often used by institutions.
Sortino Ratio Z-score focuses only on downside risk, which is often more relevant to traders than overall volatility.
ROC Z-score shows how fast price is changing—strong momentum may burn out quickly.
Price Z-score is the raw measure of how far current price has moved from its mean.
RSI Z-score shows whether momentum itself is stretched.
MACD Histogram Z-score captures shifts in trend strength and acceleration.
%B (Bollinger) Z-score indicates how close price is to the upper or lower volatility envelope.
Stochastic K Z-score gives a sense of how high or low price is relative to its recent range.
Volume Z-score shows when trading activity is unusually high or low.
ATR Z-score gives a read on volatility, showing if price movement is expanding or contracting.
Sharpe Z-score measures reward-to-risk performance, useful for evaluating trend quality.
Omega Z-score looks at the ratio of good returns to bad ones, offering a more nuanced view of efficiency.
By normalizing each of these using Z-scores and averaging only the ones you turn on, the script creates a flexible, balanced view of the market’s statistical stretch.
Calculations
The core formula is the standard Z-score:
Z = (current value - average) / standard deviation
Every indicator uses this formula after it’s calculated using your chosen settings. For example, RSI is first calculated as usual, then its Z-score is calculated over your selected lookback period. The script does this for every indicator you enable. Then it averages those Z-scores together to create a single value: zAvg. That value is plotted and used to generate visual cues, signals, table values, background color changes, and candle coloring.
Sequence
Each selected indicator is calculated using your custom input lengths.
The Z-score of each indicator is computed using the shared lookback period.
All active Z-scores are added up and averaged.
The resulting zAvg value is plotted as a line.
Signal conditions check if zAvg crosses user-defined thresholds (default: ±2).
If enabled, the script plots buy/sell signal labels at those crossover points.
The candle color is updated using your selected mode (heatmap or signal-based).
If extreme Z-scores are reached, background highlighting is applied.
A live table updates with each individual Z-score so you know what’s driving the signal.
Features
This script isn’t just about stats—it’s about making them usable in real time. Every feature has a clear reason to exist, and they’re all there to give you a better read on market conditions.
1. Universal Z-Score Line
This is your primary reference. It reflects the average Z-score across all selected indicators. The line updates live and is color-coded to show how far it is from neutral. The further it gets from 0, the brighter the color becomes—cyan for deeply oversold conditions, magenta for overbought. This gives you instant feedback on how statistically “hot” or “cold” the market is, without needing to read any numbers.
2. Signal Labels (“𝓤𝓹” and “𝓓𝓸𝔀𝓷”)
When the average Z-score drops below your lower bound, you’ll see a "𝓤𝓹" label below the bar, suggesting potential bullish reversal conditions. When it rises above the upper bound, a "𝓓𝓸𝔀𝓷" label is shown above the bar—indicating possible bearish exhaustion. These labels are visually clear and minimal so they don’t clutter your chart. They're based on clear crossover logic and do not repaint.
3. Real-Time Z-Score Table
The table shows each indicator's individual Z-score and the final average. It updates every bar, giving you a transparent breakdown of what’s happening under the hood. If the market is showing an extreme average score, this table helps you pinpoint which indicators are contributing the most—so you’re not just guessing where the pressure is coming from.
4. Bar Coloring Modes
You can choose from three modes:
None: Keeps your candles clean and untouched.
Heat: Applies a smooth gradient color based on Z-score intensity. As conditions become more extreme, candle color transitions from neutral to either cyan (bullish pressure) or magenta (bearish pressure).
Latest Signal: Applies hard coloring based on the most recent signal—greenish for a buy, purple for a sell. This mode is great for tracking market state at a glance without relying on a gradient.
Every part of the candle is colored—body, wick, and border—for full visibility.
5. Background Highlighting
When zAvg enters an extreme zone (typically above +2 or below -2), the background shifts color to reflect the market’s intensity. These changes aren’t overwhelming—they’re light fills that act as ambient warnings, helping you stay aware of when price might be reaching a tipping point.
6. Customizable Zone Lines and Fills
You can define what counts as neutral, overbought, and oversold using manual inputs. Horizontal lines show your thresholds, and shaded regions highlight the most extreme zones (+2 to +3 and -2 to -3). These lines give you visual structure to understand where price currently stands in relation to your personal reversal model.
7. Modular Indicator Control
You don’t have to use all the indicators. You can enable or disable any of the 12 with a simple checkbox. This means you can build your own “blend” of market context—maybe you only care about RSI, price, and volume. Or maybe you want everything on. The script adapts accordingly, only averaging what you select.
8. Fully Customizable Sensitivity and Lengths
You can adjust the Z-score lookback length globally (default 100), and tweak individual indicator lengths separately. This lets you tune the indicator’s responsiveness to suit your trading style—slower for longer swings, faster for scalping.
9. Clean Integration with Any Chart Layout
All visual elements are designed to be informative without taking over your chart. The coloring is soft but clear, the labels are readable without being huge, and you can turn off any feature you don’t need. The indicator can work as a full dashboard or as a simple line with a couple of alerts—it’s up to you.
10. Precise, Real-Time Signal Logic
The crossover logic for signals is exact and only fires when the Z-score moves across your defined boundary. No estimation, no delay. Everything is calculated based on current and previous bar data, and nothing repaints or back-adjusts.
Conclusion
The Universal Z-Score Valuation indicator is a tool for traders who want a clear, unbiased way to detect overextension. Instead of relying on a single signal, you get a composite of several market perspectives—momentum, volatility, volume, and more—all standardized into a single view. The script gives you the freedom to control the logic, the visuals, and the components. Whether you use it as a confirmation tool or a primary signal source, it’s designed to give you clarity when markets become chaotic.
Disclaimer
This indicator is for research and educational use only. It does not constitute financial advice or guarantees of performance. All trading involves risk, and users should test any strategy thoroughly before applying it to live markets. Use this tool at your own discretion.
COG GravityBased on the COG concept by veryfid — but shown directly on the chart instead of an oscillator pane.
Long Entry
Price crosses above the COG line, and
Price is above the SMA
COG velocity is rising (momentum is building)
Short Entry
Price crosses below the COG line, and
Price is below the SMA
COG velocity is falling (momentum is weakening)
Feel free to modify the script and let me know ☺️
Step Channel Momentum Trend [ChartPrime]OVERVIEW
Step Channel Momentum Trend is a momentum-based price filtering system that adapts to market structure using pivot levels and ATR volatility. It builds a dynamic channel around a stepwise midline derived from swing highs and lows. The system colors price candles based on whether price remains inside this channel (low momentum) or breaks out (strong directional flow). This allows traders to clearly distinguish ranging conditions from trending ones and take action accordingly.
⯁ STRUCTURAL MIDLNE (STEP CHANNEL CORE)
The midline acts as the backbone of the trend system and is based on structure rather than smoothing.
Calculated as the average of the most recent confirmed Pivot High and Pivot Low.
The result is a step-like horizontal line that only updates when new pivot points are confirmed.
This design avoids lag and makes the line "snap" to recent structural shifts.
It reflects the equilibrium level between recent bullish and bearish control.
snapshot
This unique step logic creates clear regime shifts and prevents noise from distorting trend interpretation.
⯁ DYNAMIC VOLATILITY BANDS (ATR FILTERING)
To detect momentum strength, the script constructs upper and lower bands using the ATR (Average True Range):
The distance from the midline is determined by ATR × multiplier (default: 200-period ATR × 0.6).
These bands adjust dynamically to volatility, expanding in high-ATR environments and contracting in calm markets.
The area between upper and lower bands represents a neutral or ranging market state.
Breakouts outside the bands are treated as significant momentum shifts.
snapshot
This filtering approach ensures that only meaningful breakouts are visually emphasized — not every candle fluctuation.
⯁ MOMENTUM-BASED CANDLE COLORING
The system visually transforms price candles into momentum indicators:
When price (hl2) is above the upper band, candles are green → bullish momentum.
snapshot
When price is below the lower band, candles are red → bearish momentum.
snapshot
When price is between the bands, candles are orange → low or no momentum (range).
snapshot
The candle body, wick, and border are all colored uniformly for visual clarity.
This gives traders instant feedback on when momentum is expanding or fading — ideal for breakout, pullback, or trend-following strategies.
⯁ PIVOT-BASED SWING ANCHORS
Each confirmed pivot is plotted as a label ⬥ directly on the chart:
snapshot
They also serve as potential manual entry zones, SL/TP anchors, or confirmation points.
⯁ MOMENTUM STATE LABEL
To reinforce the current market mode, a live label is displayed at the most recent candle:
Displays either:
“Momentum Up” when price breaks above the upper band.
snapshot
“Momentum Down” when price breaks below the lower band.
snapshot
“Range” when price remains between the bands.
snapshot
Label color matches the candle color for quick identification.
Automatically updates on each bar close.
This helps discretionary traders filter trades based on market phase.
USAGE
Use the green/red zones to enter with momentum and ride trending moves.
Use the orange zone to stay out or fade ranges.
The step midline can act as a breakout base, pullback anchor, or bias reference.
Combine with other indicators (e.g., order blocks, divergences, or volume) to build high-confluence systems.
CONCLUSION
Step Channel Momentum Trend gives traders a clean, adaptive framework for identifying trend direction, volatility-based breakouts, and ranging environments — all from structural logic and ATR responsiveness. Its stepwise midline provides clarity, while its dynamic color-coded candles make momentum shifts impossible to miss. Whether you’re scalping intraday momentum or managing swing entries, this tool helps you trade with the market’s rhythm — not against it.
Doji Ashi v2.0Doji Ashi v2.0
A versatile intraday trading indicator designed for both stocks and crypto, based on real trader feedback and tested principles.
...
Introduction & Acknowledgements
This script was made possible thanks to the ongoing feedback and live testing by the TradingView and Reddit communities. Special thanks to:
Nathan_Drake_000
Disastrous-Stand4613
Lalelulilo_ph
Jtri25
Each provided insights that directly shaped the filters, presets, and signal logic found in this release.
Much of the philosophy behind this indicator is inspired by the free Reddit PDF:
The Damn Wiki
I highly recommend reading it to better understand the edge this indicator is trying to provide.
...
What is Doji Ashi v2.0?
This indicator is designed for short-term intraday momentum trading, offering Buy and Sell signals based on a refined combination of filters including:
Trend alignment with daily SMAs
Momentum confirmation using EMA 3/8 cross
Relative volume to identify activity spikes
VWAP positioning to confirm trend consistency
Time filters to avoid unreliable early market chop
It adapts dynamically depending on whether you’re trading Stocks or Crypto, with appropriate filters toggled automatically.
...
How the Script Works
Core Logic:
A Buy signal appears when:
The price is in an uptrend (via SMAs)
VWAP and volume confirm momentum
EMA 3 crosses above EMA 8
Relative strength is strong (if enabled)
Market opens past first 30 mins
A Sell signal appears when:
The asset shows weakness across these same filters, in reverse
You’ll see green “BUY” or red “SELL” markers on your chart instantly when the full condition set is met. This script does not repaint.
Entry Logic Options:
Choose between:
"Cross" mode: Signals appear on 3/8 EMA crossover
"Above/Below" mode: Persistent signal while 3 EMA stays above/below 8 EMA
...
Strategy for Consistent Gains
This script works best on liquid stocks such as LUNR, ASTS and PLUG. It also works with Crypto. Make sure you choose the correct indicator setup type (Stocks or Crypto) in the setting before testing.
If you don't see any signals the default settings may be too strict for your chosen stock. Have a play with the settings to find the right balance for you. The default settings follow the strategy below for what I believe are currently the best results.
Alerts for buy/sell signals can be set from the alerts menu. For best results, make sure you set the alert to action on close of bar.
This indicator is most effective when:
Used with liquid stocks or crypto
Entries are confirmed with VWAP, not counter-trend
Signals are filtered by volume spikes and trend direction
Example strategy:
Buy a Call when you see a BUY signal with high volume, in an uptrend
Exit on a cross back to VWAP (the orange line) or a quick 1% profit
Do the opposite with PUTs on a SELL signal
This is ideal for quick day trades (scalps or trend moves), and avoids the choppy, uncertain zones at market open.
...
Optimizing via Settings
There are additional, stricter filters in the settings. Please adapt to your preference.
Presets:
Stocks (Default): Applies all filters but lets you disable them as needed
Crypto: Disables stock-specific filters (SPY comparison, RS, Daily trend)
Filters:
Daily Trend Filter: Helps align trades with higher timeframe direction (recommended ON for stocks)
Market Trend & RS: Filters based on SPY and relative performance (test enabling for SPY-following tickers)
VWAP Entry Filter: Keeps you from fighting the dominant intraday trend
Ignore First 30 Minutes: Avoids false signals at the open
Experiment with toggling filters ON/OFF to match your asset class and volatility conditions.
...
Finally
The best way to master this indicator is to understand the trading mindset it came from.
Read The Damn Wiki — it’s free, comprehensive, and packed with wisdom that this script distills into a usable tool.
If you would like to adapt this indicator you are very welcome to do so. All I ask in return is that you share your findings with the wider community.
...
Happy trading. May your entries be sharp and your exits cleaner.
~ @SassyStonks
GlocksFibsA modded Version of AlgoAlphas fib script. reworked it into my fib set. same rules apply 868 924 entry. first tp 50% mark. using it to help speed up my charting process overall. This is by far one of the best ones ive found that wont print the fib weird once the new numbers are in. all credits to AlgoAlpha and this gem they made!
Hull MA Cloud with Buy/Sell LabelsThis is an adaptable HULL MA that you can change the settings and I would suggest to start with 9 and 49, and lower for scalping to something like 4 and 16. The formula used in this indicator makes use of a square root function. This means that perfect square numbers – 4, 9, 16, 25, 49, 81, are an ideal choice of setting for the length parameter of the indicator.
It is not generally advisable to employ the Hull MA in ‘moving average crossover’ type strategies, but use this with additional TA and indicators for trend.
This indicator also has additional SMA/EMA you can use as needed.
The buy and sell code is taken from an existing trading view script from user (www.tradingview.com) that I found was really well done and can be tweaked by adjusting the swing period to increase or decrease the signals. Please see his page and script for more details.
Play around with this script, change the HULL MA as it will be dependent on the commodity you are trading and time frame as well as the buy and sell to optimize the performance.
I would suggest adding 200 SMA and use a trend following strategy.
I know this code is not perfect and I will continue to see how it can be improved.
[Mad]Triple Bollinger Bands ForecastTriple Bollinger Bands Forecast (BBx3+F)
This open-source indicator is an advanced version of the classic Bollinger Bands, designed to provide a more comprehensive and forward-looking view of market volatility and potential price levels.
It plots three distinct sets of Bollinger Bands and projects them into the future based on statistical calculations.
How It Is Built and Key Features
Triple Bollinger Bands: Instead of a single set of bands, this indicator plots three. All three share the same central basis line (a Simple Moving Average), but each has a different standard deviation multiplier. This creates three distinct volatility zones for analyzing price deviation from its mean.
Multi-Timeframe (MTF) Capability: The indicator can calculate and display Bollinger Bands from a higher timeframe (e.g., showing daily bands on a 4-hour chart). This allows for contextualizing price action within the volatility structure of a more significant trend.
(Lower HTF selection will result in script-crash!)
Future Forecasting: This is the indicator's main feature. It projects the calculated Bollinger Bands up to 8 bars into the future. This forecast is a recalculation of the Simple Moving Average and Standard Deviation based on a projected future source price.
Selectable Forecast Methods: The mathematical model for estimating the future source price can be selected:
Flat: A model that uses the most recent closing price as the price for all future bars in the calculation window.
Linreg (Linear Regression): A model that calculates a linear regression trend on the last few bars and projects it forward to estimate the future source price.
Efficient Drawing with Polylines: The future projections are drawn on the chart using Pine Script's polyline object. This is an efficient method that draws the forecast data only on the last bar, which avoids repainting issues.
Differences from a Classical Bollinger Bands Indicator
Band Count: A classical indicator shows one set of bands. This indicator plots three sets for a multi-layered view of volatility.
Perspective: Classical Bollinger Bands are purely historical. This indicator is both historical and forward-looking .
Forecasting: The classic version has no forecasting capability. This indicator projects the bands into the future .
Timeframe: The classic version works only on the current timeframe. This indicator has full Multi-Timeframe (MTF) support .
The Mathematics Behind the Future Predictions
The core challenge in forecasting Bollinger Bands is that a future band value depends on future prices, which are unknown. This indicator solves this by simulating a future price series. Here is the step-by-step logic:
Forecast the Source Price for the Next Bar
First, the indicator estimates what the price will be on the next bar.
Flat Method: The forecasted price is the current bar's closing price.
Price_forecast = close
Linreg Method: A linear regression is calculated on the last few bars and extrapolated one step forward.
Price_forecast = ta.linreg(close, linreglen, 1)
Calculate the Future SMA (Basis)
To calculate the Simple Moving Average for the next bar, a new data window is simulated. This window includes the new forecasted price and drops the oldest historical price. For a 1-bar forecast, the calculation is:
SMA_future = (Price_forecast + close + close + ... + close ) / length
Calculate the Future Standard Deviation
Similarly, the standard deviation for the next bar is calculated over this same simulated window of prices, using the new SMA_future as its mean.
// 1. Calculate the sum of squared differences from the new mean
d_f = Price_forecast - SMA_future
d_0 = close - SMA_future
// ... and so on for the rest of the window's prices
SumOfSquares = (d_f)^2 + (d_0)^2 + ... + (d_length-2)^2
// 2. Calculate future variance and then the standard deviation
Var_future = SumOfSquares / length
StDev_future = sqrt(Var_future)
Extending the Forecast (2 to 8 Bars)
For forecasts further into the future (e.g., 2 bars), the script uses the same single Price_forecast for all future steps in the calculation. For a 2-bar forecast, the simulated window effectively contains the forecasted price twice, while dropping the two oldest historical prices. This provides a statistically-grounded projection of where the Bollinger Bands are likely to form.
Usage as a Forecast Extension
This indicator's functionality is designed to be modular. It can be used in conjunction with as example Mad Triple Bollinger Bands MTF script to separate the rendering of historical data from the forward-looking forecast.
Configuration for Combined Use:
Add both the Mad Triple Bollinger Bands MTF and this Triple Bollinger Bands Forecast indicator to your chart.
Open the Settings for this indicator (BBx3+F).
In the 'General Settings' tab, disable the Activate Plotting option.
To ensure data consistency, the Bollinger Length, Multipliers, and Higher Timeframe settings should be identical across both indicators.
This configuration prevents the rendering of duplicate historical bands. The Mad Triple Bollinger Bands MTF script will be responsible for visualizing the historical and current bands, while this script will overlay only the forward-projected polyline data.
Fair Value GapsFair Value Gaps Indicator
The Fair Value Gaps (FVG) Indicator is a sleek, lightweight tool designed to identify and display unfilled fair value price gaps on any chart and timeframe. It dynamically updates as price moves into gaps, shrinking the displayed area to show only the remaining unfilled portion until the gap is fully closed. With a user-friendly settings panel, traders can customize visuals to suit their style, including a minimalist version.
Features
When a valid FVG is detected through a three-candle pattern, a box appears, highlighting the precise gap range. As price enters the gap, the box adjusts to reflect the remaining unfilled area, and when fully filled, the gap is deleted, allowing new gaps to appear. The settings panel offers robust customization for a tailored experience.
Preset Styles :
Custom : Define your own color and zone extension settings. (Default)
Blue Boxes : Blue gaps with 85% transparency and zones extended to the right.
Minimalist Yellow : Yellow gaps with 75% transparency, confined to the original gap area on the candlestick.
Color : Change the gap color and transparency.
Extend FVG Zone : Enable or disable zone extension to the right.
Show Borders : Toggle subtle borders on or off for enhanced visibility.
Maximum FVGs Displayed : Change the number of gaps displayed on the chart.
Thank you for your interest in my work. I use these fair value gaps as part of my trade trigger for many of my trade entries almost every day. If you have any comments, bugs, or suggestions, please leave them here, or you can find me on Twitter or Discord.
@ ContrarianIRL
Open-source developer for over 25 years
💰 Volume Spike Detector - by TenAMTrader💰 Volume Spike Detector – by TenAMTrader
Overview
This indicator helps you spot potential trading opportunities by identifying volume spikes—a common precursor to strong market moves. When a candle's volume exceeds the average volume of the past sessions by a defined percentage (default 25%), a 💰 emoji will appear beneath the bar on your chart.
How to Use It:
Look for the 💰 money sign plotted below candles—these mark when the current volume is significantly higher than usual.
Use these signals to confirm price action setups, trend reversals, or breakout entries.
Combine with support/resistance or other indicators for higher conviction.
Settings & Customization
Spike Ratio %: The percentage above average volume required to trigger a signal (default: 25%).
Trading Period: The number of past bars used to calculate average volume (default: 21).
Enable Alert: Toggle on/off if you want to be alerted when a spike happens.
How to Set Up Alerts
After adding the script to your chart, click the "Alerts" icon.
Choose the condition: Volume Spike Alert.
Set frequency: Once per bar close or Once per bar.
Save and activate to be notified of incoming volume surges.
⚠️ Disclaimer
This indicator is for educational and informational purposes only. It does not constitute financial advice or a recommendation to buy or sell any security. Always perform your own due diligence and risk management. The creator of this script, TenAMTrader, is not liable for any losses incurred from using this tool.
Multi Horizontal Lines 1000 Bars
This indicator is not my code, I have copied this from another user and extened the lines so they go back 1000 bars for back testing.
I use this indicator to trade Crude Oil and set the horizontal lines to 20 cents increments, 0.2 is 20 cents. You can change the horizontal lines to any price distance to suit your style of trading.
My idea is when price crosses over a horizontal line I will enter a trade long or short looking to secure 20 cents.
Future is hereOverview
"Future is Here" is an original, multi-faceted Pine Script indicator designed to provide traders with a comprehensive toolset for identifying high-probability trading opportunities. By integrating volatility-based entry zones, trend-based price targets, momentum confirmation, dynamic support/resistance levels, and risk-reward ratio (RRR) calculations, this indicator offers a cohesive and actionable trading framework. Each feature is carefully designed to complement the others, ensuring a synergistic approach that enhances decision-making across various market conditions. This script is unique in its ability to combine these elements into a single, streamlined interface with clear visual cues and customizable alerts, making it suitable for both novice and experienced traders.
Key Features and How They Work Together
Volatility-Based Entry Zones
Purpose: Identifies overbought and oversold conditions using a volatility-adjusted moving average, helping traders spot potential reversal zones.
Mechanism: Utilizes a user-defined volatility length and multiplier to calculate dynamic overbought/oversold thresholds based on the standard deviation of price. Crossovers and crossunders of these levels trigger "Buy Zone" or "Sell Zone" labels.
Synergy: These zones act as the foundation for entry signals, which are later confirmed by momentum and trend filters to reduce false signals.
Trend-Based Price Targets
Purpose: Projects potential price targets based on the prevailing trend, giving traders clear objectives for profit-taking.
Mechanism: Combines a fast and slow moving average to determine trend direction, then calculates target prices using a multiplier of the price deviation from the slow MA. Labels display bullish or bearish targets when the fast MA crosses the slow MA.
Synergy: Works in tandem with entry zones and momentum signals to align targets with market conditions, ensuring traders aim for realistic price levels supported by trend strength.
Momentum Confirmation
Purpose: Validates entry signals by assessing momentum strength, filtering out weak setups.
Mechanism: Uses the momentum indicator to detect bullish or bearish momentum crossovers, labeling them as "Strong" or "Weak" based on a comparison with a smoothed momentum average.
Synergy: Enhances the reliability of buy/sell signals by ensuring momentum aligns with volatility zones and trend direction, reducing the risk of premature entries.
Dynamic Support/Resistance Levels
Purpose: Highlights key price levels where the market is likely to react, aiding in trade planning and risk management.
Mechanism: Detects pivot highs and lows over a user-defined lookback period, drawing horizontal lines for the most recent support and resistance levels (limited to two each for clarity). Labels mark these levels with price values.
Synergy: Complements entry zones and price targets by providing context for potential reversal or continuation points, helping traders set logical stop-losses or take-profits.
Buy/Sell Signals with Risk-Reward Ratios
Purpose: Generates precise buy/sell signals with integrated take-profit (TP), stop-loss (SL), and RRR calculations for disciplined trading.
Mechanism: Combines volatility zone crossovers, trend confirmation, and positive momentum to trigger signals. ATR-based TP and SL levels are calculated, and the RRR is displayed in labels for quick assessment.
Synergy: This feature ties together all previous components, ensuring signals are only generated when volatility, trend, and momentum align, while providing clear risk-reward metrics for trade evaluation.
Customizable Alerts
Purpose: Enables traders to stay informed of trading opportunities without constant chart monitoring.
Mechanism: Alert conditions are set for buy and sell signals, delivering notifications with the entry price for seamless integration into trading workflows.
Synergy: Enhances usability by allowing traders to act on high-probability setups identified by the indicator’s combined logic.
Originality
"Future is Here" is an original creation that distinguishes itself through its holistic approach to technical analysis. Unlike single-purpose indicators, it integrates volatility, trend, momentum, and support/resistance into a unified system, reducing the need for multiple scripts. The inclusion of RRR calculations directly in signal labels is a unique feature that empowers traders to evaluate trade quality instantly. The script’s design emphasizes clarity and efficiency, with cooldowns to prevent label clutter and a limit on support/resistance lines to maintain chart readability. This combination of features, along with its customizable parameters, makes it a versatile and novel tool for traders seeking a robust, all-in-one solution.
How to Use
Setup: Add the indicator to your TradingView chart and adjust input parameters (e.g., Volatility Length, Trend Length, TP/SL Multipliers) to suit your trading style and timeframe.
Interpretation:
Look for "Buy Zone" or "Sell Zone" labels to identify potential entry points.
Confirm entries with "Bull Mom" or "Bear Mom" labels and trend direction (Bull/Bear Target labels).
Use Support/Resistance lines to set logical TP/SL levels or anticipate reversals.
Evaluate Buy/Sell signals with TP, SL, and RRR for high-probability trades.
Alerts: Set up alerts for Buy/Sell signals to receive real-time notifications.
Customization: Fine-tune multipliers and lengths to adapt the indicator to different markets (e.g., stocks, forex, crypto) or timeframes.
Market Structure by HorizonAIThis indicator shows market structure with BOS and CHoCH, also Order block and FVG.
Sonic R + Regression + Supertrend sonic R , polynomial regession , super trend . i love you , i love you
Doji Ashi v2.0 (with SL & TP levels)This is a version of @SassyStonks Doji Ashi v2.0 that includes ATR based SL levels with adjustable R:R TP levels.
What is Doji Ashi v2.0?
This indicator is designed for short-term intraday momentum trading, offering Buy and Sell signals based on a refined combination of filters including:
Trend alignment with daily SMAs
Momentum confirmation using EMA 3/8 cross
Relative volume to identify activity spikes
VWAP positioning to confirm trend consistency
Time filters to avoid unreliable early market chop
It adapts dynamically depending on whether you’re trading Stocks or Crypto, with appropriate filters toggled automatically.
...
How the Script Works
Core Logic:
A Buy signal appears when:
The price is in an uptrend (via SMAs)
VWAP and volume confirm momentum
EMA 3 crosses above EMA 8
Relative strength is strong (if enabled)
Market opens past first 30 mins
A Sell signal appears when:
The asset shows weakness across these same filters, in reverse
You’ll see green “BUY” or red “SELL” markers on your chart instantly when the full condition set is met. This script does not repaint.
Entry Logic Options:
Choose between:
"Cross" mode: Signals appear on 3/8 EMA crossover
"Above/Below" mode: Persistent signal while 3 EMA stays above/below 8 EMA
...
Strategy for Consistent Gains
This script works best on liquid stocks such as LUNR, ASTS and PLUG. It also works with Crypto. Make sure you choose the correct indicator setup type (Stocks or Crypto) in the setting before testing.
If you don't see any signals the default settings may be too strict for your chosen stock. Have a play with the settings to find the right balance for you. The default settings follow the strategy below for what I believe are currently the best results.
Alerts for buy/sell signals can be set from the alerts menu. For best results, make sure you set the alert to action on close of bar.
This indicator is most effective when:
Used with liquid stocks or crypto
Entries are confirmed with VWAP, not counter-trend
Signals are filtered by volume spikes and trend direction
Example strategy:
Buy a Call when you see a BUY signal with high volume, in an uptrend
Exit on a cross back to VWAP (the orange line) or a quick 1% profit
Do the opposite with PUTs on a SELL signal
This is ideal for quick day trades (scalps or trend moves), and avoids the choppy, uncertain zones at market open.
...
Optimizing via Settings
There are additional, stricter filters in the settings. Please adapt to your preference.
Presets:
Stocks (Default): Applies all filters but lets you disable them as needed
Crypto: Disables stock-specific filters (SPY comparison, RS, Daily trend)
Filters:
Daily Trend Filter: Helps align trades with higher timeframe direction (recommended ON for stocks)
Market Trend & RS: Filters based on SPY and relative performance (test enabling for SPY-following tickers)
VWAP Entry Filter: Keeps you from fighting the dominant intraday trend
Ignore First 30 Minutes: Avoids false signals at the open
Experiment with toggling filters ON/OFF to match your asset class and volatility conditions.
...
Finally
The best way to master this indicator is to understand the trading mindset it came from.
Read The Damn Wiki — it’s free, comprehensive, and packed with wisdom that this script distills into a usable tool.
If you would like to adapt this indicator you are very welcome to do so. All I ask in return is that you share your findings with the wider community.
...
Happy trading. May your entries be sharp and your exits cleaner.
~ @SassyStonks
Opening Candle Indicator V3
Details of this release:
1. Add an alert with two conditions:
- Price breaks the highest candlestick opening and closing above it.
- Price breaks the VWAP indicator value.
2. Integrate the VWAP indicator and the 200 EMA with the main indicator.
3. Display buy and sell signals based on specific conditions related to the VWAP breakout.
4. Increase target lines to five.
5. Most importantly, I added custom windows in the settings to apply the indicator to other markets based on adding the opening and closing times for any market with a daily opening and closing time.
Important note: The second buy signal, which comes after a sell signal appears, is based on two conditions: a close above the high of the previous sell signal and a close above VWAP
Warning - Buy or sell signals are only warning signals and the user is responsible for evaluating and studying this signal.
تفاصيل هذا الإصدار:
1-أضفت تنبيه يحتوي على شرطين
-إختراق السعر الأعلى لشمعة الإفتتاح والإغلاق فوقها.
-إختراق السعر لقيمة مؤشر vwap.
2-دمج مؤشر vwap والمتوسط الأسي 200 مع المؤشرالرئيسي
3- إظهار إشارات الشراء والبيع بشروط معينة مرتبطة بإختراق vwap
4-زيادة خطوط الأهداف إلى خمس.
5- وهي الأهم أضفت نوافذ مخصصة في الاعدادت لتطبيق المؤشر على الأسواق الأخرى بناء على إضافة وقت الإفتتاح والإغلاق لأي سوق له وقت إفتتاح ووقت إغلاق يومي.
ملاحظة مهمة:إشارة الشراء الثانية والتي تأتي بعد ظهور إشارة بيع وضعت بناء على شرطين وهما الاغلاق فوق الاعلى لإشارة البيع السابقة والاغلاق فوق مؤشر VWAP
تحذير-إشارات الشراء أو البيع ليست إلا إشارات تحذيرية والمستخدم هو المسئول عن تقييم ودراسة هذه الإشارة
TPO[Fixed Range, Anchored, Bars Back]TPO Bars Back, Fixed Range and Anchored
Overview
The TPO Profile (Time Price Opportunity Profile) is a powerful market profile indicator that displays the amount of time price spent at different levels during a specified period. Unlike traditional volume profile indicators that show volume distribution, TPO Profile shows time distribution , providing insights into where price has spent the most time and identifying key support and resistance levels.
Key Advantages Over TradingView's Built-in TPO
Simplified Composite Creation : Automatically creates TPO profiles for any time range without manual split/merge operations
Instant Value Area Calculation : Immediately shows Value Area, POC, VAH, and VAL for your selected period
No Manual Assembly Required : TradingView's native TPO requires you to manually split sessions and merge them to create composites - this indicator does it automatically
Flexible Time Ranges : Create composites for any custom time period (multiple days, weeks, specific events) with a few clicks
Real-time Composite Updates : Anchor mode creates live composites that update as new data arrives
Multiple Composite Analysis : Easily compare different time periods without the tedious manual process
Key Features
Core Functionality
Time-Based Analysis : Shows time spent at each price level rather than volume
Configurable Time Blocks : Use any timeframe for TPO counting (30min, 1H, 4H, etc.)
Multiple Price Levels : Adjustable from 5 to 200 levels for granular analysis
Point of Control (POC) : Automatically identifies the price level with highest time activity
Value Area Calculation : Shows the price range containing 70% (configurable) of time activity
Automatic Composite Generation : Creates multi-session composites without manual intervention
Three Operating Modes
1. Bars Back Mode
Analyzes the last N bars from the current bar
Perfect for recent market activity analysis
Range: 10-500 bars
Use Case : Intraday analysis, recent session review
2. Fixed Range Mode
Analyzes a specific time period between start and end times
Ideal for historical analysis of specific events
Creates perfect composites for multi-day periods
Use Case : Earnings periods, news events, specific trading sessions, weekly/monthly composites
3. Anchor Mode (NEW)
Starts from a specific time and extends to the current bar
Dynamically updates as new bars form
Perfect for building live composites from any starting point
Use Case : Live session monitoring, event-based analysis from a specific point, growing composites
Visual Elements
TPO Bars
Horizontal bars showing time distribution at each price level
Longer bars = more time spent at that level
Color-coded to distinguish Value Area from outlying levels
Point of Control (POC)
Red line marking the price level with highest time activity
Most significant support/resistance level
Configurable line style (Solid/Dashed/Dotted) and width
Value Area High/Low (VAH/VAL)
Green and Orange lines marking the boundaries of the Value Area
Shows the price range containing the specified percentage of time activity
Optional display with customizable line styles
Single Print Detection
Identifies price levels touched by only one time block
Display options: Lines or Boxes
Purple color highlighting these significant levels
Often act as strong support/resistance in future trading
Customization Options
Time Block Configuration
Block Time : Choose timeframe for TPO counting (30min, 1H, 4H, etc.)
Allows analysis at different time granularities
Higher timeframes = broader perspective, Lower timeframes = finer detail
Visual Styling
Line Styles : Solid, Dashed, or Dotted for all line elements
Line Widths : 1-5 pixels for POC, VAH, and VAL lines
Colors : Fully customizable colors for all elements
Transparency : Adjustable transparency for better chart readability
Label Management
Show/Hide Labels : Toggle POC, VAH, VAL labels
Font Sizes : Tiny, Small, Normal, Large, Huge
Label Positioning : 8 different position options relative to lines
Offset Controls : Fine-tune label positioning
Line Extension
Level Offset Right : Controls how far lines extend
Smart extension logic:
Value ≤ 0: Infinite extension (extend.right)
Value ≥ 1: Extends exactly N bars ahead
Trading Applications
Support & Resistance
POC often acts as strong support/resistance
Value Area boundaries provide key levels
Single prints frequently become significant levels
Market Structure Analysis
Identify areas of price acceptance (thick TPO bars)
Spot areas of price rejection (thin TPO bars)
Understand where market participants are comfortable trading
Composite Profile Analysis
Create multi-day, weekly, or monthly composites instantly
Compare different composite periods without manual work
Analyze longer-term price acceptance levels
Build composites around specific events or announcements
Session Analysis
Monitor intraday session development in real-time
Compare different sessions (London, New York, Asia)
Track how profiles change throughout the trading day
Build live composites across multiple sessions
Event Analysis
Use Fixed Range mode for earnings, news events
Use Anchor mode to track price development from specific events
Compare pre/post event price acceptance levels
Create event-based composites automatically
Input Parameters
Mode Selection
Mode : Bars Back | Fixed Range | Anchor
Bars Back : Number of bars to analyze (10-500)
Start Time : Beginning time for Fixed Range and Anchor modes
End Time : Ending time for Fixed Range mode only
Analysis Configuration
Block Time : Timeframe for TPO blocks (e.g., "30" for 30-minute blocks)
TPO Levels : Number of price levels (5-200)
Value Area % : Percentage for Value Area calculation (50-95%)
Display Options
Show POC : Display Point of Control line
Show Value Area : Display Value Area box
Show VAH/VAL Lines : Display Value Area boundary lines
Show Single Prints : Display single print detection
Single Print Style : Lines or Boxes
Styling Controls
Colors : TPO, POC, Value Area, VAH, VAL, Single Print colors
Line Styles : POC, VAH, VAL line styles
Line Widths : POC, VAH, VAL line widths
Labels : Show/hide, font size, position, offset controls
Technical Details
Calculation Method
Divides the price range into equal levels based on TPO Levels setting
For each time block, determines which price levels it crosses
Adds +1 count to each crossed level
Identifies POC as the level with highest count
Calculates Value Area by expanding from POC until target percentage is reached
Performance Considerations
Historical data limited to prevent buffer overflow errors
Smart bounds checking for different timeframes
Optimized cleanup routines to prevent drawing object accumulation
Pine Script Version
Built on Pine Script v6
Uses modern Pine Script best practices
Efficient array handling and drawing object management
Best Practices
Timeframe Selection
Block Time = Chart Timeframe : Traditional TPO approach
Block Time > Chart Timeframe : Smoother, broader perspective
Block Time < Chart Timeframe : More granular, detailed analysis
Level Count Guidelines
Low levels (10-20) : Better for swing trading, major levels
High levels (50-100) : Better for scalping, precise entries
Very high levels (100+) : For very detailed analysis
Mode Selection
Bars Back : Daily analysis, recent activity
Fixed Range : Historical events, specific periods, manual composites
Anchor : Live monitoring, event-based analysis, growing composites
Composite Creation Workflow
Select Fixed Range or Anchor mode
Set your desired start time (and end time for Fixed Range)
Adjust TPO Levels for desired granularity
Enable VAH/VAL lines to see Value Area boundaries
The composite profile generates automatically with all key levels
This indicator eliminates the tedious manual process of creating composite TPO profiles in TradingView. Instead of splitting sessions and manually merging them, you get instant composite analysis with automatic Value Area calculation, POC identification, and single print detection. The combination of time-based analysis, multiple operating modes, and extensive customization options makes it a powerful tool for understanding market structure and price acceptance levels across any time period.
Stochastic SuperTrend [BigBeluga]🔵 OVERVIEW
A hybrid momentum-trend tool that combines Stochastic RSI with SuperTrend logic to deliver clean directional signals based on momentum turns.
Stochastic SuperTrend is a straightforward yet powerful oscillator overlay designed to highlight turning points in momentum with high clarity. It overlays a SuperTrend-style envelope onto the Stochastic RSI, generating intuitive up/down signals when a momentum shift occurs across the neutral 50 level. Built for traders who appreciate simplicity without sacrificing reliability.
🔵 CONCEPTS
Stochastic RSI: Measures momentum by applying stochastic calculations to the RSI curve instead of raw price.
SuperTrend Bands: Dynamic upper/lower bands are drawn around the smoothed Stoch RSI line using a user-defined multiplier.
Momentum Direction: Trend flips when the smoothed Stoch RSI crosses above/below the calculated bands.
Neutral Bias Filter: Directional arrows only appear when momentum turns above or below the central 50 level—adding confluence.
🔵 FEATURES
Trend Detection on Oscillator: Applies SuperTrend logic directly to the Stoch RSI curve.
Clean Entry Signals:
→ 🢁 arrow printed when trend flips bullish below 50 (bottom reversals).
→ 🢃 arrow printed when trend flips bearish above 50 (top reversals).
Custom Multiplier: Adjust sensitivity of SuperTrend band spacing around the oscillator.
Neutral Zone Highlight: Visual zone between 0–50 (green) and 50–100 (red) for quick momentum polarity reference.
Toggle SuperTrend Line: Option to show/hide the SuperTrend trail on the Stoch RSI.
🔵 HOW TO USE
Use 🢁 signals for potential bottom reversals when momentum flips bullish from oversold regions.
Use 🢃 signals for potential top reversals when momentum flips bearish from overbought areas.
Combine with price-based SuperTrend or support/resistance zones for confluence.
Suitable for scalping, swing trading, or momentum filtering across all timeframes.
🔵 CONCLUSION
Stochastic SuperTrend is a simple yet refined tool that captures clean momentum shifts with directional clarity. Whether you're identifying reversals, filtering entries, or spotting exhaustion in a trend, this oscillator overlay delivers just what you need— no clutter, just clean momentum structure.
ALP AT + KAMA Crossover This indicator is a powerful combination of two adaptive trend-following concepts: the AlphaTrend by Kivanc Ozbilgic and the Kaufman's Adaptive Moving Average (KAMA), often credited to Perry Kaufman (with the specific implementation based on HPotter's interpretation of KAMA).
The primary goal of this indicator is to provide a robust trend detection and dynamic support/resistance system, adapting to market volatility.
How it Works:
AlphaTrend Component: The green/red line is the AlphaTrend. It dynamically adjusts to market volatility (using ATR) and momentum (using MFI or RSI, configurable). It provides faster signals for trend changes.
KAMA Component: The black line is the Kaufman's Adaptive Moving Average. KAMA is designed to filter out market noise during choppy periods and follow the price closely during trending periods, making it a smoother and more reliable long-term trend indicator.
Color-Coded Trend Zones: The AlphaTrend line is color-coded to visually represent the current market condition based on the price's position relative to both AlphaTrend and KAMA:
Strong Uptrend (Lime Green): Price is above both AlphaTrend and KAMA.
Strong Downtrend (Red): Price is below both AlphaTrend and KAMA.
Uptrend Uncertainty (Orange): Price is above KAMA but below AlphaTrend (suggests consolidation or weakening uptrend).
Downtrend Uncertainty (Blue): Price is below KAMA but above AlphaTrend (suggests consolidation or strengthening downtrend within a downtrend).
Gray: Default/unclassified state.
The underlying logic is based on:
Bullish Crossover (Potential Buy Signal): When the AlphaTrend line crosses above the KAMA line.
Bearish Crossover (Potential Sell Signal): When the AlphaTrend line crosses below the KAMA line.
These crossovers indicate a shift in the adaptive trend momentum.
Customization:
Users can customize various parameters in the indicator's settings, including:
AlphaTrend Multiplier and Common Period.
KAMA Lengths and Alpha values.
All the color codes for different trend zones and lines, allowing for full personalization of the visual output.
Disclaimer:
This indicator is for informational and educational purposes only and should not be considered as financial advice. Trading involves substantial risk, and past performance is not indicative of future results. Always conduct your own thorough research and analysis before making any trading or investment decisions. This indicator is NOT a buy/sell/hold recommendation. Use it as a tool to aid your analysis, not as a sole basis for your trades.
Oscillator SignalsOscillator Signals – Smart Trading with RSI & Stochastic
Stop waiting for false reversals—trade the confirmed moves!
Developed by Marcelo Ulisses Sobreiro Ribeiro
Many traders struggle with the Stochastic Oscillator because it can linger in overbought (OB) or oversold (OS) zones for long periods, leading to premature entries. This script solves that problem by only triggering signals when Stochastic exits these zones, combined with RSI crossovers for higher-confidence trades.
🔹 Key Features:
✅ No More False Alerts – Avoids signals inside OB/OS zones—waits for Stochastic to exit (confirming momentum shift).
✅ RSI + Moving Average Crossovers – Adds a second layer of confirmation when RSI crosses its moving average.
✅ Combined Alerts – Strongest signals occur when:
Stochastic exits oversold (OS) and RSI crosses above its MA (▲ Bullish).
Stochastic exits overbought (OB) and RSI crosses below its MA (▼ Bearish).
✅ Fully Customizable – Adjust lengths, OB/OS levels, and toggle signals.
✅ Built-in Alerts – Never miss a setup.
🔹 Why It Works Better:
Traditional Stochastic signals often fail because price can stay stuck in OB/OS for extended periods. This script ignores entries inside the zones and only acts when:
Stochastic leaves OS (crosses above 20) + RSI confirms uptrend.
Stochastic leaves OB (crosses below 80) + RSI confirms downtrend.
Filters out weak reversals, focusing on high-probability breakouts.
🔹 Ideal For:
Traders tired of "whipsaws" from premature OB/OS entries.
Swing traders seeking confirmed reversals.
Combining with support/resistance for precision.
📌 Pro Tip: Pair this with price action (e.g., breakouts from key levels) for even stronger signals!
Try it now—trade less, profit more! 🚀
Key Improvements:
Problem-Solution Framework: Directly addresses the "Stochastic lingering" issue upfront.
Stronger Emphasis on Confirmation: Highlights how the script waits for OB/OS exits to avoid fakeouts.
Clearer Value Proposition: Positions the script as a filter for higher-quality signals.
Naked DWM LevelsThis indicator shows naked Daily, Weekly, Monthly levels
The indicator will automatically delete levels where the same time frame candle close has crossed one of these levels, when it is no longer naked or tapped by a wick.
These are HTF S/R levels that are highly respected for reversals, or even break and retests.
Enjoy!
Camarilla Pivot LevelsThis script plots Camarilla Pivot Levels directly on your chart, helping you visualize key intraday support and resistance zones based on the prior day’s high, low, and close.
📌 Features:
Auto-plots R1–R6, S1–S6, and the Pivot Point (PP).
Clear color-coded support/resistance lines with labels.
Built for day traders using Camarilla formulas.
Pulls data from the prior day's values on the daily timeframe.
📈 How I Use It (My Strategy):
Each morning:
I draw a manual box around the key pivot levels (R1–R6 / S1–S6) — 1 point above and 1 point below each line.
I look for:
✅ A green candle wick into a lower box (S-levels) → I go long, take profit at the next higher box, stop loss at the bottom box.
🔻 A red candle wick into an upper box (R-levels) → I go short, take profit at the next lower box, stop loss at the top box.
Entry is only valid if the wick touches or enters the box — not if it breaks clean through.
🖼️ See the attached chart image for a live example of the strategy in action.
Market Generated InformationCredits
Original Author: mcthatsme
Remixed to add in London's High and Low
Overview
The Market Generated Information (MGI Levels v2) is a comprehensive technical analysis. It overlays key price levels from daily, weekly, and monthly timeframes on a chart, providing traders with critical market reference points such as Open, High, Low, Close, Volume Weighted Average Price (VWAP), and standard deviation bands. These levels help traders identify potential support, resistance, and pivot points for intraday and longer-term trading strategies. The indicator is highly customizable, allowing users to tailor the displayed levels, colors, line styles, and label settings to their preferences.
Features
Multi-Timeframe Levels: Displays key price levels from daily, weekly, and monthly sessions, including Open, High, Low, Close, VWAP, and VWAP standard deviation bands (SD1, SD2, SD3).
Session-Based Calculations: Supports Regular Trading Hours (RTH) and Extended Trading Hours (ETH) for stocks and futures, with specific session times for New York, London, and overnight sessions.
Customizable Display: Users can toggle the visibility of specific levels, adjust line styles (solid, dashed, dotted), colors, thicknesses, and label settings (size, offset, and price inclusion).
Opening Range and Initial Balance: Plots the Opening Range (default: 9:30–10:00 AM EST) and Initial Balance (default: 9:30–10:30 AM EST) for intraday traders.
Tested Level Tracking: Optionally tracks untested or tested levels, hiding or showing them based on user preferences.
Overnight and T+2 Levels: Includes overnight high/low and T+2 (two days prior) levels for additional context.
VWAP Calculations: Computes VWAP and its standard deviation bands for daily, weekly, and monthly periods.
Holiday and Session Filters: Adjusts for market-specific conditions, such as Good Friday or shortened trading sessions.
Inputs and Customization
The indicator is organized into three main groups: Daily Levels, Weekly Levels, and Monthly Levels. Each group allows users to configure the following:
Visibility: Toggle whether to show levels (e.g., Show Daily Levels, Show Weekly Levels).
Session Times: Define session ranges (e.g., New York RTH: 9:30 AM–4:00 PM EST, Opening Range: 9:30–10:00 AM EST).
Line and Label Settings: Customize line colors, styles (solid, dashed, dotted), thickness, label text size (Tiny, Small, Normal, Large, Huge), label offset, and whether to include price values in labels.
Number of Periods: Specify how many previous days (1–40), weeks (1–20), or months (1–12) to display.
Tested/Untested Levels: Choose to keep untested levels or show tested levels (Open, High, Low, Close).
Timeframe for Calculations: Option to use a 30-second or 1-minute timeframe for Opening Range and Initial Balance calculations to accommodate different TradingView plans.
Key Levels
Daily Levels: Includes Current Day High/Low, Previous Day High/Low, Opening Range High/Mid/Low, Initial Balance High/Mid/Low, Globex Open, RTH Open, Midnight Open, London Open/Close/High/Low, Previous Day 50% (HL2/OC2), T+2 Open/Close/High/Low, Overnight High/Low, RTH Close, 5 PM Close, and VWAP with standard deviation bands.
Weekly Levels: Previous Week High/Low, 50% (HL2/OC2), Current Week Open, Previous Week Close, and VWAP with standard deviation bands.
Monthly Levels: Previous Month High/Low, 50% (HL2/OC2), Current Month Open, Previous Month Close, and VWAP with standard deviation bands.
Troubleshooting
Levels Not Displaying: Check if the timeframe is ≤ 30 minutes for daily levels and ensure session times are correct for your market.
Incorrect Prices: Verify that extended hours are enabled for ETH charts or disabled for RTH-only charts.
Too Many Lines/Labels: Reduce the number of previous days/weeks/months or disable unneeded levels.
Session Errors: Ensure session times are in UTC-5 (New York time) and match your asset’s trading hours.
License
This script is licensed under the Mozilla Public License 2.0. See mozilla.org for details.