Overnight Positioning w EMA - Strategy [presentTrading]I've recently started researching Market Timing strategies, and it’s proving to be quite an interesting area of study. The idea of predicting optimal times to enter and exit the market, based on historical data and various indicators, brings a dynamic edge to trading. Additionally, it is integrated with the 3commas bot for automated trade execution.
I'm still working on it. Welcome to share your point of view.
█ Introduction and How it is Different
The "Overnight Positioning with EMA " is designed to capitalize on market inefficiencies during the overnight trading period. This strategy takes a position shortly before the market closes and exits shortly after it opens the following day. What sets this strategy apart is the integration of an optional Exponential Moving Average (EMA) filter, which ensures that trades are aligned with the underlying trend. The strategy provides flexibility by allowing users to select between different global market sessions, such as the US, Asia, and Europe.
It is integrated with the 3commas bot for automated trade execution and has a built-in mechanism to avoid holding positions over the weekend by force-closing positions on Fridays before the market closes.
BTCUSD 20 mins Performance
█ Strategy, How it Works: Detailed Explanation
The core logic of this strategy is simple: enter trades before market close and exit them after market open, taking advantage of potential price movements during the overnight period. Here’s how it works in more detail:
🔶 Market Timing
The strategy determines the local market open and close times based on the selected market (US, Asia, Europe) and adjusts entry and exit points accordingly. The entry is triggered a specific number of minutes before market close, and the exit is triggered a specific number of minutes after market open.
🔶 EMA Filter
The strategy includes an optional EMA filter to help ensure that trades are taken in the direction of the prevailing trend. The EMA is calculated over a user-defined timeframe and length. The entry is only allowed if the closing price is above the EMA (for long positions), which helps to filter out trades that might go against the trend.
The EMA formula:
```
EMA(t) = +
```
Where:
- EMA(t) is the current EMA value
- Close(t) is the current closing price
- n is the length of the EMA
- EMA(t-1) is the previous period's EMA value
🔶 Entry Logic
The strategy monitors the market time in the selected timezone. Once the current time reaches the defined entry period (e.g., 20 minutes before market close), and the EMA condition is satisfied, a long position is entered.
- Entry time calculation:
```
entryTime = marketCloseTime - entryMinutesBeforeClose * 60 * 1000
```
🔶 Exit Logic
Exits are triggered based on a specified time after the market opens. The strategy checks if the current time is within the defined exit period (e.g., 20 minutes after market open) and closes any open long positions.
- Exit time calculation:
exitTime = marketOpenTime + exitMinutesAfterOpen * 60 * 1000
🔶 Force Close on Fridays
To avoid the risk of holding positions over the weekend, the strategy force-closes any open positions 5 minutes before the market close on Fridays.
- Force close logic:
isFriday = (dayofweek(currentTime, marketTimezone) == dayofweek.friday)
█ Trade Direction
This strategy is designed exclusively for long trades. It enters a long position before market close and exits the position after market open. There is no shorting involved in this strategy, and it focuses on capturing upward momentum during the overnight session.
█ Usage
This strategy is suitable for traders who want to take advantage of price movements that occur during the overnight period without holding positions for extended periods. It automates entry and exit times, ensuring that trades are placed at the appropriate times based on the market session selected by the user. The 3commas bot integration also allows for automated execution, making it ideal for traders who wish to set it and forget it. The strategy is flexible enough to work across various global markets, depending on the trader's preference.
█ Default Settings
1. entryMinutesBeforeClose (Default = 20 minutes):
This setting determines how many minutes before the market close the strategy will enter a long position. A shorter duration could mean missing out on potential movements, while a longer duration could expose the position to greater price fluctuations before the market closes.
2. exitMinutesAfterOpen (Default = 20 minutes):
This setting controls how many minutes after the market opens the position will be exited. A shorter exit time minimizes exposure to market volatility at the open, while a longer exit time could capture more of the overnight price movement.
3. emaLength (Default = 100):
The length of the EMA affects how the strategy filters trades. A shorter EMA (e.g., 50) reacts more quickly to price changes, allowing more frequent entries, while a longer EMA (e.g., 200) smooths out price action and only allows entries when there is a stronger underlying trend.
The effect of using a longer EMA (e.g., 200) would be:
```
EMA(t) = +
```
4. emaTimeframe (Default = 240):
This is the timeframe used for calculating the EMA. A higher timeframe (e.g., 360) would base entries on longer-term trends, while a shorter timeframe (e.g., 60) would respond more quickly to price movements, potentially allowing more frequent trades.
5. useEMA (Default = true):
This toggle enables or disables the EMA filter. When enabled, trades are only taken when the price is above the EMA. Disabling the EMA allows the strategy to enter trades without any trend validation, which could increase the number of trades but also increase risk.
6. Market Selection (Default = US):
This setting determines which global market's open and close times the strategy will use. The selection of the market affects the timing of entries and exits and should be chosen based on the user's preference or geographic focus.
Indikator dan strategi
Options Strategy Straddle StrangleThe "Options Strategy Straddle Strangle" indicator is designed to assist traders in identifying and executing optimal options trading strategies by leveraging the foundational principles of option greeks. This tool focuses on two prevalent strategies in options trading: straddles and strangles, providing a systematic approach to determining appropriate strike prices based on real-time market data.
At its core, the indicator calculates strike prices by analyzing key option greeks, including Delta, Gamma, Theta, and Vega. By evaluating these sensitivities, the tool assesses the potential risks and rewards associated with different strike prices, ensuring that the selected levels align with the trader's specified thresholds. Users can input their desired thresholds for each greek, allowing for a customized approach that reflects individual risk tolerance and market outlook.
Once the thresholds are set, the indicator applies its underlying logic to filter and identify the most suitable strike prices for both straddle and strangle strategies. A straddle involves purchasing both a call and a put option at the same strike price, benefiting from significant price movements in either direction. Conversely, a strangle involves buying a call and a put option at different strike prices, which can be more cost-effective while still capitalizing on substantial market shifts.
The output of the "Options Strategy Straddle Strangle" indicator is presented in a clear and organized table format. This table displays the recommended strike prices for implementing either a straddle or a strangle strategy, based on the current market conditions and the predefined greek thresholds. By providing this information in an accessible manner, the indicator enables traders to make informed decisions quickly, enhancing their ability to respond to market volatility effectively.
Note:
Used methodology of the following indicator:
Pivot Liquidity Sweep + SignalsCore Functionalities:
Sweep Signals:
The indicator identifies sweeps of liquidity by detecting when price exceeds recent pivot highs (swing highs) or pivot lows (swing lows) and then reverses direction. It draws attention to these scenarios by labeling them on the chart.
For bullish sweep signals, the entry point is the closing price of the sweep candle, with the stop loss placed at the highest point between the sweep candle and the previous candle.
For bearish sweeps, the entry point is similarly identified, with the stop loss being the lowest price of the sweep candle and the candle before it. The profit target is dynamically set to the low or high of the closest valid pivot depending on the direction of the trade.
Rejection Signals:
Rejection signals are identified when price attempts to break a pivot high or low but fails, causing a rejection.
Bullish rejections involve price trying to break a pivot low but closing back above it, indicating potential for a bounce.
Bearish rejections follow a similar pattern, with price attempting to break a pivot high but failing to hold above it, signaling a potential bearish move.
High-Precision Intrabar Data:
The "Intrabar Precision" feature allows the indicator to use lower timeframe data to accurately plot sweeps and rejections, providing traders with precise entry and exit points.
The intrabar settings are particularly useful for traders looking for high-precision trades, such as scalpers who want to capture small yet consistent moves.
ATR and Percentage-Based Filters:
The indicator allows for customizable filters to ensure signals meet certain thresholds before being validated. Traders can use ATR (Average True Range) or percentage-based conditions to filter out low-quality signals, ensuring that the trades captured have enough volatility or price movement potential.
Dashboard:
The built-in dashboard provides a quick overview of trades executed using the indicator, displaying metrics such as the total number of sweep and rejection trades, their success rates, and total profit in points.
The dashboard is color-coded for easy reading and offers traders insights into the overall performance of their strategy, helping with ongoing evaluation and optimization.
Labeling and Alerts:
Every time a sweep or rejection signal is detected, the indicator automatically labels the chart to help traders quickly identify the trading opportunities.
Alerts are also generated for each trading signal, providing the trader with real-time notifications, which can be useful for those who are not constantly monitoring their charts.
Stop Loss and Target Adaptation:
The stop loss levels are adjusted dynamically based on the recent pivot points, and the target profit is derived from valid subsequent pivot levels to ensure realistic and efficient trade exits.
[MAD MBS] L3 Float Operations & ML-NormalizersFirst of all:
This indicator is not a standalone tool ; it relies on other script series for its inputs.
This script is an indicator designed for multi-path float operations with integrated machine learning normalizers.
It supports up to four distinct paths, each customizable with multiple sources, factors, and operations.
Users can perform various mathematical operations on price data, including addition, subtraction, multiplication, division, and percentage changes, as well as more advanced tasks like double and triple moving averages or power operations.
The script also integrates several normalization methods (e.g., Min-Max, Z-Score, Robust) to standardize data—an important step for machine learning models.
Each path supports multiple smoothing techniques (e.g., EMA, SMA, and specialized Ehlers smoothers) to further refine the output.
Designed to handle multiple data inputs simultaneously, this tool is especially useful for traders looking to analyze and normalize data from different price sources.
The combination of advanced mathematical operations, normalization techniques, and smoothing enhances data management, aiding in more effective trading decisions.
Here you can see a single path, out of the four possible:
Details to the screenshot:
First Series
Second Series
Option to override the second series with a custom constant (or when normalizing, use the length instead)
The first selection box sets the mathematical operation or activates the normalizer.
The second selection box sets the normalization method.
The third selection box sets the final smoothing technique, followed by parameters for smoothing length.
These settings are repeated identically for Paths 2–4.
At the bottom of the setup, there's a general offset option (add the 'close' price for overlay purposes).
Additionally, there's an option to display a line at zero for centered results.
Adaptive MA Scalping StrategyAdaptive MA Scalping Strategy
The Adaptive MA Scalping Strategy is an innovative trading approach that merges the strengths of the Kaufman's Adaptive Moving Average (KAMA) with the Moving Average Convergence Divergence (MACD) histogram. This combination results in a momentum-adaptive moving average that dynamically adjusts to market conditions, providing traders with timely and reliable signals.
How It Works
Kaufman's Adaptive Moving Average (KAMA): Unlike traditional moving averages, KAMA adjusts its sensitivity based on market volatility. It becomes more responsive during trending markets and less sensitive during periods of consolidation, effectively filtering out market noise.
MACD Histogram Integration: The strategy incorporates the MACD histogram, a momentum indicator that measures the difference between a fast and a slow exponential moving average (EMA). By adding the MACD histogram values to the KAMA, the strategy creates a new line—the momentum-adaptive moving average (MOMA)—which captures both trend direction and momentum.
Signal Generation:
Long Entry: The strategy enters a long position when the closing price crosses above the MOMA. This indicates a potential upward momentum shift.
Exit Position: The position is closed when the closing price crosses below the MOMA, signaling a potential decline in momentum.
Cloud Calculation Detail
The MOMA is calculated by adding the MACD histogram value to the KAMA of the price. This addition effectively adjusts the KAMA based on the momentum indicated by the MACD histogram. When momentum is strong, the MACD histogram will have higher values, causing the MOMA to adjust accordingly and provide earlier entry or exit signals.
Performance on Stocks
This strategy has demonstrated excellent performance on stocks when applied to the 1-hour timeframe. Its adaptive nature allows it to respond swiftly to market changes, capturing profitable trends while minimizing the impact of false signals caused by market noise. The combination of KAMA's adaptability and MACD's momentum detection makes it particularly effective in volatile market conditions commonly seen in stock trading.
Key Parameters
KAMA Length (malen): Determines the sensitivity of the KAMA. A length of 100 is used to balance responsiveness with noise reduction.
MACD Fast Length (fast): Sets the period for the fast EMA in the MACD calculation. A value of 24 helps in capturing short-term momentum changes.
MACD Slow Length (slow): Sets the period for the slow EMA in the MACD calculation. A value of 52 smooths out longer-term trends.
MACD Signal Length (signal): Determines the period for the signal line in the MACD calculation. An 18-period signal line is used for timely crossovers.
Advantages of the Strategy
Adaptive to Market Conditions: By adjusting to both volatility and momentum, the strategy remains effective across different market phases.
Enhanced Signal Accuracy: The fusion of KAMA and MACD reduces false signals, improving the accuracy of trade entries and exits.
Simplicity in Execution: With straightforward entry and exit rules based on price crossovers, the strategy is user-friendly for traders at all experience levels
Kurutoga Histogram with HTF and LTF
Kurutoga Histogram:
The Kurutoga Histogram is a technical analysis indicator designed to measure price divergence from the 50% level of a recent price range. By calculating how far the current price is from the midpoint of a selected base length of candles, the histogram provides insight into the momentum, strength, and potential reversals in the market. Additionally, it can be applied across multiple timeframes to provide a comprehensive view of both short- and long-term market dynamics.
Key Components:
Base Length:
The base length is the number of candles (bars) over which the high and low prices are observed. The default base length is typically 14 periods, but it can be adjusted according to the trader's preference.
This base length defines the range from which the 50% level, or midpoint, is calculated.
50% Level (Midpoint):
The midpoint is the average of the highest high and the lowest low over the selected base length. This 50% level acts as an equilibrium point around which the price fluctuates.
Formula:
Midpoint = (Highest High + Lowest Low) / 2
The price’s distance from this midpoint is an indicator of how strong the current trend or divergence is.
Price Divergence:
The main calculation of the histogram is the difference between the current closing price and the midpoint of the price range.
Formula:
Divergence = Close Price − Midpoint
A positive divergence (price above the midpoint) indicates bullish strength, while a negative divergence (price below the midpoint) indicates bearish strength.
Multi-Timeframe Analysis:
The Kurutoga Histogram can be applied to both the current timeframe and a higher timeframe (HTF), allowing traders to gauge price movement in both short-term and long-term contexts.
By comparing the histograms of multiple timeframes, traders can determine if there is alignment (confluence) between trends, which can strengthen trade signals or provide additional confirmation.
Color-Coded Histogram:
Blue Bars (Positive Divergence): Represent that the price is above the 50% level, indicating bullish momentum. Taller blue bars suggest stronger upward momentum, while shrinking bars suggest weakening strength.
Red Bars (Negative Divergence): Represent that the price is below the 50% level, indicating bearish momentum. Taller red bars suggest stronger downward momentum, while shrinking bars suggest a potential reversal or consolidation.
The histogram’s color intensity and transparency can be adjusted to enhance the visual effect, distinguishing between current timeframe (LTF) and higher timeframe (HTF) divergence.
Interpretation:
Bullish Signals: When the histogram bars are blue and growing, the price is gaining momentum above the midpoint of its recent range. This could signal an ongoing uptrend.
Bearish Signals: When the histogram bars are red and growing, the price is gaining momentum below the midpoint, signaling an ongoing downtrend.
Momentum Shifts: When the histogram bars shrink in size (whether blue or red), it could indicate that the current trend is losing strength and may reverse or enter consolidation.
Neutral or Sideways Movement: When the histogram bars hover around zero, it means the price is trading near the midpoint of its recent range, often signaling a lack of strong momentum in either direction.
Multi-Timeframe Confluence:
When the current timeframe (LTF) histogram aligns with the higher timeframe (HTF) histogram (e.g., both are showing strong bullish or bearish divergence), it may provide stronger confirmation of the trend's strength.
Divergence between timeframes (e.g., bullish on LTF but bearish on HTF) may suggest that price movements on lower timeframes are not yet reflected in the broader trend, signaling caution.
Applications:
Trend Identification: The Kurutoga Histogram is highly useful for detecting when the price is trending away from its equilibrium point, providing insight into the strength of ongoing trends.
Momentum Analysis: By measuring the divergence from the 50% level, the histogram helps traders identify when momentum is increasing or decreasing.
Reversal Detection: Shrinking histogram bars can signal weakening momentum, which often precedes trend reversals.
Consolidation and Breakouts: When the histogram remains near zero for an extended period, it suggests consolidation, which often precedes a breakout in either direction.
Advantages:
Clear Visuals: The use of a color-coded histogram makes it easy to visually assess whether the market is gaining bullish or bearish momentum.
Multi-Timeframe Utility: The ability to compare current timeframe signals with higher timeframe signals adds an extra layer of confirmation, reducing false signals.
Dynamic Adjustment: By adjusting the base length, traders can fine-tune the sensitivity of the indicator to match different markets or trading styles.
Limitations:
Lagging Indicator: Like most divergence indicators, the Kurutoga Histogram may lag slightly behind actual price movements, especially during fast, volatile markets.
Requires Confirmation: This indicator works best when used in conjunction with other technical tools like moving averages, support/resistance levels, or volume indicators, to avoid relying on divergence alone.
Conclusion:
The Kurutoga Histogram is a versatile and visually intuitive tool for measuring price divergence from a key equilibrium point, helping traders to assess the strength of trends and identify potential reversal points. Its use across multiple timeframes provides deeper insights, making it a valuable addition to any trading strategy that emphasizes momentum and trend following.
Relative Strength Index Custom [BRTLab]RSI Custom — Strategy-Oriented RSI with Multi-Timeframe Precision
The Relative Strength Index Custom is designed with a focus on developing robust trading strategies. This powerful indicator leverages the logic of calculating RSI on higher timeframes (HTFs) while allowing traders to execute trades on lower timeframes (LTFs). Its unique ability to extract accurate RSI data from higher timeframes without waiting for those candles to close provides a real-time advantage, eliminating the "look-ahead" bias that often
distorts backtest results.
Key Features
Multi-Timeframe RSI for Strategy Development
This indicator stands out by allowing you to calculate RSI on higher timeframes, even while operating on lower timeframe charts. This means you can, for example, calculate RSI on the 1-hour or daily chart and execute trades on a 1-minute chart without needing to wait for the higher timeframe candle to close. This feature is crucial for strategy-building as it eliminates backtesting issues where data from the future is inadvertently used, providing more reliable backtest results.
Example: On a 15-minute chart, you can use the 1-hour RSI to open positions based on higher timeframe momentum, but you get this signal in real-time, improving timing and accuracy.
Accurate Data Extraction from Higher Timeframes
The indicator's custom logic ensures that accurate RSI data is retrieved from higher timeframes, providing an edge by delivering timely information for lower timeframe decisions. This prevents delayed signals often encountered when waiting for higher timeframe candles to close, which is crucial for high-frequency and intraday traders looking for precise entries based on multi-timeframe data.
Customizable RSI Settings for Strategy Tuning
The script offers full customization of the RSI, including length and source price (close, open, high, or low), allowing traders to tailor the RSI to fit specific trading strategies. These settings are housed in the "RSI Settings" section, enabling precise adjustments that align with your overall strategy.
No Future-Looking in Backtests
Traditional backtests often suffer from "future-looking" bias, where calculations unintentionally use data from candles that haven’t yet closed. This indicator is specifically designed to prevent such issues by calculating RSI values in real-time. This is particularly important when creating and testing strategies, as it ensures that the conditions under which trades would have been made are accurately represented in historical tests.
RSI-Based Moving Average for Additional Filtering
The built-in moving average (MA) based on RSI values helps filter out noise, making it easier to identify genuine trend shifts. This is particularly useful in strategies where moving average crossovers act as additional confirmation for trade entries and exits.
Overbought and Oversold Zone Detection
Visual gradient fills on the RSI chart help traders identify overbought and oversold zones (above 70 and below 30, respectively). These zones are crucial for timing reversal trades or confirming momentum-based strategies.
How This Indicator Enhances Your Strategy
Increased Accuracy for Intraday Strategies
For traders who operate on lower timeframes, using higher timeframe RSI data gives a broader perspective of market momentum while still maintaining precision for short-term trade entries. The real-time data extraction means you don't need to wait for HTF candles to close, which can dramatically improve your entry timing.
Strategic Edge in Backtesting
One of the greatest challenges in backtesting strategies is avoiding future-looking bias. This indicator is built to overcome this by using real-time multi-timeframe data, ensuring the accuracy and reliability of historical strategy testing, which provides confidence in your strategies when applied to live markets.
Advanced Filtering for Trend Strategies
By combining the RSI values with a customizable moving average (MA) and visualizing key momentum zones with overbought/oversold fills, the indicator allows for more refined trade filters. This ensures that signals generated by your strategy are based on solid momentum data and not short-term price fluctuations.
Martingale with MACD+KDJ opening conditionsStrategy Overview:
This strategy is based on a Martingale trading approach, incorporating MACD and KDJ indicators. It features pyramiding, trailing stops, and dynamic profit-taking mechanisms, suitable for both long and short trades. The strategy increases position size progressively using a Multiplier, a key feature of Martingale systems.
Key Concepts:
Martingale Strategy: A trading system where positions are doubled or increased after a loss to recover previous losses with a single successful trade. In this script, the position size is incremented using a Multiplier for each addition.
Pyramiding: Allows adding to existing trades when market conditions are favorable, enhancing profitability during trends.
Settings:
Basic Inputs:
Initial Order: Defines the starting size of the position.
Default: 150.0
MACD Settings: Customize the fast, slow, and signal smoothing lengths.
Default: Fast Length: 9, Slow Length: 26, Signal Smoothing: 9
KDJ Settings: Customize the length and smoothing parameters for KDJ.
Default: Length: 14, Smooth K: 3, Smooth D: 3
Max Additions: Sets the number of additional positions (pyramiding).
Default: 5 (Min: 1, Max: 10)
Position Sizing: Percent to add to positions on favorable conditions.
Default: 1.0%
Martingale Multiplier:
Add Multiplier: This value controls the scaling of additional positions according to the Martingale principle. After each loss, a new position is added, and its size is increased by the Multiplier factor. For example, with a multiplier of 2, each new addition will be twice as large as the previous one, accelerating recovery if the price moves favorably.
Default: 1.0 (no multiplication)
Can be adjusted up to 10x to aggressively increase position size after losses.
Trade Execution:
Long Trades:
Entry Condition: A long position is opened when the MACD line crosses over the signal line, and the KDJ’s %K crosses above %D.
Additions (Martingale): After the initial long position, new positions are added if the price drops by the defined percentage, and each new addition is increased using the Multiplier. This continues up to the set Max Additions.
Short Trades:
Entry Condition: A short position is opened when the MACD line crosses under the signal line, and the KDJ’s %K crosses below %D.
Additions (Martingale): After the initial short position, new positions are added if the price rises by the defined percentage, and each new addition is increased using the Multiplier.
Exit Conditions:
Take Profit: Exits are triggered when the price reaches the take-profit threshold.
Stop Loss: If the price moves unfavorably, the position will be closed at the set stop-loss level.
Trailing Stop: Adjusts dynamically as the price moves in favor of the trade to lock in profits.
On-Chart Visuals:
Long Signals: Blue triangles below the bars indicate long entries, and green triangles mark additional long positions.
Short Signals: Red triangles above the bars indicate short entries, and orange triangles mark additional short positions.
Information Table:
The strategy displays a table with key metrics:
Open Price: The entry price of the trade.
Average Price: The average price of the current position.
Additions: The number of additional positions taken.
Next Add Price: The price level for the next position.
Take Profit: The price at which profits will be taken.
Stop Loss: The stop-loss level to minimize risk.
Usage Instructions:
Adjust the parameters to your trading style using the input settings.
The Multiplier amplifies your position size after each addition, so use it cautiously, especially in volatile markets.
Monitor the signals and table on the chart for entry/exit decisions and trade management.
Kijun Sen MedianKey Features:
Kijun-Sen Calculation: The traditional Kijun-Sen is calculated as the average of the highest high and the lowest low over a specified period. This script introduces a variation by using the median price of the user-defined source (kj_src2) over the selected length (med_len), creating a median-based Kijun-Sen.
Trend Indication:
A positive trend is indicated when the source price is above the Kijun-Sen.
A neutral trend is indicated when the source price is equal to the Kijun-Sen.
A negative trend is indicated when the source price is below the Kijun-Sen.
User Inputs:
Plot Kijun-Sen: Toggle to enable or disable the display of the Kijun-Sen line.
Kijun-Sen Length (len): Sets the period for calculating the Kijun-Sen.
Median Length (med_len): Defines the period over which the median price is calculated.
Kijun Source (kj_src): The source price for evaluating conditions above, equal, or below the Kijun-Sen.
Median Source (kj_src2): The source price used in calculating the median price for the Kijun-Sen.
This indicator is designed to help traders identify trend changes and potential reversal points based on a modified Kijun-Sen line. The color-coded line provides an immediate visual cue for the current market condition, making it easier to interpret trends and potential trading signals.
Gold IBH/IBL with IBM, Overnight Levels, OVM, and ONVPOCThe Initial Balance (IB) indicator for gold trading is a valuable tool for identifying key price levels and potential trade setups. Here's an overview of how it works:
Initial Balance Calculation
The Initial Balance for gold is calculated from 8:20 AM to 9:20 AM EST, coinciding with the COMEX open. This one-hour period establishes crucial reference points for the trading day.
Key Levels
The indicator displays several important price levels:
IB High: The highest price reached during the Initial Balance period
IB Low: The lowest price reached during the Initial Balance period
IB Midpoint: The average of the IB High and IB Low
These levels often serve as significant support and resistance areas, with many traders placing stop-losses around them.
Overnight Levels
In addition to the IB levels, the indicator shows overnight price action:
ONH: Overnight High
ONL: Overnight Low
ONM: Overnight Midpoint
Overnight VWAP: Volume Weighted Average Price from the overnight session
These overnight levels have a high probability of being tested during the COMEX trading session, making them valuable reference points for traders.
Trading Applications
Traders can use the IB and overnight levels for various purposes:
Setting profit targets
Identifying potential trade entry points
Managing risk by placing stop-losses at key levels
Gauging overall market sentiment and volatility
The levels established during both the Initial Balance and overnight sessions are likely to be touched during the COMEX trading session. This insight allows traders to make more informed decisions and enhances their trading strategies.
If you have more questions about the trading strategy, please DM me, and I can explain further. I also have probabilities of all these levels being broken during the COMEX trading hours, which gives us confidence to hold our trades to targets.
Understanding and utilizing these levels can provide traders with a competitive edge in gold trading, helping them make more informed decisions based on early market dynamics and overnight price action.
Larry Williams Valuation Index [tradeviZion]Larry Williams Valuation Index
Welcome to the Larry Williams Valuation Index by tradeviZion! This script is an interpretation of Larry Williams' famous WillVal (Valuation) Index, originally developed in 1990 to help traders determine whether a market or asset is overvalued or undervalued. We've extended it to support multiple securities and offer alerts for different valuation levels, helping you make more informed trading decisions.
What is the Valuation Index?
The Valuation Index measures how a security's current price compares to its historical price action. It helps identify whether the security is overvalued (priced too high), undervalued (priced too low), or in a normal range.
This version supports multiple securities and uses valuation parameters to help you assess the relative valuation of three securities simultaneously. It can help you determine the best times to enter (buy) or exit (sell) the market.
Key Features
Multi-Security Analysis: Analyze up to three securities simultaneously to get a broader view of market conditions.
Valuation Levels: Automatically calculate overvaluation and undervaluation levels or set manual levels for consistent analysis.
Custom Alerts: Create custom alerts when securities move between overvalued, undervalued, or normal ranges.
Customizable Table Display: Display a table with valuation values and their status on the chart.
Getting Started
Step 1: Adding the Script to Your Chart
First, add the Larry Williams Valuation Index script to your chart on TradingView. The script is designed to work with any timeframe, but for best results, use weekly or daily timeframes for a longer-term perspective.
Step 2: Configuring Securities
The script allows you to analyze up to three different securities :
Security 1 (Default: DXY)
Security 2 (Default: GC1!)
Security 3 (Default: ZB1!)
You can enable or disable each security individually.
Custom Timeframe Option: You have the option to select a custom timeframe for analysis. This allows you to see whether the security is overvalued or undervalued in lower or higher timeframes. Note that this feature is experimental and has not been extensively tested. Larry Williams originally used the weekly timeframe to determine if a stock was overvalued or undervalued. By default, the indicator compares the current price with the security based on the selected timeframe, except if you choose to use a custom timeframe.
Pro Tip : New users can start with the default securities to understand the concept before using other assets.
Step 3: Valuation Index Settings
Short EMA Length : This is the short-term average used for calculations. A lower value makes it more responsive to recent price changes.
Long EMA Length : This is the long-term average, used to smooth the valuation over time.
Valuation Length (Default: 156) : Represents approximately three years of daily bars (as recommended by Larry Williams).
How is the Valuation Index Calculated?
The valuation calculation is done using a method called WVI (WillVal Index), which compares the current price of a security to the price of another correlated security. Here’s a step-by-step explanation:
1. Data Collection: The script takes the closing price of the security you are analyzing and the closing price of the correlated security.
2. Ratio Calculation : The ratio of the two prices is calculated:
Price Ratio = (Price of your security) / (Price of correlated security) * 100.
This ratio helps determine how expensive or cheap your security is compared to the correlated one.
3. Exponential Moving Averages (EMAs) : The price ratio is used to calculate short-term and long-term EMAs (Exponential Moving Averages). EMAs are used to create smooth lines that represent the average price of a security over a specific period of time, with more weight given to recent data. By calculating both short-term and long-term EMAs, we can identify the trend direction and how the security is performing compared to its historical averages.
4. Valuation Index Calculation:
The Valuation Index is calculated as the difference between the short-term EMA and the long-term EMA. This difference helps to determine if the security is currently overvalued or undervalued:
A positive value indicates that the price is above its longer-term trend, suggesting potential overvaluation.
A negative value indicates that the price is below its longer-term trend, suggesting potential undervaluation.
5. Normalization:
To make the valuation easier to interpret, the calculated valuation index is then normalized using the highest and lowest values over the selected valuation length (e.g., 156 bars).
This normalization process converts the index into a percentage between 0 and 100, where higher values indicate overvaluation and lower values indicate undervaluation.
Step 4: Understanding Valuation Levels
The valuation levels indicate whether a security is currently undervalued, overvalued, or in a normal range.
Manual Levels : You can manually set the overvaluation and undervaluation thresholds (default is 85 for overvalued and 15 for undervalued).
Auto Levels : The script can automatically calculate these levels based on recent price action, allowing you to adapt to changing market conditions.
Auto Levels Calculation Explained:
The Auto Levels are calculated by taking the average of the valuation indices for all three securities (e.g., index1, index2, and index3).
The script then looks at the highest and lowest values of this average over a selected number of recent bars (e.g., 50 bars).
The overvaluation level is determined by taking the highest value and multiplying it by a multiplier (e.g., 5). Similarly, the undervaluation level is calculated using the lowest value and the multiplier.
These dynamic levels adjust according to recent price action, providing an adaptive approach to identifying overvalued and undervalued conditions.
Step 5: How to Use the Script to Make Trading Decisions
For new users, here's a step-by-step trading strategy you can use with the Valuation Index:
1. Identify Undervalued Opportunities
When two or more securities are in the undervalued range (below 15 for manual or below automatically calculated undervalue levels), wait for at least two of these securities to turn from undervalued to normal .
This transition indicates a potential buy opportunity .
2. Buying Signal
When at least two securities transition from undervalued to normal, you can consider buying the asset.
This indicates that the market may be recovering from undervalued conditions and could be moving into a growth phase.
3. Selling Signal
Exit when the price high closes below the EMA 21 (21-day exponential moving average).
Alternatively, if the valuation index reaches overvalued levels (above 85 manually or auto-calculated), wait for it to drop back to normal . This can be another point to exit the trade .
You can also use any other sell condition based on your r isk management strategy .
Alerts for Valuation Levels
The script includes alerts to notify you of changing market conditions:
To activate these alerts, follow these steps, referring to the provided screenshot with detailed steps:
1. Enable Alerts : Click on the settings gear icon on the script title in your chart. In the settings menu, scroll to the section labeled Alerts Settings .
Enable Alerts by checking the Enable Alerts box.
Set the Required Securities for Alert (default is 2 securities).
Choose the Alert Frequency : Selecting Once Per Bar Close will trigger alerts only at the close of each bar, ensuring you receive confirmed signals rather than potentially noisy intermediate signals.
2. Select Alert Type : Choose the type of alert you want to activate, such as Alert on Overvalued, Alert on Undervalued, Alert on Over to Normal , or Alert on Under to Normal .
3. Save Settings : Click OK to save your alert settings.
4. Add Alert on Indicator : Click the "..." (More button) next to the indicator name on the chart and select " Add alert on tradeviZion - WillVal ".
5. Create Alert : In the Create Alert window:
Set Condition to tradeviZion - WillVal .
Ensure Any alert() function call is selected.
Set the Alert Name and select your Expiration preferences.
6. Set Notification Preferences : Go to the Notifications tab and select how you want to receive notifications, such as via app notification, toast notification, email , or sound alert . Adjust these preferences to best suit your needs.
7. Click Create : Finally, click Create to activate the alert.
These alerts will help you stay informed about key market conditions and take action accordingly, ensuring you do not miss critical trading opportunities.
Understanding the Table Display
The script includes an interactive table on the chart to show the valuation status of each security:
Security : The name of the security being analyzed.
Value : The current valuation index value.
Status : Indicates whether the security is overvalued, undervalued , or in a normal range.
Color: Displays a color code for easy identification of status:
Red for overvalued.
Green for undervalued.
Other colors represent normal valuation levels.
Empowering Messages : Motivational messages are displayed to encourage disciplined trading. These messages will change periodically, helping keep a positive trading mindset.
Acknowledgment
This tool builds upon the foundational work of Larry Williams, who developed the WillVal (Valuation) Index concept. It also incorporates enhancements to extend multi-security analysis, valuation normalization, and advanced alerting features, providing a more versatile and powerful indicator. The Larry Williams Valuation Index [ tradeviZion ] helps traders make informed decisions by assessing overvalued and undervalued conditions for multiple securities simultaneously.
Note : Always practice proper risk management and thoroughly test the indicator to ensure it aligns with your trading strategy. Past performance is not indicative of future results.
Trade smarter with TradeVizion—unlock your trading potential today!
BRT MACD CustomBRT MACD Custom — Adaptive and Flexible MACD for Multi-Timeframe Analysis
The BRT MACD Custom is an advanced version of the traditional MACD indicator, offering additional flexibility and adaptability for multi-timeframe trading. This custom script allows traders to adjust the calculation parameters for MACD to suit their specific trading strategy, timeframe, and market conditions.
Key Features
Multi-Timeframe Support
Unlike the standard MACD, this indicator lets you choose a specific timeframe (different from the chart timeframe) for calculating MACD values. This feature provides more flexibility in analyzing market trends on multiple timeframes without changing the main chart.
Example: You can analyze MACD on a 15-minute timeframe even when your chart is set to 1-minute, giving you broader market insights.
Customizable EMA and Signal Settings
Users can adjust the fast and slow EMA lengths as well as the signal smoothing to better align with their preferred trading strategies. The script allows switching between the two popular types of moving averages — SMA or EMA — for both the MACD and the signal line.
Volatility-Based Adaptive EMA
The script includes an adaptive mechanism for EMA calculation. When the selected timeframe closes, the indicator dynamically adjusts the calculation, ensuring the MACD values respond quickly to market volatility. This makes the indicator more reactive compared to static MACD implementations.
Shift Options for MACD, Signal, and Histogram
The indicator allows shifting the MACD, signal line, and histogram values by one or more bars. This can be useful for backtesting and simulating strategies where you anticipate future price movements.
Signal Alerts for Long and Short Trades
The script generates visual signals when certain conditions are met, indicating potential long or short trade opportunities. These signals are based on MACD and histogram crossovers:
Long Signal: Triggered when MACD is above the signal line and both are rising.
Short Signal: Triggered when MACD is below the signal line and both are falling.
Custom Plotting
The MACD line, signal line, and histogram are plotted on the chart for easy visualization. The histogram changes colors to reflect positive or negative momentum:
Green shades when MACD is above the signal line.
Red shades when MACD is below the signal line.
Applications in Trading
The BRT MACD Custom is ideal for traders who need flexibility in their technical analysis. Its multi-timeframe capabilities and customizable moving averages make it suitable for day trading, swing trading, and long-term investing across a variety of markets.
Scalping: Use the 1-minute or 5-minute timeframe to identify short-term trends while calculating MACD on a higher timeframe such as 15 or 30 minutes.
Swing Trading: Apply the indicator on 1-hour or 4-hour charts to detect mid-term trends.
Long-Term Investing: Analyze daily or weekly charts with longer EMA periods to confirm market direction before making large investments.
Price Action Analyst [OmegaTools]Price Action Analyst (PAA) is an advanced trading tool designed to assist traders in identifying key price action structures such as order blocks, market structure shifts, liquidity grabs, and imbalances. With its fully customizable settings, the script offers both novice and experienced traders insights into potential market movements by visually highlighting premium/discount zones, breakout signals, and significant price levels.
This script utilizes complex logic to determine significant price action patterns and provides dynamic tools to spot strong market trends, liquidity pools, and imbalances across different timeframes. It also integrates an internal backtesting function to evaluate win rates based on price interactions with supply and demand zones.
The script combines multiple analysis techniques, including market structure shifts, order block detection, fair value gaps (FVG), and ICT bias detection, to provide a comprehensive and holistic market view.
Key Features:
Order Block Detection: Automatically detects order blocks based on price action and strength analysis, highlighting potential support/resistance zones.
Market Structure Analysis: Tracks internal and external market structure changes with gradient color-coded visuals.
Liquidity Grabs & Breakouts: Detects potential liquidity grab and breakout areas with volume confirmation.
Fair Value Gaps (FVG): Identifies bullish and bearish FVGs based on historical price action and threshold calculations.
ICT Bias: Integrates ICT bias analysis, dynamically adjusting based on higher-timeframe analysis.
Supply and Demand Zones: Highlights supply and demand zones using customizable colors and thresholds, adjusting dynamically based on market conditions.
Trend Lines: Automatically draws trend lines based on significant price pivots, extending them dynamically over time.
Backtesting: Internal backtesting engine to calculate the win rate of signals generated within supply and demand zones.
Percentile-Based Pricing: Plots key percentile price levels to visualize premium, fair, and discount pricing zones.
High Customizability: Offers extensive user input options for adjusting zone detection, color schemes, and structure analysis.
User Guide:
Order Blocks: Order blocks are significant support or resistance zones where strong buyers or sellers previously entered the market. These zones are detected based on pivot points and engulfing price action. The strength of each block is determined by momentum, volume, and liquidity confirmations.
Demand Zones: Displayed in shades of blue based on their strength. The darker the color, the stronger the zone.
Supply Zones: Displayed in shades of red based on their strength. These zones highlight potential resistance areas.
The zones will dynamically extend as long as they remain valid. Users can set a maximum number of order blocks to be displayed.
Market Structure: Market structure is classified into internal and external shifts. A bullish or bearish market structure break (MSB) occurs when the price moves past a previous high or low. This script tracks these breaks and plots them using a gradient color scheme:
Internal Structure: Short-term market structure, highlighting smaller movements.
External Structure: Long-term market shifts, typically more significant.
Users can choose how they want the structure to be visualized through the "Market Structure" setting, choosing from different visual methods.
Liquidity Grabs: The script identifies liquidity grabs (false breakouts designed to trap traders) by monitoring price action around highs and lows of previous bars. These are represented by diamond shapes:
Liquidity Buy: Displayed below bars when a liquidity grab occurs near a low.
Liquidity Sell: Displayed above bars when a liquidity grab occurs near a high.
Breakouts: Breakouts are detected based on strong price momentum beyond key levels:
Breakout Buy: Triggered when the price closes above the highest point of the past 20 bars with confirmation from volume and range expansion.
Breakout Sell: Triggered when the price closes below the lowest point of the past 20 bars, again with volume and range confirmation.
Fair Value Gaps (FVG): Fair value gaps (FVGs) are periods where the price moves too quickly, leaving an unbalanced market condition. The script identifies these gaps:
Bullish FVG: When there is a gap between the low of two previous bars and the high of a recent bar.
Bearish FVG: When a gap occurs between the high of two previous bars and the low of the recent bar.
FVGs are color-coded and can be filtered by their size to focus on more significant gaps.
ICT Bias: The script integrates the ICT methodology by offering an auto-calculated higher-timeframe bias:
Long Bias: Suggests the market is in an uptrend based on higher timeframe analysis.
Short Bias: Indicates a downtrend.
Neutral Bias: Suggests no clear directional bias.
Trend Lines: Automatic trend lines are drawn based on significant pivot highs and lows. These lines will dynamically adjust based on price movement. Users can control the number of trend lines displayed and extend them over time to track developing trends.
Percentile Pricing: The script also plots the 25th percentile (discount zone), 75th percentile (premium zone), and a fair value price. This helps identify whether the current price is overbought (premium) or oversold (discount).
Customization:
Zone Strength Filter: Users can set a minimum strength threshold for order blocks to be displayed.
Color Customization: Users can choose colors for demand and supply zones, market structure, breakouts, and FVGs.
Dynamic Zone Management: The script allows zones to be deleted after a certain number of bars or dynamically adjusts zones based on recent price action.
Max Zone Count: Limits the number of supply and demand zones shown on the chart to maintain clarity.
Backtesting & Win Rate: The script includes a backtesting engine to calculate the percentage of respect on the interaction between price and demand/supply zones. Results are displayed in a table at the bottom of the chart, showing the percentage rating for both long and short zones. Please note that this is not a win rate of a simulated strategy, it simply is a measure to understand if the current assets tends to respect more supply or demand zones.
How to Use:
Load the script onto your chart. The default settings are optimized for identifying key price action zones and structure on intraday charts of liquid assets.
Customize the settings according to your strategy. For example, adjust the "Max Orderblocks" and "Strength Filter" to focus on more significant price action areas.
Monitor the liquidity grabs, breakouts, and FVGs for potential trade opportunities.
Use the bias and market structure analysis to align your trades with the prevailing market trend.
Refer to the backtesting win rates to evaluate the effectiveness of the zones in your trading.
Terms & Conditions:
By using this script, you agree to the following terms:
Educational Purposes Only: This script is provided for informational and educational purposes and does not constitute financial advice. Use at your own risk.
No Warranty: The script is provided "as-is" without any guarantees or warranties regarding its accuracy or completeness. The creator is not responsible for any losses incurred from the use of this tool.
Open-Source License: This script is open-source and may be modified or redistributed in accordance with the TradingView open-source license. Proper credit to the original creator, OmegaTools, must be maintained in any derivative works.
Consecutive Candle Detector Consecutive Candle Detector , can be used to highlight impulsive moves . 3 or more candles with the same colour in the same direction .
Set an alert notification to let you know price has moved in an impulsive way and is forming a pattern to sell or buy
Cubic Bezier Curve RSI [CBCR]Overview :
Introducing the Cubic Bézier Curve RSI – an innovative approach to smoothing the traditional RSI using cubic Bézier curves. This indicator provides traders with a smoother, adaptive version of the RSI that can help filter out noise and better highlight market trends.
Key Features:
Bézier Curve : the script uses cubic Bézier curves to create a smoothed version of the RSI, offering a more visually appealing and potentially more insightful representation of market momentum.
Customizable Settings: Users can adjust the Bézier Curve Length, Impact Factor, and color modes, allowing full customization of the smoothing effect and visualization.
Color-coded Trend Indicator: The smoothed RSI is displayed with colors that indicate potential bullish or bearish trends, helping traders quickly assess market conditions.
Overbought/Oversold Lines: Option to display overbought and oversold levels for better identification of market extremes.
Parameters:
RSI Length: Set the length for the traditional RSI calculation (default is 14).
Bézier Curve Length: Adjust the length of the Bézier curve used to smooth the RSI (default is 20).
Impact Factor: Control the influence of the Bézier smoothed values versus the original RSI values (default is 0.5, ranging from 0.0 to 1.0).
Overbought/Oversold Lines: Option to show overbought (default: 70) and oversold (default: 30) lines for easier identification of extreme conditions.
Color Mode: Choose between "Trend Following" and "Overbought/Oversold" modes for line color indication.
Display Settings: Color customization for bullish and bearish phases allows better visual differentiation.
How It Works:
The CBCR uses four control points derived from historical RSI values over a user-defined length. It then applies the cubic Bezier formula to generate a sequence of points representing a smoothed version of the RSI over this range.
The Bezier curve is recalculated each time a specific number of bars (as defined by the Bezier Curve Length) have passed, helping reduce noise while retaining key trend information.
The result is a smoothed RSI that combines the adaptability of cubic Bezier curves with the familiar oscillation of the RSI, making it potentially more robust for identifying shifts in market sentiment.
Visuals:
Smoothed RSI Line: Plotted on the indicator pane, the line changes color depending on the chosen color mode:
Trend Following Mode: Color changes based on whether the smoothed RSI is above or below the 50-level.
Overbought/Oversold Mode: Color changes based on whether the smoothed RSI is above the overbought level or below the oversold level.
Bullish Color: Configurable (default: cyan).
Bearish Color: Configurable (default: red).
Overbought/Oversold Lines: Horizontal lines at user-defined levels (default: 70 for overbought, 30 for oversold) for easy identification of market extremes.
Usage:
The CBCR can be used like a traditional RSI but with a smoother output that may help traders avoid false signals generated by sudden price spikes. For instance:
Look for crossovers around the 50 level as a signal for changing momentum.
Use the overbought and oversold levels to identify potential reversal zones.
Observe the color change of the line for an immediate visual cue on current sentiment.
CRT candles Multi-Timeframe Intrabar(open Source ) # CRT candles Multi-Timeframe Intrabar Indicator( open source )
This advanced indicator visualizes Candle Range Theory (CRT) across multiple timeframes, providing traders with a comprehensive view of market structure and potential high-probability setups.
## Key Features:
- Supports 7 timeframes: 30 minutes, 1 hour, 2 hours, 4 hours, daily, weekly, and monthly
- Customizable color schemes for each timeframe
- Options to display mid-level (50%) lines for each range
- Bullish and bearish touch detection with customizable label display
- End-of-line labels for easy identification of CRT levels
- Flexible alert system for touch detections on each timeframe
- Adjustable minimum and maximum bar count for range validity
- Options for wick touch and body touch detection
## How It Works:
The indicator plots CRT ranges for each selected timeframe, identifying potential accumulation, manipulation, and distribution phases. It detects when price touches these levels, providing visual cues and optional alerts for potential trade setups.
snapshot
## Customization:
Users can fine-tune the indicator's appearance and functionality through various input options, including:
- Toggling timeframes on/off
snapshot
- Adjusting colors for range lines and mid-levels
- Controlling label display and count
- Setting alert preferences
- Adjusting line widths and label offsets
## Usage:
This indicator is designed for traders familiar with Candle Range Theory and multi-timeframe analysis. It can be used to identify potential entry and exit points, confirm trends, and spot potential reversals across different timeframes.
## Note:
This indicator is for educational and informational purposes only. Always combine with other forms of analysis and proper risk management when making trading decisions.
## Credits:
Inspired by Romeo's Candle Range Theory and developed to provide a comprehensive multi-timeframe analysis tool.
ATR Band, Stop loss , Take Profit Lines, and Pip Distance# ATR Band, Take Profit Lines, and Pip Distance Indicator
This indicator helps traders identify potential stop loss and take profit levels using Average True Range (ATR) bands and custom multipliers. It provides a visual representation of these levels and calculates the pip distance to stop loss, aiding in risk management and trade planning.
## Key Features:
- ATR-based upper and lower bands for potential stop loss levels
- Two take profit levels above and below the ATR bands
- Customizable ATR period and multipliers for bands and take profit levels
- Pip distance calculation to stop loss levels
- Adjustable colors for all elements
## How to Use:
1. The ATR bands (blue and red lines) suggest potential stop loss levels.
2. Take profit levels are shown as green lines above and below the ATR bands.
3. Labels display the pip distance from the current or last close to the stop loss levels.
## Customization:
- Adjust the ATR period and multipliers to fit your trading style
- Customize colors for better visibility on your chart
- Choose between current candle or last close for pip distance calculation
Remember, this indicator is for informational purposes only. Always manage your risk carefully and consider using it in conjunction with other analysis tools and your trading strategy.
Good luck with your trading!
See LTF Candles and VolumeThis indicator will show you the candles, wicks, and their volumes from a lower timeframe chart. You can also select a different symbol in inputs.
This indicator uses requests to receive data from different timeframe or symbols, and it simply draws boxes and lines from the requested data.
[MAD] Fibonacci Bands with SmoothingHi, this is just an easy script, nothing special, it was a request from a community member and was finished in just 40 minutes :D
This indicator offers a approach to tracking market price movements by utilizing Fibonacci-based levels combined with customizable smoothing options for both the bands and the high/low values.
Key Features:
Customizable Moving Averages: Choose from a variety of smoothing methods, including SMA, EMA, WMA, HMA, VWMA, and advanced Ehlers-based methods.
This allows for flexible adaptation to different assets.
Multiple Fibonacci Band Multipliers: The user can define six different multipliers for both the upper and lower Fibonacci bands, allowing for granular customization of the indicator. The middle line serves as the central reference, and the multipliers extend the bands outward based on price range dynamics.
High/Low Smoothing: In addition to smoothing the Fibonacci bands, users can apply smoothing to the high and low prices that form the basis for calculating the Fibonacci bands. This ensures that the indicator responds smoothly to market movements, reducing noise while capturing key trends.
Forward Shift Option: Allows for projecting the bands into the future by shifting the calculated levels forward by a user-specified number of periods. This feature is particularly useful for those interested in anticipating price actions and future trends.
Visual Enhancements: The indicator features filled regions between bands to clearly visualize the zones of price movement. The fills between the bands offer insight into potential support and resistance zones, based on price levels defined by the Fibonacci ratios.
How It Works:
The indicator uses the highest and lowest closing prices over a specified lookback period to establish a price range. Based on this range, it calculates the middle line (0.5 level) and applies user-defined Fibonacci multipliers to generate both upper and lower bands. Users have control over the smoothing method for both the high/low prices and the bands themselves, allowing for an adaptive experience that can be tailored to different timeframes or market conditions.
For visualization, areas between the upper and lower bands are filled with distinct colors, providing an intuitive view of the potential price zones where the market might react or consolidate.
These fills highlight the zones created by the Fibonacci bands, helping users identify critical market levels with ease.
have fun
p.s.: @frankchef hope that suits your needs & expectations ;-)
Advanced Marubozu DetectorAdvanced Marubozu Detector
This indicator identifies bullish and bearish Marubozu candles based on specific conditions:
Bullish Marubozu: Detected when the candle's body is completely green without upper or lower shadows, and it closes higher than the high of the previous candle.
Bearish Marubozu: Detected when the candle's body is completely red without upper or lower shadows, and it closes lower than the low of the previous candle.
The indicator plots a green arrow below the bullish Marubozu and a red arrow above the bearish Marubozu directly on the chart, making it easy to spot these patterns in any time frame.
Designed by : Morteza Bakhshi
Trend Following Regression CloudTrend Following Regression Cloud Indicator
The Trend Following Regression Cloud is a versatile trading tool designed to help you effortlessly identify the market's prevailing trend. By analyzing price movements over multiple time frames, it provides a clear visual representation of whether the market is trending upwards or downwards.
How It Works:
- Adaptive Analysis: The indicator calculates linear regression lines over various periods ranging from short-term to long-term (e.g., 10, 20, 50, up to 500 periods). This means it adapts quickly to recent market changes, capturing new trends as they develop.
- Noise Reduction: By comparing and weighting the slopes of these regression lines, it filters out insignificant price fluctuations (market noise). This ensures that the signals you receive are more reliable and less prone to false alarms.
- Cloud Calculation: The cloud is generated by first calculating the slopes of multiple linear regression lines over different lengths. The differences between the slopes of shorter-term and longer-term regressions are then computed and weighted by their respective lengths. By summing up these weighted differences, the indicator produces a "total distance" value. This value is applied to a baseline (such as a 100-period simple moving average) to create the cloud line. The area between the baseline and the cloud line is filled, and its color changes based on whether the total distance is positive or negative, providing a visual cue of the market's trend direction.
- Visual Representation: The indicator plots two lines—a base line and a cloud line—creating a shaded area (the "cloud") between them. The color of this cloud changes based on market conditions:
- Green Cloud: Indicates that short-term trends are stronger than long-term trends, suggesting an upward market movement. This could be a good time to consider buying.
- Red Cloud: Signifies that the market may be trending downwards, as long-term trends overpower short-term ones. This could be an opportune moment to consider selling.
Session Range Breakouts With Targets [AlgoAlpha]⛓️💥Session Range Breakouts With Targets 🚀
Introducing the "Session Range Breakouts With Targets" indicator by AlgoAlpha, a powerful tool for traders to capitalize on session-based range breakouts and identify precise target zones using ATR-based calculations! Whether you trade the Asian, American, European, or Oceanic sessions, this script highlights key breakout levels and targets that adapt to market volatility, ensuring you're always prepared for those crucial price movements. 🕒📊
Session-based Trading : The indicator highlights session-specific ranges, offering clear breakouts for Asian, American, European, Oceanic, and even custom sessions 🌍.
Adaptive Volatility Zones : Uses ATR to determine dynamic zone widths, filtering out fakeouts and adjusting to market conditions ⚡.
Precise Take-Profit Targets : Set multiple levels of take-profits based on ATR multipliers, ensuring you can manage both aggressive and conservative trades 🎯.
Customizable Appearance : Tailor the look with customizable colors for session highlights and breakout zones to fit your chart style 🎨.
Alerts on Key Events : Built-in alert conditions for breakouts and take-profit hits, so you never miss a trading opportunity 🔔.
🚀 Quick Guide to Using the Indicator
🛠 Add the Indicator : Add the indicator to favorites by pressing the star icon. Choose your session (Asia, America, Europe, Oceana, or Custom) and adjust the ATR length, zone width multiplier, and target multipliers to suit your strategy.
📊 Analyze Breakouts : Watch for the indicator to plot upper and lower range boxes based on session highs and lows. Price breaking through these boxes will signal a potential entry.
📈 Monitor Targets : Track bullish and bearish targets as price moves, with up to three take-profit levels based on ATR multipliers.
🔔 Set Alerts : Enable alerts for session breakouts or when price hits your designated take-profit targets.
🔍 How It Works
This script operates by identifying session-specific ranges based on highs and lows from the beginning of the selected session (Asia, America, Europe, or others). After a user-defined wait period (default: 120 bars), it calculates the highest and lowest points and creates upper and lower zones using the Average True Range (ATR) to adapt to market volatility. If the price breaks above or below these zones, it is identified as a breakout, and the script dynamically calculates up to three take-profit targets for both bullish and bearish scenarios using an ATR multiplier. The indicator also includes alerts for breakouts and take-profit hits, providing real-time trading signals.
Cumulative Volume Delta Histogram [TradingFinder] CVD Histogram🔵 Introduction
To fully understand Cumulative Volume Delta (CVD), it’s important to start by explaining Volume Delta. In trading, "Delta" refers to the difference between two values or the rate of change between two data points. Volume Delta represents the difference between buying and selling pressure for each candlestick on a chart, and this difference can vary across different time frames.
A positive delta indicates that buying volume exceeds selling volume, while a negative delta shows that selling pressure is stronger. When buying and selling volumes are equal, the volume delta equals zero.
The Cumulative Volume Delta (CVD) indicator tracks the cumulative difference between buying and selling volumes over time, helping traders analyze market dynamics and identify reliable trading signals through CVD divergences.
🔵 How to Use
Cumulative Volume Delta (CVD) is an essential technical analysis tool that aggregates delta values for each candlestick, creating a comprehensive indicator. This helps traders evaluate overall buying and selling pressure over market swings.
Unlike standard Volume Delta, which compares the delta on a candle-by-candle basis, CVD provides a broader view of buying and selling pressure during market trends. A downward-trending CVD suggests that selling pressure is dominant, which is typically a bearish signal.
Conversely, an upward-trending CVD indicates bullish sentiment, suggesting buyers are in control. This analysis becomes even more valuable when compared with price action and market structure, helping traders predict the direction of asset prices.
🟣 How to Use CVD in Trend Analysis and Market Reversals
Understanding how to detect trend changes using Cumulative Volume Delta is crucial for traders. Typically, CVD aligns with market structure, moving in the same direction as price trends.
However, divergences between CVD and price movements or signs of volume exhaustion can be powerful indicators of potential market reversals. Recognizing these patterns helps traders make more informed decisions and improve their trading strategies.
🟣 How to Spot Trend Exhaustion with CVD
CVD is particularly effective for identifying trend exhaustion in the market. For instance, if an asset's price hits a new low, but CVD doesn’t follow, this might indicate a lack of seller interest, signaling potential exhaustion and a possible reversal.
Similarly, if an asset reaches a new high but CVD fails to follow, it can suggest that buyers lack the strength to push the market higher, indicating a possible reversal to the downside.
🟣 How to Use CVD Divergence in Price Trend Analysis
Another effective use of CVD is identifying divergences in price trends. For example, if CVD breaks a previous high or low while the price remains stable, this divergence may indicate that buying or selling pressure is being absorbed.
For instance, if CVD rises sharply without a corresponding increase in asset prices, it may suggest that sellers are absorbing the buying pressure, which could lead to a strong sell-off. Conversely, if prices remain stable while CVD declines, it may indicate that buyers are absorbing selling pressure, likely leading to a price increase once the selling subsides.
🟣 CVD Display, Candlestick vs. Histogram – What’s the Difference?
CVD can be displayed in two different formats :
Candlestick Display : In this format, the data is shown as green and red candlesticks, each representing the difference in buying and selling pressure over a given time period. This display allows traders to visually analyze market pressure along with price changes.
Histogram Display : Here, the data is represented as vertical green and red bars, where each bar’s height corresponds to the volume delta. This format offers a clearer view of the strengths and weaknesses in market buying and selling pressure.
🟣 What are the Key Settings for CVD?
Cumulative Mode : CVD offers three modes: "Total," "Periodic," and "EMA." In "Total" mode, CVD accumulates the delta from the beginning to the end of the session. In "Periodic" mode, it accumulates volume periodically, resetting at specific intervals. In "EMA" mode, the CVD is smoothed using an Exponential Moving Average (EMA) to filter out short-term fluctuations.
Period : The "Period" setting allows you to define the number of bars or intervals for "Periodic" and "EMA" modes. A shorter period captures more short-term movements, while a longer period smooths out the fluctuations and provides a broader view of market trends.
Market Ultra Data : This feature integrates data from 26 major brokers into the volume calculations, providing more reliable volume data. It’s important to specify the type of market you are analyzing (Forex, crypto, etc.) as different brokers contribute to different markets. Enabling this setting ensures the highest accuracy in volume analysis.
🔵 Conclusion
Cumulative Volume Delta (CVD) is a powerful technical indicator that helps traders assess buying and selling pressure by aggregating the delta values of each candlestick. Whether displayed as candlesticks or histograms, CVD provides insights into market trends, helping traders make informed decisions.
CVD is particularly useful in identifying divergences and exhaustion in market trends. For example, if CVD does not align with price movements, it can signal a potential trend reversal. Traders use this tool to fine-tune their entry and exit points and better predict future market movements.
In summary, CVD is a versatile tool for analyzing volume data and understanding the balance of buying and selling pressure in the market, making it an invaluable asset in any trader’s toolkit