Magic Order Blocks [MW]Add a slim design, minimalist view of the most relevant higher and lower order blocks to your chart. Use our novel method of filtering that uses both the the number of consecutive bullish or bearish candles that follow the order block, and the number of ATRs that the asset’s price changed following the order block. View just the order blocks above and below the current price, or view the backgrounds for each and every one. And, if you're up to it, dig into a comprehensive view of the data for each order block candle.
Settings:
General Settings
Minimum # of Consecutive Bars Following Order Block
Show Bullish Order Blocks Below / Hide Last Bullish Block
Show Bearish Order Blocks Above / Hide Last Bearish Block
Use ATR Filter - Select # of ATRs Below
Closest Order Block is Followed by This Many ATRs
Preferences
Right Offset of Indicator Label
Show Mid-Line from Recent Order Block Indicator Label
Use ATRs Instead of Consecutive Candles in Label Indicator
Show Timestamp of Recent Order Block
Show Large Order Block Detail Labels
Show Small Order Block Labels
Background Settings
Show Background for Recent Order Block Indicator Label
# of Backgrounds to Show Before Now
Show All Bullish Order Block Backgrounds
Show All Bearish Order Block Backgrounds
Calculations
This indicator creates a matrix of each order block that is followed by the user-specified number of consecutive bullish or bearish candles. The data can be further filtered by the number of ATRs that the price moves after the order block - also user-defined. The most recent bearish order block above the current price takes arrays from the initial filtered matrix of arrays, filters once more by the “mid-price” of the order block (the average between the order block candle high and low) and selects the last element from this order block matrix. The same follows for the latest bearish order block above the current price.
How to Use
An order block refers to a price range or zone on a chart where large institutional orders have been placed, causing a significant shift in market direction. These zones are crucial because they often indicate areas of strong buying or selling interest, which can lead to future support or resistance levels. Traders use order blocks to identify potential points of market reversal or continuation.
The Magic Order Blocks default view shows the most recent overhead bearish order block above the current price, and the most recent bullish order block below. These can presumably act as support or resistance levels, because they reflect the last price where a significant price move occurred. “Significant” meaning that the order block candle was followed by many consecutive bullish or bearish candles. Based on the user-defined settings, it can also mean that price moved multiples of the asset's average true range (ATR). More consecutive candles means that the duration of the move lasted a long time. A higher ATR move indicates that the price moved impulsively in one direction.
The default view also shows a label to the right of the current price that provides the price level, the time stamp of the order block (optional), and a sequence of bars that show the significance of the level. By default, these bars represent the number of ATRs that price rose or fell following the order block, but they can be toggled to show the number of consecutive bullish or bearish candles that followed the order block.
Although the default view provides the zones that are most relevant to the current price, past order block candles can also be identified visually with labels as well with translucent backgrounds color-coded for bullish or bearish bias. Overlapping backgrounds can identify an area that has been repeatedly been an area of support or resistance.
A detailed view of each order block can also be viewed the includes the following data points:
Bar Index
Timestamp
Consecutive Accumulated Volume
Consecutive Bars
Price Change over Consecutive Bars
Price/Volume Ratio Over Consecutive Bars
Mid Price of Order Block
High Price of Order Block
Low Price of Order Block
ATRs over Consecutive Bars
- Other Usage Notes and Limitations:
The calculations used only provide an estimated relationship or a close approximation, and are not exact.
It's important for traders to be aware of the limitations of any indicator and to use them as part of a broader, well-rounded trading strategy that includes risk management, fundamental analysis, and other tools that can help with reducing false signals, determining trend direction, and providing additional confirmation for a trade decision. Diversifying strategies and not relying solely on one type of indicator or analysis can help mitigate some of these risks.
Things to keep in mind. Longer timeframes don’t necessarily have a as many consecutive candle drops or gains as with shorter timeframes, so be sure to adjust your settings when moving to 1 hour, 1 day, or 1 week timeframes from 1 minute, 5 minute, or 15 minute timeframes.
Трендовый анализ
Sygnały Long/Short z SL i TPChoosing the Best Timeframe for Your Trading Strategy
The ideal timeframe for your trading strategy depends on several factors, including your trading style, risk preferences, and the goals of your strategy. Here’s a guide to different timeframes and their applications:
Timeframes and Their Uses:
Short-Term Timeframes (e.g., 5-minute, 15-minute):
Advantages: Provide more frequent signals and allow for quick responses to market changes. Ideal for day traders who prefer short, rapid trades.
Disadvantages: Can generate more false signals and be more susceptible to market noise. Requires more frequent attention and monitoring.
Medium-Term Timeframes (e.g., 1-hour, 4-hour):
Advantages: Offer fewer false signals compared to shorter timeframes. Suitable for swing traders looking to capture short-term trends.
Disadvantages: Fewer signals compared to shorter timeframes. Requires less frequent monitoring.
Long-Term Timeframes (e.g., daily, weekly):
Advantages: Provide more stable signals and are less affected by market noise. Ideal for long-term investors and those trading based on trends.
Disadvantages: Fewer signals, which may be less frequent but more reliable. Requires longer confirmation times.
Recommendation for Your Strategy:
For a strategy based on moving averages (MA) and generating long/short signals, the 5-minute and 15-minute timeframes might be suitable if:
You are a day trader and want to generate multiple signals per day.
You prefer quick responses to price changes and want to execute trades within a shorter timeframe.
For more stable signals and fewer false signals:
1-hour or 4-hour timeframes might be more appropriate.
Testing and Optimization:
Test Different Timeframes: See how your strategy performs on various timeframes to find the one that works best for you.
Adjust Parameters: Modify the lengths of the short and long SMAs, as well as the SL and TP levels, to fit the chosen timeframe.
How to Test:
Add the script to your chart on different timeframes on TradingView.
Observe the effectiveness and accuracy of the signals.
Adjust settings based on results and personal preferences.
Summary:
There isn’t a single “best” timeframe as it depends on your trading style and objectives. Start by testing on shorter timeframes if you are interested in day trading, and then explore how the strategy performs on longer timeframes for more stable signals.
Vasyl Ivanov | Order BlocksOrder Blocks Indicator for Long-Term Traders and Scalpers
This indicator is designed to identify order blocks (OBs) across multiple timeframes, offering flexible and adaptable detection mechanisms for both strong and weaker price movements.
Key Features:
Flexible OB Detection:
Detects order blocks with 3 candles during strong movements.
Detects order blocks with 4 candles during weaker movements.
Identifies the highest or lowest extremum between the 1st and 2nd candles to define the starting point of the OB, ensuring accuracy in ranging and trending markets.
In cases where the 2nd candle's extremum is the highest/lowest, the OB size adjusts accordingly.
Multi-Timeframe Analysis:
This indicator enables seamless multi-timeframe order block analysis, removing the need to manually switch between timeframes.
Timeframe mapping:
For intraday and lower timeframes:
< 5 min maps to 30 min
<= 15 min maps to 1 hour
<= 1 hour maps to 4 hours
All other intraday maps to 1 day
Daily charts and higher map to 1 week
This automatic adjustment lets you view both current and parent timeframe order blocks without hassle.
Customizable Backtest Analysis:
The indicator includes a "Show/Hide Overlapped Order Blocks" feature, allowing you to hide order blocks that have already been overlapped. This feature aids in backtesting and historical analysis by offering a cleaner view of how past price action interacted with detected blocks.
Color Differentiation by Timeframe:
Customize different colors for local and parent timeframes to easily differentiate order blocks from various timeframes at a glance.
Candle Wicks Customization:
The 'Use Candle Wicks' option allows you to include or exclude candle wicks in OB detection, giving you flexibility in how the blocks are drawn based on your trading style.
How It Works:
This indicator detects key price zones based on order block patterns, which are often followed by significant price moves. By analyzing these blocks across multiple timeframes, it helps traders identify potential reversal areas and support/resistance zones more effectively.
Use Cases:
Scalping: Scalpers can benefit from the rapid detection of short-term OBs to make quick decisions based on high-probability setups.
Long-Term Trading: Longer-term traders can use the multi-timeframe feature to spot higher timeframe OBs while trading lower timeframes, allowing for better alignment with major market movements.
Why It’s Unique:
Unlike other OB indicators, this one combines multi-timeframe detection with customizable OB sizing, extremum detection, and color-coding for clear differentiation between timeframes. Its backtest feature enhances historical analysis, providing a comprehensive toolkit for traders aiming to improve decision-making.
Custom Date CVDThis indicator allows setting a custom date for the beginning of cumulative volume delta calculations.
Why is it important? CVD shows aggressiveness of buyers and sellers. And in order for a bull run to sustain you need aggressive buyers hitting the ask. If the price goes up, but CVD goes down - unlikely this bull trend will last long.
You might want to choose a recent top or bottom as the start point and check whether the aggressiveness of market participants corresponds to the price movement since that peak. For example on the chart above we can see that the price was going up and down, but the aggressiveness clearly points down. Does it mean that we will have a long bear market? No. It means that until the aggressiveness starts pointing up we should not expect a bull market. It might happen tomorrow, or might happen in a month. Nobody knows. But until it starts happening - don't expect the real bull.
Additionally, candles where the aggressiveness went the opposite direction from the price are marked with a blue dot above them.
Note: the smaller the custom time frame of the indicator - the more correct the results are. However, the drawback is that shorter the lookback period will be. The actual length will depend on your subscription level and the number of subcandles of the selected instrument.
[DarkTrader] Pivot Point HeatmapThe indicator calculates pivot points using price data from different timeframes such as 12M, 1M, 1W, 3D, and 1D. For each timeframe, it retrieves the high, low, open, and close prices of the previous bar. The pivot point is calculated as the average of the high, low, and close prices, which provides a central level where market sentiment may shift. This calculation is repeated for each timeframe, ensuring a multi-dimensional view of potential interest zones.
Importance of Pivot Points :
Pivot points are essential tools in technical analysis, providing traders with levels that act as potential support and resistance zones. These zones help identify price levels where reversals or breakouts are more likely to occur.
Visual Representation :
The core feature of this indicator is its ability to visualize pivot points as a heatmap on the chart. Instead of showing just the latest pivot points, it tracks the historical pivot swipe, providing a dynamic view of how price interacts with these key levels. Each pivot point is represented by a line, color-coded based on its position relative to other points, creating a gradient effect that highlights the most critical price areas.
Customization Options :
Traders can customize various aspects of the heatmap to suit their preferences. The indicator offers options to toggle pivot swipe history, enabling traders to either focus on the most recent price interactions or consider how price has behaved over time. The background color and pivot line colors are fully customizable, making it easy to match the heatmap with your chart's theme or emphasize certain price levels.
Detecting Sweeps and Price Interaction :
Another important feature is the detection of price interactions with pivot levels. If the current bar's high and low cross a pivot point, it signals that the pivot level has been "swept" by price action, potentially indicating a change in market sentiment. The indicator either extends the line if the pivot point remains relevant or deletes it if price has broken through. This dynamic adjustment helps traders stay updated on which pivot levels are still valid.
Dynamic Volume RSI (DVRSI) [QuantAlgo]Introducing the Dynamic Volume RSI (DVRSI) by QuantAlgo 📈✨
Elevate your trading and investing strategies with the Dynamic Volume RSI (DVRSI) , a powerful tool designed to provide clear insights into market momentum and trend shifts. This indicator is ideal for traders and investors who want to stay ahead of the curve by using volume-responsive calculations and adaptive smoothing techniques to enhance signal clarity and reliability.
🌟 Key Features:
🛠 Customizable RSI Settings: Tailor the indicator to your strategy by adjusting the RSI length and price source. Whether you’re focused on short-term trades or long-term investments, DVRSI adapts to your needs.
🌊 Adaptive Smoothing: Enable adaptive smoothing to filter out market noise and ensure cleaner signals in volatile or choppy market conditions.
🎨 Dynamic Color-Coding: Easily identify bullish and bearish trends with color-coded candles and RSI plots, offering clear visual cues to track market direction.
⚖️ Volume-Responsive Adjustments: The DVRSI reacts to volume changes, giving greater significance to high-volume price moves and improving the accuracy of trend detection.
🔔 Custom Alerts: Stay informed with alerts for key RSI crossovers and trend changes, allowing you to act quickly on emerging opportunities.
📈 How to Use:
✅ Add the Indicator: Set up the DVRSI by adding it to your chart and customizing the RSI length, price source, and smoothing options to fit your specific strategy.
👀 Monitor Visual Cues: Watch for trend shifts through the color-coded plot and candles, signaling changes in momentum as the RSI crosses key levels.
🔔 Set Alerts: Configure alerts for critical RSI crossovers, such as the 50 line, ensuring you stay on top of potential market reversals and opportunities.
🔍 How It Works:
The Dynamic Volume RSI (DVRSI) is a unique indicator designed to provide more accurate and responsive signals by incorporating both price movement and volume sensitivity into the RSI framework. It begins by calculating the traditional RSI values based on a user-defined length and price source, but unlike standard RSI tools, the DVRSI applies volume-weighted adjustments to reflect the strength of market participation.
The indicator dynamically adjusts its sensitivity by factoring in volume to the RSI calculation, which means that price moves backed by higher volumes carry more weight, making the signal more reliable. This method helps identify stronger trends and reduces the risk of false signals in low-volume environments. To further enhance accuracy, the DVRSI offers an adaptive smoothing option that allows users to reduce noise during periods of market volatility. This adaptive smoothing function responds to market conditions, providing a cleaner signal by reducing erratic movements or price spikes that could lead to misleading signals.
Additionally, the DVRSI uses dynamic color-coding to visually represent the strength of bullish or bearish trends. The candles and RSI plots change color based on the RSI values crossing critical thresholds, such as the 50 level, offering an intuitive way to recognize trend shifts. Traders can also configure alerts for specific RSI crossovers (e.g., above 50 or below 40), ensuring that they stay informed of potential trend reversals and significant market shifts in real-time.
The combination of volume sensitivity, adaptive smoothing, and dynamic trend visualization makes the DVRSI a robust and versatile tool for traders and investors looking to fine-tune their market analysis. By incorporating both price and volume data, this indicator delivers more precise signals, helping users make informed decisions with greater confidence.
Disclaimer:
The Dynamic Volume RSI is designed to enhance your market analysis but should not be used as a sole decision-making tool. Always consider multiple factors before making any trading or investment decisions. Past performance is not indicative of future results.
No Buyers or Sellers (Volume Threshold)This indicator shows areas on the second or minute charts that lack buyer or seller activity in the form of volume. This is configurable in the code itself by the user.
This can be used to close a trade because there is no desire shown by the market to continue the trend.
MA OrderBlocks [AlgoAlpha]🟨 HMA OrderBlocks by AlgoAlpha is a powerful tool designed to help traders visualize key pivot zones and order blocks based on the Hull Moving Average (HMA). By dynamically identifying bullish and bearish pivot points, this script provides insights into potential price reversals and trend continuations. With customizable settings, it allows traders to tweak the behavior of the indicator to match their strategies. Plus, it comes packed with built-in alerts for trend changes, making it easier to spot potential trade opportunities.
Key Features :
📊 Trend Detection : Utilizes Hull Moving Average to detect the current trend.
🟢🔴 Bullish & Bearish Zones : Automatically plots bullish and bearish order blocks, using customizable colors for clear visual cues.
🎯 Pivot Points : Detects and marks pivot highs and lows, helping traders spot key price reversals.
🚨 Alerts : Built-in alert system for when the price approaches key bullish or bearish zones, or when the trend changes.
🔨 Customizable MA: Choose from various moving averages (SMA, HMA, EMA, etc.) to suit your strategy.
How to Use :
⭐ Add the Indicator : Add the indicators to favourites by pressing the star icon. Once added, configure settings like the Hull MA period and pivot detection period.
📈 Analyze the Chart : Watch for the plotted order blocks and pivot points to identify possible price action strategies.
🔔 Enable Alerts : Set up alerts to be notified of potential trend reversals or when the price nears a bullish/bearish block.
How It Works :
The script starts by calculating the Hull Moving Average (HMA) based on the user-defined length, which is used to determine the market trend direction. It compares the current HMA value with the previous one to confirm whether the price is trending upwards or downwards. Once a trend change is detected, it plots bullish or bearish order blocks based on recent pivot highs and lows. These zones are extended in real-time as long as they remain invalidated. Zones are invalidated are invalidated when price completely closes through them. If the price gets close to a zone in the opposing direction, a warning system alerts the user that the block may not hold. Additionally, customizable alerts trigger whenever the price trend shifts or the price gets near important bullish/bearish blocks. The script’s logic ensures that order blocks are cleared if price violates them, keeping the chart clean and updated.
Prime Multi-Ticker Screener: Real-Time Market StructurePrime Multi-Ticker Screener: Real-Time Market Structure and Trend Detection Tool
Prime Multi-Ticker Screener is designed to track multiple tickers simultaneously, providing real-time insights into market trends and structure changes such as CHoCH (Change of Character) and BOS (Break of Structure). This tool is perfect for traders looking to monitor multiple assets across different timeframes while receiving clear signals that highlight critical market shifts. The indicator delivers instant visual feedback with color-coded backgrounds to make interpreting signals easy and efficient.
Core Features of Prime Multi-Ticker Screener
Multi-Ticker Monitoring: Track up to 5 tickers across multiple timeframes in a single dashboard. This makes it easy to watch several assets at once without cluttering your chart.
CHoCH and BOS Detection: The screener automatically detects and highlights significant market structure shifts. CHoCH signals are shown when a trend reverses or consolidates, while BOS signals indicate a break in previous highs or lows, helping traders catch potential trend reversals early.
Color-Coded Visuals: The background of each signal cell dynamically changes color to represent bullish or bearish signals. Green indicates bullish activity, while red highlights bearish market shifts, making it easy for traders to identify key movements at a glance.
Close Price and ATR Data: For each ticker, the screener displays both the current close price and the 14-period Average True Range (ATR), providing important volatility information to support decision-making.
Detailed Explanation of How Prime Multi-Ticker Screener Works
Prime Multi-Ticker Screener combines trend detection with real-time market structure analysis to deliver comprehensive market insights. It analyzes the following components:
CHoCH Detection: Change of Character occurs when the market switches from trending to ranging or vice versa. This indicator catches these moments by identifying when prices cross pivot levels, providing traders with a valuable signal of potential market phase changes.
BOS Detection: The Break of Structure function highlights moments when the price breaks a significant high or low, often indicating the start of a new trend or the continuation of an existing one.
Close Price & ATR Monitoring: Alongside market structure signals, the screener provides real-time data on the close price and the Average True Range (ATR), ensuring traders have a complete picture of the price and volatility landscape for each asset they are tracking.
Why It's Useful for Traders
Prime Multi-Ticker Screener is a versatile tool that offers substantial benefits to traders who want to stay informed about multiple assets and trends simultaneously:
Comprehensive Monitoring: Track multiple assets in real time, all from a single indicator. Whether you trade crypto, forex, or stocks, this tool helps you stay on top of market movements across different assets and timeframes.
Market Structure Analysis: The automatic detection of CHoCH and BOS signals gives traders an edge by identifying potential reversals and trend continuations as they happen, allowing for more timely and informed trading decisions.
Efficient and Intuitive Design: The screener is designed with simplicity in mind. The color-coded backgrounds quickly alert traders to market structure shifts without overwhelming them with data, making it ideal for those who need to act fast.
How It Works: Practical Usage
Prime Multi-Ticker Screener is ideal for:
Day traders: The real-time tracking of multiple assets allows day traders to quickly spot trading opportunities across different markets.
Swing traders: CHoCH and BOS detection help swing traders catch key market structure shifts, helping them align trades with emerging trends.
Trend followers: The screener provides instant feedback on when a trend is continuing or breaking, helping trend-following traders maintain their positions or exit early when needed.
By combining multiple key metrics—price, volatility, and market structure—Prime Multi-Ticker Screener ensures traders are well-equipped to manage their positions across a variety of assets.
Risk Disclaimer
While Prime Multi-Ticker Screener provides valuable market insights, it's important to remember:
Past performance is not indicative of future results: This screener provides analysis based on historical data, and no indicator can predict future market movements with certainty.
Market Conditions: The effectiveness of Prime Multi-Ticker Screener may vary in different market conditions, so traders should always use proper risk management when trading.
Trading Risks: Like any trading tool, Prime Multi-Ticker Screener should be used as part of a comprehensive trading strategy, including risk management techniques such as stop-loss orders and position sizing.
Prime OscilatorPrime Oscilator is a powerful tool designed to help traders track momentum shifts and confirm trends in volatile markets. This oscillator-based tool integrates advanced market analysis techniques to provide a clear picture of momentum and trend direction, helping traders stay in sync with the prevailing market conditions.
Core Features of Prime Oscilator
Oscillator-Based Momentum Tracking: Prime Oscilator operates as a dynamic oscillator that tracks shifts in market momentum by analyzing the relationship between the A/D line and its signal line. This allows traders to identify potential changes in market direction and confirm trend strength.
Trend Confirmation Filter: Prime Oscilator incorporates a long-term trend filter, using a 50-period Simple Moving Average (SMA) to confirm whether the market is trending upward or downward. This helps traders focus on trades that align with the broader market direction.
Adaptive Signal Line: The oscillator’s signal line adjusts dynamically to reflect short-term momentum changes, allowing traders to react quickly to evolving market conditions. This makes the Prime Oscilator highly responsive to both fast-moving and stable markets.
Color-Coded Oscillator Line: The oscillator line changes color based on the current market conditions, providing a visual cue of momentum shifts. The line remains green during upward momentum and red during downward momentum, giving traders an easy way to gauge the market direction.
How Prime Oscilator Works
Prime Oscilator blends the power of trend analysis with momentum tracking to provide a comprehensive view of market conditions. By analyzing the Accumulation/Distribution (A/D) line and comparing it to a dynamic signal line, traders can monitor momentum shifts and confirm trends.
A/D Line Crossover: The indicator uses the relationship between the A/D line and the signal line to detect potential momentum changes. When the A/D line moves relative to the signal line, it reflects shifts in market momentum, allowing traders to follow the direction of the trend.
Trend Filtering: To ensure that momentum is aligned with the broader market direction, Prime Oscilator uses a 50-period SMA as a trend filter. This confirms whether the market is in an uptrend or downtrend and helps traders avoid focusing on short-term fluctuations that go against the prevailing trend.
Why It's Useful for Traders
Prime Oscilator is especially valuable for traders looking for a reliable way to track momentum shifts while aligning their trades with the overall market trend. This reduces noise and ensures that traders focus on opportunities that are in line with broader market movements.
Momentum-Based Trend Analysis: By tracking momentum changes, Prime Oscilator helps traders stay on top of potential market shifts without the noise that comes from traditional indicators.
Clear Visual Feedback: The color-coded oscillator line provides instant feedback on market conditions, allowing traders to focus on decision-making rather than analyzing multiple indicators.
Flexible Across Markets and Timeframes: Whether you are trading in volatile markets or more stable environments, Prime Oscilator adapts to different market conditions, ensuring you always have a clear picture of momentum and trend.
Prime Oscilator is ideal for traders who:
Scalp or trade intraday: Quickly captures momentum shifts in short timeframes.
Swing traders: Identifies potential trend reversals in higher timeframes while confirming momentum strength.
Trend followers: Ensures your trades are aligned with the prevailing market trend by confirming momentum shifts.
By combining momentum analysis with trend direction, Prime Oscilator offers a dynamic view of the market, helping traders navigate changing conditions with ease.
Why It's Worth Paying For
Prime Oscilator provides several unique advantages that make it a valuable tool for traders:
Clear and Actionable Insights: The oscillator-based momentum tracking gives traders a clear understanding of when the market's momentum is shifting, allowing for more informed trading decisions.
No Lagging: Unlike some trend-following indicators, Prime Oscilator reacts dynamically to market changes, helping traders stay aligned with the current market direction.
Adaptable and Flexible: Whether you trade on shorter timeframes or hold longer positions, Prime Oscilator adapts seamlessly to various market conditions. The trend filter ensures that traders remain aligned with broader market trends.
Visual Simplicity: The color-coded oscillator line and background shading provide an easy-to-read way of monitoring market conditions, enabling faster decision-making.
How to Get Access
To gain access to Prime Oscilator , please send me a direct message on TradingView or follow the provided link to request access. Ensure that access requests are made privately so the comments section remains focused on discussions related to the script’s performance and use.
Risk Disclaimer
While Prime Oscilator offers valuable insights into market momentum and trends, it’s important to note the following:
Past performance is not indicative of future results: Prime Oscilator ’s trend and momentum analysis are based on historical data, and no indicator can predict future price movements with certainty.
Market Conditions: The effectiveness of the Prime Oscilator may vary across different market conditions, and traders should always use proper risk management when trading.
Trading Risks: Like any trading tool, Prime Oscilator should be used as part of a comprehensive trading strategy that includes risk management techniques such as stop-loss orders and position sizing.
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!
ADX & DI with dynamic threshold indicator
ADX and DI with Dynamic Threshold
This Pine Script indicator, "ADX & DI with Dynamic Threshold," helps traders detect trends, trend reversals, and trend strength using the Average Directional Index (ADX) and the Directional Indexes (DI+ and DI-). It incorporates a dynamic threshold calculated using the average ADX over a user-defined period, along with a fixed minimum threshold, making trend detection more flexible and adaptable.
ADX and Directional Indexes (DI+ and DI-)
ADX measures the strength of a trend, while DI+ and DI- measure the direction of the trend. High DI+ signals upward price strength, and high DI- signals downward price strength.
Dynamic Threshold
A threshold based on the average ADX over a certain number of periods, ensuring the indicator adapts to market conditions. The threshold is compared to DI+ and DI- to generate trend signals.
Fixed Minimum Threshold
A user-defined minimum threshold ensures that signals are only generated in markets with a certain level of trend strength, preventing false signals in low-trending markets.
Visual Highlights
The background color highlights:
Green for potential uptrend,
Red for potential downtrend, and
Orange when directional movement is strong but trend strength is weak, helping traders avoid false signals in sideways markets.
Customization
Several input parameters allow for complete customization of the indicator, ensuring it can adapt to different timeframes and assets.
How to Use
Length (len)
This is the smoothing period used to calculate the ADX and DI+/- values. Range: 5 to 50 (default: 14).
Threshold Period (th_period)
Determines the number of periods over which the dynamic ADX threshold is calculated. Range: 5 to 200 (default: 50).
Fixed Minimum Threshold (fixed_th)
The minimum ADX value that must be exceeded for the indicator to trigger signals. Range: 10 to 40 (default: 20).
Smoothing Method
Choose between SMA (Simple Moving Average) or EMA (Exponential Moving Average) for smoothing the true range and directional movement calculations.
DI+ (Green)
Indicates the strength of upward price movements.
DI- (Red)
Indicates the strength of downward price movements.
ADX (Navy)
Indicates the overall strength of the trend, regardless of direction.
Dynamic Threshold (Gray)
The dynamic threshold used for comparing ADX values.
Fixed Threshold Line
A dotted black line showing the user-defined minimum threshold for ADX.
Green Background
Indicates a potential uptrend when DI+ > DI- and ADX is above the threshold.
Red Background
Indicates a potential downtrend when DI- > DI+ and ADX is above the threshold.
Orange Background
Indicates that DI+ or DI- are strong, but ADX is weak, suggesting a lack of trend strength despite directional movement, which could lead to false signals.
Adjust the length (len) based on the volatility of the asset. A lower len (e.g., 10) may be suitable for faster timeframes (like 5-min charts), while a higher value (e.g., 20-30) may work better on longer timeframes.
Use the threshold period (th_period) to fine-tune the dynamic ADX threshold. A higher value smooths the dynamic threshold over a longer period, making it more resistant to sudden volatility.
Fixed Threshold (fixed_th) should be set based on the strength of trends you want to capture. A higher value (e.g., 30-40) is more conservative and will only trigger signals in very strong trends.
Example Usage
This indicator can be used to:
Identify trends: When the ADX crosses the threshold and DI+ or DI- is dominant, indicating an uptrend or downtrend.
Spot trend reversals: When DI+ and DI- cross each other with a strong ADX reading.
Avoid false signals: By recognizing when DI+ or DI- are strong, but the ADX is below the threshold (highlighted in orange).
Conclusion
The ADX and DI with Dynamic Threshold indicator is a versatile tool for trend-following strategies. It adapts to market conditions using dynamic and fixed thresholds and provides clear visual signals to help traders make informed decisions about market direction and trend strength.
By adjusting the various input parameters, this indicator can be tailored to any asset class or timeframe, making it suitable for all types of traders, from scalpers to swing traders.
Feel free to experiment with different settings and incorporate this indicator into your trading strategy for enhanced market analysis.
STRX - Structure Min/MaxSTRX - Structure Min/Max
The STRX - Structure Min/Max is an advanced and intuitive indicator designed for traders who want to identify key highs and lows in the market and visualize support and resistance structures clearly. Perfect for those looking to improve their chart reading abilities, this tool offers a simple and effective way to pinpoint key reversal points.
Key Features:
Relevant Pivot Highs and Lows: The indicator automatically calculates pivot highs and lows using a customizable period. These price levels are precisely displayed on the chart, with an "H" label for highs and "L" for lows, helping traders easily identify market turning points.
Dynamic Support and Resistance Lines: When a significant high or low is detected, the indicator automatically draws an extended support or resistance line. These dashed lines clearly show where the price may find support or resistance in future moves.
Complete Customization: The period for pivot calculation can be adjusted between 2 and 50, making this indicator extremely flexible and adaptable to different trading strategies, whether short or long-term. Additionally, users can choose to enable or disable the display of lines on highs and lows, keeping the chart clean and focused on relevant information.
Clean and Intuitive Visualization: Highs and lows are displayed with distinct symbols above and below the bars on the chart, allowing traders to quickly identify reversal points without confusion. The automatically drawn support and resistance lines extend to give a clear indication of critical market zones.
Versatile Tool: The STRX - Structure Min/Max is ideal for any type of asset, such as stocks, cryptocurrencies, forex, or commodities, and is applicable to any timeframe, from intraday trading to long-term analysis.
With STRX - Structure Min/Max, you can enhance your technical analysis skills by easily recognizing key reversal points and support and resistance zones, making your trading decisions more informed and precise. This indicator is perfect for those who want a structured and visually clear approach to market analysis.
STRX - Macro TimesSTRX - Macro Times
The STRX - Macro Times is an advanced indicator designed to highlight key moments in financial markets based on specific macroeconomic time frames for Forex, Indices, and Gold. With this tool, you can optimize your trading decisions by monitoring periods of increased volatility and activity in the markets, leveraging the most strategic time windows to operate.
Key Features:
Highlighting Forex, Indices, and Gold Sessions:
The STRX - Macro Times automatically colors the candles on the chart during crucial time intervals for Forex, Indices, and Gold markets, helping you easily spot periods of heightened economic and financial activity. This allows you to focus on times when the market is most liquid and volatile, enhancing your trading performance.
Pre-set Macro Times:
The indicator is programmed to highlight three different key time windows for each market:
Forex: Major sessions from 8:30 to 10:00, 12:00 to 13:00, and 15:00 to 15:30.
Indices: Key times from 9:00 to 10:00, 15:45 to 16:15, and 19:00 to 20:00.
Gold: Strategic moments from 8:30 to 10:00, 14:30 to 16:00, and 20:00 to 21:30.
Total Customization:
You can enable or disable the coloring for different markets (Forex, Indices, Gold) based on your trading preferences. This allows you to focus only on the markets you follow, simplifying chart analysis and optimizing your response time to market changes.
Clear and Intuitive Visual Coloring:
The chart bars are colored in white, creating a clear visual distinction to recognize the most relevant time windows. This makes it easy to identify macroeconomic periods without wasting time manually calculating opportunity windows.
With STRX - Macro Times, you’ll have a strategic advantage in trading by focusing on periods of high volatility and improving the efficiency of your operations in the most active markets. This indicator is perfect for those looking to enhance their strategy and operate in sync with the key moments of the global market.
STRX - Automatic FiboSTRX - Automatic Fibo
The STRX - Automatic Fibo is a powerful and intuitive tool that automatically calculates and plots Fibonacci levels directly on the chart, helping traders precisely identify key support and resistance zones. This indicator is ideal for those who want to optimize their trading decisions using the well-known Fibonacci strategy without the need to manually draw the levels.
Key Features:
Automatic Fibonacci Level Calculation:
The indicator automatically identifies confirmed highs and lows over a specified period, generating Fibonacci levels at 0%, 13.6%, 23.6%, 38.2%, 50%, 61.8%, 78.6%, 88.6%, and 100% based on market structure. This helps traders save time and improve the accuracy of their analysis.
Dynamic Updates:
The STRX - Automatic Fibo tracks Fibonacci levels in real time, automatically updating the lines when new highs or lows are confirmed, ensuring that traders always have access to updated levels relevant to current market conditions.
Line Extension:
The Fibonacci levels are not only displayed at key points on the chart but also extended both forward and backward to provide a clear view of how price levels relate to market movements. This visual extension helps traders plan more effective entry and exit points.
Full Customization:
Traders can configure the number of bars used to confirm highs and lows, adapting the indicator to their strategy. Additionally, Fibonacci levels come with clear labels showing the percentage values and corresponding prices, making interpretation easier.
Simplicity and Precision:
The STRX - Automatic Fibo is designed to simplify technical analysis, allowing traders to focus on what matters most: identifying reversal points and capitalizing on market movements. Whether you're an experienced trader or just starting out, this indicator offers a clear and reliable solution for analyzing the market using Fibonacci levels.
With STRX - Automatic Fibo, you can eliminate the need to manually plot Fibonacci levels and optimize your trading strategy with the help of an automatic and highly customizable tool.
DP-OCR MTF & MA 2024This script developed is designed for multi-timeframe analysis of previous open, close, and range, with additional signal plots based on various percentage extension levels. It also incorporates EMA calculations for crossover strategies. Here's a quick breakdown of what the script does:
Key Features:
1. Timeframes:
o Two separate timeframes (TF1 and TF2), which can be set by the user (e.g., 15 mins, 30 mins, daily, etc.). The script computes price actions and extensions for both timeframes. For better analysis, use Daily in TF1 and Weekly in TF2
2. Extension Levels:
o Calculates and plots 10%, 21%, 31%, 51%, and 61% extensions (both positive and negative) for each timeframe.
o The most commonly used extension levels are 61%, 31%, -61%, and -21%.
o These extension levels can be turned on or off by the user.
3. Open/Close/Range:
o Tracks the high, low, open, and close for both timeframes.
o Highlights open/close gaps.
o Plots the previous high/low range for both timeframes with a fill and different colors based on price movement.
How to Use:
• You can toggle specific extension levels on or off in the script’s settings.
• For example, when price hits a +61% extension, it could signal a breakout, and when it hits a -61% extension, it may indicate a potential retracement.
• Use these levels in conjunction with your price action analysis to set entry/exit points or stop-loss levels.
4. Today’s Open:
o Plots today’s opening price for both timeframes.
How to Use:
• Use today’s open as a key reference point to determine the day’s price action.
• Compare today’s open with the previous high/low or extension levels to evaluate possible trends or reversals.
5. EMA Calculations:
o The script calculates 5, 15, and 20 period EMAs and plots them on the chart.
o Additional EMA crossover signals can be included for strategy optimization.
How to Use:
• Observe the EMAs for potential crossover signals. For example, a 5-period EMA crossing above a 15-period or 20-period EMA may signal a buy opportunity, while a crossover in the opposite direction may signal a sell.
• Combine the EMA crossovers with extension levels or previous price data to refine your entries and exits.
Customizations Available:
• Users can select whether to display extension levels for either timeframe.
• The script allows automatic adaptation to intraday, daily, weekly, or monthly timeframes based on the current chart settings.
Moreover, the extension levels are calculated based on the previous period’s range, with the most commonly usable extension levels being 61, 31, -61, and -21. These levels are often used for identifying potential price retracements, breakouts, or reversal points in technical analysis.
Donchian Channel Crosses_AITIndicator Name: Donchian Channel Crosses_AIT
Programming Language: Pine Script (TradingView)
Description
The Donchian Channel Crosses_AIT indicator is designed to provide trading signals based on the crossover of two Donchian Channels with different lookback periods. The indicator uses two channels, Donchian Channel A (default 7-day period) and Donchian Channel B (default 30-day period), to detect upward or downward momentum shifts. The signals are generated when the middle line of Donchian Channel A crosses above or below the middle line of Donchian Channel B.
Components
Donchian Channel A:
Default period: 7 days (modifiable by the user).
Middle Line: Calculated as the average of the highest high and lowest low over the period.
The middle line changes color depending on its position relative to Donchian Channel B.
Green: When Donchian Channel A's middle line is above Donchian Channel B's middle line.
Red: When Donchian Channel A's middle line is below Donchian Channel B's middle line.
Donchian Channel B:
Default period: 30 days (modifiable by the user).
Middle Line: Also calculated as the average of the highest high and lowest low over the period.
Always displayed as a white line with a line thickness of 1.
Long Signal:
Triggered when the middle line of Donchian Channel A crosses above the middle line of Donchian Channel B.
Displayed as a yellow triangle pointing up (L) below the price bar.
Short Signal:
Triggered when the middle line of Donchian Channel A crosses below the middle line of Donchian Channel B.
Displayed as a fuchsia triangle pointing down (S) above the price bar.
Settings
Donchian Channel A:
Default period: 7 days (modifiable via user input).
Middle line changes color based on its relationship to Donchian Channel B.
Donchian Channel B:
Default period: 30 days (modifiable via user input).
Middle line is always white and displayed with a line thickness of 1.
Signal Display:
Long Signal: A yellow "L" triangle is displayed when Donchian Channel A’s middle line crosses above Donchian Channel B’s middle line.
Short Signal: A fuchsia "S" triangle is displayed when Donchian Channel A’s middle line crosses below Donchian Channel B’s middle line.
Signals can be toggled on or off using the "Show Signals" setting.
Usage
Trend Confirmation:
Use this indicator to confirm trend direction by monitoring the relationship between Donchian Channel A and Donchian Channel B.
Uptrend: When Donchian Channel A’s middle line is above Donchian Channel B’s middle line (green line for Donchian A).
Downtrend: When Donchian Channel A’s middle line is below Donchian Channel B’s middle line (red line for Donchian A).
Entry and Exit Signals:
Long Signal: Enter a buy position when Donchian Channel A crosses above Donchian Channel B.
Short Signal: Enter a sell position when Donchian Channel A crosses below Donchian Channel B.
Visual Representation:
The Donchian Channels are drawn on the price chart, with Donchian Channel A dynamically changing color depending on its relative position to Donchian Channel B.
Volatility Trend Bands [UAlgo]The Volatility Trend Bands is a trend-following indicator that combines the concepts of volatility and trend detection. Built using the Average True Range (ATR) to measure volatility, this indicator dynamically adjusts upper and lower bands around price movements. The bands act as dynamic support and resistance levels, making it easier to identify trend shifts and potential entry and exit points.
With the ATR multiplier, this indicator effectively captures volatility-based shifts in the market. The use of midline values allows for accurate trend detection, which is displayed through color-coded signals on the chart. Additionally, this tool provides clear buy and sell signals, accompanied by intuitive graphical markers for ease of use.
The Volatility Trend Bands is ideal for traders seeking an adaptive trend-following method that responds to changing market conditions while maintaining robust volatility control.
🔶 Key Features
Dynamic Support and Resistance: The indicator utilizes volatility to create dynamic bands. The upper band acts as resistance, and the lower band acts as support for the price. Wider bands indicate higher volatility, while narrower bands indicate lower volatility.
Customizable Inputs
You can tailor the indicator to your strategy by adjusting the:
Price Source: Select the price data (e.g., closing price) used for calculations.
ATR Length: Define the lookback period for the Average True Range (ATR) volatility measure.
ATR Multiplier: This factor controls the width of the volatility bands relative to the ATR value.
Color Options: Choose colors for the bands and signal arrows for better visualization.
Visual Signals: Arrows ("▲" for buy, "▼" for sell) appear on the chart when the trend changes, providing clear entry point indications.
Alerts: Integrated alerts for both buy and sell conditions, allowing you to receive notifications for potential trade opportunities.
🔶 Interpreting Indicator
Upper and Lower Bands: The upper and lower bands are dynamic, adjusting based on market volatility using the ATR. These bands serve as adaptive support and resistance levels. When price breaks above the upper band, it indicates a potential bullish breakout, signaling a strong uptrend. Conversely, a break below the lower band signals a bearish breakout, indicating a downtrend.
Buy/Sell Signals: The indicator provides clear buy and sell signals at breakout points. A buy signal ("▲") is generated when the price breaks above the upper band, suggesting the start of a bullish trend. A sell signal ("▼") is triggered when the price breaks below the lower band, indicating the beginning of a bearish trend. These signals help traders identify potential entry and exit points at key breakout levels.
Color-Coded Bars: The bars on the chart change color based on the trend direction. Teal bars represent bullish momentum, while purple bars signify bearish momentum. This color coding provides a quick visual cue about the market's current direction.
🔶 Disclaimer
Use with Caution: This indicator is provided for educational and informational purposes only and should not be considered as financial advice. Users should exercise caution and perform their own analysis before making trading decisions based on the indicator's signals.
Not Financial Advice: The information provided by this indicator does not constitute financial advice, and the creator (UAlgo) shall not be held responsible for any trading losses incurred as a result of using this indicator.
Backtesting Recommended: Traders are encouraged to backtest the indicator thoroughly on historical data before using it in live trading to assess its performance and suitability for their trading strategies.
Risk Management: Trading involves inherent risks, and users should implement proper risk management strategies, including but not limited to stop-loss orders and position sizing, to mitigate potential losses.
No Guarantees: The accuracy and reliability of the indicator's signals cannot be guaranteed, as they are based on historical price data and past performance may not be indicative of future results.
Global Liquidity Index and DEMA1001. Global Liquidity Index:
The code calculates global liquidity from economic data from multiple countries and regions. Specifically, it aggregates money supply data from major economies such as the United States, Europe, China, and Japan, and sums and adjusts them to get a global liquidity index.
This index is calculated by summing data from different sources and subtracting the impact of some financial instruments (such as reverse repurchase agreements, etc.), and then converting the result into a number in trillions. This can help analyze the liquidity conditions in global money markets.
2. ROC SMA (Simple Moving Average of Rate of Change):
The code calculates the rate of change (ROC) of the global liquidity index, which is a way to measure the speed of change of the index.
Then, a simple moving average (SMA) is applied to the rate of change, which helps smooth the data and identify trends.
The ROC SMA curve is displayed in yellow to help users observe the trend of liquidity changes.
3. DEMA (Double Exponential Moving Average):
DEMA is a more complex moving average that attempts to reduce the lag of the moving average and provide a more sensitive trend response.
The calculation method is to first calculate a standard exponential moving average (EMA), then calculate the EMA of this EMA, and use these two results to calculate DEMA.
The code allows users to set the period length of DEMA (default is 100), which can adjust the speed of DEMA's response to price changes.
The DEMA curve is displayed in blue, helping users to more accurately capture the trends and changes of global liquidity indicators.
Bidirectional Trend Reversal StrategyBidirectional Trend Reversal Strategy
This strategy aims to identify potential trend reversals and execute trades accordingly, focusing on both long and short positions. It uses a crossover of the Simple Moving Average (SMA) with price action as a key signal. When the price crosses above the SMA and the previous period was bearish (closed lower than it opened), the script opens a long position ("o-Long"). The exit ("e-Long") occurs when the target or stop-loss levels are hit, which are dynamically set using the ATR (Average True Range).
For short trades, when the price crosses below the SMA and the previous period was bullish (closed higher than it opened), the script opens a short position ("o-Short"). The exit ("e-Short") follows the same ATR-based logic for stop-loss and take-profit.
All settings, including SMA and ATR parameters, are fully customizable, allowing users to adapt the strategy to different market conditions and personal trading preferences.
This approach provides a systematic way to capture trend reversals and manage trades with clear entry and exit signals based on market momentum and volatility.
Example Setup:
Market: Forex
Pair: USD/GBP
Order size: 100,000 Contracts (1 Lot)
Timeframe: 15 minutes
SMA: 93
ATR Length: 15
Stop-Loss (ATR Multiplier): 7
Take-Profit Multiplier: 2
Experiment with different settings to achieve the best results for your trading style and market conditions.
Parabolic SAR Crosses_AITIndicator Name: Parabolic SAR Crosses_AIT
Purpose:
This indicator utilizes the Parabolic SAR to track price trends and generate buy (long) and sell (short) signals when the price crosses the Parabolic SAR line. The indicator is designed to help traders identify trend direction and potential trend reversals on the price chart.
Indicator Overview:
Indicator Parameters:
Parabolic SAR: The default settings for the Parabolic SAR are:
Step: 0.02
Maximum: 0.2 These values can be adjusted by the user to control the sensitivity of the SAR.
Signal Conditions:
Buy Signal (Long): A buy signal is generated when the price crosses above the Parabolic SAR line.
Sell Signal (Short): A sell signal is generated when the price crosses below the Parabolic SAR line.
How It Works:
Buy Signal:
When the price crosses above the Parabolic SAR line, it indicates a potential upward trend. A yellow triangle (L) will appear below the price bar, signaling a possible long entry.
Sell Signal:
When the price crosses below the Parabolic SAR line, it indicates a potential downward trend. A fuchsia triangle (S) will appear above the price bar, signaling a possible short entry.
Trend Detection:
Green Line: Indicates that the Parabolic SAR is below the price, suggesting an uptrend.
Red Line: Indicates that the Parabolic SAR is above the price, suggesting a downtrend.
Trend Reversal:
A trend reversal occurs when the Parabolic SAR switches positions relative to the price. This can be used to exit positions or enter positions in the opposite direction.
Customization:
Step Size: The step parameter controls how sensitive the Parabolic SAR is to price changes. A smaller step value (e.g., 0.01) makes the SAR less sensitive, while a larger step value (e.g., 0.05) makes it more sensitive.
Maximum: The maximum value defines the upper limit for the acceleration factor in the SAR calculation. A higher value allows the SAR to track the price more closely, while a lower value smooths the trend.
Visual Representation:
The Parabolic SAR line is plotted directly on the price chart as a solid line, using the appropriate colors (green or red) depending on the trend direction.
Long signals are indicated by small yellow triangles (L) below the price.
Short signals are indicated by small fuchsia triangles (S) above the price.
Usage Tips:
Combining with Other Indicators: While Parabolic SAR is a great tool for identifying trend direction, it may produce false signals in ranging or sideways markets. Combining this indicator with other trend confirmation tools, such as moving averages or the MACD, can improve its reliability.
Adjusting the Step and Maximum Values: In highly volatile markets, it might be useful to reduce the step value to avoid false signals. In more stable, trending markets, increasing the step value can make the SAR more responsive.
Position Management: Parabolic SAR can be used not only to enter trades but also to manage existing positions by acting as a trailing stop-loss. You can use the SAR value as a dynamic stop-loss level, adjusting it as the trend progresses.
Conclusion:
The Parabolic SAR Crosses_AIT indicator helps traders visually identify trend directions and possible trend reversals by plotting the Parabolic SAR directly on the price chart. With customizable settings for sensitivity and signals that indicate long or short positions, this indicator provides a clear and effective method to manage trades based on trend-following strategies.
Yesterday's Levels with 50% wick and Equilibrium## Script Description
This Pine Script indicator highlights key levels from the previous day’s daily candle on any timeframe chart. It focuses exclusively on marking the following:
1. **Previous Day’s High, Low, Open, and Close**:
- Horizontal lines are drawn to indicate the previous day's high, low, open, and close prices.
- These lines are white and extend across the chart.
2. **50% of Candle Wicks**:
- If the previous day’s candle has wicks, two additional lines mark 50% of the top wick and 50% of the bottom wick.
- These lines are green and dotted, representing half the wick’s height.
3. **Equilibrium (50% of the Full Candle)**:
- A horizontal red line marks the midpoint (equilibrium) of the entire previous day’s candle, from high to low.
- This line is thicker than the others to emphasize the equilibrium level.
The script works by focusing only on the previous day’s daily candle, ensuring that it doesn’t plot lines for any older candles. These levels are visible on all timeframes.
Bull Bear Power With EMA FilterDescription of Indicator:
This Pine Script indicator colors price bars based on the open price in relation to custom moving averages (EMA/SMA), Bull/Bear Power (BBPower), and an optional VWAP filter. The bar colors help identify bullish and bearish conditions with added visual cues for price positioning relative to VWAP.
Key Features:
Customizable Moving Averages (EMA/SMA):
The user can select between EMA or SMA for both short-term and long-term moving averages.
Default moving averages are set to 5 (short-term) and 9 (long-term) but can be adjusted by the user.
Bullish Condition (Blue or Purple Bars):
A bar is colored blue if the following conditions are met:
The open price is above both the short-term and long-term moving averages.
The short-term moving average (MA 1) is above the long-term moving average (MA 2).
BBPower (open price minus the 13-period EMA) is positive, indicating bullish strength.
If the VWAP filter is enabled and the price opens below VWAP, the bullish bars will turn purple.
Bearish Condition (Yellow or Orange Bars):
A bar is colored yellow if the following conditions are met:
The open price is below both the short-term and long-term moving averages.
The short-term moving average (MA 1) is below the long-term moving average (MA 2).
BBPower is negative or zero, indicating bearish market conditions.
If the VWAP filter is enabled and the price opens above VWAP, the bearish bars will turn orange.
VWAP Filter (Optional):
An optional filter allows the user to add VWAP (Volume-Weighted Average Price) to the bar coloring logic.
When the VWAP filter is enabled, it provides additional information about price positioning relative to VWAP, turning bullish bars purple and bearish bars orange depending on whether the price opens above or below VWAP.
Usage:
Bullish Trend: Look for blue or purple bars to identify potential bullish momentum.
Bearish Trend: Look for yellow or orange bars to spot bearish conditions in the market.
The indicator allows users to customize the length and type of moving averages (EMA or SMA), as well as decide whether to apply the VWAP filter.
This indicator provides traders with clear visual signals to quickly assess the strength of bullish or bearish conditions based on the price's position relative to custom moving averages, BBPower, and VWAP, helping with trend identification and potential trade setups.