Encapsulation BoxThe “Encapsulation Box” indicator is designed to locate areas of the chart where the highs and lows of candlesticks are “embedded” or enclosed within the body of a previous candlestick. This setup indicates a significant contraction in the market and can provide important trading signals. Here's how it works in more detail:
Detecting contraction: The indicator looks for situations where the price range of the candles is very narrow, i.e. when subsequent candles have highs and lows that are contained within the range of a previous candle. This condition indicates a contraction in the market before a possible directional move.
When a contraction is detected, the indicator draws a rectangle around the area where the highs and lows of the candles are embedded. The rectangle has its upper vertex corresponding to the maximum of the candles involved and its lower vertex corresponding to the minimum. The width of the rectangle is defined by can be customized by the user.
A key feature of this indicator is the horizontal line drawn outside the rectangle. This line is positioned in the middle of the rectangle and represents 50% of the range of the rectangle itself. This line acts as a significant support or resistance level depending on the direction the contraction breaks.
The indicator can generate buy or sell signals when a break in the rectangle or horizontal line occurs. For example, if the price breaks above the rectangle and the horizontal line, it could generate a buy signal, indicating a possible uptrend. Conversely, if the price breaks below the rectangle and the horizontal line, it could generate a sell signal, indicating a possible downtrend.
Breakoutsignal
Support and Resistance Signals MTF [LuxAlgo]The Support and Resistance Signals MTF indicator aims to identify undoubtedly one of the key concepts of technical analysis Support and Resistance Levels and more importantly, the script aims to capture and highlight major price action movements, such as Breakouts , Tests of the Zones , Retests of the Zones , and Rejections .
The script supports Multi-TimeFrame (MTF) functionality allowing users to analyze and observe the Support and Resistance Levels/Zones and their associated Signals from a higher timeframe perspective.
This script is an extended version of our previously published Support-and-Resistance-Levels-with-Breaks script from 2020.
Identification of key support and resistance levels/zones is an essential ingredient to successful technical analysis.
🔶 USAGE
Support and resistance are key concepts that help traders understand, analyze and act on chart patterns in the financial markets. Support describes a price level where a downtrend pauses due to demand for an asset increasing, while resistance refers to a level where an uptrend reverses as a sell-off happens.
The creation of support and resistance levels comes as a result of an initial imbalance of supply/demand, which forms what we know as a swing high or swing low. This script starts its processing using the swing highs/lows. Swing Highs/Lows are levels that many of the market participants use as a historical reference to place their trading orders (buy, sell, stop loss), as a result, those price levels potentially become and serve as key support and resistance levels.
One of the important features of the script is the signals it provides. The script follows the major price movements and highlights them on the chart.
🔹 Breakouts (non-repaint)
A breakout is a price moving outside a defined support or resistance level, the significance of the breakout can be measured by examining the volume. This script is not filtering them based on volume but provides volume information for the bar where the breakout takes place.
🔹 Retests
Retest is a case where the price action breaches a zone and then revisits the level breached.
🔹 Tests
Test is a case where the price action touches the support or resistance zones.
🔹 Rejections
Rejections are pin bar patterns with high trading volume.
Finally, Multi TimeFrame (MTF) functionality allows users to analyze and observe the Support and Resistance Levels/Zones and their associated Signals from a higher timeframe perspective.
🔶 SETTINGS
The script takes into account user-defined parameters to detect and highlight the zones, levels, and signals.
🔹 Support & Resistance Settings
Detection Timeframe: Set the indicator resolution, the users may examine higher timeframe detection on their chart timeframe.
Detection Length: Swing levels detection length
Check Previous Historical S&R Level: enables the script to check the previous historical levels.
🔹 Signals
Breakouts: Toggles the visibility of the Breakouts, enables customization of the color and the size of the visuals
Tests: Toggles the visibility of the Tests, enables customization of the color and the size of the visuals
Retests: Toggles the visibility of the Retests, enables customization of the color and the size of the visuals
Rejections: Toggles the visibility of the Rejections, enables customization of the color and the size of the visuals
🔹 Others
Sentiment Profile: Toggles the visibility of the Sentiment Profiles
Bullish Nodes: Color option for Bullish Nodes
Bearish Nodes: Color option for Bearish Nodes
🔶 RELATED SCRIPTS
Support-and-Resistance-Levels-with-Breaks
Buyside-Sellside-Liquidity
Liquidity-Levels-Voids
Sublime Trading | Donchian Breakout SignalsWhat kind of traders/investors are we?
We are trend followers. Our scripts are designed to be used on the higher timeframes (weekly/daily) to catch the large moves/trends in the market.
Most have heard of long-term trend following. Few know how to execute the strategy.
Our scripts are designed specifically to identify and invest in long-term market trends.
What does this script do?
It produces entry signals in a confirmed bull and bear trend.
The logic is based on Donchian 20, which serves the following two purposes:
1. Confirms end-of-day entry points in a long-term trend
2. Filters out entry points in a sideways market
The signal is produced on a break and close of the Donchian 20 high in a bull trend and a break and close of the Donchian 20 low in a bear trend.
How is the entry price produced?
The entry is based on a percentage value of the range of the breakout bar added to the high of the bar in a bull trend.
In a bear trend, the percentage is subtracted from the low of the bar.
This gives an objective entry when placing a position once the OHLC of a bar is confirmed at the end of the trading day.
How is the stoploss price produced?
The script uses the formula ATR 15 x 4.
We use ATR as it produces a stoploss which is unique to the volatility of the asset. The more volatile the asset, the wider the stoploss.
We use ATR 15 as it brings an average reading across half a month, incorporating days of extreme volatility.
The multiplier 4 works well to avoid positions being stopped out prematurely on pullbacks.
When the stoploss is hit, there is when traders and investors may consider exiting positions.
What is the best timeframe to use the script?
We recommend the daily timeframe as this is where trader and investors identify and enter long-term market trends.
The higher timeframes are where traders and investors take fewer positions but hold for longer time periods.
As a result, trend followers place priority on the quality of the entry rather than quantity.
What makes this script unique?
This script has been coded specifically for the daily timeframe to:
Highlight the start of a potential long-term trends.
Confirm entry points at the end of the trading day, absorbing intraday noise.
Reduce fake breakouts in a trend.
Continue to create entry points as the trend develops to allow for compounding.
Filter out breakouts in a sideways market.
This entry signal script helps traders and investors focus on the quality of a potential position when investing in long-term market trends.
Main Market Opener Breakout [RH]Based on my observations while analyzing the crypto and forex charts, particularly BTCUSDT and EURUSD, I have noticed that the prices exhibit significant movements during most stock market sessions, particularly during New York main market session.
With the aim of capturing these moves, I embarked on extensive research. Through this research, I discovered that by considering the very first "15m" or "30m" candle of the main market trading session and marking that first candle's high and low points, we can create potential trigger points.
A break above the high point indicates a bullish signal, while a break below the low point suggests a bearish signal. To further refine our analysis and filter out some noise, we can incorporate the Average True Range (ATR) value of that candle.
Candle time is very important here. We will mark the candle when the actual trading begins in New York stock exchange. The trading hours for the New York Stock Exchange (NYSE) typically begin at 9:30 AM and end at 4:00 PM Eastern Time (ET), Monday through Friday. This is known as the "NYSE Regular Trading Session." However, it's important to note that there are also pre-market and after-hours trading sessions that occur outside of these core hours. We will not consider these pre and after-hours.
Example:
First break-above and break-below is marked automatically and alerts are also available for first breaks.
Example:
I have also added the option to add the, London Stock Exchange Main Market and Tokyo Stock Exchange Regular Trading Session. You can add those sessions also and test with different symbols.
Stocks symbols from different stock exchanges just mark the very first candle of the day(main market trading session).
Alerts are available.
Multi-Band Breakout IndicatorThe Multi-Band Breakout Indicator was created to help identify potential breakout opportunities in the market. It combines multiple bands (ATR-Based and Donchian) and moving averages to provide valuable insights into the underlying trend and potential breakouts. By understanding the calculations, interpretation, parameter adjustments, potential applications, and limitations of the indicator, traders can effectively incorporate it into their trading strategy.
Calculation:
The indicator utilizes several calculations to plot the bands and moving averages. The length parameter determines the period used for the Average True Range (ATR), which measures volatility. A higher length captures a longer-term view of price movement, while a lower length focuses on shorter-term volatility. The multiplier parameter adjusts the distance of the upper and lower bands from the ATR. A higher multiplier expands the bands, accommodating greater price volatility, while a lower multiplier tightens the bands, reflecting lower volatility. The MA Length parameter determines the period for the moving averages used to calculate the trend and trend moving average. A higher MA Length creates a smoother trend line, filtering out shorter-term fluctuations, while a lower MA Length provides a more sensitive trend line.
The Donchian calculations in the Multi-Band Breakout Indicator play a significant role in identifying potential breakout opportunities and providing additional confirmation for trading signals. In this indicator, the Donchian calculations are applied to the trend line, which represents the average of the upper and lower bands. To calculate the Donchian levels, the indicator uses the Donchian Length parameter, which determines the period over which the highest high and lowest low are calculated. A longer Donchian Length captures a broader price range, while a shorter length focuses on more recent price action. By incorporating the Donchian calculations into the Multi-Band Breakout Indicator, traders gain an additional layer of confirmation for breakout signals.
Interpretation:
The Multi-Band Breakout Indicator offers valuable interpretation for traders. The upper and lower bands represent dynamic levels of resistance and support, respectively. These bands reflect the potential price range within which the asset is expected to trade. The trend line is the average of these bands and provides a central reference point for the overall trend. When the price moves above the upper band, it suggests a potential overbought condition and a higher probability of a pullback. Conversely, when the price falls below the lower band, it indicates a potential oversold condition and an increased likelihood of a bounce. The trend moving average further smooths the trend line, making it easier to identify the prevailing direction.
The crossover of the trend line (representing the average of the upper and lower bands) and the trend moving average holds a significant benefit for traders. This crossover serves as a powerful signal for potential trend changes and breakout opportunities in the market. When the trend line crosses above the trend moving average, it suggests a shift in momentum towards the upside, indicating a potential bullish trend. This provides traders with an early indication of a possible upward movement in prices. Conversely, when the trend line crosses below the trend moving average, it indicates a shift in momentum towards the downside, signaling a potential bearish trend. This crossover acts as an early warning for potential downward price movement. By identifying these crossovers, traders can capture the initial stages of a new trend, enabling them to enter trades at favorable entry points and potentially maximize their profit potential.
Breakout Signals:
For bullish breakouts, the indicator looks for a bullish crossover between the trend line and the trend moving average. This crossover suggests a shift in momentum towards the upside. Additionally, it checks if the current price has broken above the upper band and the previous Donchian high. This confirms that the price is surpassing a previous resistance level, indicating further upward movement.
For bearish breakouts, the indicator looks for a bearish crossunder between the trend line and the trend moving average. This crossunder indicates a shift in momentum towards the downside. It also checks if the current price has broken below the lower band and the previous Donchian low. This confirms that the price is breaking through a previous support level, signaling potential downward movement.
When a bullish or bearish breakout is detected, it suggests a potential trading opportunity. Traders may consider initiating positions in the direction of the breakout, anticipating further price movement in that direction. However, it's important to remember that breakouts alone do not guarantee a successful trade. Other factors, such as market conditions, volume, and confirmation from additional indicators, should be taken into account. Risk management techniques should also be implemented to manage potential losses.
Coloration:
The coloration in the Multi-Band Breakout Indicator is used to visually represent different aspects of the indicator and provide valuable insights to traders. Let's break down the coloration components:
-- Trend/Basis Color : The tColor variable determines the color of the bars based on the relationship between the trend line (trend) and the closing price (close), as well as the relationship between the trend line and the trend moving average (trendMA). If the trend line is above the closing price and the trend moving average is also above the closing price, the bars are colored fuchsia, indicating a potential bullish trend. If the trend line is below the closing price and the trend moving average is also below the closing price, the bars are colored lime, indicating a potential bearish trend. If neither of these conditions is met, the bars are colored yellow, representing a neutral or indecisive market condition.
-- Moving Average Color : The maColor variable determines the color of the filled area between the trend line and the trend moving average. If the trend line is above the trend moving average, the area is filled with a lime color with 70% opacity, indicating a potential bullish trend. Conversely, if the trend line is below the trend moving average, the area is filled with a fuchsia color with 70% opacity, indicating a potential bearish trend. This coloration helps traders visually identify the relationship between the trend line and the trend moving average.
-- highColor and lowColor : The highColor and lowColor variables determine the colors of the high Donchian band (hhigh) and the low Donchian band (llow), respectively. These bands represent dynamic levels of resistance and support. If the highest point in the previous Donchian period (hhigh) is above the upper band, the highColor is set to olive with 90% opacity, indicating a potential resistance level. On the other hand, if the lowest point in the previous Donchian period (llow) is below the lower band, the lowColor is set to red with 90% opacity, suggesting a potential support level. These colorations help traders quickly identify important price levels and assess their significance in relation to the bands.
By incorporating coloration, the Multi-Band Breakout Indicator provides visual cues to traders, making it easier to interpret the relationships between various components and assisting in identifying potential trend changes and breakout opportunities. Traders can use these color cues to quickly assess the prevailing market conditions and make informed trading decisions.
Adjusting Parameters:
The Multi-Band Breakout Indicator offers flexibility through parameter adjustments. Traders can customize the indicator based on their preferences and trading style. The length parameter controls the sensitivity to price changes, with higher values capturing longer-term trends, while lower values focus on shorter-term price movements. By adjusting the parameters, such as the ATR length, multiplier, Donchian length, and MA length, traders can customize the indicator to suit different timeframes and trading strategies. For shorter timeframes, smaller values for these parameters may be more suitable, while longer timeframes may require larger values.
Potential Applications:
The Multi-Band Breakout Indicator can be applied in various trading strategies. It helps identify potential breakout opportunities, allowing traders to enter trades in the direction of the breakout. Traders can use the indicator to initiate trades when the price moves above the upper band or below the lower band, confirming a potential breakout and providing a signal to enter a trade. Additionally, the indicator can be combined with other technical analysis tools, such as support and resistance levels, candlestick patterns, or trend indicators, to increase the probability of successful trades. By incorporating the Multi-Band Breakout Indicator into their trading approach, traders can gain a better understanding of market trends and capture potential profit opportunities.
Limitations:
While the Multi-Band Breakout Indicator is a useful tool, it has some limitations that traders should consider. The indicator performs best in trending markets where price movements are relatively strong and sustained. During ranging or choppy market conditions, the indicator may generate false signals, leading to potential losses. It is crucial to use the indicator in conjunction with other analysis techniques and risk management strategies to enhance its effectiveness. Additionally, traders should consider external factors such as market news, economic events, and overall market sentiment when interpreting the signals generated by the indicator.
By combining multiple bands and moving averages, this indicator offers valuable insights into the underlying trend and helps traders make informed trading decisions. With customization options and careful interpretation, this indicator can be a valuable addition to any trader's toolkit, assisting in identifying potential breakouts, capturing profitable trades, and enhancing overall trading performance.
Volatility Compression Breakout - LeafAlgo Pro StrategyThe Volatility Compression Breakout strategy is designed to identify periods of low volatility followed by potential breakout opportunities in the market. It aims to capture moments when the price consolidates within a narrow range, indicating a decrease in volatility, and anticipates a subsequent expansion in price movement. This strategy is based on our indicator of the same name (), but differs by offering many more options for the band/channel type and trend filters in addition to implementing the ability to use this strategy with algorithmic plug-ins (see details at the bottom).
This strategy features six types of bands/channels and five types of trend filters, for a total of 30 combinations. The six band/channel types are the Adaptive Gaussian MA channel (based on the Adaptive Gaussian MA that we previously published ()), standard Bollinger Bands, smoothed Bollinger Bands (basis is an EMA of the typical Bollinger Basis), Keltner Channels, a Quadratic Regression Channel (based on the channel that we previously published in the LeafAlgo Pro indicator ()), and Volatility-Based Mean Reversion Bands (). The five trend filters include an EMA, SMA, Weighted MA, McGinley Dynamic, and the Adaptive Gaussian MA itself.
Examples of the different band/channel types (all with EMA as the trend filter):
Adaptive Gaussian MA Channel:
Bollinger Bands:
Smoothed Bollinger Bands:
Keltner Channels:
Quadratic Regression Channel:
Volatility-Based Mean Reversion Bands:
Examples of the different trend filters (all with Keltner Channels):
EMA:
SMA:
WMA:
McGinley Dynamic:
Adaptive Gaussian MA:
How the Long/Short Entry Signals are Calculated:
A breakout signal upwards, accompanied by a long entry, is created when the high is greater than the secondary upper band (the upper band plus a standard deviation or with a multiplier, depending on which band/channel type is selected), the latest close is above the trend filter line, and the previous close was below the trend filter line. A break downwards, accompanied by a short entry, is created when the low is below the secondary lower band, the close is below the trend filter line, and the previous close was above the trend filter line. These conditions, along with a confirmed barstate, make up the strategy entry signals.
Coloration:
When the close price is above both the middle/basis and the trend filter, the bars are colored lime green, indicating a potential bullish market sentiment. When the close price is positioned above the basis but below the trend filter, or below the basis but above the trend filter, the bars are colored yellow, signifying a neutral or indecisive market condition. Conversely, when the close price falls below both the basis and the trend filter, the bars are colored fuchsia, suggesting a potential bearish market sentiment. Additionally, the coloration of the middle/basis line and the trend filter provides further visual cues for assessing the trend. When the close price is above the basis, the line is colored lime green, indicating a bullish trend. Conversely, when the close price is below the basis, the line is colored fuchsia, highlighting a bearish trend. Similarly, the trend line is colored lime green when the close price is above it, representing a bullish trend, and fuchsia when the close price is below it, indicating a bearish trend. The fill between the primary and secondary upper bands is colored lime and the fill between the primary and secondary lower bands is colored fuchsia. These colorations can be toggled on/off in the strategy settings menu.
How Changing Parameters Can Be Beneficial:
Modifying the parameters allows you to adapt the indicator to different market conditions and trading styles. For example, with Keltner Channels, increasing the compression period can help identify broader volatility patterns and major market shifts. On the other hand, decreasing the compression period provides more precise and timely signals for short-term traders. Adjusting the compression multiplier affects the width of the Keltner Channels. Higher multipliers increase the breakout threshold, filtering out smaller price movements and providing more reliable signals during significant market shifts. Lower multipliers make the indicator more sensitive to smaller price ranges, generating more frequent but potentially less reliable signals.
Changing the type of trend filter can drastically change your results. Test out each trend filter type and determine which one will work best for your purposes. Further, the MA periods in the trend filter settings can help you align your trades with the prevailing market direction. Increasing the period smoothes out the trend, filtering out shorter-term fluctuations and focusing on more sustained moves. Decreasing the period allows for quicker responses to changes in trend, capturing shorter-term price swings.
By adjusting the parameters and incorporating additional analysis techniques, you can customize the strategy to suit your trading style and preferences. However, it is crucial to exercise caution, conduct thorough analysis, and practice proper risk management to increase the likelihood of successful trades. Remember that no strategy can guarantee profits, and continuous learning and adaptation are key to long-term trading success.
Take Profit/Stop Loss Settings:
Take profit, stop loss, and trailing percentages are also included, found at the bottom of the Input tab under “TT and TTP” as well as “Stop Loss”. The take profit and stop loss levels will be reflected as green and red lines respectively on the chart as they occur. Make sure to understand the TP/SL ratio that you desire before use, as the desired hit rate/profitability percentage will be affected accordingly. The option for adding in a trailing stop has also been included, with options to choose between an ATR-based trail or a percentage-based trail. This strategy does NOT guarantee future returns. Apply caution in trading regardless of discretionary or algorithmic. Understand the concepts of risk/reward and the intricacies of each strategy choice before utilizing them in your personal trading.
Profitview/Pineconnector Settings:
If you wish to utilize Profitview’s automation system, find the included “Profitview Settings” under the Input tab of the strategy settings menu. If not, skip this section entirely as it can be left blank. Options will be “OPEN LONG TITLE”, “OPEN SHORT TITLE”, “CLOSE LONG TITLE”, and “CLOSE SHORT TITLE”. If you wished to trade SOL, for example, you would put “SOL LONG”, “SOL SHORT”, “SOL CLOSE LONG”, and “SOL CLOSE SHORT” in these areas. Within your Profitview extension, ensure that your Alerts all match these titles. To set an alert for use with Profitview, go to the “Alerts” tab in TradingView, then create an alert. Make sure that your desired asset and timeframe are currently displayed on your screen when creating the alert. Under the “Condition” option of the alert, select the strategy, then select the expiration time. If using TradingView Premium, this can be open-ended. Otherwise, select your desired expiration time and date. This can be updated whenever desired to ensure the strategy does not expire. Under “Alert actions”, nothing necessarily needs to be selected unless so desired. Leave the “Alert name” option empty. For the “Message”, delete the generated message and replace it with {{strategy.order.alert_message}} and nothing else. If using Pineconnector, follow the same directions for setting up an alert, but use the ",buy,,risk=" syntax as noted in the tooltips.
Additional Sample Settings (for ETHUSDT-Binance 45M):
Band/Channel Type - Keltner Channels (Compression Period of 20, Multiplier of 1.8x)
Trend Filter - WMA (50 length, no offset, close as the source)
TP/SL - 3.0% TP / 2.0% SL, 0.005 trailed TP, no trailed SL
Range H/L Buy and Sell SignalThe "Range H/L Buy and Sell Signal" indicator is designed to identify potential buy and sell signals based on a specified price range and market volatility. This indicator can be used in the TradingView platform to assist traders in making informed decisions.
The indicator allows customization of several parameters to adapt to different trading strategies. These parameters include the start and end times for the price range, the volatility threshold, and the desired breakout conditions.
To begin, the indicator calculates the range start and end timestamps based on the provided hours and minutes. This defines the time period within which the indicator will analyze price movements.
Next, the indicator determines the highest high (High) and lowest low (Low) within the specified price range. These levels represent the upper and lower boundaries of the range and act as potential breakout points.
Volatility is also taken into account to filter out false signals. The indicator calculates the true range and the average true range over a period of 14 bars. The true range measures the price range from the current high to low, while the average true range provides an indication of market volatility.
Based on the breakout conditions and the volatility threshold, buy and sell signals are generated. A buy signal occurs when the closing price crosses above the High and the true range is greater than the volatility threshold multiplied by the average true range. Conversely, a sell signal is triggered when the closing price crosses below the Low and the true range exceeds the volatility threshold multiplied by the average true range.
The indicator visually displays the High and Low levels as plotted lines on the chart. Additionally, it marks the buy signals with green labels labeled "BUY" below the corresponding bars and the sell signals with red labels labeled "SELL" above the bars.
It is important to note that this indicator should be used in conjunction with other technical analysis tools and indicators for comprehensive market analysis. Trading always carries risks, and it is crucial to exercise caution and conduct thorough analysis before making any trading decisions.
Divergent Trades LLC:
Disclaimer: The information provided by the Divergent Trades LLC indicator is for educational and informational purposes only. It should not be considered financial advice or a recommendation to buy, sell, or trade any financial instrument. Divergent Trades LLC is not responsible for any losses incurred as a result of using this indicator. Trading in the financial markets carries a high level of risk and may not be suitable for all investors. Before making any investment decisions, please consult with a financial advisor and do your own due diligence. Past performance is not indicative of future results. By using the Divergent Trades LLC indicator, you acknowledge that you have read and understand this disclaimer and agree to its terms and conditions.
Premium Volatility Breakout Strategy [wbburgin]This the premium version of my Volatility Breakout strategy, which improves significantly on the original strategy (publicly available on my profile). Improvements are below. A note about any of my premium scripts: I will continue updating and improving the original (public) versions.
This strategy is not built for any specific asset or timeframe, and has been backtested on crypto, equities, and forex from 1min - 1day. However, I recommend using it on more volatile assets because it is a breakout strategy.
********** My Background
I am an investor, trader, and entrepreneur with 10 years of cryptocurrency and equity trading experience and founder of two fintech startups. I am a graduate of a prestigious university in the United States and carry broad and inclusive interests in mathematical finance, computer science, machine learning / artificial intelligence, as well as other fields.
**********
Improvements over the original Volatility Breakout strategy include:
Faster Trend Detection → The Premium Volatility Breakout strategy will catch trends faster by using adaptive volatility-weighted bands instead of standard-width volatility-weighted bands. This can improve win size and has performed well in my backtesting.
ADX Filter → False breakouts dampen the overall results of the original script, as well as the % profitable,so an ADX filter has been programmed into the script (toggle on/off in settings). This filter will only enter long and short trades when the ADX is above a certain threshold. This is by default toggled off because in most instances it will not be necessary, but in certain environments may be useful.
MA Configuration → Different types of moving averages and weights are now configurable in the settings. These can change the responsiveness of the strategy.
External Trend Filter → I use this strategy as a filter for some of my low-timeframe algorithms. I have added an external trend filter (a plot only displayed in the data window) that will return “1” when the trend is long and “-1” when the trend is short (displayed on-chart with red and green trend curves).
Customizable Alert Messages In-Strategy → In the settings, there will be text boxes where you can create your own alerts. All you will need to do is create an alert in the alert panel on TradingView and leave the message box blank - if you fill out the alert boxes in the settings, these will automatically populate into your alerts. There are in total four different customizable alerts messages: Entry and Exit alerts for both Long and Short sides. If you disable stop loss and/or take profit, these alerts will also be disabled. Similarly, if you disable shorts, all short alerts will be disabled.
About stop losses: This strategy does not come with a stop loss because the moving average acts as a stop loss / trade exit for both long and short entries.
**********
Display
You can turn off highlighting or barcolor in the settings. Additionally, future updates may include a color scheme for users using a light-themed window.
**********
Configuring Alerts
In TradingView desktop, go to the ‘Alerts’ tab on the right panel. Click the “+” button to create a new alert. Select this strategy for the condition and one of the two options that includes alert() function calls. Name the alert what you wish and clear the default message, because your text in the settings will replace this message.
Now that the alert is configured, you can go to the settings of the strategy and fill in your chosen text for the specific alert condition. You will need to check “Long and Short” in the “Trade Direction” setting in order for any Short Alerts to become active.
**********
Disclaimer
Copyright by wbburgin.
The information contained in my Scripts/Indicators/Algorithms does not constitute financial advice or a solicitation to buy or sell any securities of any type. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
BBWAS Enhanced with Webhook Alerts and Money ManagementThe Enhanced BBWAS Indicator is a powerful tool designed to identify breakouts in the price of a security or asset. It utilizes Bollinger Bands, which consist of three lines: the upper band, the lower band, and the middle band (or basis). These bands help define the expected price range within which the asset is likely to fluctuate.
When the price breaks above the upper band or below the lower band, it indicates a potential breakout. A bullish breakout occurs when the price closes above the upper band, while a bearish breakout occurs when the price closes below the lower band.
In this enhanced version of the indicator, several new features have been added to provide more flexibility and functionality:
Webhook Alerts: Traders now have the ability to configure webhook alerts to trigger a bot or any external system. This allows for timely notifications when a breakout occurs, enabling automated actions or manual intervention as desired.
Multiple Moving Average Types: The indicator now supports different types of moving averages for increased customization. Traders can choose from popular moving average types such as Simple Moving Average (SMA), Exponential Moving Average (EMA) and Weighted Moving Average (WMA). This enables users to experiment and find the moving average type that best suits their trading strategy.
Money Management: To assist traders in managing risk, a money management feature has been incorporated into the indicator. It calculates the optimal position size or number of units to purchase for each trade, considering the desired risk per trade. By specifying a maximum risk per trade, traders can ensure that their position sizes are adjusted accordingly, helping to maintain risk control in their trading activities.
Dear traders, while we strive to provide you with the best trading tools and resources, we want to remind you to exercise caution and diligence in your investing decisions.
It is important to always do your own research and analysis before making any trades. Remember, the responsibility for your investments ultimately lies with you.
Happy trading!
Volume Breakout by Chosen VolumeDescription:
The Volume Breakout indicator (VB) is a technical analysis tool that highlights candles with significant trading volume. It helps traders identify potential breakout periods characterized by high volume activity.
How it Works:
The Volume Breakout indicator compares the volume of each candle with a user-defined minimum volume threshold. If the volume of a candle exceeds or is equal to the specified minimum volume requirement, the indicator identifies it as a volume breakout and marks it accordingly.
Usage:
To effectively utilize the Volume Breakout indicator, follow these steps:
1. Apply the VB indicator to your chart by adding it from the available indicators.
2. Customize the minimum required volume parameter according to your trading preferences. This parameter determines the threshold volume level that a candle must meet or exceed to be considered a breakout candidate.
3. Observe the candles on the chart:
- Candles that meet or exceed the minimum required volume are highlighted with a specific color (yellow by default), indicating potential breakout periods.
4. Pay attention to the volume breakout indications within the candles, as they suggest periods of increased trading activity.
5. Analyze the price action accompanying the volume breakout candles. Breakouts often indicate a surge in buying or selling pressure, potentially leading to significant price moves or trend reversals.
6. Combine the analysis of volume breakout candles with other technical analysis tools, such as trend lines, support and resistance levels, or indicators, to confirm potential trade setups.
7. Implement appropriate risk management strategies, including setting stop-loss orders and position sizing, to manage your trades effectively and protect your capital.
Wunder Breakout botWunder Breakout bot
1. Wunder Breakout bot is based on the breakout of the trend line. Breakout is a technical trading strategy that is used to determine the moment of a trend line breakout on the price chart. It is based on the assumption that when price crosses a trend line, it signals a change in trend direction and the possible start of a new price movement.
2. The entry points for the trendline breakout strategy are based on the principle of breaking through a set trendline. This means that we look for the moment when the price of the asset crosses the trend line that we have established in order to enter a sell or buy position.
3. We use fixed take-profit and stop-loss, but you can use other risk management systems, based on the suggested settings.
4. Wunder Breakout bot script has added a function to calculate the risk per portfolio (your deposit). When this option is enabled, you get the calculation of the entry amount in dollars relative to your Stop Loss. You can chooseselect the percentage of risk per your portfolio in the settings. the percentage of risk per your portfolio in the settings. The loss will be calculated from the amount that will be displayed on the chart.
For example, if your deposit is $1000 and you set your risk at 1%, with a Stop Loss of 5%, your entry volume would be $200. The SL loss would be $10. $10 is your 1% risk or 1% of your deposit.
*Important! ** The risk per trade must be less than the Stop Loss value. If the risk is more than SL, you should use leverage.
The amount of funds included in the deal is calculated in dollars. This option was created if you want to send a dollar amount from Tradingview to the exchange. However, by specifying the volume in dollars, you will get the net profit and drawdown displayed incorrectly in the backtest results because TradingView calculates the backtest volume in contracts.
To display the correct net profit and drawdown values in Tradingview backtest results, use the "Volume in Contracts" option.
TrendDECODER by MetaSignalsProTrendDECODER
The fastest indicator to detect trends and price ranges
-------------------------------------------------------------------
✔️ Identify ranges and the next probable direction
✔️ Get the earliest signals and the strength of Trends
✔️ Get clear exits signals before reversal
✔️ Spot the Fibo levels the price will test
-------------------------------------------------------------------
📌 What is it about ?
--------------------------
TrendDECODER is a concentrate of multiple innovations to make Trend following simple and easy.
Please see in the 🛠️ Calculation & Precisions section at the end of this page to know more how they work.
👉 With the GreyBox - identify when the market gets out of the Trend with a new sequence of transition. Check if the market is in Range, Continuation or Reversal (Up or Down) and wait for the closing of the box to get the Trend signal.
👉 With the DecoderSignals & Blue/Orange Clouds - once the GreyBox has delivered its message, get the new direction of the Trend and see the probable zones of pull backs during the current direction.
👉 With the Projective TrendLine - see before it happens the direction and the possible angle of the Trend with its probable range.
👉 With the RealTime TrendLine vs the Projective TrendLine - adjust immediately if the market accelerates North or South.
👉 With the RealTime TrendLine Crossing - detect at the earliest the moment the Trend gets out of track, to get out of the train.
👉 With the FiboLevels - spot immediately which price levels the market will test.
📌 For which asset?
-----------------------
TrendDECODER is universal : it works fine on all assets and all time-frames;
☝️ always work on a multi-timeframe environment to minimize risk;
📌Why we made these innovations?
---------------------------------------------
Because the trend indicators that we know, lag a lot and do not clearly identify ranges!
We need much more powerful tools than Supertrend or a couple of moving averages crossings to get this done.
📌 How to trade with TrendDECODER?
----------------------------------------------
🔹 Strategy #1: Trend Following : DecoderSignals & Blue/Orange Clouds
----------------------------------------------------------------------------------------
The GreyBOX has given the next probable movement and the Signal of a Trend in on.
The RealTime TrendLine guides us on the pace of this movement and the Blue/ Orange/Cloud figures the support/resistance of this movement.
It will be wise not to jump immediately in the Trend as the signal appears as the price will very probably make a pullback in direction of the cloud first.
🔹 Strategy #1: Checklist
📍 Set a Multi Time Frame environment
📍 Main Time Frame and the Upper Time Frame are moving in the same direction (Up or Down)
📍 Main Time Frame: appearance of the « TrendUp Signal » or the « TrendDown Signal »
📍 Entry:
☝️ buying « at Market » immediately on a « Trend Signal » is quite risky as many times the price will pull back near the Clouds
👉 a good option is to buy 1/2 the position at market on signal
👉 and 1/2 after the first pull back
📍 First Stop Loss: place your SL under the lower border of the GreyBox for an expected TrendUp or the higher border for an expected TrendDown
📍 BreakEven: when the price reaches your Risk/Reward ratio of 1 = Distance StopLoss vs Entry = Distance Current Price vs Entry
📍 Trailing Stop: just under the lowest border of the Blue Cloud (TrendUp) or the highest border of the Orange Cloud (TrendDown)
📍 TakeProfits: in a TrendUP, place your take profits just under the FibosLevels in order not to get exited (and above in a TrendDOWN)
📍 Exits:
👉 Early option : Crossing of the RealTime TrendLine
👉 Late option : Crossing of the Blue/Orange cloud
🔹 Strategy #2: Early Trend following : RealTime TrendLine Crossing
-------------------------------------------------------------------------------------
With this simple tool, get a very early signal of a probable inversion of the current Trend, way before the Decoder Signal is shown, once confirmed by the GreyBOX.
🔹 Strategy #2: Checklist
📍 Set a Multi Time Frame environment
📍 Main Time Frame and the Upper Time Frame are moving in the same direction (Up or Down)
📍 Entry (Main Time Frame): wait for the Close crossing over the ReaTime TrendLine in an expected TrendUp (under for a TrendDown )
📍 First Stop Loss (Main Time Frame):
👉 place your SL under the lower low of the GreyBOX (for an expected TrendUp) or the higher high (for an expected TrendDown)
📍 BreakEven: move your SL to Entry price when the price reaches your Risk/Reward ratio of 1 = Distance StopLoss vs Entry = Distance Current Price vs Entry
📍 Trailing Stop: just under the lowest border of the Blue Cloud (TrendUp) or the highest border of the Orange Cloud (TrendDown)
📍 TakeProfits: in a TrendUP, place your take profits just under the FibosLevels in order not to get exited (and above in a TrendDOWN)
📍 Exits:
👉 Early option : Crossing of the RealTime TrendLine
👉 Late option : Crossing of the Blue/Orange cloud
🎛️ Configuration
---------------------
Well, basically you do not have to do anything !
But you can make TrendDECODER perfectly yours with a few switches in the configuration panel to make appear or disappear each one of the elements composing TrendDECODER.
🛠️ Calculation & Precisions
------------------------------------
🔹 Blue/Orange Clouds
The Blue/Orange Clouds are a proprietary synthesis of Price Action and Volume Exchange in real time.
🔹 Projective TrendLine
As soon as a new high or a new low has been reached during the last move, TrendDECODER traces a possible angle of the future movement based on the pace of the last one in the same direction.
The distance between the Projective TrendLine and the Last Lowest (resp. Highest) gives you a possible bottom (resp. top) of the price range.
🔹 RealTime TrendLine
As soon as the Decoder GreyBox has delivered its information i.e Range/Continuation/ReversalUp/ReversalDown and that a New High (resp. New Low) has been reached, the RealTime TrendLine starts to show the pace and the angle of the new movement based on a linear regression adanced concept.
The angles of the Projective and the RealTime TrendLine can be identical, telling you that the market moves smoothly in a global consensus. It can be a smart Trailing Stop Loss.
Or these angles can be very different and it will call your maximum attention. You might want to switch to a superior timeframe to get the bigger picture.
🔹 FiboLevels
Once a new Trend is signaled, the levels of Fibonnaci are automatically placed.
They are calculated on the last Highest and Lowest of the former movement.
Range DetectionThis is a simple indicator to find the sideways market or ranging market.
It is mainly focused on BTCUSD as BTCUSD doesn’t make big moves each and every candle. It makes big breakouts with one candle and then goes sideways for a longer period of time.
So, this indicator identifies those big candles and plots high and lows of those big candles using lines. New range is created only when new candles close above or below previous major candles high or low.
Relative Price Volume
Relative Price Volume is an indicator which shows anomalies between price and volume on a chart over a given period. The goal is to identify potential reversal and/consolidation areas for price as it relates to volume. It is a simple variation of a Volume at Price indicators. It can also be used to mark potential support and resistance lines on the chart as the areas it signals is where the price battles are waged.
Settings:
Period = length for which to calculate average candle body and average volume
Long Factor = relative size multiplier to determine if a candle is larger than average or if volume is higher than average
Short Factor = relative size multiplier to determine if a candle is smaller than average or if volume is lower than average
Anomaly Conditions
1. If a candle is larger than average and volume is lower than average, then this is an anomaly, and we should be on alert for a change in momentum.
2. if a candle is smaller than average and volume is higher than average, then this too is an anomaly and should put us on alert.
The indicator will draw a cross on the chart indicating the candle is that is flashing the warning that the run is done and a potential consolidation and/or reversal is pending. Used in conjunction with support and resistance levels this could signal a time to enter or exit a trade.
The default size factors considers a candle or volume:
1. Larger than average if it is 60% or more (.6) larger than average.
2. Smaller than average if it is 40% or less (.4) smaller than average.
Hope this helps! Happy trading!
Donchian Cloud Score w/ TableThis indicator contains a set of 5 Donchian channels (upper, lower, and basis plotted) defaulted to lengths of 25, 50, 100, 150, and 200. A set of conditions associated with the channels aims to determine ranging versus trending markets. Weights are given to these conditions accordingly, then tallied up to determine the "cloud score", ranging between -25 and 25. For the purposes of this indicator, a ranging market is determined by a cloud score between -10 and 10, while a positive trending market has a score higher than 10 and a negative trending market has a score lower than -10. This score is accompanied by altered bar color to reflect the score - gray for ranging markets, green for positive trending markets, and red for negative trending markets. Breaking of upper or lower Donchian bands is typically a good indication of a potential breakout. Having a weighted system for these conditions will provide more insight and layers of confirmation into a Donchian breakout trading strategy. The table will reflect these values through positive, negative, and neutral coloration.
The list of conditions and their associated weights for this indicator are as follows:
- Broke the 25-length DC (DC(25)) upper band in the previous 3 bars - +1 if true, 0 if false
- Broke the DC(50) upper band in the previous 3 bars - +2 if true, 0 if false
- Broke the DC(100) upper band in the previous 3 bars - +3 if true, 0 if false
- Broke the DC(150) upper band in the previous 3 bars - +4 if true, 0 if false
- Broke the DC(200) upper band in the previous 3 bars - +5 if true, 0 if false
- Broke the DC(25) lower band in the previous 3 bars - -1 if true, 0 if false
- Broke the DC(50) lower band in the previous 3 bars - -2 if true, 0 if false
- Broke the DC(100) lower band in the previous 3 bars - -3 if true, 0 if false
- Broke the DC(150) lower band in the previous 3 bars - -4 if true, 0 if false
- Broke the DC(200) lower band in the previous 3 bars - -5 if true, 0 if false
- DC(25) basis line above the DC(50) basis line - +1 if true, -1 if false
- DC(25) basis line above the DC(100) basis line - +1 if true, -1 if false
- DC(25)basis line above the DC(150) basis line - +1 if true, -1 if false
- DC(25) basis line above the DC(200) basis line - +1 if true, -1 if false
- DC(50) basis line above the DC(100) basis line - +1 if true, -1 if false
- DC(50) basis line above the DC(150) basis line - +1 if true, -1 if false
- DC(50) basis line above the DC(200) basis line - +1 if true, -1 if false
- DC(100) basis line above the DC(150) basis line - +1 if true, -1 if false
- DC(100) basis line above the DC(200) basis line - +1 if true, -1 if false
- DC(150) basis line above the DC(200) basis line - +1 if true, -1 if false
Open DriveOpen Drive is a market profile concept introduced by Jim Dalton. It occurs when the price moves directionally and persistently for the first 30 minutes from the cash market open.
It is necessary to use 30-minute bars as there needs to be enough time to measure an extreme move of the cash open. This means there will be fewer trades than other strategies using faster time periodicities.
The script finds open drives from these time points 0700/ 0800 and 1300/1430.
The entry signal also has a breakout threshold using the 5-bar high and 5-bar low to only take trades moving away from the prior 5-bar range. This weeds out most mid-range trades and small range expansion bars.
If the price has had a strong move from the open and has broken either below the prior 5-bar low or above the prior 5-bar high by an amount equal to the prior 5-bar range a trade is entered in the direction of the move.
The Exit criteria; exit after 3 bars which is 90mins when using a 30min periodicity.
Note, this script is shared to show that momentum generated on or around the cash open tends to persist. The entry and exits of this strategy are quite naive but there are plenty of ways to take more aggressive entries on faster time frames when an open drive occurs. The times chosen for this strategy will suit stock index futures mainly. The user can experiment with other futures products and their corresponding pit/ cash open hours.
Google "open drive market profile" for more information on open drives and market profile concepts.
Happy trading!
SBS AlgoHello traders, I am here again with a new and improved indicator.
This indicator is based on a pivot breakout algorithm which gives buy and sell signals according to the breakout of trendline. This is an advanced version of another script. It also takes price action into consideration along with some basic indicators like MACD and ADX to give good entry signals.
NOTE: This indicator is not designed to take entries completely based on signals it gives. Please use it along with your trading strategy to add more confluence to your trading system and maximize your profits.
I hope you guys will like this one too .Enjoy 👍
In case you find any bug, please do report in comment section .Thank you.
Pivot BreaksThere are built-in and published Pivot Point High Low indicators in Public Library. As far as I see none of them show the breaking candles or the trend.
with the closing price crossing over the previous / current pivot high A bearish breakOut can either indicate the progression of a lower high pattern or a trend reversal
with the closing price crossing under the previous / current pivot low A bullish breakOut can either indicate the progression of a higher low pattern or a trend reversal
This indicator can show the first breaking candle or all breaking candles . It Can also show The Breaking state (Trend) based on the last break.
Alert Mode is included, colour can be customised, Higher TimeFrame can be requested (it Can also cause repainting)
Inputs are optional as possible so have fun with it
Disclaimer: Scripts that I post publicly are experimental. They are not financial advices. Always backtest your ideas using your own methodologies.
MM Chop Filter Range BoxesMatch with the MM Chop Filter
This draw Non repainting range boxes when the oscillator see a range.
-Breakout Buy/Sell Signals and Exit signals when prices enters a range just in case you did get into a trade. .
-Alarms to match the signals
How to use
Match with the oscillator and always trade the trend with your strategy confirmation and the breakout this indicator provides
PriceCatch BOSS IOHi TradingView Community.
I am publishing a script that uses a proprietary logic based on Fibonacci retracement for identifying breakouts. This is a script that focuses on long side trades only.
PriceCatch BOSS IO: - PriceCatch Breakout Screener Script (Invite Only).
This script is not an indicator that plots anything on the chart but is a Screener.
SLIPPED OPPORTUNITIES
One of the problems faced by traders is that while they are watching or studying the chart of one stock or Forex pair, a super opportunity slips by them in another stock or another instrument and it is frustrating when that happens. With the PriceCatch BOSS IO script, you can now capture such moves made by other symbols whilst you are watching some other instrument.
USP:
The uniqueness of this script is that you can screen Nine of your favorite symbols for breakout opportunities simultaneously.
Users can pick Nine symbols of their choice and specify a resolution in the Settings dialog screen that the script will use to find out any probable breakouts in those selected nine symbols continuously.
The symbols could be from any exchange across the world and of any type - stocks, futures, commodities, Forex and Crypto. Simply put, if you can plot the symbol in TradingView, PriceCatch BOSS can monitor that instrument for breakouts on the time interval chosen by you.
ACTIONABLE INFORMATION:
What traders look for and expect from their charts is actionable information. This script does that. It clearly tells you the Entry Price and Stop Loss price for each symbol when a breakout opportunity presents itself in that symbol. You can then open up the chart of that specific symbol to validate the given information with any other indicators that you use and then take the call with regards to a trade. You may also use this script alone without adding any other indicator to your chart. The choice is yours.
CLARITY BEFORE TRADE:
As both Entry Price and Stop Loss Price are identified by the script, you receive advance information about the risk and can set your own Reward based on your personal preferences. So, with the necessary information provided to you in advance, you can plan your trades with clarity.
HOW IT WORKS:
Once the list of symbols are selected and resolution chosen, the script then continuously monitors those given symbols for breakout opportunities. At the close of every interval, it presents the results as shown below:
Results Set
This script shows the results of the screening in a Table as under:
SYMBOL Entry Price Stop Price
TSLA 830.84 802.88
EURUSD 1.13425 1.13160
Similarly for seven more instruments chosen by you.
NOTE: 0.00 under Entry and Stop price columns mean that there is no opportunity in that symbol.
ADVANTAGE:
The advantage of this script is that it helps you spot trades in your favorite symbols without manually loading their charts. With the ability to screen the symbols from Intraday time frames to higher time frames such as Weekly, you will be able to spot opportunities to go long in intraday, swing and even positional trades of longer duration.
Another significant advantage of this script is that while you may be watching a symbol in, say 15 minutes time frame, you can set the script to monitor breakouts in any other higher time frame starting from 15 minutes. This, in effect, gives you unsurpassed advantage.
DISCIPLINE:
As you choose your nine instruments/assets, the script indirectly inculcates discipline as your attention will be only on the selected instruments and you will not be distracted or search for opportunities in a whole bunch of other symbols / assets / instruments. As you can at any time change the set of nine assets as per your personal preference, you get the flexibility that you seek to work with a different set of symbols. For Forex traders who like to monitor only Major Pairs the ability to scan Nine pairs is quite sufficient. Similarly, to traders who trade S&P500, ES1! and other instruments, the nine symbols flexibility is adequate.
LONG POSITION TOOL
For visual cues, you may use the Long Position tool to set the Entry, Stop and Targets as per your preference on the main chart.
TRICK:
Can I only screen nine instruments? What if I am interested to screen more? Actually, you can screen more instruments. You see, you can add this script on to your chart multiple times and can select a set of nine unique stocks per script instance. That way you can actually screen more than nine stocks!
EXAMPLES:
Nifty 50
TSLA
Maruti
USDJPY
MSFT
UI
The script allows you to fine tune display options as per your personal preferences.
NOTE: This script runs in a separate pane without obstructing the view of your main chart.
NOTE: The formatting of price is based on mintick. As a result, since Forex and Crypto have more number of digits after the Decimal, if your screener list consists of a mix of stocks, Forex and Crypto - please change to a Forex chart to get the correct Forex price and to Crypto for correct Crypto price and so on.
NOTE: You will not get accurate results if you are in a higher time frame chart and the Screener resolution is set to lower time frame. For example, if chart is in 15 MTF and Screener resolution is set to 3 MTF, the results may not be accurate.
TIP: If you have added this script multiple times to your chart, then you may have to maximize the pane to view the results table.
NOTE - PRIOR TO USING THIS SCRIPT:
Please remember that the script is shared with absolutely no assurances about usability and any warranties whatsoever and as a responsible trader, please satisfy yourselves thoroughly and use it only if you are convinced it works for you. Remember, you are 100% responsible for your actions and must, therefore, do your due diligence before using this script and also before every trade. Profits and losses are part and parcel of trading activity and you are solely responsible for both. If you understand and accept that, you may use the script.
QUERIES/FEEDBACK
Please PM me.
Hope you find this script useful. Wish everyone all the best with trading.
Smarter SNR (Support and Ressistance, Trendline, MTF OSC)Built with love "Smarter SNR (Support and Ressistance, Trendline, MTF OSC) "
This indiator will show you Support & Ressistance, Good Trendline, and Multi-timeframe analyzing of Oscillator (Stochastic and RSI)
You can combine with your own strategy, or use this purely
DISCLAIMER :
Measure the risk first before use it in real market
Backtest The Strategy was very important, so you know the probability
Fundamentally Logical :
SNR -> Last 3 Zigzag Pivot
Trendline -> Using two last pivot for calculating the slope
Features :
1. SNR
2. Trendline
3. MTF Oscillator Analyzing
How to use it :
1. All Label, Table & Line can be turned on/off in settings
2. Pivot Period can be Adjusted in settings
3. All Label, Table & Line style can be adjusted in settings
Regards,
Hanabil
Consolidation Zone Hunter NPR BasedThis script will search for zones where the range between the high and low is lower than avg % nearest rank of last X bars.
After X(=30) bars of consolidating range it will signal that the market is in a range and draw the top, bottom and middle of that range.
When price breaks the consolidating range the range is cleared, this is where you long/short the breakout. After this it will look for the next range and do the same.
Visual Explanation
Trend Following with Donchian Channels and MACDThis is a trend following system based on the Donchian Channels. Instead of using a simple moving average crossover, this system uses the MACD as the trendfilter:
Long positions:
* Price makes a new 50 day high,
* The MACD-line crosses above or is above the Signal-line.
* Both the MACD and the Signal-lines are above the zero-line.
Short positions:
* Price makes a new 50 day low,
* The MACD-line crosses below or is below the Signal-line.
* Both the MACD and the Signal-lines are below the zero-line.
Stoploss:
The initial and the trailing stoploss are 4 ATRs away from the price.