EMA 22 & EMA 55//@version=5
indicator("EMA 22 & EMA 55", overlay=true)
// Define EMA periods
ema22 = ta.ema(close, 22)
ema55 = ta.ema(close, 55)
// Plot EMAs
plot(ema22, title="EMA 22", color=color.blue, linewidth=2)
plot(ema55, title="EMA 55", color=color.red, linewidth=2)
Trend Analysis
Proper Multi-Timeframe Trend Analysisa table showing the trend (bullish or bearish) for the daily, 4-hour, 1-hour, and 15-minute timeframes based on the last 15 trading session candles.
To determine the proper trend analysis based on the last 15 candles, we need to analyze whether the price is consistently moving upward (bullish) or downward (bearish) over the last 15 candles. This can be achieved by calculating the slope of a linear regression line or by checking if the highs and lows are consistently increasing or decreasing.
Adaptive Trend Continuation StrategyStrategy Explanation: This is a Trend continuation Strategy that uses directional measures to inform trade decisions.
Trend Identification: The ADX indicator measures trend strength. An ADX value above 25 signifies a strong trend, aligning with research indicating that trends, once established, tend to continue.
Entry Criteria: The strategy detects bullish flag patterns, which are known to have a high success rate in predicting upward continuations.
STRIKE.MONEY (www.strike.money)
A breakout from this pattern, confirmed by higher-than-average volume, serves as the entry signal.
Risk Management: The ATR is employed to set dynamic stop-loss levels, adjusting for market volatility. Position sizing is calculated based on a fixed percentage of capital at risk per trade, ensuring consistent risk management.
Exit Strategy: A stop-loss is placed at 1.5 times the ATR below the entry price, and a take-profit is set at 3 times the ATR above the entry price, establishing a 2:1 reward-to-risk ratio.
5. Known Limitations and Edge Cases:
False Breakouts: Not all breakouts lead to sustained trends. The volume confirmation filter aims to mitigate this risk, but false signals can still occur.
Market Conditions: The strategy may underperform in choppy or sideways markets where clear trends are absent.
Pattern Recognition: The simplified detection of bullish flag patterns may not capture all valid patterns or might identify false ones.
Mercúrio RetrógradoWelcome to the cosmic world of Mercury Retrograde! 🌠 This indicator on TradingView is designed to mark the periods when the planet Mercury goes into retrograde, bringing with it a touch of introspection, revision, and of course, challenges in communication, technology, and travel. 🚀
Between 2025 and 2030, whenever Mercury begins its retrograde, you'll see a red background on the chart, signaling these astrological periods that could influence the market and your personal journey. 🌑
🔴 What is Mercury Retrograde? It's an astrological phenomenon that occurs when Mercury appears to move backward in the sky. This motion can create a feeling of slowdown and confusion but is also a time for reflection and reassessment.
OB-MSS-FVG StrategyStrategy Explanation:
Identify the Order Block
Look for the last bearish (red) candle before a sustained rally. This candle represents the Order Block, signaling institutional buying/selling activity.
Confirm the Order Block is validated by a liquidity sweep (price briefly wicks into a prior swing high/low to trigger stop orders before reversing).
Confirm Market Structure Shift (MSS)
A ChoCh (Change of Character) occurs when price breaks a prior swing high in a downtrend (or low in an uptrend).
Validate with upward displacement: A strong bullish candle closing above the Order Block, confirming trend reversal.
Locate High-Probability FVGs
FVG Definition: A 3-candle pattern where the middle candle gaps above/below adjacent candles (e.g., bullish FVG in a downtrend).
Conditions for FVG:
a. Unmitigated: Price hasn’t retested the FVG zone.
b. No close below: If tested, price should not close below the FVG (bullish confirmation).
c. Confluence: FVG aligns with a key level (e.g., trendline, Order Block, or Fibonacci retracement).
d. Prioritize farthest FVG: The earliest FVG after the ChoCh is stronger (less likely to be a retracement trap).
e. Fibonacci Filter: Draw Fib (0–100%) from the swing low to high of the rally. Strong FVGs lie between 0–50%; avoid those above 50%.
f. BOS/ChoCH Confirmation: FVG must form after a Break of Structure (BOS) or ChoCh, alongside a liquidity sweep (e.g., stop runs).
Entry, Stop Loss, and Take Profit
Entry: Enter long when price retests the FVG (preferably in the 0–50% Fib zone) and shows rejection (e.g., bullish pin bar, engulfing).
Stop Loss: Place below the FVG’s low or the Order Block’s low, whichever is lower.
Take Profit: Target the next liquidity zone (prior swing high) or use a trailing stop after a BOS.
Example Scenario
Downtrend: Price sweeps liquidity below a swing low.
MSS: Price rallies, breaks the prior swing high (ChoCh).
FVG Formation: A bullish FVG appears during the rally.
Fib Confluence: FVG lies between 0–50% of the rally’s Fib retracement.
Entry: Price retraces to FVG, bounces with a bullish candle.
Exit: Profit at next swing high or liquidity pool.
Dynamic Timeframe Trend AnalyzerPurpose and Core Logic
This indicator automatically adjusts its calculations based on the current chart’s timeframe, allowing traders to analyze trends, momentum, and mean reversion opportunities without manually changing indicator settings for each interval. It detects potential long or short setups by combining several techniques:
Dynamic Timeframe Factor
The script compares the current timeframe to a base (e.g., 5 minutes) and calculates a “factor” to scale certain parameters, such as EMA lengths or ATR settings. This reduces the need to reconfigure indicators when switching timeframes.
Regime Detection
It uses ADX (Average Directional Index) to classify the market as strongly trending, moderately trending, choppy, or in a potential mean-reversion phase.
RSI (Relative Strength Index) is also monitored for extreme levels (e.g., overbought/oversold) to detect potential reversal zones.
Volume is compared to a moving average to confirm or refute volatility conditions.
Trend & Mean Reversion Signals
EMA Alignment (8/21/55) helps identify bullish or bearish phases (strong bull if all EMAs align upward, strong bear if aligned downward).
For mean reversion opportunities, the script checks if ADX is sufficiently low (indicating weak or no trend) while price and RSI are at extreme levels—suggesting a snapback or countertrend move may occur.
Dynamic Stop Loss & Take Profit
Uses ATR (Average True Range) to set initial stop-loss (SL) and take-profit (TP) levels, then adjusts these levels further with “regime multipliers” based on whether the market is in a high-volatility trend or a quieter mean-reversion environment.
This approach aims to place stops and targets in a more adaptive way, reflecting current market conditions rather than a one-size-fits-all approach.
Visual Aids
Color-coded chart backgrounds (e.g., greenish for bullish trend, red for bearish, yellow/orange for mean reversion).
Triangles to show recent bullish/bearish signals.
A status table in the top-right corner (optional) displaying key metrics like ADX, RSI, dynamic thresholds, current SL/TP levels, and whether a stop loss has been hit.
How It Works Internally
ADX & Dynamic Thresholds:
A moving average (adx_mean) and standard deviation (adx_std) of the ADX are calculated over a lookback period to define “strong” vs. “weak” ADX thresholds.
This allows the script to adapt to changing volatility and trend strength in different markets or timeframes.
Mean Reversion Criteria:
The indicator checks if price deviates significantly from its own moving average, alongside RSI extremes. If ADX suggests no strong directional push (i.e., the market is “quiet”), it may classify conditions as mean-reverting.
Regime Multipliers:
Once the script identifies the market regime (e.g., strong uptrend, choppy, mean reversion), it applies different multipliers to the user-defined base values for stop-loss and take-profit. For instance, strong trending conditions might allow for wider stops to handle volatility, while mean reversion signals use tighter exits to capture quick reversals.
How to Use It
Timeframe Agnostic
Simply apply it to any timeframe (from 1-minute up to daily or weekly). The “Dynamic Timeframe Factor” will scale the indicator parameters automatically.
Look for Buy/Sell Triangles
When the script detects a valid bullish trend shift or a mean-reversion long setup, it plots a green triangle under the price bar. Conversely, it plots a red triangle above the price bar for bearish or mean-reversion short setups.
Check the Status Table
The table in the top-right corner summarizes the indicator’s current readings: ADX, RSI, volume trends, and the market regime classification.
The table also shows if a stop loss has been hit (SL Hit) and displays recommended SL/TP levels if a signal is active.
Stop Loss & Take Profit
The script plots lines for SL and TP on your chart after a new signal. These lines are automatically adjusted based on ATR, volume conditions, and ADX-derived multipliers.
Mean Reversion vs. Trend-Following
If you see a “Mean Rev” state in the table or the background turning yellow/orange, it suggests potential countertrend trades. Conversely, “STRONG BULL” or “STRONG BEAR” states favor momentum-based entries in the prevailing direction.
Originality & Benefits
Adaptive to Timeframe: Many indicators require reconfiguration when switching from short to long timeframes. This script automates that process using the “timeframe factor” logic.
Regime-Based SL/TP: Instead of fixed risk parameters, the script dynamically tunes stop and target levels depending on whether the market is trending or reverting.
Comprehensive Market View: It combines multiple factors—ADX, RSI, volume, moving averages, and volatility measurements—into a single, integrated framework that categorizes the market regime in real time.
Best Practices & Notes
Timeframes: It typically performs well on intraday timeframes (5m, 15m, 1H) but can also be used for swing trading on 4H or Daily charts.
Settings: The defaults are a good starting point, but you can adjust the base ATR multiplier or ADX lookbacks if you prefer a different balance between sensitivity and stability.
Risk Management: This indicator is not a guarantee of any specific results. Always use proper risk management (position sizing, stop-losses, and diversified strategies).
Alert Conditions: Built-in alert conditions can notify you when a new long or short signal appears, or when a stop loss is triggered.
Opening Price Deviations with AlertsOverview
The Timeframe Opening Price Deviations indicator helps traders visualize how price deviates from a key reference point—the opening price of a selected timeframe (Daily, Weekly, or Monthly). It calculates upper and lower deviation levels based on a percentage step and plots these levels on the chart. This can help traders identify potential areas of support and resistance.
----------------------------------------------------------------------------------------------------------------------
How It Works
Opening Price Reference:
The script retrieves the opening price of the selected timeframe (Daily, Weekly, or Monthly).
Deviation Levels Calculation:
Five upper and lower deviation levels are calculated based on a percentage step input by the user.
Each level is determined by multiplying the opening price by (1 ± step size).
Visualization
The indicator plots the calculated levels as horizontal lines above and below the opening price.
Labels appear only on the latest bar, displaying the exact price level along with its percentage deviation from the opening price.
User has the option to turn on/off or change the bar colours. If price is within the 1st deviation lines that's considered neutral coloured orange as default. If price is above/below the first deviation levels the bar colours will be green or red.
---------------------------------------------------------------------------------------------------------------------
Potential Use Cases
Support & Resistance Zones 🟢🔴
The deviation levels can act as potential areas where price may reverse or consolidate based on historical price behaviour.
Breakout & Reversion Strategies 📈📉
If price breaks above an upper deviation level, it could indicate momentum continuation.
If price rejects from a level, it might suggest a mean reversion opportunity.
Trend Strength Analysis 🔍
The distance between the price and deviation levels can help traders assess whether a trend is strong (moving away from the opening price) or weak (hovering near the opening price).
Intraday vs. Multi-Timeframe Perspective 🕒
By selecting different timeframes (Daily, Weekly, Monthly), traders can align intraday price movements with higher timeframe reference points for added confluence.
---------------------------------------------------------------------------------------------------------------------
Customization Options
Timeframe Selection: Choose between Daily, Weekly, or Monthly opening prices.
Deviation Step (%): Adjust the step size to control the spacing between deviation levels.
Colour Bars: User Is able to change the colour of the bars.
---------------------------------------------------------------------------------------------------------------------
Alerts
This Indicator also has alerts for when price crosses above/below a deviation line. It will tell you the ticker, price and time
---------------------------------------------------------------------------------------------------------------------
Final Notes
This indicator is purely for technical analysis and should not be used as a standalone trading system. It works best when combined with price action, volume analysis, or other indicators of you're choosing to refine trade decisions.
Happy Trading! 🚀📊
---------------------------------------------------------------------------------------------------------------------
This explanation is clear, informative, and compliant with TradingView’s House Rules.
Chaikin Money Flow with EnhancementsThis enhanced version of the Chaikin Money Flow (CMF) indicator is designed to help traders better understand market sentiment by visualizing momentum shifts and trends based on volume-weighted accumulation and distribution.
CMF Calculation: The CMF line is calculated using the typical CMF formula, which compares the close price to the high/low range, weighted by volume.
Fading Color Zones: Green and red fading zones are added between the CMF line and the zero line. Green represents bullish momentum (CMF above zero), and red represents bearish momentum (CMF below zero). These zones highlight key shifts in market sentiment.
Cross Detection: The indicator detects when the CMF crosses above or below the zero line, signaling potential trend changes. The price and CMF values at the time of the cross are stored and can be used for further analysis.
Average Line: A configurable moving average of the CMF is plotted to provide a smoothed trendline, helping traders identify the overall direction of market sentiment.
This indicator is ideal for traders who want to enhance their technical analysis by incorporating volume-weighted momentum indicators and identifying trend reversals more clearly.
Impulse MACD con JMA Mejoradousa Jurik moving average, en vez de ema, suaviza más las lineas del macd.Traté de mejorar el impusle MACD de Lazy Bear.Espero le sirva
TMA StrategyThe **TMA Strategy** is a trend-following strategy that leverages **Smoothed Moving Averages (SMMA)** and **candlestick patterns** to identify high-probability trading opportunities. It is designed for traders who want to capture strong trends while minimizing noise from short-term fluctuations.
**Key Features:**
✔ **Multiple Smoothed Moving Averages (SMMA):** Uses 21, 50, 100, and 200-period SMMAs to identify market trends and key support/resistance zones.
✔ **Candlestick Pattern Confirmation:** Incorporates **3-line strike** and **engulfing candle** patterns to confirm trade entries.
✔ **Dynamic Trend Filter:** A **2-period EMA** ensures that trades align with the dominant trend, reducing false signals.
✔ **Customizable Session Filter:** Allows users to enable/disable trading within specific market sessions (New York, London, Tokyo, etc.), ensuring trades are executed only during high-liquidity hours.
✔ **Risk Management:** Uses predefined exit conditions based on EMA/SMMA crossovers to lock in profits and minimize losses.
**Trading Logic:**
📌 **Long Entry:**
- Bullish Engulfing or 3-Line Strike pattern appears.
- Price is above the 200 SMMA.
- 2 EMA confirms an uptrend.
- Trade executes if session filter allows.
📌 **Short Entry:**
- Bearish Engulfing or 3-Line Strike pattern appears.
- Price is below the 200 SMMA.
- 2 EMA confirms a downtrend.
- Trade executes if session filter allows.
📌 **Exit Conditions:**
- Long trades exit when EMA(2) crosses **below** SMMA(200).
- Short trades exit when EMA(2) crosses **above** SMMA(200).
**Ideal Markets & Timeframes:**
✅ Best suited for **Forex, Stocks, and Crypto** markets.
✅ Works well on **higher timeframes (15m, 1H, 4H, Daily)** for stronger trend confirmation.
📢 **Disclaimer:**
This strategy is for educational purposes only. Backtest results do not guarantee future performance. Always use proper risk management and test in a demo account before live trading.
🚀 **Try the TMA Strategy now and enhance your trend-following approach!**
Liquidations Levels [RunRox]📈 Liquidation Levels is an indicator designed to visualize key price levels on the chart, highlighting potential reversal points where liquidity may trigger significant price movements.
Liquidity is essential in trading - price action consistently moves from one liquidity area to another. We’ve created this free indicator to help traders easily identify and visualize these liquidity zones on their charts.
📌 HOW IT WORKS
The indicator works by marking visible highs and lows, points widely recognized by traders. Because many traders commonly place their stop-loss orders beyond these visible extremes, significant liquidity accumulates behind these points. By analyzing trading volume and visible extremes, the indicator estimates areas where clusters of stop-loss orders (liquidity pools) are likely positioned, giving traders valuable insights into potential market moves.
As shown in the screenshot above, the price aggressively moved toward Sell-Side liquidity. After sweeping this liquidity level for the second time, it reversed and began targeting Buy-Side liquidity. This clearly demonstrates how price moves from one liquidity pool to another, continually seeking out liquidity to fuel its next directional move.
As shown in the screenshot, price levels with fewer anticipated trader stop-losses are indicated by less vibrant, faded colors. When the lines become more saturated and vivid, it signals that sufficient liquidity - in the form of clustered stop-losses has accumulated, potentially attracting price movement toward these areas.
⚙️ SETTINGS
🔹 Period – Increasing this setting makes the marked highs and lows more significant, filtering out minor price swings.
🔹 Low Volume – Select the color displayed for low-liquidity levels.
🔹 High Volume – Select the color displayed for high-liquidity levels.
🔹 Levels to Display – Choose between 1 and 15 nearest liquidity levels to be shown on the chart.
🔹 Volume Sensitivity – Adjust the sensitivity of the indicator to volume data on the chart.
🔹 Show Volume – Enable or disable the display of volume values next to each liquidity level.
🔹 Max Age – Limits displayed liquidity levels to those not older than the specified number of bars.
✅ HOW TO USE
One method of using this indicator is demonstrated in the screenshot above.
Price reached a high-liquidity level and showed an initial reaction. We then waited for a second confirmation - a liquidity sweep followed by a clear market structure break - to enter the trade.
Our target is set at the liquidity accumulated below, with the stop-loss placed behind the manipulation high responsible for the liquidity sweep.
By following this approach, you can effectively identify trading opportunities using this indicator.
🔶 We’ve made every effort to create an indicator that’s as simple and user-friendly as possible. We’ll continue to improve and enhance it based on your feedback and suggestions in the future.
Live Bar Inside Bar ColoringThis script colors the current candle if it is inside the prior candle on the timeframe displayed.
There are other indicators which color inside bars, this indicator only colors the live / active candle.*
This also allows it to color differently if price is above or below the candle open.
* Note, there is a bug where a prior candle's color will persist, if you can identify the issue I will be grateful!
Gap Statistics (Positive and Negative, Excluding 0 Gaps)Gap statistics for all tf's. Positive and Negative values are seperately evaluated.
Forward-Backward Exponential Oscillator [LuxAlgo]The Forward-Backward Exponential Oscillator is a normalized oscillator able to estimate directional shifts by making use of a unique "Forward-Backward Filtering" calculation method for Exponential Moving Averages (EMAs).
This unique method provides a smooth normalized representation of the price with reduced lag.
🔶 USAGE
The oscillator consists of 2 series of values derived from normalizing the sum of each EMA's change across the selected user lookback window (length), one less reactive computed forward (in grey), and the other re-calculated backward for each bar (in blue).
Given this "Forward-Backwards" calculation method, we are able to produce a more reactive oscillator compared to the same operation done on a simple double-smoothed EMA.
The interaction between these 2 values (Forward Value and Backward Value) can highlight shifts in market momentum over time.
When the Forward Value is above the Backward Value, the price is seen moving up, and likewise, when the Forward EMA is below, the Backward EMA price is seen moving down.
The indicator specifically displays the difference between values through a histogram located at the 50 mark on the oscillator.
🔹 Projection
We project the approximated future values of the forward value in front of the current line. This helps show the data that is being used for the creation of the Forward Value.
🔹 Length & Smoothing
The Smoothing Input controls the length of the EMAs which are analyzed.
The Length Input controls the lookback for the sum of changes from the EMAs.
Displayed below is a comparison of varying input sizes and their results.
As seen above:
A larger length input will result in slower, gradual movement by the oscillator since the summed values are from a larger lookback.
A higher smoothing setting will result in smoother EMAs, leading to a smoother oscillator output that is less contaminated by noisy variations.
Note: The length of the projection is tied to the "length" input, to get a longer projection, a larger length is required.
🔶 DETAILS
Forward-backward filtering is a method applied to LTI (linear time-invariant) filters to provide a filter response with zero-phase shift, this has the visible effect of shifting a regular causal filter response to the right, making it appear has have effectively 0 lag.
The name of this operation indicates that the filter is first calculated forward over a series of values (like regular moving averages), then calculated backward, using the previous output as input for the filter, effectively applying the filter twice.
While this operation effectively allows us to obtain a zero-lag response when applied to an EMA, it is subject to repainting, as this indicator only returns the normalized sum of changes of the forward-backward EMA, which does not introduce any repainting behaviors in the final output of the oscillator.
🔶 SETTINGS
Length: Change the calculation lookback length for the oscillator.
Smoothing: Alter the smoothness of the back-end EMA calculations.
Source: Change the source input used for the indicator.
Arbitrage Futures Spot Spread by MoneyHasslerЭтот спред показывает разницу между ценой спотового актива (Spot Price) и ценой фьючерсного контракта (Futures Price).
[TehThomas] - ICT Volume ImbalanceThis script is a Volume Imbalance (VI) detector and visualizer for use on the TradingView platform. The goal of the script is to automatically identify areas where there are significant imbalances in the volume of trades between consecutive candlesticks and visually highlight these areas. These imbalances can provide traders with valuable insights about the market’s current condition, often signaling potential reversal or continuation points based on price and volume action.
ICT (Inner Circle Trader) Concept of Volume Imbalances
Volume imbalances are a critical concept in the ICT trading methodology. They refer to situations where there is an unusual or significant difference in volume between two consecutive candlesticks, which might indicate institutional or large player activity. According to ICT principles, these imbalances can show us areas of market inefficiency or potential price manipulation. By identifying these imbalances, traders can gain an edge in understanding where the market is likely to move next.
Bullish and Bearish Volume Imbalances:
Bullish Volume Imbalance: This occurs when there is a strong increase in buying pressure, typically indicated by a higher volume on a candle that closes significantly above the previous one, often leaving a gap or larger price movement. The market could be preparing to push higher, and the volume shows a clear shift in buying demand.
Bearish Volume Imbalance:
Conversely, a bearish imbalance occurs when there is a strong increase in selling pressure, typically signaled by a candle that closes significantly lower than the previous one, again with higher volume. This could indicate that large players are offloading positions, and the price is likely to drop further.
Key Features and Functions of the Script
The script automates the process of detecting these volume imbalances and visually marking them on a price chart. Let’s explore its functionality in detail.
1. Inputs Section
The script allows for significant customization through its input options, which help traders adjust the detection and visualization of volume imbalances based on their individual preferences and trading style. Below are the details:
lookback (250 bars): This input specifies the number of bars (or candles) the script should look back when analyzing the volume imbalance. By setting this to 250, the user is looking at the last 250 bars on the chart to detect any significant volume imbalances. This period is adjustable between 50 to 500 bars.
volumeThreshold (1.0 multiplier): This input helps set the sensitivity for identifying volume imbalances. The script compares the volume of the current candle with the previous one, and if the current volume exceeds the previous volume by this threshold multiplier (in this case, 1.0 means at least equal to the previous volume), then it triggers an imbalance. Users can adjust the multiplier to suit different market conditions.
showBoxes (true/false): This toggle determines whether the boxes representing volume imbalances are drawn on the chart. When enabled, the script visually highlights the imbalances with colored boxes.
fillBaseColor (orange with 80% opacity): This is the color setting for the background of the imbalance boxes. A softer color (like orange with opacity) ensures the imbalance is highlighted without obscuring the price action.
borderColor (gray): The color of the border around the imbalance boxes. This adds a visual distinction to make the imbalance areas more visible.
borderWidth (1 pixel): This controls the width of the box's border to adjust how prominent it appears.
rightOffset (30 bars): This input controls how far the imbalance box extends to the right on the chart. It helps users anticipate the potential continuation of the imbalance beyond the current candle.
allowWickOverlap (true/false): This setting allows imbalances to be identified even if the wicks of the two consecutive candlesticks overlap. If set to false, only imbalances where the bodies of the candlesticks don’t overlap are considered.
showBrokenBoxes (true/false): If enabled, once a volume imbalance no longer holds true (i.e., the price breaks through the box), the box is marked as "broken." If disabled, the box is deleted when the imbalance condition no longer applies.
brokenBoxColor (red): This controls the color of the box when it is broken, which can be used as a visual cue that the imbalance was invalidated or no longer valid for analysis.
2. Volume Imbalance Function
This is the core function of the script, where the logic to detect bullish and bearish volume imbalances is implemented.
Bullish Imbalance Condition:
The first condition checks if the low of the current candle is greater than the high of the previous candle. This suggests that the market is moving upward with buying pressure.
The second condition checks whether the volume of the current candle is higher than the previous candle by the volumeThreshold multiplier. If both conditions are satisfied, a bullish imbalance is detected.
Bearish Imbalance Condition:
The first condition checks if the high of the current candle is lower than the low of the previous candle. This suggests downward price action with selling pressure.
The second condition checks whether the current volume exceeds the previous volume by the threshold
Allow Wick Overlap: If allowWickOverlap is set to true, the script will still detect imbalances if the wicks of the two candles overlap (common in volatile markets). If false, imbalances are only considered if the wicks do not overlap.
3. Box Creation and Management
When a volume imbalance is detected, the script creates a box on the chart:
The bullish imbalance box is drawn using the minimum of the open and close of the current bar as the top boundary and the maximum of the open and close of the previous bar as the bottom boundary.
Conversely, the bearish imbalance box is drawn in reverse, using the maximum of the current bar’s open and close as the top boundary and the minimum of the previous bar’s open and close as the bottom boundary.
Once the box is created, it is displayed on the chart with the specified background color, border color, and width.
4. Processing Existing Boxes
After detecting a new imbalance and drawing a box, the script checks whether the box should still remain on the chart:
If the price moves beyond the boundaries of the imbalance box, the box is marked as broken (if showBrokenBoxes is enabled), and its color is changed to red, signifying that the imbalance is no longer valid.
If the box remains intact (i.e., the price has not broken the defined boundaries), the script keeps the box extended to the right as the market continues to evolve.
5. Removing Outdated Boxes
Lastly, the script removes boxes that are older than the specified lookback period. For example, if a box was created 250 bars ago, it will be deleted after that period. This ensures the chart stays clean and only focuses on relevant imbalances.
Why This Script is Useful for Traders
This script is extremely valuable for traders, especially those following the ICT methodology, because it automates the process of detecting market inefficiencies or imbalances that might signal future price action. Here’s why it’s particularly useful:
Identifying Key Areas of Interest: Volume imbalances often point to areas where institutional or large-scale traders have entered the market. These areas could provide clues about the next significant move in the market.
Visualizing Market Structure: By automatically drawing boxes around volume imbalances, the script helps traders visually identify potential areas of support, resistance, or turning points, enabling them to make informed trading decisions.
Time Efficiency: Instead of manually analyzing each candlestick and volume spike, this script does the heavy lifting, saving traders valuable time and allowing them to focus on other aspects of their strategy.
Enhanced Trade Entries and Exits: By understanding where volume imbalances are occurring, traders can time their entries (buying during bullish imbalances and selling during bearish ones) and exits (as imbalances break) more effectively, thus improving their chances of success.
Conclusion
In summary, this script is a powerful tool for traders looking to implement volume imbalance strategies based on the ICT methodology. It automates the identification and visualization of significant imbalances in price and volume, offering traders a clear visual representation of potential market turning points. By customizing the settings, traders can tailor the script to their preferred timeframes and sensitivity, making it a flexible and effective tool for any trading strategy.
__________________________________________
Thanks for your support!
If you found this idea helpful or learned something new, drop a like 👍 and leave a comment, I’d love to hear your thoughts! 🚀
Make sure to follow me for more price action insights, free indicators, and trading guides. Let’s grow and trade smarter together! 📈
LEXUS - SCALPER v2Overview:
The LEXUS - SCALPER v2 is a powerful trading indicator designed for scalpers who thrive on making quick, precise trades. By leveraging multiple moving averages and fundamental concepts from the BBMA (Bollinger Bands and Moving Averages) strategy, this indicator helps traders accurately identify trends and take advantage of pullbacks to entry.
Key Features:
Multiple Moving Averages: The indicator uses multiple moving averages to identify the trend direction. also the moving averages work in harmony to provide a clear picture of the market’s current state to entry on pullbacks.
BBMA Concepts: By incorporating BBMA principles, the LEXUS - SCALPER v2 enhances trend identification and ensures that trades are made in alignment with market conditions.
Scalping Focus: This indicator is specifically designed for scalping, allowing traders to capitalize on very short-term market movements for quick profits.
How It Works:
Trend Identification: The moving averages are used to determine the overall trend. When the moving average is ascending, it indicates a bullish trend. Conversely, when the moving average is descending, it indicates a bearish trend.
Entry Points: The LEXUS - SCALPER v2 marks entry points on the pullbacks with an arrow above or below the closing candle. These arrows signal potential trade opportunities based on the trend and pullbacks.
Exit Points: To manage risk and protect profits, the indicator includes a CUTLOSS line. When the price closes below this line, it signals that it's time to exit the position.
Usage Instructions:
Add the Indicator: Add the LEXUS - SCALPER v2 to your TradingView chart.
Identify Entry Points: Look for arrows on the closing candles, which indicate potential trade opportunities based on pullbacks.
Manage Risk: Pay attention to the CUTLOSS line. If the price closes below this line, exit the position to minimize losses.
GoldTrend-[NDTECH]The ndtech-GrowthGenius indicator is a custom trading tool designed to enhance trading decisions, particularly when used in conjunction with the MACD (Moving Average Convergence Divergence) indicator. Below is a detailed explanation of how it works and how to use it effectively in trading:
Key Features of ndtech-GrowthGenius Indicator
MACD-Based Enhancement:
The ndtech-GrowthGenius indicator builds on the traditional MACD by adding additional layers of analysis, such as trend strength, momentum confirmation, and potential reversal signals.
It uses the MACD line, signal line, and histogram but incorporates advanced algorithms to filter out noise and improve accuracy.
Trend Identification:
The indicator helps identify strong trends by analyzing the slope and divergence of the MACD histogram.
It highlights potential trend continuations or reversals by combining MACD data with other technical factors.
Momentum Confirmation:
The ndtech-GrowthGenius indicator provides additional momentum signals, such as overbought/oversold conditions, to confirm MACD crossovers.
Custom Alerts:
It includes customizable alerts for MACD crossovers, histogram divergences, and trend changes, making it easier for traders to act on signals in real-time.
User-Friendly Visualization:
The indicator is designed to be visually intuitive, with color-coded histograms, arrows, or other markers to highlight key trading opportunities.
How to Use ndtech-GrowthGenius with MACD
Install the Indicator:
Add the ndtech-GrowthGenius indicator to your trading platform (e.g., TradingView, MetaTrader).
Ensure the MACD indicator is also applied to the chart for comparison.
Identify MACD Crossovers:
Look for the MACD line crossing above the signal line (bullish signal) or below the signal line (bearish signal).
Use the ndtech-GrowthGenius indicator to confirm the strength of the crossover.
Analyze Histogram Divergence:
Pay attention to divergences between the MACD histogram and price action.
The ndtech-GrowthGenius indicator will highlight significant divergences that may indicate potential reversals.
Check Momentum Levels:
Use the momentum confirmation feature to ensure the market is not overbought or oversold before entering a trade.
Set Alerts:
Configure alerts for key signals, such as MACD crossovers or histogram peaks/troughs, to stay updated on potential trading opportunities.
Combine with Other Indicators:
For better accuracy, combine the ndtech-GrowthGenius indicator with other tools like RSI, moving averages, or support/resistance levels.
Example Trading Strategy
Entry:
Enter a long position when:
The MACD line crosses above the signal line.
The ndtech-GrowthGenius indicator confirms strong bullish momentum.
The histogram shows increasing positive values.
Exit:
Exit the trade when:
The MACD line crosses below the signal line.
The ndtech-GrowthGenius indicator shows weakening momentum or a bearish divergence.
Stop Loss and Take Profit:
Place a stop loss below the recent swing low (for long positions) or above the recent swing high (for short positions).
Set a take profit level based on risk-reward ratio (e.g., 1:2 or 1:3).
Advantages of ndtech-GrowthGenius
Improved Accuracy: Reduces false signals by filtering out market noise.
Customizable: Can be tailored to suit different trading styles and timeframes.
Real-Time Alerts: Helps traders act quickly on emerging opportunities.
Limitations
Lagging Nature: Like MACD, the ndtech-GrowthGenius indicator is based on historical data and may lag during highly volatile market conditions.
Requires Confirmation: Should be used alongside other technical analysis tools for best results.
Mark Minervini Buy Signal# Mark Minervini Buy Signal Indicator
This indicator implements Mark Minervini's "Stage 2 Uptrend" buy criteria from his SEPA (Specific Entry Point Analysis) methodology as described in his books "Trade Like a Stock Market Wizard" and "Think & Trade Like a Champion". The script identifies potential buy setups based on Minervini's technical criteria for stocks showing strong momentum characteristics.
## How It Works
The indicator evaluates various technical conditions to identify stocks in a Stage 2 uptrend according to Minervini's methodology:
1. **Moving Average Alignment**
- 150-day MA above 200-day MA (confirming overall uptrend)
- 200-day MA trending up (compared to 20 days ago)
- 50-day MA above both 150-day and 200-day MAs (showing recent strength)
- Price above all major moving averages (50, 150, 200-day MAs)
2. **Price Relative to 52-Week Range**
- Price at least 25% above 52-week low (showing strong recovery)
- Price within 75-95% of 52-week high (room for further upside)
3. **Relative Strength**
- Stock ranks in the top 30% based on 100-day price performance
- This implements Minervini's emphasis on buying only strong performers
4. **Volume Criteria**
- Volume above its 50-day moving average (showing increasing interest)
## How to Use This Indicator
When all conditions are met, the indicator displays a green triangle below the price bar and colors the background green. These signals identify potential candidates for further analysis. According to Minervini's methodology, you should:
1. Use this as a screening tool to identify potential candidates
2. Perform additional chart analysis to identify specific entry points
3. Look for decreased volatility and proper bases or consolidation patterns
4. Consider broader market conditions and sector strength before entering
## Sources and Credit
This indicator is based on Mark Minervini's trading methodology as outlined in:
1. Minervini, Mark. "Trade Like a Stock Market Wizard: How to Achieve Super Performance in Stocks in Any Market" (2013)
2. Minervini, Mark. "Think & Trade Like a Champion: The Secrets, Rules & Blunt Truths of a Stock Market Wizard" (2016)
3. Minervini, Mark. "Mindset Secrets for Winning: How to Bring Personal Power to Everything You Do" (2019)
4. Interviews and workshops where Minervini has described his SEPA methodology
The specific criteria implemented are derived from Minervini's "Stage Analysis" framework, particularly focusing on Stage 2 uptrends which he considers optimal for buying opportunities.
## Disclaimer
This indicator is provided for informational purposes only. It attempts to reproduce Minervini's published criteria but should be used as part of a complete trading strategy with proper risk management. Minervini's complete methodology includes additional subjective elements that cannot be fully automated.
HFT StrategyYour HFT Strategy identifies high-probability trades using Fibonacci levels, Break of Structure (BOS), and Fair Value Gaps (FVG). It follows a trend-based approach, entering long trades above the 50% Fibonacci level and short trades below it. Confirmation comes from BOS and FVG. The strategy focuses on momentum-driven entries.
VIDYA 1 Min Gold Heikin AshiNew Indicator with VIDYA and various other trend ribbons to try and backtest.
Crypto Market Session Guide with Local TimeMaster the Markets with the Ultimate Trading Session Indicator
Timing is everything in trading. Knowing when liquidity is at its peak and when market sessions overlap can make all the difference in your strategy. This Market Session Guide Indicator helps you navigate the trading day with real-time session tracking, countdown timers, and local time adjustments—giving you a clear edge in the market.
Key Features
Live Session Tracking – Instantly see which trading session is active: Asian, European, US, or the high-volatility EU-US overlap.
Automatic Local Time Conversion – No need to convert UTC manually—session times adjust automatically based on your TradingView exchange settings.
Daylight Saving Time Adjustments – The US market opening and closing times are automatically adjusted for summer and winter shifts.
Countdown Timer for Session Close – Know exactly when the current session will end so you can time your trades effectively.
Next Market Opening Display – Always be prepared by knowing which market opens next and at what exact time in your local timezone.
Clear Visual Guide – A structured table in the top-right of your chart provides all essential session details without cluttering your screen.
How It Works
This indicator tracks the three main trading sessions:
Asian Session (Tokyo, Sydney): 00:00 - 09:00 UTC
European Session (London, Frankfurt): 07:00 - 16:00 UTC
US Session (New York, Chicago): 13:30 - 22:00 UTC (adjusts automatically for Daylight Saving Time)
EU-US Overlap: 12:00 - 16:00 UTC, the most volatile period of the trading day
It also highlights when a session is about to close and when the next one will begin, ensuring you are always aware of liquidity shifts in the market.
Why You Need This Indicator
Optimized for Forex, Crypto, and Indices – Helps traders align their strategies with the most active market hours.
Ideal for Scalping and Day Trading – Enter trades during peak volatility to maximize opportunities.
Eliminates Guesswork – Stop manually tracking time zones and market schedules—everything updates dynamically for you.
Upgrade Your Trading Strategy Today
This indicator simplifies market timing, ensuring you're always trading when liquidity and volatility are at their highest. Whether you're trading Forex, Crypto, or Stocks, knowing when markets open and close is essential for making informed decisions.
Try it out, and if you find it useful, consider sharing it with other traders. Your feedback is always welcome!
Flow Optimized Moving AverageOverview
The Flow Optimized Moving Average (Flow OMA) is an advanced adaptive moving average designed to dynamically adjust smoothing factors based on market efficiency and volatility. By integrating the Efficiency Ratio (ER) with an Adaptive Moving Average (AMA) and leveraging ATR-based bands, this indicator provides traders with a refined tool for identifying trend direction, strength, and potential reversal zones.
Key Features
Adaptive Moving Average (AMA)
Adjusts to price action based on the Efficiency Ratio (ER), reducing lag in trending markets while smoothing noise in ranging conditions.
Efficiency Ratio (ER)
Measures the effectiveness of price movement over a defined lookback period.
Helps in dynamically adjusting the smoothing constant of the AMA.
ATR-Based Volatility Bands
Creates upper and lower dynamic bands based on the Average True Range (ATR).
Expands in high volatility and contracts in low volatility, providing traders with a contextual understanding of price action.
Slope-Based Trend Strength
Normalizes the moving average slope relative to ATR.
Generates a trend strength score, which influences band opacity, making strong trends visually distinguishable.
Dynamic Color Coding
Bullish Trends: Cyan/Turquoise (#00e2ff)
Bearish Trends: Blue (#003ff5)
Neutral Trends: Gray
The transparency of the bands dynamically adjusts based on trend strength.
Fill Zone Effect
The area between the ATR bands is filled with a gradient-like effect, giving a clear visual representation of trend strength and transitions.
Indicator Components
Inputs (User Settings)
ER Lookback Period: Defines how many bars are used in the Efficiency Ratio calculation (default: 10).
Fast & Slow Periods: Control the sensitivity of the Adaptive Moving Average (default: 2 & 30).
ATR Period: Defines the lookback for Average True Range (default: 14).
Band Multiplier: Determines the width of ATR-based bands (default: 1.5).
Slope Average Period: Smooths trend slope for more stable trend assessment (default: 5).
Efficiency Ratio Calculation
Measures how effectively price moves in a straight line compared to its total movement.
A higher ER value suggests strong trend momentum, while a lower value implies consolidation.
Adaptive Moving Average (AMA)
Dynamically adjusts its smoothing factor based on ER.
Uses a smoothing constant that ranges between the fastest and slowest specified values.
Volatility-Based Bands
Constructed using the ATR multiplier.
Expand and contract dynamically in response to market volatility.
Trend Strength & Direction
Computed using the normalized slope of AMA against ATR.
Positive slope = Bullish trend, Negative slope = Bearish trend.
Visual Enhancements
Colored Adaptive MA Line: Changes based on trend direction.
ATR Bands with Gradient Fill: Visual representation of market conditions.
Dynamic Opacity: Highlights trend strength through transparency.
How to Use the Flow OMA Indicator
Trend Identification
When the Adaptive MA is rising and colored cyan, a bullish trend is in play.
When the Adaptive MA is falling and colored blue, a bearish trend is present.
Trend Strength Assessment
A stronger trend results in more opaque band fills, indicating a clear directional bias.
Weaker trends or consolidations result in fainter fills, signaling a loss of momentum.
Reversal Signals
If price touches the upper band in a bullish move and starts reversing, it can indicate potential profit-taking areas.
If price approaches the lower band in a bearish move and rebounds, a short-term reversal may be imminent.
Volatility Insights
Narrow bands indicate low volatility and possible breakout conditions.
Wider bands suggest increased volatility, warning traders of potential price swings.
Best Practices
✅ Combine with Other Indicators
Use RSI, MACD, or Volume Profile for confirmation before executing trades.
✅ Apply to Multiple Timeframes
Works effectively in higher timeframes (1H, 4H, Daily) for trend trading.
Can be utilized in lower timeframes (5m, 15m) for scalping setups.
✅ Adjust Parameters Based on Asset Volatility
Increase ATR Period for stocks with high volatility.
Reduce ATR Multiplier for forex pairs to avoid excessive band width.
The Flow Optimized Moving Average (Flow OMA) is a powerful trend-following tool designed for both swing and intraday traders. Its adaptive nature allows it to efficiently track trends while minimizing false signals. By incorporating dynamic volatility bands and trend-sensitive color coding, this indicator enhances traders' ability to read price action effectively. Whether used standalone or in combination with other indicators, Flow OMA provides a significant edge in trend analysis.