Bollinger Bands Breakout StrategyBollinger Bands Breakout Strategy is the strategy version of Bollinger Bands Filter study version, which can be found under my scripts page. The strategy goes long when price closes above the upper band and goes short signal when price closes below the lower band.
Bollinger Bands is a classic indicator that uses a simple moving average of 20 periods, along with plots of upper and lower bands that are 2 standard deviations away from the basis line. These bands help visualize price volatility and trend based on where the price is, in relation to the bands.
The strategy doesn't take into account any other parameters such as Volume / RSI / Fundamentals etc, so user must use discretion based on confirmations from another indicator or based on fundamentals. The strategy results are based on purely long and short trades and doesn't take into account any user defined targets or stop losses.
The strategy works great when the price closes above/below upper/lower bands with continuation on next bar. It is definitely useful to have this strategy or the Bollinger Bands filter along with other indicators to get early glimpse of breach/fail of bands on candle close during BB squeeze or based on volatility .
This can be used on Heikin Ashi candles for spotting trends, but HA candles are not recommended for trade entries as they don't reflect true price of the asset.
The strategy settings default is 55 SMA and 1 standard deviation for Bollinger Bands filter, but these can be changed from settings.
It is definitely worth reading the 22 rules of Bollinger Bands written by John Bollinger if interested in trading Bollinger Bands successfully.
Breakout
[KK]Price Retest from EMAScript show fractals on chart when price retest after breaking Exponential Moving Average.
Breakout Trend FollowerThis is a Study mirroring the Breakout Trend Follower Strategy I made. I use this one during live trading and the other for backtesting. It will also give alerts when buy and sell signals are hit.
High & Low Of Custom Session - OpeningRange Breakout (Expo)High & Low Of Custom Session - OpeningRange Breakout (Expo) prints the high and the low of a custom session.
I use the indicator to trade the re-test of opening range (high/low) as well as breakouts from the opening range. The same logic can be applied to the session you have chosen.
HOW TO USE
1. Use the indicator to trade the re-tests of the session range.
2. Use the indicator to trade breakouts of session range.
INDICATOR IN ACTION
1-min chart
I hope you find this indicator useful , and please comment or contact me if you like the script or have any questions/suggestions for future improvements. Thanks!
I will continually work on this indicator, so please share your experience and feedback as it will enable me to make even better improvements. Thanks to everyone that has already contacted me regarding my scripts. Your feedback is valuable for future developments!
-----------------
Disclaimer
Copyright by Zeiierman.
The information contained in my scripts/indicators/ideas 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, 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.
My scripts/indicators/ideas are only for educational purposes!
ALT_FLAMES00.00 - alt-flames
component breakdown:
a) various combinations of EMA crossovers taken from the primeval_series to create a complete sequence of background colored-lines that subdivide into a bullish portion
and a bearish portion for directional identification
b) specific macd crossovers for predictive power in the form of directional flames located directly above the chart price (navy & yellow flames)
c) unique fast & slow rsi combinations for momentum + strength in the form of power flames located directly above the chart price (orange, red, green, & lime flames)
when the alternation of flames are used in concert with the sequence of background colors, one can identify impending explosive price action, can better navigate through periods of slower activity, identify where they are currently in the trend's lifecycle and, MOST IMPORTANTLY, improve the TIMELINESS of entry and exit strategies
00.01 - primeval_series - overview
the primeval_series is a group of transformed universally-renowned mathematical constants that have been transformed and embedded into a series of EMAs
each of these EMAs relates in some meaningful way to the "original wave' or 'wave_0': i.e. the wave that began at t=0, when humanity first made technological progress
the transformations made ensure that the inherent linkages to the original wave remain intact while being applicable to the structures inherent to indicator development
for the purposes of the alt-flames indicator, certain numbers selected from the primeval_series exist and are the basis of each ema , MACD and RSI calculation made herein
00.02 - alt-flames - best practices, and ideal targets
for best use: start with the daily timeframe for broad pattern, then use hourly going forward
ideal for swing trades, shorter-term options, and stocks that already have well-established uptrends, but have also started consolidating for 1+ week
patience is required to catch the ideal break, so best to use mildly OTM calls with at least 2 weeks on them before expiry.
for great use: pick out stocks that have recently broken out heavily from their pivot . Do not enter until the retracement from the top has a defined local low
for average use: any sort of intraday play. this tool is meant for swing trades and sustained breakouts. picking out significant bottom reversals.
the MACD portion is not geared for big reversals here. Rather, it is complementary to the EMA sequences, which are at the core of the indicator
not useful for: shorting stocks that are trending downward or that are in sideways trends
Pre-session rangeSimple tool to capture high and low of pre-session period (not restricted to stock market, by any means!) and then plotting it on your trading session time.
Attributable VolumeA volume indicator which calculates "Attributable Volume”, the portion of volume which contributed to the direction in which the candle moved.
Attributable Volume is calculated as: Total volume excluding the "counter wick" volume.
Where for a green (up) candle, the "counter wick" volume is the top wick volume.
In theory, Attributable Volume should better represent the effort of directional thrust of each candle.
By default, this indicator displays “Attributable RVOL”, but can be set to:
Attributable RVOL
RVOL
Attributable Volume
Volume
Note: RVOL = Relative Volume, the current volume divided by the Volume moving average. RVOL can be used to identify major moves, and potential starts/ends to trends.
Dual SuperTrend, Ichimoku and DMI Color Weighted by DGTThis study interprets SuperTrend with Ichimoku Cloud, one of the popular technical analysis indicator, and interprets Directional Movement (DMI), which is another quite valuable technical analysis indicator.
Then combines the interpreted SuperTrend with interpreted Directional Movement (DMI) and Volume Based Colored Bars indicator created by Kıvaç ÖZBİLGİÇ (permission has been granted from the author)
Here are details of the concept applied
1- SuperTrend Line colored based on Ichimoku Cloud
Definition
The Ichimoku Cloud, developed by Goichi Hosoda and published in the late 1960s, is a collection of technical indicators that give it a unique capacity to show support and resistance levels, momentum and trend direction
What Does the Ichimoku Cloud Tells?
The overall trend is up when price is above the cloud, known as Kumo Cloud, down when price is below the Kumo Cloud, and trendless or transitioning when price is in the Kumo Cloud
When Senkou Span A (Leading Span A) is rising and above Senkou Span B (Leading Span B), this helps confirm the uptrend and space between the lines is typically colored green. When Senkou Span A is falling and below Senkou Span B, this helps confirm the downtrend. The space between the lines is typically colored red
Traders often use the Kumo Cloud as an area of support and resistance depending on the relative location of the price. The Kumo Cloud provides support/resistance levels that can be projected into the future. This sets the Ichimoku Cloud apart from many other technical indicators that only provide support and resistance levels for the current date and time
Crossovers, also known as TK Cross among Ichimoku Cloud traders, are another way the indicator can be used. Watch for the Tenkan-Sen Line, or Conversion Line, to move above the Kijun-Sen Line, or Base Line, especially when price is above the Kumo cloud. This can be a powerful buy signal. One option is to hold the trade until the Tenkan-Sen drops back below the Kijun-Sen Line. Any of the other lines could be used as exit points as well.
With this study:
Allow Traders to use the Ichimoku Cloud in conjunction with other technical indicators to maximize their risk-adjusted returns
The Ichimoku Cloud can make a chart look busy with all the lines. To Remedy this a different approach is applied in this study showing the Price and the Kumo Cloud relation as well as TK Crosses displayed. The SuperTrend Indicator is chosen to display Ichimoku Indicator, where the SuperTrend is another trend following indicator.
How it works:
SuperTrend Line is colored as:
Green when the Price is above the Kumo Cloud
Red when the Price is below the Kumo Cloud
Black when the Price is within the Kumo Cloud
And Finally Blue when the Kumo Cloud Is not ready to be drawn or not Kumo Cloud available
Additionally intensity of the colors used in all cases above are defined by values of Tenkan-Sen and Kijun-Sen Line, which allows us to detect TK Crosses
2- Plots Colored Directional Movement Line
Definition
Directional Movement (DMI) (created by J. Welles Wilder ) is actually a collection of three separate indicators combined into one. Directional Movement consists of the Average Directional Index (ADX) , Plus Directional Indicator (+D I) and Minus Directional Indicator (-D I) . ADX's purposes is to define whether or not there is a trend present. It does not take direction into account at all. The other two indicators (+DI and -DI) are used to compliment the ADX. They serve the purpose of determining trend direction. By combining all three, a technical analyst has a way of determining and measuring a trend's strength as well as its direction.
This study combines all three lines in a single colored shapes series plotted on the top of the price chart indicating the trend strength with different colors and its direction with triangle up and down shapes.
What to look for
Trend Strength : Analyzing trend strength is the most basic use for the DMI. Wilder believed that a DMI reading above 25 indicated a strong trend, while a reading below 20 indicated a weak or non-existent trend
Crosses : DI Crossovers are the significant trading signal generated by the DMI
With this study
A Strong Trend is assumed when ADX >= 25
Bullish Trend is defined as (+D I > -DI ) and (ADX >= 25), which is plotted as green triangle up shape on top of the price chart
Bearish Trend is defined as (+D I < -DI ) and (ADX >= 25), which is plotted as red triangle down shape on top of the price chart
Week Trend is assumed when 17< ADX < 25, which is plotted as black triangles up or down shape, depending on +DI-DI values, on top of the price chart
Non-Existent Trend is assumed when ADX < 17, which is plotted as yellow triangles up or down shape, depending on +DI-DI values, on top of the price chart
Additionally intensity of the colors used in all cases above are defined by comparing ADX’s current value with its previous value
3- Volume Based Colored Bars indicator created by Kıvaç ÖZBİLGİÇ
Volume Based Colored Bars colors the bars into volume weighted signals increasing the visibility of the Volume changes. Intensity of the colors of the bars varies according to average value of the volume for given length of bars (default value set to 30 bars)
Disclaimer: The script is for informational and educational purposes only. Use of the script does not constitutes professional and/or financial advice. You alone the sole responsibility of evaluating the script output and risks associated with the use of the script. In exchange for using the script, you agree not to hold dgtrd tradingview user liable for any possible claim for damages arising from any decision you make based on use of the script
Consolidation Zones - LiveHello Traders!
This is the script that finds Consolidation Zones in Realtime.
How it works?
- The script finds highest/lowest bars by using "Loopback Period"
- Then it calculates direction
- By using the direction and highest/lowest bar info it calculates consolidation zones in realtime
- If the length of consolidation area is equal/greater than user-defined min length then this area is shown as consolidation zone
- Then Consolidation Zone extends automatically if there is no breakout
if you increase the Loopback Length then you get bigger consolidation zones:
You have option to "Paint Consolidation Area" or not:
Enjoy!
Bayesian BBSMA OscillatorSometime ago (very long ago), one of my tinkering project was to do a spam or ham classification type app to filter news I'd wanna read. So I built myself a Naive Bayes Classifier to feed me my relevant articles. It worked great, I can cut through the noise.
The hassle was I needed to manually train it to understand what I wanna read. I trained it using 50 articles and to my surprise, it's enough.
Complexity Theory
I've been reading a book called The Road to Ruin by Jim Rickards. He described how he got to his conclusion of how the stock market works by using Complexity Theory. Bill Williams would agree. Jim tells us that by using just enough data, we calculate the probability of an event to occur. We can't say for sure when but we know it's coming. This was my light bulb moment.
While Jim talks much about Bayesian Inference in which a probability of an event can always be updated as more evidence comes to light, I had my eyes set on binary probabilities of when prices are going up and down.
Assumptions
These are my assumptions:
Prices breaking up a Bollinger basis line will have fuel to go up even higher
Prices will go down when prices have broken up a Bollinger upper band
Scalping is the main method so we should use a lower period Moving Average (MA)
When prices are above MA, it's likelier a correction to the downside is imminent
When prices are below MA, it's likelier a correction to the upside is imminent
Optimize parameters for 1 hour timeframe which will give us time to react while still having more opportunities to trade
Building Blocks
Jim Rickards started with limited data (events) while in technical trading, data are plentiful. I decided to classify 2 events which are:
Next candles would be breaking up
Next candles would be breaking down
Key facts:
We won't know for sure when prices are going to break
We won't know for sure how much the prices movements are going to be
Formulas
Breaking up:
Pr(Up|Indicator) = Pr(Indicator|Up) * Pr(Up) / Pr(Indicator|Up) * Pr(Up) + Pr(Indicator|Down) * Pr(Down)
Breaking down:
Pr(Down|Indicator) = Pr(Indicator|Down) * Pr(Down) / Pr(Indicator|Down) * Pr(Down) + Pr(Indicator|Up) * Pr(Up)
Reading The Oscillator
Green is the probability of prices breaking up
Red is the probability of prices breaking down
When either green or red is flatlining ceiling, immediately on the next candle when the probability decreases go short or long based on which direction you're observing - Strong Signal
When either green or red is flatlining ceiling, take no action while it's ceiled
Usually when either green or red is flatlining bottom, the next candle when the probability increases, immediately take a short long position based on the direction you're observing - Weak Signal
When either green or red is flatlining bottom, take no action while it's bottomed
Alerts
Use Once per Bar option when generating alerts.
Breakout Trend Follower StrategyThis strategy goes long when highs are broken and uses a trailing stop that follows swing lows. User can configure a back test date range and choose whether or not to only take trades above a selected moving average.
The desire for me to make this script was to try to capture those extreme breakouts that can occur after a consolidation/equilibrium pattern. This catches those using stop-buys as the entry. Out of all the scripts I have made thus far, this one is the one that has the best results. Time frames might vary due to commission structures, etc. I currently use this strategy on stocks on the 30-min time frame and crypto (with Coinbase's high fees) on the 2-hr time frame.
cATRpillerThis indicator is used to identify range breakouts using an ATR multiplier. My first script, Im sure there are indies out there like this, but this my favorite way to identify breakouts and trends.
ATR Break-Out - evoThis script measures candle length and average true range (ATR). A break out occurs when a candle is larger than the given ATR value. You can choose to calculate length from wicks or from the body (open & close).
You can use this as trend direction indicator by following the last break out candle or open a position after a break out with a stop just above or below the candle. Enjoy!
Ranged Candle Length - evoSimilar to one of my previous scripts 'Ranged Volume', but instead of using volume, this script uses candle length mirrored. It creates a range using highest and lowest of a given period. When the range gets larger, it means the current candle is bigger than the largest candle of your given period (break-out).
Yellow = Bullish break out
Red = Bearish break out
A good way to use this is to follow the direction of the last break-out candle or open a position with a stop just below or above the candle (that's how I tested it real time).
Good luck!
Renko AccelerationRenko is a very useful charting method for analyzing stock movement. It does a great job of filtering out all the excess noise so that all we're left with is pure price action. But, what about time? Time is a fundamental part of chart analysis and we are only seeing part of the picture. After all, shouldn't we take a very different approach to trading signals from a block that renders in 2 seconds as opposed to a block that renders in 30 minutes?
This indicator provides the best of both worlds, enabling us to correlate the passing of time with price movement and clearly see when squeezes and breakouts occur.
As the indicator turns up to green we can see that volatility is on the move and the market is accelerating (breakout), and as it turns down to red the market is stagnating (squeeze). There is also an alternate 'Precise' view which renders the exact time per block for more granular analysis.
Ranged Volume - evoA simple script that shows mirrored regular volume bars with the purpose to show break-outs and low volume ranges, using highest and lowest of a few bars back.
Use Heikin Ashi function to smooth the colors with the trend.
Force IndexWhat is the force index ?
The force index is an oscillator used to confirm price breakout strengths and identify potential trends.
It was popularized by A. Elder.
How the force index is computed ?
Knowing that volume is the fuel of a price movement, reliable breakouts and trend continuation are more likely to occur on high volume breakouts. This is why the force index is computed with the intensity of the price movement, and it's volume , using the formula ema13((close(n) - close(n-1)) * volume ) .
How to use the force index
An important change in the force index indicate a strong momentum in the price action.
You can read more about the force index interpretation on Investopedia
Customization
You can display the indicator as an histogram, or as a line chart.
You can change EMA length, although it's recommended to keep it at default value.
[PX] ADX BoxesHello guys,
today I would like to share an indicator that I had in my mind for quite some time. I call it ADX Boxes.
How does it work?
What the indicator does is very simple. Whenever the ADX falls below a certain threshold (which can be managed in the user input settings) a box will appear. The box will continue to grow as long as the ADX stays below the threshold. Once the ADX goes back above the threshold, the box will stop growing and will set its right border.
There are two modes, which can be used to determine the upper and lower border of the box. The first one is called "Extremes", which plots the borders the highest high and lowest low for the range below the threshold. The second one is called "Avg. High/Low", which plots the borders at the average high and average low within the range.
Furthermore, the indicator contains an option to show the average value of the detected range below the ADX threshold.
Just like all my other indicator scripts, this one comes with different styling options for boxes in progress, settled boxes and the average value.
Hopefully, some of you find it useful.
Make sure you leave a follow and a like :)
Happy trading!!
[RS]The Breakout IndicatorSignals when there is a breakout from the trading range(donchian channel up to 300 bars back).
Fractal Breakout StrategyFractal
A type of pattern used in technical analysis to predict a reversal in the current trend. A fractal pattern consists of five bars and is identified when the price meets the following characteristics:
1. A shift from a downtrend to an uptrend occurs when the lowest bar is located in the middle of the pattern and two bars with successively higher lows are positioned around it.
2. A shift from an uptrend to a downtrend occurs when the highest bar is located in the middle of the pattern and two bars with successively lower highs are positioned around it.
Pascal's 4h Compression BreakoutThis indicator aims to identify areas of price compression, by looking for two consecutive "inside candles" on the 4h chart.
An inside candle is simply when the current candle's high is lower than the previous candle's high, and the current candle's low is higher than the previous candle's low.
Once price compression is identified, the indicator draws a range based on the highest high and the lowest low of the two inside candles.
1) A break above the range is bullish.
2) A break below the range is bearish.
The script ALSO paints candles in blue that are likely to become strong horizontal S/R levels. This is, again, based on a candle pattern.
Please note:
1) This indicator is only meant to be used on BITMEX:XBTUSD (on the 4h or 1h chart).
2) You will have to apply some discretion to profitably trade with this indicator. Use SFPs and horizontal S/R levels to judge if a breakout is worth trading.
Finally, use the indicator at your own risk. I am not responsible for any losses you may incur.
My objective with this indicator g is to hopefully give you something that you can build upon, and NOT a script to blindly copy trade.
The concept of market compression is powerful. There are countless ways in which you can build a system around it.
This is just the tip of the iceberg.
Cheers.
ChannelsBreakoutThis script allows you to intercept price channel breakouts (Donchian channel) in a bullish perspective. Applicable both on Equities/ETFs and on Futures (Index Futures).
We open a position when closes crosses the upper channel. The trade ends with a trailing associated with a fast lower Donchian or a monetary stop loss.
It is an educational code and does not constitute a solicitation for public savings.