MomentumBreak#1//condicion de compra: k>80
buycondition=crossover(k,oversold)
calculo de tamaño de la posicion segun el ultimo low dentro de lo n periodos anteriores, tambien usado como stop
salida por trailing stop
Cari dalam skrip untuk "momentum"
GLB Breakout IndicatorWhat is a Green Line Breakout (GLB)?
A GLB happens when a stock breaks above its previous all-time high that was standing for at least 3 months (or more).
A Green Line is drawn at that previous high price.
When the stock closes above that Green Line, it's called a breakout.
For the breakout to be successful, the stock should stay above that green line (the breakout price) in the following days/weeks.
How to Understand It in Your Charts:
ADMA:
The Green Line was at 23.64 (previous high).
Now it has closed above it at 24.51.
It must stay above 23.64 to confirm that it’s a successful breakout.
TTWO:
TTWO had a Green Line at around 214.91.
It broke above it and is now (29 Apr 2025) at 225.55, holding well above the Green Line.
This is a positive sign — buyers are supporting it after the breakout.
Z-Score IndicatorSimple z-score, updated for Pinescriptv6.
Default lookback is 20 period. Default overbought = 2, default oversold =-2
DT Dual-Lookback DLBThis script is based on the concept of Robert Miner Book "High Probabilities Strategies"
This script shows at the same time two timeframes and the overlapping area.
The green and red area shows the higher time frame period just as Robert Miner did this in his videos.
Because Robert Miner just says: 8.. 13.. 21.. i used this also as type for the setup.
This is not a complete trading strategy, but if fibonacci retracement/extensions in price and time and
elliot waves position and DT Dual-Lookback comed together there is a perhaps a signal.
Please read his book and look at his website and his DT reports to learn more about his strategy.
Heikin-Ashi Strategy + backtest rangeThis is Heikin-Ashi Strategy + Backtest range that I think useful for BTCUSD pair.
Pay Attention CandleThis is an attempt to detect the so called Pay Attention Candles from RexDog Trading System (RDTS). (They are not clearly defined by any specific set in stone rule, so this is just my interpretation)
You can turn on and off the bar highlight/triangles if chart gets too busy and you want only one of the indication types.
The way this is defined as evident in the code is - it looks at the candle size (without the wicks!!! only open to close) to decide whether it is larger than ATR mutlipied by a multiplier (1.5 by default here - you can adjust)
ATR period can also be adjusted but it's set to 9 by default.
Enjoy.
Ultra Money FlowIntroduction
The Ultra Money Flow script is a technical indicator for analyzing stock trends. It highlights buying and selling power, helping you identify bullish (rising) or bearish (falling) market trends.
Detailed Description
The Ultra Money Flow script calculates and visually displays two main components: Fast and Slow money flow. These components represent short-term and long-term trends, respectively.
Here's how it works:
.........
Inputs
You can adjust the speed of analysis (Fast Length and Slow Length) and the type of smoothing applied (e.g., Simple Moving Average, Exponential Moving Average).
Choose colors for visualizing the trends, with blue for bullish (positive) and orange for bearish (negative) movements.
.....
Money Flow Calculation
The script analyzes price changes (delta) over specified periods.
It separates upward price movements (buying power) from downward ones (selling power).
It then calculates the difference between these powers for both Fast and Slow components.
The types of smoothing methods range from traditional ones like the Simple Moving Average (SMA) to advanced ones like the Double Expotential Moving Average (DEMA) or the Triple Exponential Moving Average (TEMA) or the Recursive Moving Average (RMA) or the Weigthend Moving Average (WMA) or the Volume Weigthend Moving Average (VWMA) or Hull Moving Average (HMA).
Very Special ones are the Triple Weigthend Moving Average (TWMA) wich created RedKTrader .
I created the Multi Weigthend Moving Average (MWMA) wich is a simple signal line to the TWMA.
.....
Divergence
This indicator can show divergence by comparing the direction of price movements with the indicator value.
If the price and the indicator move in opposite directions, you can use these signals to help decide when to buy or sell.
.....
Auto Scaling
The script adjusts its calculations based on the time frame you are viewing, whether it's minutes, hours, or days, ensuring accurate representation across different time scales.
.....
Plotting
The script plots the Fast component as a histogram and the Slow component as a line, using the chosen colors to indicate bullish or bearish trends.
The thickness and transparency of these plots give additional clues about the strength of the trend.
.........
By using this indicator, traders can easily spot shifts in buying and selling power, allowing for better-informed decisions in the market.
Special Thanks
I use the TWMA-Function created from RedKTrader to smooth the values.
Special thanks to him for creating and sharing this function!
PPO Divergence AlertsThis is a pretty straightforward script that adds alerts to Pekipek's excellent PPO Divergence indicator and changes the visuals a bit. You can have the alerts fire on these events:
Purple Circle (bullish signal)
Orange Circle (bearish signal)
Green Dot (High Point)
Red Dot (Low Point)
I use this on daily Forex charts to get alerts when purple or orange dots show. As you can see, it catches a lot of big moves, some of which can give insane returns if you're 200x leveraged on the likes of 1Broker.com. In regards to reducing false signals, I'm getting good results with a Williams %R but would love to hear any suggestions.
Edit: Oops. Box #6 in the example should be yellow, not purple.
Koalafied RSI Decision PointsMomentum conditions as detailed in RSI : The Complete Guide by John Hayden
Decision points are conditions based on changes of these rsi values. Pauses in an uptrend, exiting high momentum values, breakouts and failures.
Touch up to an old script and so I thought I'd release. Although most people treat RSI as a reversion tool it is really a momentum indicator. Hopefully this script sparks thoughts about use-cases.
2:1 momentum is associated with RSI values of 66.67 and 33.33 respectfully. In an Uptrend an RSI value of 40 should not be broken and in a downtrend
a RSI value of 60 should not be exceeded. If so, then there is buying/selling pressure in the opposite direction (but not necessarily enough for a trend reversal).
Alternatively it may show the presence of HTF traders.
4:1 momentum (RSI values of 80/20) can be associated with extreme market conditions, typically thought of as being Overbought or Oversold.
Traders Dynamic Index(RSI) w/ Bull&Bear Control ZonesMomentum (RSI) is one of the most commonly used indicators for trading, but the vast majority of traders who use it, simply apply it as an oscillator to measure overbought and oversold conditions. However, momentum is much more complex than that and using a basic RSI fails to highlight these complexities.
What this highlights are some of the areas/zones that many people may not even know about or are unaware what the RSI can actually reveal about a particular trend.
What this indicator is showing:
Fast moving RSI (Green) - 1 period
Slow moving RSI (Red) - 9 period
Bollinger Bands
Relative Strength: 1 - 100
Bearish Control Zone: 30(Below) - 45
Bullish Control Zone: 60 - 70 (Above)
How this identifies trends:
Bear Market(Bearish Control Zone):
-Support: 20(Below) - 30
-Resistance: 55 - 65
-Momentum will test resistance but will fail to hold support at 50
Bull Market(Bullish Control Zone):
-Support: 45 - 50
-Resistance: 80 - 90(Above)
-Momentum will test support but will not continue past the 45 support
How this identifies reversals:
If a market is bullish, but loses support at 45 and tests 30, it has begun reversal. If a market is bearish, but breaks 60 and tests 70, it has begun reversal.
-A bull market reversal is confirmed if it finds resistance at 60 after testing bearish support
-A bear market reversal is confirmed if it finds support at 50 after testing bullish resistance
Slow & Fast RSI w/ Boll Bands:
-The Slow and Fast RSI crossovers will act as Intermediate trends within the Macro trend - Fast crosses slow, bullish. Slow cross fast, bearish.
-Use in confluence with the Macro trend.
-While under Bearish Control, the Slow RSI will act as resistance for the Fast RSI.
-While under Bullish Control, the Slow RSI will act as support for the Fast RSI.
-The two will have an impulsive crossover when the Macro trend reverses.
-The Bollinger Bands will act as a volatility gauge for potential approaching tests of Support & Resistances. (Expansions & Contractions)
This is an analog of TDIGM (GoldMinds)
-Added Bullish/Bearish Control Zones.
-Changed Fast RSI to Green and Slow RSI to Red.
AAPL Multi-Strategy (5 Strategies Beta)✅ Momentum Reversal
✅ Moving Average Crossover
✅ Heikin-Ashi Reversal
✅ Swing Day Trading
✅ Candlestick Patterns
Color Shape Signal Type Meaning
🟡 Yellow Circle Momentum Reversal Dot Stochastic overbought (>80) or oversold (<20) → possible trend reversal area
🟢 Green Triangle Up Moving Average Crossover → BUY EMA20 crossed above EMA50 AND price above EMA200 → bullish crossover confirmation
🔴 Red Triangle Down Moving Average Crossover → SELL EMA20 crossed below EMA50 AND price below EMA200 → bearish crossover confirmation
🟩 Lime Circle Heikin-Ashi Bull Heikin-Ashi candle closed bullish (HA close > HA open)
🟫 Maroon Circle Heikin-Ashi Bear Heikin-Ashi candle closed bearish (HA close < HA open)
🔵 Blue Flag Swing Day Trading BUY Price crosses above EMA20 from below → pullback BUY signal
🟠 Orange Flag Swing Day Trading SELL Price crosses below EMA20 from above → pullback SELL signal
🟢 Green Label Up Bullish Engulfing Pattern Classic bullish engulfing candlestick pattern detected → possible trend reversal up
🔴 Red Label Down Bearish Engulfing Pattern Classic bearish engulfing candlestick pattern detected → possible trend reversal down
Momentum Pullback SignalsLong setup if all of these conditions are met:
EMA 50 > EMA 200 (trend filter)
Price ≤ EMA 50 × 1.003 (pullback zone)
Stoch %K crosses above %D and is below 20
Bullish engulfing candlestick
Volume ≥ Volume MA (20)
Short setup if all of these conditions are met:
EMA 50 < EMA 200 (trend filter)
Price ≥ EMA 50 × 0.997 (pullback zone)
Stoch %K crosses below %D and is above 80
Bearish engulfing candlestick
Volume ≥ Volume MA (20)
Liquidity Fracture DetectorThe Liquidity Fracture Detector is an advanced tool designed to identify micro-liquidity traps and structural fakeouts on intraday charts. These occur when the market appears to break out, only to quickly reverse — often triggered by stop hunts, inefficient fills, or manipulated order flow.
The script combines volume spikes, volatility anomalies, and price structure breaks to signal "fractures" — points where the market temporarily breaks its behavior, often followed by strong reversals or trend accelerations.
Detection logic in the script:
Volume spike greater than 2x the average (adjustable)
Volatility spike: candle range is > 1.5x the average
Extreme wicks: wick is larger than the candle body (a classic trap signal)
Structure break: price breaks previous high/low but closes back within the old range
Combine these elements → a “fracture” is marked
Visual representation:
Red background = potential bull trap (fake breakout to the upside)
Green background = potential bear trap (fake breakdown to the downside)
A label appears at each fracture: “Echo” with the number of previous hits
Ideal use cases:
Intraday trading (1m, 5m, 15m)
Crypto, indices, futures, and forex
Detecting reactive zones where the market takes a false direction
Confluence with S/R zones, order blocks, or liquidity pools
Fully customizable:
Volume and range sensitivity
Heatmap intensity
Toggle labels on/off
Note:
This script is intended to support discretionary analysis. It does not provide buy or sell signals and is not an automated strategy. Combine it with your own price action or order flow setup for optimal results.
Momentum SwingDescription:
This indicator detects structural breakouts triggered by a single engulfing candle that decisively breaks out of a range formed by previous candles.
📦 Key Features:
Detects breakouts from a lateral range defined by N previous candles
Identifies only clean breakouts using a single engulfing candle (optional: body-only breakout)
Visually highlights the broken range with a rectangle
Displays directional arrows when a breakout occurs (long or short)
Fully customizable settings
🛠 Custom Inputs:
Number of candles used to define the range
Option to require the breakout to occur with the candle’s body only
Option to show or hide the breakout rectangle
📈 Perfect for traders looking to identify strong breakouts after consolidation phases.
momentum indicatorThe Rational Quadratic Smoother uses the Rational Quadratic Kernel to create a non-repainting, adaptive smoothing of price data. This method provides a balance between long-term trends and short-term movements by adjusting the weight of distant data points using a kernel function. Traders can use this indicator to:
Smooth price data for better trend identification.
Filter out noise without introducing lag.
Combine it with other indicators for advanced strategies.
Key Features:
Adjustable Lookback Period: Controls the range of data points considered.
Relative Weighting: Fine-tunes the influence of long-term vs. short-term data.
Customizable smoothing to fit different trading styles (scalping, swing trading, etc.).
Multiple EMA Indicator [Pineify]TradingView Multiple EMA Indicator: A Comprehensive Trend Analysis Tool
The TradingView Multiple EMA Indicator is a powerful and versatile tool designed to provide traders with a comprehensive view of market trends across multiple timeframes. By incorporating five Exponential Moving Averages (EMAs) with customizable lengths and sources, this indicator offers a nuanced approach to trend analysis, suitable for both novice and experienced traders.
Key Features:
Five customizable EMAs for multi-timeframe analysis
Flexible source inputs for each EMA
Color-coded plots for easy visual interpretation
Overlay functionality for direct price action comparison
How It Works:
This indicator calculates and displays five separate EMAs on your chart, each with its own customizable length and source. The EMAs are color-coded for easy identification:
EMA-1: Red
EMA-2: Light Green
EMA-3: Light Blue
EMA-4: Purple
EMA-5: Yellow
By default, the indicator uses the following settings:
EMA-1: 10-period EMA of close price
EMA-2: 20-period EMA of close price
EMA-3: 50-period EMA of close price
EMA-4: 100-period EMA of close price
EMA-5: 200-period EMA of close price
However, users can easily adjust these settings to suit their specific trading strategies and preferences.
Trading Ideas and Insights:
The Multiple EMA Indicator offers several ways to analyze market trends and generate trading signals:
Trend Identification: The alignment of the EMAs can help identify the overall trend. When shorter-term EMAs are above longer-term EMAs, it suggests an uptrend, and vice versa for a downtrend.
Dynamic Support and Resistance: Each EMA can act as a dynamic support or resistance level. Price bouncing off these levels can indicate potential entry or exit points.
Crossovers: When a shorter-term EMA crosses above a longer-term EMA, it may signal a bullish trend change. Conversely, a bearish signal may occur when a shorter-term EMA crosses below a longer-term EMA.
Trend Strength: The spacing between the EMAs can indicate trend strength. Wide spacing suggests a strong trend, while narrow spacing or intertwining EMAs may indicate consolidation or a weakening trend.
Multi-Timeframe Analysis: By using different EMA lengths, traders can gain insights into short-term, medium-term, and long-term trends simultaneously.
How to Use the Indicator:
Add the indicator to your chart and adjust the input parameters as needed.
Observe the relative positions of the EMAs to identify the overall trend direction.
Look for potential entry signals when price or shorter-term EMAs cross above or below longer-term EMAs.
Use the EMAs as dynamic support and resistance levels for setting stop-loss and take-profit orders.
Combine the Multiple EMA Indicator with other technical analysis tools, such as oscillators or volume indicators, for more comprehensive trading decisions.
Customization Options:
The indicator offers extensive customization options, allowing traders to tailor it to their specific needs:
Adjust the length of each EMA to focus on different timeframes
Change the source of each EMA (e.g., close, open, high, low, HL2, HLC3, OHLC4)
Modify the color and line thickness of each EMA for better visibility
Conclusion:
The TradingView Multiple EMA Indicator is a versatile and powerful tool for trend analysis and trade decision-making. By providing a multi-faceted view of market trends, it enables traders to make more informed decisions based on a comprehensive understanding of price action across various timeframes.
Remember that while this indicator can be a valuable tool in your trading arsenal, it should not be used in isolation. Always combine it with other forms of analysis and proper risk management techniques for the best results.
We hope this indicator enhances your trading experience and contributes to your success in the markets. Happy trading!
Custom Supertrend Multi-Timeframe Indicator [Pineify]Supertrend Multi-Timeframe Indicator
Introduction
The Supertrend Multi-Timeframe Indicator is an advanced trading tool designed to help traders identify trend directions and potential buy/sell signals by combining Supertrend indicators from multiple timeframes. This script is original in its approach to integrating Supertrend calculations across different timeframes, providing a more comprehensive view of market trends.
Concepts and Calculations
The indicator utilizes the Supertrend algorithm, which is based on the Average True Range (ATR). The Supertrend is a popular tool for trend-following strategies, and this script enhances its capabilities by incorporating data from a larger timeframe.
Supertrend Factor: Determines the sensitivity of the Supertrend line.
ATR Length: Defines the period for calculating the Average True Range.
Larger Supertrend Factor and ATR Length: Applied to the larger timeframe for a broader trend perspective.
Larger Timeframe: The higher timeframe from which the secondary Supertrend data is sourced.
How It Works
The script calculates the Supertrend for the current timeframe using the specified factor and ATR length.
Simultaneously, it requests Supertrend data from a larger timeframe.
Buy and sell signals are generated based on crossovers and crossunders of the Supertrend lines from both timeframes.
Visual cues (up and down arrows) are plotted on the chart to indicate buy and sell signals.
Background colors change to reflect the trend direction: green for an uptrend and red for a downtrend.
Usage
Add the indicator to your TradingView chart.
Customize the Supertrend factors, ATR lengths, and larger timeframe according to your trading strategy.
Enable or disable buy and sell alerts as needed.
Monitor the chart for visual signals and background color changes to make informed trading decisions.
Note: The indicator is best used in conjunction with other technical analysis tools and should not be relied upon as the sole basis for trading decisions.
Conclusion
The Supertrend Multi-Timeframe Indicator offers a unique and powerful way to analyze market trends by leveraging the strengths of the Supertrend algorithm across multiple timeframes. Its customizable settings and clear visual signals make it a valuable addition to any trader's toolkit.