Ultimate Custom MTF ScreenerThis indicator will allow you to make your custom TradingView MTF screener without coding. Add it to the chart, select up to 10 instruments, 4 timeframes, and 4 indicators, and the screener will do the rest for you. The indicator will form a lovely table with all values and highlighted signals.
The screener is highly customizable, and you can choose its position on the chart, sorting, order of the columns, and colors for the tables. You can easily change parameters for all supported indicators and their signals.
Currently, there are 21 different custom indicators available. Current list of indicators:
Average Directional Index (ADX) - displaying the value of ADX and checking if it's higher than the threshold
Average True Range (ATR) - showing the value of ATR
Awesome Oscillator (AO) - displaying the value of AO and highlighting positive/negative values.
Bollinger Bands (BB) - showing if the price is above/below/in the channel.
Breakout Pivots - Displaying when the price is below/above the most recent pivot low/high.
Commodity Channel Index (CCI) - shows the last CCI value and highlights overbought/oversold values.
Directional Movement Index (DMI) - Up/Down signal (+DI above or below -DI)
Donchian Channel (DC) - showing if the price is above/below/in the channel.
Heikin Ashi Count (HAC) - What is the current Heikin Ashi candle color and for how long was this color?
Historical Volatility (HV) - Current value of Historical Volatility
Keltner Channel (KC) -showing if the price is above/below/in the channel.
Moving Average Convergence Divergence (MACD) - Up/Down signal (MACD above / below signal)
Moving Average Crossover (MA Cross) - Displaying MA crosses signals (SMA, EMA, WMA, HMA, VWMA, SMMA, DEMA, VWAP supported)
Moving Average Distance (MA DIST) - Displaying distance to the MA (SMA, EMA, WMA, HMA, VWMA, SMMA, DEMA, VWAP supported)
Parabolic Stop and Reverse (PSAR) - Up or Down
Relative Strength Index (RSI) - Displaying the last RSI value and highlighting overbought/oversold values.
Stochastic (STOCH) - Displaying the last Stochastic value and highlighting overbought/oversold values.
Stochastic RSI (STOCH RSI) - Displaying the last Stochastic RSI value and highlighting overbought/oversold values.
SuperTrend - Current state of the SuperTrend.
Trailing Stop-Loss (TSL) - Up or Down
True Strength Index (TSI) - Displaying the last TSI value and highlighting overbought/oversold values.
We're already working on adding a few more supported indicators. If you have any ideas about the indicators you want to see in our screener, contact us, and we'll consider them.
Disclaimer
Please remember that past performance may not be indicative of future results.
Due to various factors, including changing market conditions, the strategy may no longer perform as well as in historical backtesting.
This post and the script don’t provide any financial advice.
Komut dosyalarını "moving average crossover" için ara
Ultimate Custom ScreenerThis indicator will allow you to make your custom TradingView screener without coding. Add it to the chart, select up to 40 symbols and five indicators, and the screener will do the rest for you. The indicator will form a lovely table with all values and highlighted signals.
The screener is highly customizable, and you can choose its position on the chart, sorting, order of the columns, colors for the tables, and all signals separately. You can easily change parameters for all supported indicators and their signals.
Currently, there are 19 different custom indicators available. Current list of indicators:
Average Directional Index (ADX) - displaying the value of ADX and checking if it's higher than the threshold
Average True Range (ATR) - showing the value of ATR
Awesome Oscillator (AO) - displaying the value of AO and highlighting positive/negative values.
Bollinger Bands (BB) - showing if the price is above/below/in the channel.
Breakout Pivots - Displaying when the price is below/above the most recent pivot low/high.
Commodity Channel Index (CCI) - shows the last CCI value and highlights overbought/oversold values.
Directional Movement Index (DMI) - Up/Down signal (+DI above or below -DI)
Donchian Channel (DC) - showing if the price is above/below/in the channel.
Historical Volatility (HV) - Current value of Historical Volatility
Keltner Channel (KC) - showing if the price is above/below/in the channel.
Moving Average Convergence Divergence (MACD) - Up/Down signal (MACD above / below signal)
Moving Average Crossover (MA Cross) - Displaying MA crosses signals (SMA, EMA, WMA, HMA, VWMA, SMMA, DEMA, VWAP supported)
Moving Average Distance (MA DIST) - Displaying distance to the MA (SMA, EMA, WMA, HMA, VWMA, SMMA, DEMA, VWAP supported)
Price - Displaying the last price for the instrument
Relative Strength Index (RSI) - Displaying the last RSI value and highlighting overbought/oversold values.
Stochastic (STOCH) - Displaying the last Stochastic value and highlighting overbought/oversold values.
Stochastic RSI (STOCH RSI) - Displaying the last Stochastic RSI value and highlighting overbought/oversold values.
SuperTrend - Current state of the SuperTrend.
True Strength Index (TSI) - Displaying the last TSI value and highlighting overbought/oversold values.
We're already working on adding a few more supported indicators. If you have any ideas about the indicators you want to see in our screener, contact us, and we'll consider them.
Disclaimer
Please remember that past performance may not be indicative of future results.
Due to various factors, including changing market conditions, the strategy may no longer perform as well as in historical backtesting.
This post and the script don’t provide any financial advice.
Relative Strength Exponential Moving Average [CC]The Relative Strength Exponential Moving Average was created by Vitali Apirine (Stocks and Commodities Jan 2022 pgs 22-25) and this is a handy moving average that combines a typical overbought/oversold mechanic with an overall trend indicator. Even though the typical length is so large it reacts extremely quickly when the stock becomes overbought or oversold. Because of this the indicator by itself doesn't work as well during choppy periods so Vitali recommends using a moving average crossover system during choppy so do one indicator with the default length of 50 and use a different length of 10 so when the shorter length crosses over the longer length then buy and vice versa you would sell. Generally speaking buy when the line turns green and sell when it turns red. I have used strong buy and sell signals in addition to normal signals so strong signals are darker in color and normal signals are lighter in color.
Let me know if there are any other scripts or indicators you would like me to publish!
QuantBot 3:Ultimate MA CrossoverThis is the 3rd indicator of quantbot indicator series.
This the names as ultimate moving average crossover as it considers 9 types of moving averages while generating signals.
The finctionality is pretty basic.
It comes with automated signal processing from tradingview to Indian brokers account via webhook, using our automation setup.
To get the access please text me in the chatbox, ACCESS is given for FREE.
This is purely for charting purpose, if you find it useful please let me know in the comment box below.
If you want me to code any particular strategy please mention this in the comment box.
MA Crossover [Alerts]This is a Moving Average Crossover study .
The study comes with all alerts (Long, Short, Take Profit, and Stop Loss).
A few visuals like Exit Loss and Profit/Loss Boxes have been added as well.
The following Moving Averages are supported:
SMA
EMA
DEMA
TEMA
WMA
VWMA
SMMA
HullMA
LSMA
ALMA
SSMA
TMA
ZLEMA
If you’d like to automate this script you can do that by using AutoView, ProfitView, ProfitTrailer, CryptoHopper etc.
Feel free to leave a comment and share it with your friends. Enjoy!
Hull TrendHere we are using Hull Moving Average crossovers as an experiment in trend detection.
The Hull Moving Average (HMA) is an extremely fast and smooth moving average.
Credit to alexgrover & RicardoSantos:
Edge-Preserving FilterIntroduction
Edge-preserving smoothing is often used in image processing in order to preserve edge information while filtering the remaining signal. I introduce two concepts in this indicator, edge preservation and an adaptive cumulative average allowing for fast edge-signal transition with period increase over time. This filter have nothing to do with classic filters for image processing, those filters use kernels convolution and are most of the time in a spatial domain.
Edge Detection Method
We want to minimize smoothing when an edge is detected, so our first goal is to detect an edge. An edge will be considered as being a peak or a valley, if you recall there is one of my indicator who aim to detect peaks and valley (reference at the bottom of the post) , since this estimation return binary outputs we will use it to tell our filter when to stop filtering.
Filtering Increase By Using Multi Steps Cumulative Average
The edge detection is a binary output, using a exponential smoothing could be possible and certainly more efficient but i wanted instead to try using a cumulative average approach because it smooth more and is a bit more original to use an adaptive architecture using something else than exponential averaging. A cumulative average is defined as the sum of the price and the previous value of the cumulative average and then this result is divided by n with n = number of data points. You could say that a cumulative average is a moving average with a linear increasing period.
So lets call CMA our cumulative average and n our divisor. When an edge is detected CMA = close price and n = 1 , else n is equal to previous n+1 and the CMA act as a normal cumulative average by summing its previous values with the price and dividing the sum by n until a new edge is detected, so there is a "no filtering state" and a "filtering state" with linear period increase transition, this is why its multi-steps.
The Filter
The filter have two parameters, a length parameter and a smooth parameter, length refer to the edge detection sensitivity, small values will detect short terms edges while higher values will detect more long terms edges. Smooth is directly related to the edge detection method, high values of smooth can avoid the detection of some edges.
smooth = 200
smooth = 50
smooth = 3
Conclusion
Preserving the price edges can be useful when it come to allow for reactivity during important price points, such filter can help with moving average crossover methods or can be used as a source for other indicators making those directly dependent of the edge detection.
Rsi with a period of 200 and our filter as source, will cross triggers line when an edge is detected
Feel free to share suggestions ! Thanks for reading !
References
Peak/Valley estimator used for the detection of edges in price.
Short-Term Trend MasterThis is a short-term trend-following trading strategy.
Buy when there is a moving average crossover and green background signal.
Sell when there is a moving average crossover and red background signal.
Try different timeframes to find the best one.
Cheers!
BTC D-AccumulatorBTC D-Accumulator — Adaptive Bitcoin Macro Accumulation System
Overview
BTC D-Accumulator is an advanced Bitcoin-focused accumulation detection and signal generation tool designed for daily timeframe traders and long-term investors. Its main purpose is to help users identify potential macro accumulation zones and market cycle resets with high statistical confidence. By combining on-chain metrics (NUPL, CVDD), adaptive EMA-based trend filtering, and a proprietary math-driven crossover logic, it delivers clear accumulation signals classified into four levels of conviction: AI BUY, BUY, Low Accumulation, and Risky Accumulation.
What It Does
BTC D-Accumulator analyzes BTC price action and market health across several complementary dimensions:
1. On-Chain Valuation Metrics - NUPL (Net Unrealized Profit/Loss) is used to gauge sentiment extremes and potential undervaluation. CVDD (Cumulative Value Days Destroyed) defines probabilistic long-term floor values based on historical spending behavior.
2. Macro Crossover Logic - A custom math-based moving average crossover system dynamically adjusts its periods to the timeframe. Detects major market cycle resets or restarts (AI SELL / AI BUY signals).
3. Dynamic EMA Filtering - Evaluates BTC’s position relative to EMA50, EMA100, and EMA200 to confirm broader trend context and filter signals.
4. Momentum and Mean Reversion Conditions - RSI and smoothed RSI values ensure that signals are only triggered when the market is statistically oversold. A custom dual-line momentum engine measures directional bias and deceleration.
5. Visual Labels & Alerts - Each signal is displayed with a label directly on the chart (AI BUY, BUY, or arrows for other accumulation levels). Built-in alerts allow traders to be notified instantly when accumulation signals appear.
How It Works
BTC D-Accumulator uses the combined state of these components to classify price action into four actionable accumulation signals:
1. AI BUY – Strongest macro accumulation signal triggered by a proprietary math crossover and confirmed by other criteria.
2. BUY – High-probability accumulation signal combining on-chain undervaluation and momentum exhaustion.
3. GREEN ARROW – Moderate accumulation signal triggered when BTC is below major EMAs and shows volatility compression.
4. ORANGE ARROW – Early accumulation attempt during oversold conditions but with less confluence; higher risk.
Result: Signals only appear when multiple valuation, momentum, and trend filters align, improving selectivity and reducing noise.
How To Use It
1. Confirm the Context: Always ensure you are viewing BTC pairs (BTCUSD, BTCUSDT, BTCUSDC) on the Daily timeframe. Assess the overall market trend and sentiment before taking action.
2. Act According to the Signal Type:
-- AI BUY: Indicates a major cycle reset or strong accumulation opportunity; suitable for scaling into long-term positions.
-- BUY: Signals a statistically favorable zone for adding exposure with high confidence.
-- Low Accumulation: Moderate conviction entry; consider using partial position size.
-- Risky Accumulation: Early accumulation in potentially unstable market conditions; requires tighter risk control.
3. Manage Exposure: Use stop losses and scale entries progressively rather than committing all capital at once. Combine with your macro thesis and portfolio objectives.
Why It Is Unique
1. Integrates on-chain valuation metrics (NUPL, CVDD) with adaptive EMA filtering and math-based cycle detection.
2. Designed specifically for Bitcoin daily charts, avoiding false signals in other pairs or timeframes.
3. Provides four clearly classified accumulation signals, enabling flexible strategy deployment across different conviction levels.
4. Includes real-time visual labels and alerts for improved situational awareness and automation.
Apply Risk Management
Never rely exclusively on signals without understanding Bitcoin’s broader context. Maintain a clear risk/reward plan, diversify across entries, and size positions responsibly.
Timeframe Selection
Optimized for the Daily timeframe only. Using lower or higher timeframes will disable or distort signals.
Asset Selection
Only applicable to BTCUSD/BTCUSDT/BTCUSDC
Best Suited For
Bitcoin investors, swing traders, and position traders who want a systematic framework to identify macro accumulation opportunities.
Important Notes
The signals generated by BTC D-Accumulator are intended to support informed decisions, not to replace independent analysis. While the indicator incorporates advanced on-chain and price-based metrics, it does not guarantee outcomes. Use all information in combination with your trading plan and risk management practices.
License
This indicator was developed by the ProphetAlgoAI team. Its use is restricted to TradingView under a private, invite-only agreement. Redistribution or usage outside TradingView is strictly prohibited without explicit authorization from the ProphetAlgoAI team.
Multi-Timeframe MA Breakout/Breakdown Analysis📊 Overview
This sophisticated Pine Script indicator revolutionizes breakout/breakdown analysis by distinguishing between fake and genuine signals using a unique swing-level validation methodology. Unlike traditional moving average crossovers, this system validates price movements against historical swing points, providing traders with high-probability entry and exit signals across multiple timeframes.
🎯 Core Trading Methodology
The Swing Validation Concept:
Traditional MA breakouts often fail because they don't consider the context of previous price action. This indicator solves this by:
Recording swing levels when each MA is initially crossed
Validating subsequent crosses against these historical swing points
Classifying signals as fake or genuine based on this validation
Tracking signal evolution as price action develops
Signal Classification System:
🔻 Breakdown Analysis:
Fake Breakdown: Price cuts below MA but stays above the swing low from previous MA cut
Genuine Breakdown: Price cuts below MA and falls below the swing low from previous MA cut
Validation Chain: EMA 50 validates against EMA 20 swing low, EMA 100 against EMA 50 swing low, EMA 200 against EMA 100 swing low
🔺 Breakout Analysis:
Fake Breakout: Price crosses above MA but stays below the swing high from previous MA cross
Genuine Breakout: Price crosses above MA and exceeds the swing high from previous MA cross
Validation Chain: EMA 50 validates against EMA 20 swing high, EMA 100 against EMA 50 swing high, EMA 200 against EMA 100 swing high
📈 Signal Interpretation Guide
Visual Chart Signals:
Breakdown Signals:
🔻 Orange Triangle Down + "FAKE BREAKDOWN": Potential reversal opportunity - price likely to bounce
🔻 Red Triangle Down + "GENUINE BREAKDOWN": Trend continuation - expect further downside
🔺 Lime Triangle Up + "BULLISH REVERSAL": Strong buy signal after fake breakdown validation
Breakout Signals:
🔺 Orange Triangle Up + "FAKE BREAKOUT": Potential reversal opportunity - price likely to decline
🔺 Dark Red Triangle Up + "GENUINE BREAKOUT": Trend continuation - expect further upside
🔻 Fuchsia Triangle Down + "BEARISH REVERSAL": Strong sell signal after fake breakout validation
Multi-Timeframe Analysis Table:
Signal Column Interpretation:
"FAKE BD" (Orange): Fake breakdown detected - watch for bullish reversal
"GENUINE BD" (Red): Genuine breakdown - bearish continuation likely
"FAKE BO" (Orange): Fake breakout detected - watch for bearish reversal
"GENUINE BO" (Dark Red): Genuine breakout - bullish continuation likely
"BULLISH" (Lime): Bullish reversal confirmed - strong buy signal
"BEARISH" (Fuchsia): Bearish reversal confirmed - strong sell signal
Trend Column:
"BULL" (Green): EMAs in bullish sequence (20>50>100>200)
"BEAR" (Red): EMAs in bearish sequence (20<50<100<200)
"SIDE" (Gray): Sideways/mixed EMA alignment
Status Column:
"Above 200" (Green): Price above 200 EMA - bullish bias
"Below 200" (Red): Price below 200 EMA - bearish bias
"At 200" (Gray): Price at 200 EMA - neutral
💡 Trading Strategies
Strategy 1: Fake Signal Reversal Trading
For Long Entries (Fake Breakdown Reversal):
Wait for fake breakdown signal (orange triangle down)
Confirm bullish reversal (lime triangle up) when price reclaims EMAs
Enter long on bullish reversal confirmation
Stop loss below the swing low that validated the fake breakdown
Target next resistance level or previous swing high
For Short Entries (Fake Breakout Reversal):
Wait for fake breakout signal (orange triangle up)
Confirm bearish reversal (fuchsia triangle down) when price falls below EMAs
Enter short on bearish reversal confirmation
Stop loss above the swing high that validated the fake breakout
Target next support level or previous swing low
Strategy 2: Genuine Signal Trend Following
For Trend Continuation Longs:
Identify genuine breakout (dark red triangle up)
Confirm higher timeframe alignment (4H/1D showing bullish trend)
Enter on pullback to broken resistance (now support)
Stop loss below the validation swing high
Target measured move or next major resistance
For Trend Continuation Shorts:
Identify genuine breakdown (red triangle down)
Confirm higher timeframe alignment (4H/1D showing bearish trend)
Enter on pullback to broken support (now resistance)
Stop loss above the validation swing low
Target measured move or next major support
Strategy 3: Multi-Timeframe Confluence
High-Probability Setups:
Align signals across timeframes (15M signal + 4H trend confirmation)
Look for confluence (multiple timeframes showing same signal type)
Prioritize higher timeframe signals for swing/position trades
Use lower timeframes for precise entry timing
⚠️ Risk Management Rules
Position Sizing:
Fake signal trades: Reduce position size (higher risk, higher reward)
Genuine signal trades: Standard position size (trend following)
Multi-timeframe confluence: Increase position size (higher probability)
Stop Loss Guidelines:
Fake breakdown longs: Stop below validation swing low
Fake breakout shorts: Stop above validation swing high
Genuine signals: Stop beyond the MA that was broken
Reversals: Stop beyond the reversal invalidation level
Take Profit Strategies:
Scale out at key resistance/support levels
Trail stops using the 20 EMA for trend following
Take partial profits at 1:2 risk/reward ratio
Let winners run on strong trend continuation signals
🔧 Best Practices
Signal Validation:
Wait for candle close before acting on signals
Check volume confirmation on breakouts/breakdowns
Consider market context (news, earnings, etc.)
Avoid trading during low liquidity periods
Timeframe Selection:
Scalping: 15M signals with 4H trend filter
Day Trading: 4H signals with 1D trend filter
Swing Trading: 1D signals with 1W trend filter
Position Trading: 1W signals for major moves
Market Conditions:
Trending Markets: Focus on genuine signals for continuation
Range-Bound Markets: Focus on fake signals for reversals
High Volatility: Reduce position sizes and widen stops
Low Volatility: Look for breakout setups with volume
📋 Advanced Tips
Signal Evolution Monitoring:
Watch for signal transitions (fake becoming genuine or vice versa)
Adjust positions when signal classification changes
Use alerts to stay informed of signal updates
Monitor multiple timeframes for comprehensive analysis
Confluence Factors:
Support/Resistance levels at signal points
Volume spikes on genuine signals
RSI divergences with fake signals
Fibonacci retracements at reversal points
Common Pitfalls to Avoid:
Don't chase signals after significant moves
Don't ignore higher timeframe trends
Don't overtrade on every signal
Don't neglect risk management rules
🎯 Quick Reference
Bullish Signals Priority:
Bullish Reversal (Lime) - Highest priority
Fake Breakdown (Orange) - High probability reversal
Genuine Breakout (Dark Red) - Trend continuation
Bearish Signals Priority:
Bearish Reversal (Fuchsia) - Highest priority
Fake Breakout (Orange) - High probability reversal
Genuine Breakdown (Red) - Trend continuation
Multi-Timeframe Hierarchy:
1W: Major trend direction
1D: Intermediate trend and swing levels
4H: Short-term trend and entry timing
15M: Precise entry and exit points
⚡ Pro Tip: The most powerful signals occur when fake signals reverse into genuine signals in the opposite direction, creating high-momentum moves with excellent risk/reward ratios.
Disclaimer: This indicator is for educational purposes. Always combine with proper risk management, additional technical analysis, and fundamental research before making trading decisions. Past performance does not guarantee future results.
Multi-Symbol Cross Indicator Template - Unleash Your Potential!Unlock your full trading potential with this powerful and versatile Multi-Symbol Cross Indicator Template! This script is designed to make you stand out from the crowd by enabling you to monitor multiple symbols on a single chart for specific events, such as a Golden Cross or Death Cross. With its high adaptability to include various technical indicators, you're in complete control of your trading decisions and market analysis.
By using the built-in request.security function, this template fetches data for your chosen symbols from the selected exchange and calculates the conditions (e.g., moving average crossovers) for each symbol. Although the current implementation focuses on Golden Crosses and Death Crosses, the sky is the limit when it comes to modifying the script to incorporate other technical indicators such as RSI, MACD, or Bollinger Bands.
You, as a discerning trader, can easily customize the script by selecting your preferred exchange and symbols through input options. This flexibility allows you to monitor your favorite markets without the need for any direct code modification, giving you the ultimate adaptability for various trading strategies and market analysis purposes.
Remember, this script is more than just an example or template; it's the key to unleashing your inner trading genius. While it's not intended to be a standalone trading strategy, it serves as the foundation for you to build upon and create your own customized multi-symbol indicators or strategies. You are awesome, and with this Multi-Symbol Cross Indicator Template, there's no doubt that you're on the path to achieving great success in your trading journey!
Booz Super SwingBooz Super Swing is an Indicator created for the purpose of identifying trends in Multiple Markets, it is based on Moving Average Crossover and extra features.
Trend Filter: allows you to take multiple entries in the same direction of the market.
If the market crosses below the 200 moving average it will take only short entries.
If the market crosses above the 200 moving average it will take only long entries.
Background Color : at a glance, you can see what cycle the market is in.
Green background : Shows that the market is in a bullish cycle.
Red background: Shows that the market is in a bearish cycle.
Markets : Booz Super Swing can be used and has been tested in Cryptocurrency, Stocks and Futures markets.
Timeframes
Charting from 1 Hour, 4 Hour, Daily, Weekly, Weekly
Weak Point :
Are Sideways Markets
Alarms :
Buy : Allows you to notify and automate entries based on market detection.
Sell : Allows you to notify and automate entries based on market detection.
Martingale TemplateA template example on how to apply the famous Martingale gambling strategy. When your strategy gets an exit signal for your long position that leaves you without profit, you re-enter on the next entry long condition with double the capital of the previous amount entered with. You keep doubling the amount of capital entered with until you finally exit with a profit. If the strategy isn't sound enough then it could take several attempts and it can take only as much as a dozen tries to eat away at all your capital as the capital required to double on the next entry increases greatly over time by consecutive products of 2.
The strategy used is just a simple moving average crossover, above the moving average is going long, below the moving average is going short. It can be replaced with whatever strategy that you want. The colored vertical bars show long and short positions and exits. The default option on the tick box under the settings show the number of attempts at entering before finally exiting with a profit, the other option shows the amount of capital it took starting from 1.
NexTrader v2.1Trading can be a profitable pursuit but it can also be a very risky one.
A lot of traders do not have the time to study the market all day long, which means they don’t have the time to study the patterns that develop over the course of a day or week.
There is a way to trade that overcomes this problem by trading indicators that help you catch the trend in the early stages, something that is all too easy to miss. (The way to do this is to use a trading system based on the previous months average price and the current months average price, that is described in this post.)
Yes, it is possible to trade without indicators. We can argue about how much better it is to trade with trading indicators, but all is better than nothing.
Here in Nextrader we decided to show you how to trade with average* monthly prices. The idea behind this trading indicator is that the average monthly price is a reflection of the price action of the instrument.
Some traders believe that there is a possibility that the price will go back to the average monthly price level. In general, the use of the average monthly price as a trading indicator is not new and is very common among advanced traders.
Everyone is looking for trading indicators that can predict future trends.
This one is based on past prices and goes well across all time frames. It uses the average price for the current month and the average price for the last month to predict future price direction.
The indicator is the result of a simple moving average crossover system.
The fast average(white crosses) is based on the current month price and the slow average(red crosses) is based on the last month price. When the current month price crosses above the previous month price the signal line turns up and indicates a positive trend.
The thing to keep in mind here is that the average is not an indicator of when to buy or sell, but rather a direction signal generator.
The wider distances between two lines the stronger trend direction is. The shorter distance meaning more sideways price action.
* The average is just a mathematical tool that will help you to generate a trading rule.
Patreon Trailing StopThe Patreon trailing stop technical indicator can detect trends, find support and resistance points, filter out noise, and help users make informed decisions easily and in a timely manner. In order to provide an accurate and useful indicator most of the efforts during its development were directed toward the minimization of false signals, thus giving to the indicator the potential to further improve your trading strategies.
The trailing stop integrates visual elements for an easier interpretation of the indicator, and integrate alerts based on the buy/sell signals given by the trailing stop. All the outputs of the indicator can be used as input for other indicators.
Settings
In order to make it easier to use, the indicator only possess three user settings:
Length: Control the sensitivity to price variations, with a higher value aiming to detect longer-term trends.
Factor: A setting that aims to filter out false signals, with a higher value filtering more false signals.
Src: Source input of the indicator, by default set to median price (hl2).
Easily Filter Out False Signals
The Factor setting was carefully implemented to filter out false signals without introducing significant delay.
In green/orange the indicator with a Factor setting of 1, in blue/red the indicator with a Factor setting of 10, both using Length = 50 , we can see that increasing factor remove false signals.
The integrated support and resistance line can also help you spot potential false signals:
When the price cross the S/R line before the occurrence of a signal we could expect the upcoming signal to be false, better signals are given when the price cross the S/R at the same time a signal is produced.
Finally, the distance between the trailing stop and the price when a new signal occurs can also help out determine if this signal is false, as a higher distance between the trailing stop and the price suggest a ranging market.
Entering Trades At A Better Position
Indicators can give false signals at the top or bottom of a movement, the Patreon trailing stop can help you enter trades at a more profitable position thanks to the integrated support and resistance line.
When we have a signal but fear it might be false, we can wait for the price to reach the S/R and enter our trade at that point, this allows us to either make a profit or minimize a loss.
Integrated Adaptive Filter
The indicator integrates a trend adaptive filter (in orange), with it you can:
Filter out noisy variations from the price.
Use it as a fast-moving average in a moving average crossover system.
Use it as input for other technical indicators.
Simple moving average with period 200 using the filter as input.
How To Access
The indicator is one of the "Patreon trend following indicators", and can only be used by my Patreons, you can become a Patreon by using the link on my signature.
Bull/Bear Probability [Anan]Hello Friends,,,
===================================
This indicator is based on Bayes' Theorem and is fully based on probabilities.
===================================
Formula For Bayes' Theorem:
P(Bull|Bear) = P(Bear∣Bull) * P(Bull) / P(Bear)
where:
Bull and Bear are events and P is probability
P(Bull|Bear) is the posterior probability, the probability of Bull after taking into account Bear
P(Bear∣Bull) is the conditional probability or likelihood, the degree of belief in Bear given that proposition of Bull belief (Bull true)
P(Bull) is the prior probability, the probability of Bull belief
P(Bear) is the prior probability, the probability of Bear belief
===================================
The indicator output 2 trend lines and (Bull/Bear) Signal :
Bull/Bear Probability Trend :
when the price is above it = Up Trend
when the price is below it = Down Trend
Bull/Bear Probability Trend Moving Average :
when the price is above it = Up Trend
when the price is below it = Down Trend
(Bull/Bear) Signal :
when Probability Trend Moving Average crossover Probability Trend = Bull Signal
when Probability Trend Moving Average crossunder Probability Trend = Bear Signal
===================================
Disclaimer:
This script is for informational and educational purposes only.
Use of the script does not constitutes professional and/or financial advice.
You alone the sole responsibility of evaluating the script output and risks associated with the use of the script.
===================================
Thanks to my friends dgtrd because he inspired me about probability, take a look at his scripts.
===================================
Ultimate Trader Oscillator - UTO v1Note; this is experimental / learning work -- has nothing to do with the existing "Ultimate Oscillator" -- i call this project UTOpia :)
This is based on some research work i was doing around the Balance Of Power - which i posted about in the past
the conclusion form there was a questions of, what would we get if we create an indicator that takes into consideration other factors that may be affecting momentum - so while the classic Balance of Power formula looks at where the open and close of a bar are compared to the full bar range, this is only a small part of the insight we need - when we visually inspect a price chart, we also look at many other factors. for example, how the bar closes compared to previous bar(s), how much did the bulls (or bears) managed to move the high (or low) of the bar compared to previous one, how much volume, how is the price spread ...etc
so i wanted to build an indicator that does exactly that - we will give a score of +100 / -100 to each bar based on these factors (some were identified in the linked post) -- imagine here that we are a judge in a tug of war contest (or a beauty contest if you would :)) and we give a score to the participating teams - the scores are given in different "categories" as these teams make effort to win the game (each bar) - to be totally fair, in some scoring categories, we choose to take the average of 3 points for a fair assessment - the final score is calculated based on the average from all judges - and then and average over the desired length is calculated. this score should be very fair and represents the true effort from all angles, right? that would be our UTOPIA :)
in our case, we don't use an average of total score after each category is evaluated, but rather create a directional index (similar to RSI) -- so we can avoid big spikes in the resulting numbers, and maintain a oscillator -like result.
-- the code is commented to explain the various pieces - and how the scoring happen.
the results are interesting - and you can see how the UTO stacks against the classic RSI and BoP - but it's more of a work to build on, rather than a usable indicator - although i do use it in my own trading :)
one final thought here, i came to learn after few years that the best indicators do not necessarily lead to profitable trading. from an indicator standpoint, if everyone else is trading using (for example) a moving average crossover or RSI, then a successful trader should be looking at these classic indicators too, cause these common indicators will drive the mass behavior - and will at many times trigger "self- fulfilling prophesies" in price action - but that's not the only or the biggest reason - the big reasons have to do with the fact that trading needs a lot of effort outside the charts, in researching markets, learning the discipline, then managing positions and managing the portfolio. these are all big topics to put in such short words.
i hope some will find this work inspiring.
unRekt - KISS CrossKISS Cross is a moving average crossover and is part of the ''keeping it simple' series that have a similar color scheme. With this indicator you can select the moving average you'd like to use either SMA, EMA, WMA, or VWMA. Each moving average can be turned on or off and input changed. The first two MA's will change color on the cross from green to red depending on cross up or a cross down.
Common Moving averages ( 4 EMA + 3 SMA)Common moving averages used are included in the script. Customize them as per your wishes.
MA's set as default are
21 EMA
50 EMA , SMA
100 EMA , SMA
200 EMA , SMA
Please favorite it if you like it! Thanks!
Rolling Log Returns [BackQuant]Rolling Log Returns
The Rolling Log Returns indicator is a versatile tool designed to help traders, quants, and data-driven analysts evaluate the dynamics of price changes using logarithmic return analysis. Widely adopted in quantitative finance, log returns offer several mathematical and statistical advantages over simple returns, making them ideal for backtesting, portfolio optimization, volatility modeling, and risk management.
What Are Log Returns?
In quantitative finance, logarithmic returns are defined as:
ln(Pₜ / Pₜ₋₁)
or for rolling periods:
ln(Pₜ / Pₜ₋ₙ)
where P represents price and n is the rolling lookback window.
Log returns are preferred because:
They are time additive : returns over multiple periods can be summed.
They allow for easier statistical modeling , especially when assuming normally distributed returns.
They behave symmetrically for gains and losses, unlike arithmetic returns.
They normalize percentage changes, making cross-asset or cross-timeframe comparisons more consistent.
Indicator Overview
The Rolling Log Returns indicator computes log returns either on a standard (1-period) basis or using a rolling lookback period , allowing users to adapt it to short-term trading or long-term trend analysis.
It also supports a comparison series , enabling traders to compare the return structure of the main charted asset to another instrument (e.g., SPY, BTC, etc.).
Core Features
✅ Return Modes :
Normal Log Returns : Measures ln(price / price ), ideal for day-to-day return analysis.
Rolling Log Returns : Measures ln(price / price ), highlighting price drift over longer horizons.
✅ Comparison Support :
Compare log returns of the primary instrument to another symbol (like an index or ETF).
Useful for relative performance and market regime analysis .
✅ Moving Averages of Returns :
Smooth noisy return series with customizable MA types: SMA, EMA, WMA, RMA, and Linear Regression.
Applicable to both primary and comparison series.
✅ Conditional Coloring :
Returns > 0 are colored green ; returns < 0 are red .
Comparison series gets its own unique color scheme.
✅ Extreme Return Detection :
Highlight unusually large price moves using upper/lower thresholds.
Visually flags abnormal volatility events such as earnings surprises or macroeconomic shocks.
Quantitative Use Cases
🔍 Return Distribution Analysis :
Gain insight into the statistical properties of asset returns (e.g., skewness, kurtosis, tail behavior).
📉 Risk Management :
Use historical return outliers to define drawdown expectations, stress tests, or VaR simulations.
🔁 Strategy Backtesting :
Apply rolling log returns to momentum or mean-reversion models where compounding and consistent scaling matter.
📊 Market Regime Detection :
Identify periods of consistent overperformance/underperformance relative to a benchmark asset.
📈 Signal Engineering :
Incorporate return deltas, moving average crossover of returns, or threshold-based triggers into machine learning pipelines or rule-based systems.
Recommended Settings
Use Normal mode for high-frequency trading signals.
Use Rolling mode for swing or trend-following strategies.
Compare vs. a broad market index (e.g., SPY or QQQ ) to extract relative strength insights.
Set upper and lower thresholds around ±5% for spotting major volatility days.
Conclusion
The Rolling Log Returns indicator transforms raw price action into a statistically sound return series—equipping traders with a professional-grade lens into market behavior. Whether you're conducting exploratory data analysis, building factor models, or visually scanning for outliers, this indicator integrates seamlessly into a modern quant's toolbox.
JJ Highlight Time Ranges with First 5 Minutes and LabelsTo effectively use this Pine Script as a day trader , here’s how the various elements can help you manage trades, track time sessions, and monitor price movements:
Key Components for a Day Trader:
1. First 5-Minute Highlight:
- Purpose: Day traders often rely on the first 5 minutes of the trading session to gauge market sentiment, watch for opening price gaps, or plan entries. This script draws a horizontal line at the high or low of the first 5 minutes, which can act as a key level for the rest of the day.
- How to Use: If the price breaks above or below the first 5-minute line, it can signal momentum. You might enter a long position if the price breaks above the first 5-minute high or a short if it breaks below the first 5-minute low.
2. Session Time Highlights:
- Morning Session (9:15–10:30 AM): The market often shows its strongest price action during the first hour of trading. This session is highlighted in yellow. You can use this highlight to focus on the most volatile period, as this is when large institutional moves tend to occur.
- Afternoon Session (12:30–2:55 PM): The blue highlight helps you track the mid-afternoon session, where liquidity may decrease, and price action can sometimes be choppier. Day traders should be more cautious during this period.
- How to Use: By highlighting these key times, you can:
- Focus on key breakouts during the morning session.
- Be more conservative in your trades during the afternoon, as market volatility may drop.
3. Dynamic Labels:
- Top/Bottom Positioning: The script places labels dynamically based on the selected position (Top or Bottom). This allows you to quickly glance at the session's start and identify where you are in terms of time.
- How to Use: Use these labels to remind yourself when major time segments (morning or afternoon) begin. You can adjust your trading strategy depending on the session, e.g., being more aggressive in the morning and more cautious in the afternoon.
Trading Strategy Suggestions:
1. Momentum Trades:
- After the first 5 minutes, use the high/low of that period to set up breakout trades.
- Long Entry: If the price breaks the high of the first 5 minutes (especially if there's a strong trend).
- Short Entry: If the price breaks the low of the first 5 minutes, signaling a potential downtrend.
2. Session-Based Strategy:
- Morning Session (9:15–10:30 AM):
- Look for strong breakout patterns such as support/resistance levels, moving average crossovers, or candlestick patterns (like engulfing candles or pin bars).
- This is a high liquidity period, making it ideal for executing quick trades.
- Afternoon Session (12:30–2:55 PM):
- The market tends to consolidate or show less volatility. Scalping and mean-reversion strategies work better here.
- Avoid chasing big moves unless you see a clear breakout in either direction.
3. Support and Resistance:
- The first 5-minute high/low often acts as a key support or resistance level for the rest of the day. If the price holds above or below this level, it’s an indication of trend continuation.
4. Breakout Confirmation:
- Look for breakouts from the highlighted session time ranges (e.g., 9:15 AM–10:30 AM or 12:30 PM–2:55 PM).
- If a breakout happens during a key time window, combine that with other technical indicators like volume spikes , RSI , or MACD for confirmation.
---
Example Day Trader Usage:
1. First 5 Minutes Strategy: After the market opens at 9:15 AM, watch the price action for the first 5 minutes. The high and low of these 5 minutes are critical levels. If the price breaks above the high of the first 5 minutes, it might indicate a strong bullish trend for the day. Conversely, breaking below the low may suggest bearish movement.
2. Morning Session: After the first 5 minutes, focus on the **9:15 AM–10:30 AM** window. During this time, look for breakout setups at key support/resistance levels, especially when paired with high volume or momentum indicators. This is when many institutions make large trades, so price action tends to be more volatile and predictable.
3. Afternoon Session: From 12:30 PM–2:55 PM, the market might experience lower volatility, making it ideal for scalping or range-bound strategies. You could look for reversals or fading strategies if the market becomes too quiet.
Conclusion:
As a day trader, you can use this script to:
- Track and react to key price levels during the first 5 minutes.
- Focus on high volatility in the morning session (9:15–10:30 AM) and **be cautious** during the afternoon.
- Use session-based timing to adjust your strategies based on the time of day.
Adjustable Correction from ATH SignalA "Correction Signal from All-Time High" is an indicator used to identify potential reversals or pullbacks in an asset's price after it has reached its highest historical level, known as an all-time high (ATH). This signal typically occurs when the price begins to decline after hitting the ATH, suggesting a correction phase where the asset retraces part of its upward movement.
Key elements of this signal include:
Overbought Conditions: The asset may have experienced a strong rally leading to an overbought condition, where the price could be considered too high relative to recent trends.
Reversal Patterns: The correction signal is often accompanied by technical patterns or indicators that suggest a reversal, such as bearish candlestick formations, negative divergence in momentum indicators, or moving average crossovers.
Percentage Decline: A correction is generally defined as a price drop of at least 10% from the ATH, although smaller pullbacks may also signal potential market shifts.
Volume Analysis: Increased selling volume after the ATH can validate the correction signal, indicating that more market participants are taking profits or exiting positions.
This signal helps traders and investors anticipate periods of market consolidation or potential downturns after significant price advances, allowing for better risk management or entry points for new positions.
Ranges and Breakouts [AlgoAlpha]💥 Ranges and Breakouts by AlgoAlpha is a dynamic indicator designed for traders seeking to identify market ranges and capitalize on breakout opportunities. This tool automatically detects ranges based on price action over a specified period, visualizing these ranges with shaded boxes and midlines, making it easy to spot potential breakout scenarios. The indicator includes advanced features such as customizable pivot detection, internal range allowance, and automatic trend color changes for quick market analysis.
Key Features
💹 Dynamic Range Detection : Automatically identifies market ranges using customizable look-back and confirmation periods.
🎯 Breakout Alerts : Get alerted to bullish and bearish breakouts for potential trading opportunities.
📊 Visual Aids : Displays pivot highs/lows within ranges and plots midlines with adjustable styles for easier market trend interpretation.
🔔 Alerts : Signals potential take-profit points based on volatility and moving average crossovers.
🎨 Customizable Appearance : Choose between solid, dashed, or dotted lines for midlines and adjust the colors for bullish and bearish zones.
How to Use
⭐ Add the Indicator : Add the indicator to favorites by pressing the star icon. Adjust the settings like the look-back period, confirmation length, and pivot detection to match your trading strategy.
👀 Monitor the Chart : Watch for new ranges to form, highlighted by shaded boxes on the chart. Midlines and range bounds will appear to help you gauge potential breakout points.
⚡ React to Breakouts : Pay attention to color changes and alert signals for bullish or bearish breakouts. Use these signals to enter or exit trades.
🔔 Set Alerts : Customize alert conditions for new range formations, breakout signals, and take-profit levels to stay on top of market movements without constant monitoring.
How It Works
The indicator detects price ranges by analyzing the highest and lowest prices over a specified period. It confirms a range if these levels remain unchanged for a set number of bars, at which point it visually marks the range with shaded boxes. Pivots are identified within these ranges, and a midline is plotted to help interpret potential breakouts. When price breaks out of these defined ranges, the indicator changes the chart's background color to signal a bullish or bearish trend. Alerts can be set for range formation, breakouts, and take-profit opportunities, helping traders stay proactive in volatile markets.