ICT - MTF Bias ProbabilityThe ICT - MTF Bias Probability Statistics is a sophisticated trading tool designed to help traders identify and leverage market bias across multiple timeframes. By analyzing price actions relative to key levels, such as the previous day's high and low, this indicator provides a clear directional bias—bullish, bearish, or neutral—based on specific market conditions.
Key Features
1. Multi-Timeframe Analysis
- The indicator evaluates price movements on various timeframes, including 15-minute, 1-hour, 4-hour, daily, and weekly charts.
- It determines the bias for each timeframe, helping traders understand the broader market context.
2. Bias Determination
- A bullish bias is established when the current price closes above the previous day’s high, while a bearish bias is indicated by a close below the previous day’s low.
- Additional conditions consider price wicks and closings within the previous day's range to refine the bias determination.
3. Advanced Probability Calculations
- The indicator employs a unique probability calculation that factors in proximity to key levels, price momentum, volatility, and time decay.
- These probabilities give traders an edge by quantifying the likelihood of the market reaching the previous day’s high or low, depending on the bias.
4. Visual Table Display
- A table is displayed on the chart, summarizing the bias and probability for each timeframe, alongside an overall market bias.
- This feature allows traders to quickly assess market conditions and make informed decisions.
5. Ideal Trade Levels
- For traders looking to optimize entry points, the indicator suggests ideal buy and sell levels based on New York midnight open prices, adjusted according to the overall bias.
The ICT - MTF Bias Probability Statistics is a powerful tool for traders who want to align their strategies with higher timeframe market trends while leveraging advanced probability analysis to improve decision-making.
Трендовый анализ
Hurst Exponent SmoothedDescription:
The Hurst Exponent Smoothed indicator provides a dynamic analysis of market behavior by calculating the Hurst Exponent over a specified lookback period. This tool is especially useful for identifying whether a market is trending or mean-reverting.
Key Features:
Lookback Period: Set to 90 by default, this parameter controls how many periods the indicator considers for its calculations. Adjusting this value allows you to fine-tune the sensitivity of the indicator to recent price action.
Market Analysis: The Hurst Exponent gives insights into the nature of price movement:
A value near 0.5 suggests a random walk, indicating that the market is unpredictable.
Values above 0.5 indicate a trending market where price movements exhibit persistence, suggesting that the current trend may continue.
Values below 0.5 point to a mean-reverting market, where price movements tend to reverse, making it a potential signal for contrarian trading strategies.
Usage:
Trend Following: When the Hurst Exponent is consistently above 0.5, it may indicate a strong trend. Traders can use this information to align with the current market direction.
Mean Reversion: If the Hurst Exponent falls below 0.5, it could signal that the market is more likely to revert to the mean, offering opportunities for mean-reversion strategies.
Visuals:
The indicator displays a smooth line oscillating between values, giving traders a clear visual cue for the current market condition.
The script is optimized for various timeframes, as demonstrated on the BTCUSD pair on a 270-minute chart. Traders can adapt the lookback period based on their trading style and the specific asset being analyzed.
Open Source: This script is open-source and free to use. Feel free to customize and adapt it to your needs!
Relative Strength NSE:Nifty for TF CommunityThis is a modified version of the Relative Strength Indicator (No confusion with RSI) originally by in.tradingview.com/u/modhelius/ based on The indicator calculates the relative strength between a selected stock and a comparative symbol (typically a market index like NSE:NIFTY).
Relative strength (RS) compares the performance of two assets, typically a stock and a market index, by dividing their percentage changes over a specific period. This indicator oscillates around zero:
- Greater than 0: Indicates the stock has outperformed the comparative symbol.
- Less than 0: Indicates the stock has underperformed the comparative symbol.
Key Enhancements:
This Relative Strength Indicator offers practical features to automatically adjusts the comparison period based on the chart’s timeframe, whether daily, weekly, or monthly, so you don’t have to make manual changes.
Secondly, if the selected stock has fewer bars than the comparison period, the indicator uses the shorter period to ensure accurate results. The default colors are hardcoded so they look fine for both dark and white themes, but of course can be changed.
You can customise the settings to fit your needs. The default period is set to 50/52, and the comparative symbol is NSE:NIFTY, but both can be changed. There’s also an option to toggle a moving average on or off, providing a smoother visual representation.
TheRookAlgo ICT DRThe Rook Algo is a powerful indicator that is useful to identify the current state of the market, it give information about the current dealing range created after price takes both sides of the market as ICT teaches. The indicator give buy and sell signals depending of the market sentiment, it works in all timeframes can be used only in one but the real benefits comes when it is used with a Higher timeframe reference.
How it works?
The Algo analyze the current and previous market structure to identify current ranges and dealing ranges, it give information about the market with the table located in the corners. The table will tell if the market is expanding higher or lower, retracing into the range, consolidating, if a move failed. Will tell if we hit discount or premium, if we might be in a turtle soup enviormment and finally If the range is small or big compared to the previous one. All this is helpful to quickly identify current market context and direction. Is important to keep in mind that this works better in trending markets must be avoided during consolidations. The algo will tell information about current range, current dealing range and previous dealing range. Is ideal to take entries when the 3 are in sync.
Once the indicator detect current market state it will plot an arrow right after the current candle close telling the possible
Market sentiment and probable direction. This signals can be tricked during consolidations. But when we are trending they work very good.
The light green arrow is plotted when price hits discount and is in a bullish enviormment and price makes a close above previous candle high. The dark green arrow is plotted when we are bullish and price makes an impulse and break the range.
The light red arrow is plotted when price hits a premium in a bearish enviormment and price makes a close below previous candle low. The dark red arrow is plotted when we are bearish and price makes and impulse breaking the range.
The white arrows are plotted when price makes a break out or change of current market state and this is counter to the current market enviormment meaning if we are bullish and we get a down impulse white arrow will be plotted. Then same if we are bearish and price makes an up impulse will plot a white arrow. This ones are usually traps but can also be a real breakout. It depends of the market context in the higher timeframe.
The Algo have the option to plot current ranges that are the lines with the cross, this lines change color depending of the market sentiment and market structure. Light Green for bullish expansion and light red for bearish expansion. Dark colors appears when the range is closed. The equilibrium price is plotted in gray, it change to black when it detect contraction and to white when detect expansion of the ranges.
ICT dealing ranges are plotted in white lines with the equilibrium point in yellow. This lines only appear while price is respecting the range and is consolidating inside and price is not expanding.
The indicator also draws some label lines to easily identify the current range and dealing range and if you want the previous dealing range. This line also tell you when price make a Break of structure and where is the ideal change or character for the timeframe we are looking for.
Lastly the The Rook have the option to enable colors in the bars this is helpful to quickly identify the market state, when price is aliged with the current market sentiment light green or red colors tell us that price is in a premium or discount. Dark and gray colors means price is already in an impulse. And finally when there is an absent of color means price is change current state similar to the white arrows. By default this colors are disable. You can edit in settings
How to use it?
After understanding how the rook communicates we can use it to follow the market direction, the best way to use it is waiting for the Range and dealing range a to be aligned for increasing probabilities we can wait for the previous dealing range too, one that’s in play we just wait for a premium or discount light green or light red signal to enter targeting first the break of the range and then holding for profits while is expanding until we get an opposite signal. This give us the possibility to hold for really big runs. See the picture below. This can be used in any timeframe so depending of the timeframe those ranges might be different but the key is to be align also with a higher timeframe direction.
Fibonacci-Only StrategyFibonacci-Only Strategy
This script is a custom trading strategy designed for traders who leverage Fibonacci retracement levels to identify potential trade entries and exits. The strategy is versatile, allowing users to trade across multiple timeframes, with built-in options for dynamic stop loss, trailing stops, and take profit levels.
Key Features:
Custom Fibonacci Levels:
This strategy calculates three specific Fibonacci retracement levels: 19%, 82.56%, and the reverse 19% level. These levels are used to identify potential areas of support and resistance where price reversals or breaks might occur.
The Fibonacci levels are calculated based on the highest and lowest prices within a 100-bar period, making them dynamic and responsive to recent market conditions.
Dynamic Entry Conditions:
Touch Entry: The script enters long or short positions when the price touches specific Fibonacci levels and confirms the move with a bullish (for long) or bearish (for short) candle.
Break Entry (Optional): If the "Use Break Strategy" option is enabled, the script can also enter positions when the price breaks through Fibonacci levels, providing more aggressive entry opportunities.
Stop Loss Management:
The script offers flexible stop loss settings. Users can choose between a fixed percentage stop loss or an ATR-based stop loss, which adjusts based on market volatility.
The ATR (Average True Range) stop loss is multiplied by a user-defined factor, allowing for tailored risk management based on market conditions.
Trailing Stop Mechanism:
The script includes an optional trailing stop feature, which adjusts the stop loss level as the market moves in favor of the trade. This helps lock in profits while allowing the trade to run if the trend continues.
The trailing stop is calculated as a percentage of the difference between the entry price and the current market price.
Multiple Take Profit Levels:
The strategy calculates seven take profit levels, each at incremental percentages above (for long trades) or below (for short trades) the entry price. This allows for gradual profit-taking as the market moves in the trade's favor.
Each take profit level can be customized in terms of the percentage of the position to be closed, providing precise control over exit strategies.
Strategy Backtesting and Results:
Realistic Backtesting:
The script has been backtested with realistic account sizes, commission rates, and slippage settings to ensure that the results are applicable to actual trading scenarios.
The backtesting covers various timeframes and markets to ensure the strategy's robustness across different trading environments.
Default Settings:
The script is published with default settings that have been optimized for general use. These settings include a 15-minute timeframe, a 1.0% stop loss, a 2.0 ATR multiplier for stop loss, and a 1.5% trailing stop.
Users can adjust these settings to better fit their specific trading style or the market they are trading.
How It Works:
Long Entry Conditions:
The strategy enters a long position when the price touches the 19% Fibonacci level (from high to low) or the reverse 19% level (from low to high) and confirms the move with a bullish candle.
If the "Use Break Strategy" option is enabled, the script will also enter a long position when the price breaks below the 19% Fibonacci level and then moves back up, confirming the break with a bullish candle.
Short Entry Conditions:
The strategy enters a short position when the price touches the 82.56% Fibonacci level and confirms the move with a bearish candle.
If the "Use Break Strategy" option is enabled, the script will also enter a short position when the price breaks above the 82.56% Fibonacci level and then moves back down, confirming the break with a bearish candle.
Stop Loss and Take Profit Logic:
The stop loss for each trade is calculated based on the selected method (fixed percentage or ATR-based). The strategy then manages the trade by either trailing the stop or taking profit at predefined levels.
The take profit levels are set at increments of 0.5% above or below the entry price, depending on whether the position is long or short. The script gradually exits the trade as these levels are hit, securing profits while minimizing risk.
Usage:
For Fibonacci Traders:
This script is ideal for traders who rely on Fibonacci retracement levels to find potential trade entries and exits. The script automates the process, allowing traders to focus on market analysis and decision-making.
For Trend and Swing Traders:
The strategy's flexibility in handling both touch and break entries makes it suitable for trend-following and swing trading strategies. The multiple take profit levels allow traders to capture profits in trending markets while managing risk.
Important Notes:
Originality: This script uniquely combines Fibonacci retracement levels with dynamic stop loss management and multiple take profit levels. It is not just a combination of existing indicators but a thoughtful integration designed to enhance trading performance.
Disclaimer: Trading involves risk, and it is crucial to test this script in a demo account or through backtesting before applying it to live trading. Users should ensure that the settings align with their individual risk tolerance and trading strategy.
MTF - Quantum Fibonacci ATR/ADR Levels & Targets**Indicator Overview:**
The *Quantum Fibonacci Wave Mechanics* indicator is a powerful tool designed to help traders identify dynamic support, resistance, and target levels based on the Average True Range (ATR) and Average Daily Range (ADR). This indicator leverages Fibonacci ratios to calculate precise entry and target levels, providing a comprehensive approach to market analysis.
**Key Features:**
- **Dynamic ATR/ADR Levels:** Automatically calculate and plot ATR and ADR-based support and resistance levels, offering insight into market volatility and potential reversal zones.
- **Fibonacci-Based Entry Levels:** Calculate Fibonacci entry levels using the 0.618 ratio, helping traders find optimal points to enter trades.
- **Customizable Target Levels:** Set up to three target levels based on Fibonacci ratios (1.618, 2.618, 3.618), allowing for precise trade management.
- **Stop Loss Lines:** Plot stop loss lines derived from ATR and ADR calculations, ensuring risk is managed effectively.
- **EMA Integration:** Optionally plot an Exponential Moving Average (EMA) line for additional trend confirmation.
- **Customizable Color Settings:** Adjust the colors of all levels and signals to fit your charting preferences.
- **Bar Coloring Based on Signals:** Automatically color bars based on the latest buy or sell signal for easier visual identification.
- **Label Display for Key Levels:** Display labels on the chart for important levels such as entry points, target levels, and stop loss lines.
**How Users Can Benefit:**
This indicator is ideal for traders who want to blend the precision of Fibonacci analysis with the robustness of ATR/ADR calculations. Whether you're a day trader looking for short-term entry points or a swing trader seeking reliable support and resistance levels, this indicator offers a versatile toolset for enhancing your trading decisions.
**Customization Instructions:**
The *Quantum Fibonacci Wave Mechanics* indicator is highly customizable to suit different trading styles and preferences. Below is a guide on how to adjust the settings:
1. **General Settings:**
- **ADR Length:** Define the lookback period for calculating the ADR.
- **EMA Length:** Set the period for the Exponential Moving Average (EMA).
- **Timeframe:** Select the timeframe for which the levels will be calculated (e.g., daily, weekly).
2. **Display Settings:**
- **Show ATR Levels:** Toggle the display of ATR-based support and resistance levels.
- **Show ADR Levels:** Toggle the display of ADR-based support and resistance levels.
- **Show EMA Line:** Toggle the display of the EMA line.
- **Show Stop Loss Lines:** Display stop loss levels derived from ATR and ADR.
- **Show Middle Level Line:** Show the middle level between buy and sell stop loss lines.
- **Show Fibonacci Entry Levels:** Enable the display of Fibonacci-based entry levels.
- **Show Entry Signals:** Plot buy and sell signals based on the crossover of the entry levels.
- **Show Target Levels:** Display up to three target levels for both buy and sell signals.
- **Color Bars Based on Last Signal:** Automatically color bars according to the last signal (buy or sell).
3. **Fibonacci Settings:**
- **Entry Ratio (Fibonacci):** Adjust the Fibonacci ratio used for calculating entry levels (default is 0.618).
- **Target Ratios (Fibonacci):** Set the Fibonacci ratios for up to three target levels (default ratios are 1.618, 2.618, and 3.618).
4. **Color Settings:**
- **Support Levels:** Customize the color of the support lines.
- **Resistance Levels:** Customize the color of the resistance lines.
- **Stop Loss Levels:** Set the color for stop loss lines (default is red).
- **Buy Target Levels:** Set the color for buy target levels (default is white).
- **Sell Target Levels:** Set the color for sell target levels (default is yellow).
5. **Label Display Settings:**
- **Show Labels for The Levels:** Toggle the display of labels for the various levels on the chart.
**Usage Tips:**
- **Combining with Other Indicators:** Use this indicator in conjunction with other technical indicators such as RSI, MACD, or Bollinger Bands to confirm signals.
- **Adjusting to Different Timeframes:** Customize the `timeframeInput` to analyze different market conditions, from intraday to long-term trading.
- **Risk Management:** Utilize the stop loss levels to manage risk effectively, ensuring your trades are protected against adverse market movements.
**Disclaimer:**
*This indicator is provided for educational purposes only and should not be considered financial advice. Trading in financial markets involves risk, and past performance does not guarantee future results. Always conduct your own research and consult with a licensed financial advisor before making any trading decisions. The creator of this indicator is not responsible for any financial losses that may occur from using this tool.*
Daily Open [Kintsugi Trading]Daily Open
The "Daily Open" indicator by Kintsugi Trading is designed to give traders clear and immediate access to daily open prices, enhancing their ability to spot key market levels and make informed trading decisions. The indicator dynamically changes the color of the plotted line based on the current price's relationship to the opening price of the regular market session. This visual aid helps traders quickly assess whether the current price is trading above or below the opening price of the session.
Key Features:
Daily Open Visualization: Automatically plots the daily open price on your chart, providing a clear reference point for daily price action.
Configurable Market Open Time: The indicator allows users to input the start time of the regular market session (default is set to 9:30 AM).
Color-Coded: The indicator dynamically adjusts the color of the daily open line and price labels based on whether the price is above or below the open, giving you quick visual cues about market sentiment.
Customization Options: Users can modify the line's appearance, including the color and style, to better fit their chart preferences.
Ideal For:
This indicator is particularly useful for day traders and those looking to closely monitor price action in relation to the market's opening level. It serves as a quick reference point for identifying potential bullish or bearish sentiment throughout the trading day.
Good luck with your trading!
Gann + Laplace Smoothed Hybrid Volume Spread AnalysisThe Gann + Laplace Smoothed Hybrid Volume Spread Analysis ( GannLSHVSA ) Strategy/Indicator is an trading tool designed to fuse volume analysis with trend detection, offering traders a view of market dynamics.
This Strategy/Indicator stands apart by integrating the principles of the upgraded Discrete Fourier Transform (DFT), the Laplace Stieltjes Transform and volume spread analysis, enhanced with a layer of Fourier smoothing to distill market noise and highlight trend directions with unprecedented clarity.
The length of EMA and Strategy Entries are modified with the Gann swings .
This smoothing process allows traders to discern the true underlying patterns in volume and price action, stripped of the distractions of short-term fluctuations and noise.
The core functionality of the GannLSHVSA revolves around the innovative combination of volume change analysis, spread determination (calculated from the open and close price difference), and the strategic use of the EMA (default 10) to fine-tune the analysis of spread by incorporating volume changes.
Trend direction is validated through a moving average (MA) of the histogram, which acts analogously to the Volume MA found in traditional volume indicators. This MA serves as a pivotal reference point, enabling traders to confidently engage with the market when the histogram's movement concurs with the trend direction, particularly when it crosses the Trend MA line, signalling optimal entry points.
It returns 0 when MA of the histogram and EMA of the Price Spread are not align.
WHAT IS GannLSHVSA INDICATOR:
The GannLSHVSA plots a positive trend when a positive Volume smoothed Spread and EMA of Volume smoothed price is above 0, and a negative when negative Volume smoothed Spread and EMA of Volume smoothed price is below 0. When this conditions are not met it plots 0.
HOW TO USE THE STRATEGY:
Here you fine-tune the inputs until you find a combination that works well on all Timeframes you will use when creating your Automated Trade Algorithmic Strategy. I suggest 4h, 12h, 1D, 2D, 3D, 4D, 5D, 6D, W and M.
ORIGINALITY & USEFULNESS:
The GannLSHVSA Strategy is unique because it applies upgraded DFT, the Laplace Stieltjes Transform for data smoothing, effectively filtering out the minor fluctuations and leaving traders with a clear picture of the market's true movements. The DFT's ability to break down market signals into constituent frequencies offers a granular view of market dynamics, highlighting the amplitude and phase of each frequency component. This, combined with the strategic application of Ehler's Universal Oscillator principles via a histogram, furnishes traders with a nuanced understanding of market volatility and noise levels, thereby facilitating more informed trading decisions. The Gann swing strategy is developed by meomeo105, this Gann high and low algorithm forms the basis of the EMA modification.
DETAILED DESCRIPTION:
My detailed description of the indicator and use cases which I find very valuable.
What is the meaning of price spread?
In finance, a spread refers to the difference between two prices, rates, or yields. One of the most common types is the bid-ask spread, which refers to the gap between the bid (from buyers) and the ask (from sellers) prices of a security or asset.
We are going to use Open-Close spread.
What is Volume spread analysis?
Volume spread analysis (VSA) is a method of technical analysis that compares the volume per candle, range spread, and closing price to determine price direction.
What does this mean?
We need to have a positive Volume Price Spread and a positive Moving average of Volume price spread for a positive trend. OR via versa a negative Volume Price Spread and a negative Moving average of Volume price spread for a negative trend.
What if we have a positive Volume Price Spread and a negative Moving average of Volume Price Spread?
It results in a neutral, not trending price action.
Thus the Indicator/Strategy returns 0 and Closes all long and short positions.
I suggest using "Close all" input False when fine-tuning Inputs for 1 TimeFrame. When you export data to Excel/Numbers/GSheets I suggest using "Close all" input as True, except for the lowest TimeFrame. I suggest using 100% equity as your default quantity for fine-tune purposes. I have to mention that 100% equity may lead to unrealistic backtesting results. Be avare. When backtesting for trading purposes use Contracts or USDT.
Fine-tune Inputs: Gann + Laplace Smooth Volume Zone OscillatorUse this Strategy to Fine-tune inputs for the GannLSVZ0 Indicator.
Strategy allows you to fine-tune the indicator for 1 TimeFrame at a time; cross Timeframe Input fine-tuning is done manually after exporting the chart data.
I suggest using "Close all" input False when fine-tuning Inputs for 1 TimeFrame. When you export data to Excel/Numbers/GSheets I suggest using "Close all" input as True, except for the lowest TimeFrame.
MEANINGFUL DESCRIPTION:
The Volume Zone oscillator breaks up volume activity into positive and negative categories. It is positive when the current closing price is greater than the prior closing price and negative when it's lower than the prior closing price. The resulting curve plots through relative percentage levels that yield a series of buy and sell signals, depending on level and indicator direction.
The Gann Laplace Smoothed Volume Zone Oscillator GannLSVZO is a refined version of the Volume Zone Oscillator, enhanced by the implementation of the upgraded Discrete Fourier Transform, the Laplace Stieltjes Transform. Its primary function is to streamline price data and diminish market noise, thus offering a clearer and more precise reflection of price trends.
By combining the Laplace with Gann Swing Entries and with Ehler's white noise histogram, users gain a comprehensive perspective on volume-related market conditions.
HOW TO USE THE INDICATOR:
The default period is 2 but can be adjusted after backtesting. (I suggest 5 VZO length and NoiceR max length 8 as-well)
The VZO points to a positive trend when it is rising above the 0% level, and a negative trend when it is falling below the 0% level. 0% level can be adjusted in setting by adjusting VzoDifference. Oscillations rising below 0% level or falling above 0% level result in a natural trend.
HOW TO USE THE STRATEGY:
Here you fine-tune the inputs until you find a combination that works well on all Timeframes you will use when creating your Automated Trade Algorithmic Strategy. I suggest 4h, 12h, 1D, 2D, 3D, 4D, 5D, 6D, W and M.
When Indicator/Strategy returns 0 or natural trend, Strategy Closes All it's positions.
ORIGINALITY & USFULLNESS:
Personal combination of Gann swings and Laplace Stieltjes Transform of a price which results in less noise Volume Zone Oscillator.
The Laplace Stieltjes Transform is a mathematical technique that transforms discrete data from the time domain into its corresponding representation in the frequency domain. This process involves breaking down a signal into its individual frequency components, thereby exposing the amplitude and phase characteristics inherent in each frequency element.
This indicator utilizes the concept of Ehler's Universal Oscillator and displays a histogram, offering critical insights into the prevailing levels of market noise. The Ehler's Universal Oscillator is grounded in a statistical model that captures the erratic and unpredictable nature of market movements. Through the application of this principle, the histogram aids traders in pinpointing times when market volatility is either rising or subsiding.
The Gann swing strategy is developed by meomeo105, this Gann high and low algorithm forms the basis of the EMA modification.
DETAILED DESCRIPTION:
My detailed description of the indicator and use cases which I find very valuable.
What is oscillator?
Oscillators are chart indicators that can assist a trader in determining overbought or oversold conditions in ranging (non-trending) markets.
What is volume zone oscillator?
Price Zone Oscillator measures if the most recent closing price is above or below the preceding closing price.
Volume Zone Oscillator is Volume multiplied by the 1 or -1 depending on the difference of the preceding 2 close prices and smoothed with Exponential moving Average.
What does this mean?
If the VZO is above 0 and VZO is rising. We have a bullish trend. Most likely.
If the VZO is below 0 and VZO is falling. We have a bearish trend. Most likely.
Rising means that VZO on close is higher than the previous day.
Falling means that VZO on close is lower than the previous day.
What if VZO is falling above 0 line?
It means we have a high probability of a bearish trend.
Thus the indicator returns 0 and Strategy closes all it's positions when falling above 0 (or rising bellow 0) and we combine higher and lower timeframes to gauge the trend.
What is approximation and smoothing?
They are mathematical concepts for making a discrete set of numbers a
continuous curved line.
Laplace Stieltjes Transform approximation of a close price are taken from aprox library.
Key Features:
You can tailor the Indicator/Strategy to your preferences with adjustable parameters such as VZO length, noise reduction settings, and smoothing length.
Volume Zone Oscillator (VZO) shows market sentiment with the VZO, enhanced with Exponential Moving Average (EMA) smoothing for clearer trend identification.
Noise Reduction leverages Euler's White noise capabilities for effective noise reduction in the VZO, providing a cleaner and more accurate representation of market dynamics.
Choose between the traditional Fast Laplace Stieltjes Transform (FLT) and the innovative Double Discrete Fourier Transform (DTF32) soothed price series to suit your analytical needs.
Use dynamic calculation of Laplace coefficient or the static one. You may modify those inputs and Strategy entries with Gann swings.
I suggest using "Close all" input False when fine-tuning Inputs for 1 TimeFrame. When you export data to Excel/Numbers/GSheets I suggest using "Close all" input as True, except for the lowest TimeFrame. I suggest using 100% equity as your default quantity for fine-tune purposes. I have to mention that 100% equity may lead to unrealistic backtesting results. Be avare. When backtesting for trading purposes use Contracts or USDT.
Swing Trend AnalysisIntroducing the Swing Trend Analyzer: A Powerful Tool for Swing and Positional Trading
The Swing Trend Analyzer is a cutting-edge indicator designed to enhance your swing and positional trading by providing precise entry points based on volatility contraction patterns and other key technical signals. This versatile tool is packed with features that cater to traders of all timeframes, offering flexibility, clarity, and actionable insights.
Key Features:
1. Adaptive Moving Averages:
The Swing Trend Analyzer offers multiple moving averages tailored to the timeframe you are trading on. On the daily chart, you can select up to four different moving average lengths, while all other timeframes provide three moving averages. This flexibility allows you to fine-tune your analysis according to your trading strategy. Disabling a moving average is as simple as setting its value to zero, making it easy to customize the indicator to your needs.
2. Dynamic Moving Average Colors Based on Relative Strength:
This feature allows you to compare the performance of the current ticker against a major index or any symbol of your choice. The moving average will change color based on whether the ticker is outperforming or underperforming the selected index over the chosen period. For example, on a daily chart, if the 21-day moving average turns blue, it indicates that the ticker has outperformed the selected index over the last 21 days. This visual cue helps you quickly identify relative strength, a key factor in successful swing trading.
3. Visual Identification of Price Contractions:
The Swing Trend Analyzer changes the color of price bars to white (on a dark theme) or black (on a light theme) when a contraction in price is detected. Price contractions are highlighted when either of the following conditions is met: a) the current bar is an inside bar, or b) the price range of the current bar is less than the 14-period Average Daily Range (ADR). This feature makes it easier to spot price contractions across all timeframes, which is crucial for timing entries in swing trading.
4. Overhead Supply Detection with Automated Resistance Lines:
The indicator intelligently detects the presence of overhead supply and draws a single resistance line to avoid clutter on the chart. As price breaches the resistance line, the old line is automatically deleted, and a new resistance line is drawn at the appropriate level. This helps you focus on the most relevant resistance levels, reducing noise and improving decision-making.
5. Buyable Gap Up Marker: The indicator highlights bars in blue when a candle opens with a gap that remains unfilled. These bars are potential Buyable Gap Up (BGU) candidates, signaling opportunities for long-side entries.
6. Comprehensive Swing Trading Information Table:
The indicator includes a detailed table that provides essential data for swing trading:
a. Sector and Industry Information: Understand the sector and industry of the ticker to identify stocks within strong sectors.
b. Key Moving Averages Distances (10MA, 21MA, 50MA, 200MA): Quickly assess how far the current price is from key moving averages. The color coding indicates whether the price is near or far from these averages, offering vital visual cues.
c. Price Range Analysis: Compare the current bar's price range with the previous bar's range to spot contraction patterns.
d. ADR (20, 10, 5): Displays the Average Daily Range over the last 20, 10, and 5 periods, crucial for identifying contraction patterns. On the weekly chart, the ADR continues to provide daily chart information.
e. 52-Week High/Low Data: Shows how close the stock is to its 52-week high or low, with color coding to highlight proximity, aiding in the identification of potential breakout or breakdown candidates.
f. 3-Month Price Gain: See the price gain over the last three months, which helps identify stocks with recent momentum.
7. Pocket Pivot Detection with Visual Markers:
Pocket pivots are a powerful bullish signal, especially relevant for swing trading. Pocket pivots are crucial for swing trading and are effective across all timeframes. The indicator marks pocket pivots with circular markers below the price bar:
a. 10-Day Pocket Pivot: Identified when the volume exceeds the maximum selling volume of the last 10 days. These are marked with a blue circle.
b. 5-Day Pocket Pivot: Identified when the volume exceeds the maximum selling volume of the last 5 days. These are marked with a green circle.
The Swing Trend Analyzer is designed to provide traders with the tools they need to succeed in swing and positional trading. Whether you're looking for precise entry points, analyzing relative strength, or identifying key price contractions, this indicator has you covered. Experience the power of advanced technical analysis with the Swing Trend Analyzer and take your trading to the next level.
[TR] Engulf Patterns by SM
Engulf Pattern by SM
Overview:
The " Engulf Pattern by SM" script is designed to identify bullish and bearish engulfing candlestick patterns on TradingView charts. Engulfing patterns are significant in technical analysis as they often indicate potential reversals in market trends.
Features:
- Bullish Engulfing Pattern Detection: The script identifies bullish engulfing patterns, which occur when a larger bullish candle completely engulfs the body of the previous smaller bearish candle.
- Bearish Engulfing Pattern Detection: Similarly, it detects bearish engulfing patterns, where a larger bearish candle engulfs the body of the preceding smaller bullish candle.
- Body Size Filtering: The script includes a feature to filter patterns based on the size of the candle bodies, allowing for more precise marking of significant patterns.
- Visual Markers: The script plots visual markers on the chart to highlight the detected engulfing patterns, making it easy for traders to spot them.
How It Works:
1. Bullish Engulfing Pattern:
- The script checks for a smaller bearish candle followed by a larger bullish candle.
- The body of the bullish candle must completely cover the body of the bearish candle.
- The size of the bullish candle's body must meet a specified threshold to be considered significant.
2. Bearish Engulfing Pattern:
- The script looks for a smaller bullish candle followed by a larger bearish candle.
- The body of the bearish candle must completely engulf the body of the bullish candle.
- The size of the bearish candle's body must meet a specified threshold to be considered significant.
Usage:
- Add the Script: Apply the " Engulf Pattern by SM" script to your TradingView chart.
- Configure Settings: Customize the script settings to suit your trading strategy, including visual marker styles and body size thresholds.
- Monitor Visual Markers: Keep an eye on the visual markers to identify potential trading opportunities based on engulfing patterns.
Disclaimer:
This script is not intended to be used as a direct entry signal. It should be used as a confluence in your overall trading plan. Always conduct your own analysis and consider multiple factors before making any trading decisions.
Feel free to customize this writeup further to match your specific needs! If you have any other requests or need additional details, just let me know.
MACD Divergence StrategyStrategy Description: MACD Divergence with SMA Crossover Strategy
Overview:
The MACD Divergence with SMA Crossover Strategy is designed to identify high-probability trading opportunities based on the interaction of the MACD (Moving Average Convergence Divergence) indicator and key moving averages. This strategy focuses on detecting divergences between the MACD line and the signal line, combined with specific conditions related to the 50-period and 800-period SMAs. It ensures that the MACD and signal lines do not cross the zero line between the current and previous divergence points, thereby filtering out weaker signals and enhancing the accuracy of trade entries.
Key Components:
Simple Moving Averages (SMAs):
50-period SMA: A short-term trend indicator that helps identify the prevailing market direction.
800-period SMA: A long-term trend indicator used to gauge the overall market trend.
MACD Indicator:
MACD Line: Represents the difference between the 12-period EMA and the 26-period EMA.
Signal Line: A 9-period EMA of the MACD line.
Histogram: The difference between the MACD line and the signal line, used to visualize the strength of the signal.
Trade Conditions:
Long Position (Buy):
The 50 SMA is above the 800 SMA, indicating a bullish market trend.
The MACD line and signal line are both below zero, signifying a potential bullish reversal.
A bullish divergence is detected when the MACD line crosses above the signal line below zero, without either line crossing the zero level between the current and previous cross.
Short Position (Sell):
The 50 SMA is below the 800 SMA, indicating a bearish market trend.
The MACD line and signal line are both above zero, signaling a potential bearish reversal.
A bearish divergence is detected when the MACD line crosses below the signal line above zero, without either line crossing the zero level between the current and previous cross.
Signal Plotting:
Long Signals: Displayed when the conditions for a bullish divergence and SMA alignment are met, marked with a green upward arrow on the chart.
Short Signals: Displayed when the conditions for a bearish divergence and SMA alignment are met, marked with a red downward arrow on the chart.
Short Term Holder MVRVShort-Term Holder MVRV is an indicator designed to assess the ratio between the Market Value and the Realized Value of Bitcoin that has been held for less than 155 days.
Market Value is calculated as the current price of Bitcoin multiplied by its circulating supply.
[ Realized Value is derived by multiplying the realized price of Bitcoin (the price at which the coins last moved) by the circulating supply. It represents the total cost basis of all Bitcoin held by short-term holders.
Key Interpretations:
Indicator Value < 1: When this metric is below 1, it suggests that the market value of Bitcoin held by short-term holders is lower than their cost basis (Realized Value), meaning they are, on average, holding at a loss. The lower this value, the greater the average loss.
Indicator Value > 1: When the metric exceeds 1, it indicates that the market value is higher than the realized value, signifying that short-term holders are, on average, in profit. The higher this value, the greater the average profit.
Indicator Value = 1: The value of 1 is seen as a breakeven point for short-term investors, often acting as a critical support or resistance level for Bitcoin's price.
TrendScope:TrendScope Indicator Description with First-Time User Tutorial
---
Overview:
The TrendScope indicator is designed to give traders a comprehensive view of the market by combining multiple filter sets that analyze different aspects of price action. The filter sets allow you to switch between different views effortlessly and avoid indicator clutter. Whether you're scalping, swing trading, or identifying breakout opportunities, TrendScope helps you make informed decisions by assessing momentum, volatility, trade timing, and trend direction. It also includes a scalp setup you can use to execute trades and manage risk.
---
TrendScope Filter Sets with First-Time User Setup & Tutorial
---
Filter Set A: Short-Term Momentum
Goal:
This filter focuses on the immediate market sentiment without any additional indicators. It reveals where retail traders might enter the market, potentially highlighting areas where they could be stopped out. The goal is to identify these weak spots and anticipate likely price movements that could follow.
No Additional Indicators Required:
This filter set uses moving averages (SMA 20, SMA 50, SMA 100) to determine the short-term trend.
Tutorial:
- To Confirm an Uptrend: Ensure all moving averages are aligned in sequence: SMA 20 above SMA 50, and SMA 50 above SMA 100, all trending upwards.
Action: Consider going long using the scalper in Filter Set D.
- To Confirm a Downtrend: Ensure all moving averages are aligned in sequence: SMA 20 below SMA 50, and SMA 50 below SMA 100, all trending downwards.
Action: Consider going short using the scalper in Filter Set D.
- To Confirm Consolidation: If the moving averages are not aligned or are intertwined, the market is either about to or already trending sideways. The market is in a consolidation phase.
Action: Switch to Filter Set C for further analysis.
---
Filter Set B: Long-Term Momentum
Goal:
Similar to the short-term filter, but with a broader perspective. It helps in understanding the bigger picture, providing insights into longer-term trends and potential reversals for swing trade entries.
No Additional Indicators Required:
This filter set uses moving averages (SMA 20, SMA 100, SMA 200) to determine the long-term trend.
Tutorial:
- To Confirm an Uptrend: Ensure all moving averages are aligned in sequence: SMA 20 above SMA 100, and SMA 100 above SMA 200, all trending upwards.
Action: Consider going long using the scalper in Filter Set D.
- To Confirm a Downtrend: Ensure all moving averages are aligned in sequence: SMA 20 below SMA 100, and SMA 100 below SMA 200, all trending downwards.
Action: Consider going short using the scalper in Filter Set D.
- To Confirm Consolidation: If the moving averages are not aligned or are intertwined, the market is either about to or already trending sideways. The market is in a consolidation phase.
Action: Switch to Filter Set C for further analysis.
---
Filter Set C: Trading Range
This filter uses Bollinger Bands, Volume, and Volume-Weighted Relative Volume Profile (VRVP) to identify trading ranges and predict breakouts and trade timing. In short, when Bollinger Bands contract and volume is below average, the VRVP highlights low-volume areas that can serve as breakout targets, offering a timing edge.
Goal:
Anticipate breakouts in a sideways market.
Additional Indicators Required:
- VRVP: For visualizing volume at specific price levels.
- Volume Indicator: With a 100-period moving average for anticipating low market participation.
Tutorial:
1. Setup Screen: Zoom out to see the entire consolidation phase.
2. Identify Support & Resistance:
- Use VRVP to determine VAH (upper range) and VAL (lower range) support or resistance levels.
- Identify the POC (Point of Control) as the area with the highest support or resistance.
3. Wait for Setup:
- Wait for Bollinger Bands to contract and volume to dip below the average.
- Go short if the price is at VAH, go long if the price is at VAL.
4. Action: Switch to Filter Set D for precise entry, target, and risk management.
---
Filter Set D: Scalper
After determining the market condition using the previous filter sets, you can use this filter set to hunt for trades. Designed for use with Heikin Ashi candles, this filter allows you to enter when there’s high momentum and provides a trailing stop along the way.
Goal:
Execute trades in harmony with the established trend.
Setup Rules:
1. Condition 1: You know the current trend direction as per filter set guidance (A, B, & C), and the trend is up, and you are going long.
2. Condition 2: Wait for the price to close 3 consecutive flat-bottom Heikin Ashi candles above the 7 MA. Then Enter on the open of the fourth Candle.
3. Condition 3: The 3x candles have to be above the 7 MA (red line), and the 7 MA has to be above the 50 EMA (yellow line).
Trade Management:
Use the 50 EMA (Yellow Line) as a trailing stop and hold the position until a candle opens and closes below the 7 SMA (Red Line).
---
Additional Filter Sets
These filter sets are designed to accommodate various trading strategies, allowing for flexibility depending on the trader's approach.
---
Filter Set E: VWAP
When using the VWAP filter, load the On-Balance Volume (OBV) indicator to complement your analysis. This combination can help confirm volume trends and potential price movements.
Tips:
Look for instances where the VWAP aligns with OBV divergences to confirm or negate potential trade setups.
Tutorial:
- Complement with OBV: Look for volume confirmations.
- Usage: Switch the candles to a line chart. Wait for both the line to close above the VWAP and OBV above the Smoothing Line. Then, switch to Filter Set D and hunt for a long entry as per the strategy. Do the opposite for hunting short entries.
---
Filter Set F: Super Trend
This filter is most effective when paired with the Ichimoku Cloud (using custom settings) along with the MACD and ADX indicators.
Goal:
Gauge trend strength, momentum, and support and resistance levels.
Tutorial:
- Load Ichimoku, MACD, and ADX: To gauge trend strength and momentum.
- Usage Tips:
I use the cloud to look for long periods where the clouds print horizontal levels and use them for support and resistance levels. Alternatively, use the ADX. When the price breaks up through the super trend downtrend line and retraces back to the top of the Ichimoku cloud, switch to Filter Set D and hunt for a long scalp entry. For a short entry, wait for the price to break through the Up Trend Line and retrace back up to the cloud. Then, switch to Filter Set D and use the setup to hunt for a short.
---
Filter Set G: Keltner Channels
Combine this filter with Donchian Channels and the Average True Range (ATR) for enhanced volatility analysis. This filter set works similarly to Filter Set C.
Goal:
Measure volatility and predict breakouts.
Tutorial:
- Load Donchian Channels or ATR: To measure volatility and breakouts.
- Usage Tips:
Look for the price to fall through the Keltner lower line and the ATR making a higher low. Then, use the scalper for entries, with Donchian boundaries as take-profit estimates.
---
Filter Set H: Pivot Points
This filter works with the RSI to spot divergences that could signal a trend change or reversal.
Goal:
Identify divergences and trend reversals.
Tutorial:
- Load RSI: For identifying divergences.
- Usage Tips:
Use RSI in conjunction with pivot points to identify divergences. Then, switch to Filter Set D and use the scalper to hunt for swing entries in the divergence direction.
---
Filter Set I: Opening Range Breakout
This filter uses the Seasonality indicator to gauge investor sentiment and prediction sentiment.
Goal:
Assess market sentiment and predict breakout directions.
Tutorial:
- Load Seasonality Indicator: To assess market sentiment.
- Usage Tips:
Use seasonal trends to gauge potential breakout directions. Use on the daily timeframe only. Risk on investment zones are when the price is close to the ORB low level. Realize investment profit when the price is nearing the ORB high level, considering that there has to be divergence as determined using Filter Set H.
---
By following this structured approach, traders can learn to navigate different market conditions, using TrendScope to make informed decisions based on a comprehensive analysis of momentum, trend, and volatility. The goal is to go through all the filter sets and combine them with the scalp setup in Filter Set D, using the additional filters to adapt to various strategies and market conditions.
[Opening Range pre-Market Breakout Screener] with Alerts (TSO)=
with Alerts (TSO)
===========================================================================
===========================================================================
This Opening Range/pre-Market breakout screener lets you monitor up to 10 symbols/instruments simultaneously (9 plus the one currently displayed on the chart). It provides alerts when the price breaks out of the pre-market range, offering two options: 1) Immediate alerts as the breakout happens with the live bar, and 2) Alerts after the bar closes. The screener also labels breakouts on the chart and offers live status updates in the stats table. The Opening Range/pre-Market area is fully customizable, with a default setting optimized for US stock market pre-market hours (07:00 am-09:30 am ET). Additionally, you can set the Active Trading Session Schedule to define specific intraday periods when breakouts and alerts will be displayed.
What sets this indicator apart from other ORB indicators is its integrated screener for multiple symbols and an IMMEDIATE alert/status feature that notifies you the moment the price breaks through the pre-market range. Moreover, it can be used worldwide as it includes an active trading session schedule for every trading region globally!
===========================================================================
Explanation of all the Features/Inputs/Settings
---------------------------------------------------------------------------
>>> This is where the desired symbols can be turned on/checked to be screened for ORB breakout - the selected/checked symbols at creation of a 'Any alert() function call' alert will alert on any of the selected/checked symbols.
>>> Active Trading Session Hours, this is where Active Trading Session Hours can be setup during which breakouts will be shown on chart/table and alerts will trigger. Every trading region is included, by default it's set to a regular US trading session: 09:30am0-4:00pm ET.
>>> ORB Breakout Config is where the desired breakout approaches can be shown/alert turn on. Closed Bar Breakout: means that a breakout is considered as occurred only when a candle bar is fully closed. Live Breakouts: a breakout occurs immediately at price breakout thru pre-Market range, while candle bar is still open.
>>> Final section is simply the stats table location.
===========================================================================
Adding Alerts in TradngView
---------------------------------------------------------------------------
1) Consolidation alert(s) for the selected/checked symbols
- Select/check/find the desired symbols/instruments (when selecting symbols, make sure - they are from correct BROKER/SOURCE as pricing may differ between different brokers, causing confusion (under 1 broker/source, the symbol will be consolidated, under another it will not...))
-Right-click anywhere on any TradingView chart
-Click on Add alert
-Condition: Select this indicator by it’s name
-Immediately below, change it to "alert() function calls only"
-Expiration: Open-ended (that may require higher tier TradingView account, otherwise the alert will need to be occasionally re-triggered)
-Alert name: Anything
-Hit “Create”
-Note: If you change ANY Settings within the indicator – you must DELETE the current alert and create a new one per steps above, otherwise it will continue triggering alerts per old Settings!
* Once alert triggers, don't get confused, as it will show "Alert on SYMBOL", the SYMBOL will be where you created the major alert for all the symbols within the screener list! Within the alert, on the bottom, it will say: "SPY - LONG Breakout - Live" - this is where the correct symbol is for which the alert for consolidation was triggered!
===========================================================================
If you have any questions or issues with the indicator, please message me directly via TradingView.
---------------------------------------------------------------------------
Good Luck! (NOTE: Trading is very risky, past performance is not necessarily indicative of future results, so please trade responsibly!)
Price Close ProbabilityThe Price Close Probability Indicator is designed to help traders estimate the likelihood of price closing above or below specified levels within a given bar. By placing two levels on your chart, you can quickly gauge the probability of the current price bar closing above or below these levels in real-time.
Key Features:
Dynamic Probability Calculation: The indicator continuously updates the probability of price closing above or below your set levels as the current bar progresses, providing you with timely insights as the bar approaches its close.
Customizable Standard Deviation : Adjust the length of the Standard Deviation used in the calculations to tailor the probability estimates to your preferred settings.
User-Friendly Probability Table : A clean, easy-to-read table displays the calculated probabilities, helping you make informed trading decisions at a glance.
Assumptions and Considerations:
While the indicator assumes that returns are normally distributed, which may not fully reflect reality, it still offers a valuable approximation of the probabilities for price movement within the current bar.
Future Enhancements (Coming Soon):
Multi-Bar Probability: Calculate probabilities across multiple bars to enhance your forecasting capabilities.
Additional Levels: Set more than two levels for a broader analysis of price movements.
Refined Distribution Modeling: Improve the accuracy of probability calculations by adjusting for more realistic return distributions.
Disclaimer
Please remember that past performance may not be indicative of future results.
Due to various factors, including changing market conditions, the strategy may no longer perform as well as in historical backtesting.
This post and the script don’t provide any financial advice.
Relative Performance AnalysisRelative Performance Analysis Script
This Pine Script creates a detailed table on your TradingView chart to compare the performance of a specified asset against a benchmark over multiple time frames. The table is fully customizable, allowing you to select its location on the chart and display performance metrics for different periods.
Features:
Customizable Table Location: Choose where the table appears on your chart from a range of predefined positions (e.g., bottom left, top center).
Dynamic Column Headers: The table includes columns for the ticker, description, and performance metrics for various time periods (1 day, 1 week, 1 month, 3 months, 6 months, and 1 year).
Performance Calculation: Calculates the percentage change in performance between the current close price and the previous close price for each time frame.
Color-Coded Performance: Uses a color scheme to highlight performance levels, with specific colors for positive and negative changes to easily visualize performance trends.
Benchmark and Asset Comparison: Displays performance metrics for both a benchmark (e.g., SPY) and the asset currently viewed on the chart, providing a clear comparison.
Inputs:
Benchmark Symbol: Specify the symbol of the benchmark asset (e.g., SPY).
Benchmark Description: Provide a description for the benchmark asset.
Chart Symbol: Automatically uses the symbol of the chart for comparison.
Usage:
Add the script to your TradingView chart.
Configure the benchmark symbol and description as needed.
The table will automatically populate with performance data and be positioned according to your selection.
Disclaimer:
This script is for informational and educational purposes only and is not intended as financial advice. The performance data displayed in the table is based on historical prices and is not indicative of future performance. Trading involves risk, and you should always do your own research and consult with a qualified financial advisor before making any investment decisions. The creator of this script assumes no responsibility for any losses or damages incurred as a result of using this tool.
Hammers & star Patterns After a Trend
1. **Candlestick Patterns Detection:**
- **Hammers** and **Inverted Hammers** are specific candlestick patterns that can indicate potential reversals in the market.
- **Hammer**: A candle with a small body and a long lower wick, showing a possible reversal after a downtrend.
- **Inverted Hammer**: A candle with a small body and a long upper wick, indicating a possible reversal after an uptrend.
2. **Volume Consideration:**
- The script checks if these patterns occur with **high trading volume**. If the volume is significantly higher than the average volume over a certain period, the pattern is highlighted.
3. **Trend Detection:**
- The script looks for a significant trend before the pattern appears:
- **Downtrend**: A significant downward movement in price is required before a Hammer is considered.
- **Uptrend**: A significant upward movement is required before an Inverted Hammer is considered.
4. **Additional Patterns:**
- **Morning Star** and **Evening Star** patterns are also detected:
- **Morning Star**: A three-candle pattern where the first candle is a large bearish candle, followed by a small-bodied candle, and then a large bullish candle, indicating a potential reversal from downtrend to uptrend.
- **Evening Star**: The opposite pattern, signaling a potential reversal from uptrend to downtrend.
5. **Visual Indicators:**
- The script **plots arrows** and **labels** on the chart to show where these patterns occur:
- **Hammers** and **Inverted Hammers** are marked with triangle arrows.
- **Morning Stars** and **Evening Stars** are marked with labels.
In summary, this script helps traders identify key candlestick patterns that may signal potential reversals in price trends, with special emphasis on patterns that occur with high volume and after significant price movements.
Trend Line and Price Objective**Script Name: Trend Line and Price Objective with Historical Candles**
BITSTAMP:BTCUSD This Pine Script for TradingView, authored by Dshergill, plots a trend line, price objective, and historical candles on the chart. It includes several key features:
1. **Trend Line and Price Objective:**
- **Trend Line**: Draws a horizontal trend line at the highest high over a user-defined lookback period (`lookbackPeriod`). The trend line updates dynamically based on the highest high value.
- **Price Objective**: Calculates and displays a price objective if the closing price exceeds the highest high. The objective is calculated using a multiplier (`objectiveMultiplier`) and is labeled on the chart when a breakout occurs.
2. **Horizontal Lines:**
- Plots the highest high and lowest low over the lookback period as horizontal lines for easy reference.
3. **Historical Candles:**
- **Plot Candles**: Plots candles for the last 9 bars with conditional coloring based on whether the candle closed higher or lower than it opened. Green is used for bullish candles and red for bearish candles, with gray wicks.
- **Labels**: Adds labels below the wick of each candle to indicate the candle's position in the sequence (from 1 to 9).
**Features:**
- Dynamic trend line and price objective calculation.
- Clear visualization of the highest and lowest levels with horizontal lines.
- Historical candle visualization with color-coded styling and labeled positions.
This script helps traders visualize price trends and potential price objectives while providing a clear historical view of recent candles.
Price Oscillator TR### Summary: How to Use the Price Oscillator with EMA Indicator
The **Price Oscillator with EMA** is a custom technical analysis tool designed to help traders identify potential buying and selling opportunities based on price momentum. Here's how to use it:
1. **Understanding the Oscillator**:
- The oscillator is calculated by normalizing the current price relative to the highest high and lowest low over a specified lookback period. It fluctuates between -70 and +70.
- When the oscillator is near +70, the price is close to the recent highs, indicating potential overbought conditions. Conversely, when it’s near -100, the price is close to recent lows, indicating potential oversold conditions.
2. **Exponential Moving Average (EMA)**:
- The indicator includes an EMA of the oscillator to smooth out price fluctuations and provide a clearer signal.
- The EMA helps to filter out noise and confirm trends.
3. **Trading Signals**:
- **Bullish Signal**: A potential buying opportunity is signaled when the oscillator crosses above its EMA. This suggests increasing upward momentum.
- **Bearish Signal**: A potential selling opportunity is signaled when the oscillator crosses below its EMA. This indicates increasing downward momentum.
4. **Visual Aids**:
- The indicator includes horizontal lines at +70, 0, and -70 to help you quickly assess overbought, neutral, and oversold conditions.
- The blue line represents the oscillator, while the orange line represents the EMA of the oscillator.
### How to Use:
- **Set your parameters**: Adjust the lookback period and EMA length to fit your trading strategy and time frame.
- **Watch for Crossovers**: Monitor when the oscillator crosses the EMA. A crossover from below to above suggests a buy, while a crossunder from above to below suggests a sell.
- **Confirm with Other Indicators**: For more reliable signals, consider using this indicator alongside other technical tools like volume analysis, trend lines, or support/resistance levels.
This indicator is ideal for traders looking to capture momentum-based trades in various market conditions.
MACD Trail | Flux Charts💎 GENERAL OVERVIEW
Introducing our new MACD Trail indicator! Moving average convergence/divergence (MACD) is a well-known indicator among traders. It's a trend-following indicator that uses the relationship between two exponential moving averages (EMAs). This indicator aims to use MACD to generate a trail that follows the current price of the ticker, which can act as a support / resistance zone. More info about the process in the "How Does It Work" section.
Features of the new MACD Trail Indicator :
A Trail Generated Using MACD Calculation
Customizable Algorithm
Customizable Styling
📌 HOW DOES IT WORK ?
First of all, this indicator calculates the current MACD of the ticker using the user's input as settings. Let X = MACD Length setting ;
MACD ~= X Period EMA - (X * 2) Period EMA
Then, two MACD Trails are generated, one being bullish and other being bearish. Let ATR = 30 period ATR (Average True Range)
Bullish MACD Trail = Current Price + MACD - (ATR * 1.75)
Bearish MACD Trail = Current Price + MACD + (ATR * 1.75)
The indicator starts by rendering only the Bullish MACD Trail. Then if it's invalidated (candlestick closes below the trail) it switches to Bearish MACD Trail. The MACD trail switches between bullish & bearish as they get invalidated.
The trail type may give a hint about the current trend of the price action. The trail itself also can act as a support / resistance zone, here is an example :
🚩 UNIQUENESS
While MACD is one of the most used indicators among traders, this indicator aims to add another functionality to it by rendering a trail based on it. This trail may act as a support / resistance zone as described above, and gives a glimpse about the current trend. The indicator also has custom MACD Length and smoothing options, as well as various style options.
⚙️ SETTINGS
1. General Configuration
MACD Length -> This setting adjusts the EMA periods used in MACD calculation. Increasing this setting will make MACD more responseive to longer trends, while decreasing it may help with detection of shorter trends.
Smoothing -> The smoothing of the MACD Trail. Increasing this setting will help smoothen out the MACD Trail line, but it can also make it less responsive to the latest changes.
Pivot Channel Breaks [BigBeluga]Pivot Channel Break
The Pivot Channel Break indicator identifies key pivot points and creates a dynamic channel based on these pivots. It detects breakouts from this channel, providing potential entry and exit signals for traders.
🔵 How to Use
Channel Identification:
- Upper and lower channel lines drawn based on pivot highs and lows
- Channel width dynamically adjusted using ATR-like calculation
Breakout Signals:
- Upward breakout: Price closes above upper channel line
- Downward breakout: Price closes below lower channel line
- Signals shown as X marks on the chart
Pivot Points:
- High pivots marked with "H" triangles
- Low pivots marked with "L" triangles
Support & Resistance:
- Optional signals when price touches but doesn't break channel lines
Trend Visualization:
- Optional bar coloring based on the most recent breakout direction
🔵 Customization
• Pivot Right: Lookback period for pivot detection (default: 10)
• Pivot Left: Forward period for pivot confirmation (default: 40)
• Channel Width: Multiplier for channel width calculation (default: 1.0)
• Support & Resistance Signals: Toggle additional touch signals
• Bar Color: Enable/disable trend-based bar coloring
Calculation:
Detect pivot highs and lows using specified lookback periods
Calculate channel basis using 10-period SMA of close prices
Determine channel width using ATR-like calculation: RMA(high - low, 10) * width multiplier
Set channel lines based on pivot points and calculated deviations
Identify breakouts when price crosses beyond channel lines
The Pivot Channel Break indicator offers a dynamic approach to identifying potential trend changes and breakout opportunities. It combines pivot point analysis with a flexible channel calculation, providing traders with a visual tool for market structure analysis. Use this indicator in conjunction with other technical analysis methods to confirm signals and manage risk effectively.
Supertrend (Buy/Sell) With TP & SLSupertrend (Buy/Sell) with TP & SL: An Enhanced Trading Tool
This Pine Script indicator combines the popular Supertrend indicator with multiple take-profit (TP) and stop-loss (SL) levels, providing traders with a comprehensive visual aid for potential entries, exits, and risk management.
Originality
Buffer Zones for Precision: Instead of relying solely on the Supertrend line, this script incorporates buffer zones around it. This helps filter out false signals, especially in volatile markets, leading to more accurate buy/sell signals.
Flexible Stop-Loss: Offers the choice between a fixed or trailing stop-loss, allowing traders to tailor their risk management approach based on their preferences and market conditions.
Multiple Take-Profit Levels: Provides three potential take-profit levels, giving traders the flexibility to secure profits at different stages of a trend.
Heikin Ashi Candles & VWAP: Incorporates Heikin Ashi candles for smoother trend visualization and adds a VWAP line for potential support/resistance levels.
Clear Table Display: Presents key information like Stop Loss and Take Profit levels in a user-friendly table, making it easier to track trade targets.
How It Works
Supertrend Calculation: The Supertrend is calculated using ATR (Average True Range) to gauge market volatility. The script then creates buffer zones around the Supertrend line for refined signal generation.
Buy/Sell Signals:
Buy: When the close price crosses above the upper buffer zone, indicating a potential uptrend.
Sell: When the close price crosses below the lower buffer zone, suggesting a potential downtrend.
Take Profit & Stop Loss:
Take Profits: Three TP levels are calculated based on ATR and a customizable profit factor.
Stop Loss: The stop-loss can be set as either a fixed value based on ATR or as a trailing stop-loss that dynamically adjusts to lock in profits.
How To Use
Add the Indicator: Search for "Supertrend (Buy/Sell) With TP & SL" in the TradingView indicators list and add it to your chart.
Customize Inputs: Adjust parameters like ATR Period, Factor, Take Profit Factor, Stop Loss Factor, Stop Loss Type, etc., based on your trading style and preferences.
Interpret Signals: Look for buy signals when the price crosses above the upper buffer and sell signals when it crosses below the lower buffer.
Manage Risk: Use the plotted Take Profit and Stop Loss levels to manage your risk and potential rewards.
Concepts
Supertrend: A trend-following indicator that helps identify the direction of the prevailing trend.
ATR (Average True Range): A measure of market volatility.
Buffer Zones: Used to filter out false signals by creating a zone around the Supertrend line.
Trailing Stop Loss: A dynamic stop-loss that moves with the price to protect profits.
Heikin Ashi: A type of candlestick chart designed to filter out market noise and make trends easier to identify.
VWAP (Volume Weighted Average Price): An indicator that shows the average price at which a security has traded throughout the day, based on both volume and price.
Important Note: This script is for educational and informational purposes only. Backtest thoroughly and use with caution in live trading. Always manage your risk appropriately.