Bollinger Bands + VWMA SignalIn this tool we can use Bollinger bands together with VWMA (volume weighted moving average) and Buy/Sell signals.
Red lines shows sell opportunities and green lines shows buy opportunities.
Sell and buy opportunities are deducted based on two moving average: (base MA) and VWMA.
This tool works in any time frames, but 4H is recommend.
The base moving average is set to 89 (in 4H) and you can change it to any values like (13, 21, 34, 55, 89, 144, ...).
The long(200) moving average can be used as a trend indicator, as well as support and resistance.
You may leave a like of you find it useful.
Полосы Боллинджера (BB)
EMA Ribbon Bollinger UltimateEma Ribbon and Bollinger Bands.
Background change color if the trend change or if it goes weak.
[KL] Bollinger bands + RSI StrategyThis strategy is based on two of my previous scripts, one called “RSI14 + 10”; the other one called “Bollinger Bands Consolidation”. At its core, it combines the main setups from each of those two scripts but excludes the auxiliary features that were considered as experimental. This strategy will identify periods of squeeze, and then enter long during consolidation with a trailing stop loss set.
Primary indicator will be the Bollinger Bands. By comparing the width of the BBs with the ATR of the same lookback period (i.e. 2 standard deviations of the 20 recent closing prices vs ATR(20) x2), we begin to look for confirmation for entry whenever the standard deviation of prices is less than the ATR. This can be seen visually in the plots (i.e. default gray lines representing ATRx2 relative to BB center line).
Confirmation for entry will be the RSIs (slow-14, and fast-10). If both are upward sloping, then we assume prices are in an uptrend and may eventually break above upper band. RSIs are typically in mid-range when prices are consolidating, therefore no need to measure it.
Exits will happen in two cases, (1) when trailing stop loss hits, or (2) when RSIs signal that the instrument is overbought. No. 1 is self-explanatory. No. 2 happens, when RSI14 reaches above 70 (can be changed), followed by RSI10 catching up and surpassing RSI14.
Squeeze Momentum [Plus]The "Momentum" in this indicator is smoothed out using linear regression. The Momentum is what is displayed on the indicator as a histogram, its purpose is obvious (to show momentum).
What is a Squeeze? A squeeze occurs when Bollinger Bands tighten up enough to slip inside of Keltner Channels .
This is interpreted as price is compressing and building up energy before releasing it and making a big move.
Traditionally, John Carter's version uses 20 period SMAs as the basis lines on both the BB and the KC.
In this version, I've given the freedom to change this and try out different types of moving averages.
The original squeeze indicator had only one Squeeze setting, though this new one has three.
The gray dot Squeeze, call it a "low squeeze" or an "early squeeze" - this is the easiest Squeeze to form based on its settings.
The orange dot Squeeze is the original from the first Squeeze indicator.
And finally, the yellow dot squeeze, call it a "high squeeze" or "power squeeze" - is the most difficult to form and suggests price is under extreme levels of compression.
Now to explain the parameters:
Squeeze Input - This is just the source for the Squeeze to use, default value is closing price.
Length - This is the length of time used to calculate the Bollinger Bands and Keltner Channels .
Bollinger Bands Calculation Type - Selects the type of moving average used to create the Bollinger Bands .
Keltner Channel Calculation Type - Selects the type of moving average used to create the Keltner Channel.
Color Format - you to choose one of 5 different color schemes.
Draw Divergence - Self explanatory here, this will auto-draw divergence on the indicator.
Gray Background for Dark Mode - to make them more visually appealing.
Added ADX (Average Directional Index) that measure a trend’s strength. The higher the ADX value, the stronger the trend. The ADX line is white when it has a positive slope, otherwise it is gray. When the ADX has a very large dispersion with respect to the momentum histogram, increase the scale number.
Added "H (Hull Moving Average) Signal". Hull is a extremely responsive and smooth moving average created by Alan Hull in 2005. Have option to chose between 3 Hull variations.
Added "Williams Vix Fix" signal. The Vix is one of the most reliable indicators in history for finding market bottoms. The Williams Vix Fix is simply a code from Larry Williams creating almost identical results for creating the same ability the Vix has to all assets.
The VIX has always been much better at signaling bottoms than tops. Simple reason is when market falls retail traders panic and increase volatility, and professionals come in and capitalize on the situation. At market tops there is no one panicking... just liquidity drying up.
The FE green triangles are "Filtered Entries"
The AE green triangles are "Aggressive Filtered Entries"
BNBUSD 1 Minute Chart / 1 Hour BBand Day Trading 3Commas*** As always, this is provided for educational purposes only and I am not an investment advisor; I'm just a guy who likes to come up with novel ideas and share them with other traders so they can learn. ***
This strategy is a fun one. I took parts of 'Bollinger Awesome Alert R1 by JustUncleL' () and modified it to have enhanced day trading functionality. This version does not show source and that is by design - I want the alerts to be visible to the public and if you want to get set up with a version that integrates with 3commas, drop me a message - there's a lot more that goes into setting up automated 3commas trading but this script was written specifically with 3commas in mind.
It's possible this is one of the more interesting strategy indicators I've made. The setup I used for this is as such and you will need to set it up the same way:
One minute chart for the BNB/USD(T) pair on Binance.us (other exchanges will likely work, other coin pairs or other time frames will likely not)
This script watches the one minute chart and when price golden crosses the lower Bollinger band, a buy order is placed.
There are two sell conditions; one I set up to take profit and one I designed as a kind of stop loss. I went with a flat 7.5% for the take profit as this showed the best results in the backtester. I had planned for it to be closer to 3% but for this strategy to work it needs to be higher. According to the backtest it offers around double the return of buying and holding BNB over the sample timeframe.
The 'stop loss' condition is where the fun lies. I transposed Bollinger bands from a one hour BNBUSD Binance.us chart on top of the 1 minute chart and those are the blue lines you see. The stop loss condition happens when the current price death crosses the bottom one hour Bollinger band. Ironically, often this doesn't result in any losses as you will see in the chart and instead results in a small win. This definitely was not my intention when I created it but it's a lot better than the earlier version where I set up a variable percentage-based stop loss. Even with me optimizing the regular stop loss for this coin pair, my 1 hour bband method nets an extra 2% profit over the same two week time period, even with Binance fees factored in!
Have fun and like I said, hmu via message if you want access to the customizable indicator for 3commas!
Projected Bollinger Bands - Quadratic RegressionBased on the work of Alex Groove : https://www tradingview com/script/YnoXd2AY-forecasting-quadratic-regression/
and also based on https://www tradingview com/script/YnoXd2AY-forecasting-quadratic-regression/ by capissimo
Notes:
1. This Bollinger Bands uses the QREG as its middle line (not MA as the original Bollinger Bands) so this should be acknowledged.
2. This indicator forecasts 3 candles (periods) ahead.
3. The label's position is quite messy, so you need to adjust the chart zoom in order to make the indicator doesn't overlap anything.
4. You need to manually set the time frame in the indicator settings because i'm not able to make the indicator recognizes it automatically
I'm trying to make the Bollinger Bands Forecasting from Quadratic Regression, and i'm really sure that there are a lot of mistakes here and there, so i 'm hoping corrections coming from you guys...
CHEERS!!!
Bollinger Band Calculation ToolIntroducing the Bollinger Band Calculation Tool
What are Bollinger Bands ?
According to Investopedia ....
"In the 1980s, John Bollinger, a long-time technician of the markets, developed the technique of using a moving average with two trading bands above and below it.
Unlike a percentage calculation from a normal moving average, Bollinger Bands® simply add and subtract a standard deviation calculation.
Standard deviation is a mathematical formula that measures volatility, showing how the stock price can vary from its true value.
By measuring price volatility, Bollinger Bands® adjust themselves to market conditions.
This is what makes them so handy for traders; they can find almost all of the price data needed between the two bands."
Classic interpretations of Bollinger bands from Fidelity Investments....
"When the bands tighten during a period of low volatility, it raises the likelihood of a sharp price move in either direction.
This may begin a trending move. Watch out for a false move in opposite direction which reverses before the proper trend begins.
When the bands separate by an unusual large amount, volatility increases and any existing trend may be ending.
Prices have a tendency to bounce within the bands' envelope, touching one band then moving to the other band.
You can use these swings to help identify potential profit targets.
For example, if a price bounces off the lower band and then crosses above the moving average, the upper band then becomes the profit target.
Price can exceed or hug a band envelope for prolonged periods during strong trends.
On divergence with a momentum oscillator, you may want to do additional research to determine if taking additional profits is appropriate for you.
A strong trend continuation can be expected when the price moves out of the bands.
However, if prices move immediately back inside the band, then the suggested strength is negated."
This indicator contains a standard set of Bollinger Bands with the addition of a Test Closing Price calculation function.
It displays a standard set of Bollinger Bands by default.
How do I use the Test Closing Price function ?
Enter a test price in the Test Closing Price box in the settings, and then click the "Use Test Price" button.
The indicator will then replace the current Bollinger upper, lower and basis-lines with plots showing the resultant lines if price were to close at the Test Closing Price.
An information panel will appear which displays the test closing price and the resulting Bollinger-upper, Bollinger-lower and basis-line prices.
Can display up to 10 decimal places and has adjustable label offset.
It will also plot lines outlining the resultant closed candle body for clarity.
To return to "Standard Bollingers" just click off the "Use Test Price" button.
Knowing exactly what the Bollinger bands and Basis will do if a particular closing price is met can be useful in a variety of ways to traders who use Bollinger Bands® in their trading.
It is possible to work out exactly what closing price is required to get above or below a Bollinger band which is normally difficult as Bollingers react to the change in price.
Users can also experiment with different Test Closing Prices [/i to see exactly what effect this would have on the Basis moving average and on the Bollinger bands themselves.
multi RSI channel for divergence / wave analysisThis is an indicator that will make analysis using RSI much easier!
This indicator is basically an RSI, that uses the concept of bollingerbands, and draws channel that corresponds with the real RSI value.
With this script, you will be able to
1.spot divergences visually, and much easier (rsi channel is set to 35/65-white 30/70-yellow 20/80-orange 15/85-red)
2.analyze the wave easier with the guidance of labels printed
For those people who use RSI alot, you will be able to use this indicator for spotting divergence scenarios before the divergence forms,
and with the multi-rsi channel & help of label, you will be able to visually know that the divergence has formed.
this indicator will help guide you to read RSI indicator much better, and I personally don't think that you need extra RSI indicator(default),
because this is much more intuitive, and you get all the benefits of RSI as well.
hope this helps someone like me who really wanted to use RSI channel more professionally!
Bollinger Blast Buy Unholy GrailThis strategy copy the Nick Radge's trading ideas for a profitable systems. He mentions a Bollinger Band idea which is also published in his book Unholy Grails. Nick says:
he strategy that we did test and showed very promising results was an entry using a Bollinger band and an exit using the opposite Bollinger band, but we use 3 standard deviations for the entry and 1 standard deviation for the exit, just to keep the trailing stop a little bit tighter.”
Entry: Buy on the Open the day after a stock closes above the top Bollinger Band
Exit: Exit on the Open the day after a stock closes below the lower Bollinger Band
Results tested on Nasdaq market are very good and better than simply buy& hold
Angle of Bollinger Bands AlertThis script is used to calculate angle of Bollinger Bands and also setup alerts.
The angle is based on the rules:
- if the previous 2 is 1.1, previous 1 is 1, and the current is 1.1, then the angle should be 90 degrees.
- if the previous 2 is 0.9, previous 1 is 1, and the current is 0.9, then the angle should be 270 degrees
If upper angle is below 90 degrees and close is above the average, it is long signal.
If lower angle is above 270 degrees and close is below the average, it is short signal.
- It is good for catch trend trading.
- Not good for swing trading as the BB changes are very tiny but angles for upper may hit below 90 degrees or angle of lower may be above 270 degrees.
Bitcoin 4 hours, bull market long, indicatorFirst of all, this indicator only applies to more than bull market.
It’s very simple to use.
1. The yellow part represents the short-term price is too high, you can sell some.
2. The black part represents the short-term price is too low, can be appropriate to buy some.
3. You can also add an alert to alert you.
Please remember to choose the 4 hour level, preferably bitcoin , and not to use this indicator on other currencies.
Give me a thumbs-up if you like it 👍
Bollinger on Bollinger OscillatorThis study is a user-friendly workaround to the BBOE+ (attached at the bottom).
I applied Bollinger Bands on BB Oscillator which spend his time bouncing between +100 -100 levels both representing extremes market conditions. You can use it to spot reliable entries/exits opportunities.
During an uptrend when the oscillator tends to -100 and the lower BB turn up you should consider a BUY. Do the same thing when the oscillator pushes under the lower BB nearby the Zero Line.
Make the opposite during a downtrend.
Also look for divergencies that occurs nearby the borders and BB squeezes too.
You can vary both the lenght for the Oscillator and BB.
Use “Upper Multiplier” and “Lower Multiplier” to set two different StDev from the basis (if you need).
You may also consider to apply an offset to the BB.
Is up to you to match the configuration that better-fits your market and time frame.
Default settings could well fits this IXIC 4H Chart.
So that this is basically a price-based indicator you would better consider to pair it with a volume-based or an absolute-momentum-based one.
SHARING IS INTENDED FOR EDUCATIONAL PURPOSE ONLY. NOT FOR PROFESSIONAL USE.
WILL APPRECIATE ANY FEEDBACK, QUESTION, SUGGESTION. (*)
(*) Please don’t ask me for “magic-setting” that do not exit, nor for “kaleidoscopic effects” cause I’m a big fan of such a minimalistic yet profession layouts.
FOLLOW UP TO CHECK UPDATES!
Bollinger Oscillator Extreme + ADXSHORT DESCRIPTION
This study is an improved, flexible, fully-customizable version of the one proposed by Steve Karnish of Cedar Creek Trading, who aimed to create an oscillator based on Bollinger Bands , with the goal of spotting divergencies that occurs outside the bands yet providing valuable entries on the crossings trough a smoothed signal.
IMPROVINGS
Made a Zero Line normalization, where 0 is essentially the BBs basis MA, whereas +100 -100 represents those classic 2 Stdev;
Added two levels of interest based on golden ratio working with the two above to get such an Overbought/Oversold Area. Those levels slightly move apart from a 1.5 Stev.
Made possible to set EMA as basis average instead John’s classic SMA ;
While I kept the original “CCT Oscillator” as a reliable divergence-hunter, I get from it the “Smoothed Oscillator” with a triple average smoothing. You can only play with the first smoothing step by “Oscillator Smoothing” while following are fixed.
Despite little differences occurs, you can consider the Smoothed Oscillator itself as the Signal on the original CCT Oscillator.
Derived the “Signal” that works on the Smoothed Oscillator. You can play with different smoothing length.
Add a customizable ADX which helps weighting trend strength, weakness, choppiness . (mirrored on the Zero Line for aesthetics only)
Add a “BB Width” representation so as you can stay in touch with BB volatility , squeezes, and so on. It is a non-analitic data (not 100 normalized). Use “BBW Multiplier” to match visual reading.
HOW TO USE (NOT TO USE)
The indicator works well when strong directional moves occurs and even better in a sideways market (wide trading range). So there are three main evaluable application:
During an Up-trend, spotting negative divergencies on CCT Oscillator in the Oversold Area (better above +100) tell us that a correction or a reversal will probably occur. It’s time to consider a stop profit or look for a good re-entry after the pull-back.
During a Down-trend, spotting positive divergencies on CCT Oscillator in the Overbought Area (better below -100) tell us that a correction or a reversal will probably occur. It’s time to consider a stop profit or look for a good re-entry after the pull-back.
In a Sideway Market, look for both positive and negative divergencies on CCT Oscillator in the Oversold/Overbought Areas, trading in the range, better with the confirmation from such a Stochastic and a Volume based indicator.
>>> If you're not a pro you would better left counter-trend and mean-reversal setups to “trading titans”. <<<
“OK! And what about signals!?” you tell. :D There are many ways to get signals from crossings and it’s up to you to find what work better to you needs. You can start testing the original Steve Karnish method, using the “CCT Oscillator”/“Smoothed Oscillator” crossings (a 9 period smoothing on a 20 period BB could be a reasonable begining).
Whipsaws makes it difficult? Give a try to “Smoothed Oscillator”/“Signal” crossings. Observe how the price act when “Smoothed Oscillator” penetrate Overbought Area from above or Oversold Area from below after a divergence took place.
Test a lot BB Length-Signal Smoothing combos.
Test with EMA instead using John’s SMA .
Never forget the divergencies’ reliability is time-correlated yet timeframe-correlated too (the longer the better!).
Never forget that the Zero Line (as the basis of BBs) tends to act as resistance/support.
I do the best I can to realize such a flexible tool. Now is up to you to find what better suit your needs.
MEDTRONIC Daily
MORE SUGGESTIONS
This script won’t be an out of the box stategy as no other indicator by itself, tough if you tell it could become a piece of the puzzle.
So that his is basically a price-based indicator you would better consider to pair it with a volume-based or an absolute-momentum based one .
Most important is you first focus on the market in order to detect strong uptrend/downtrend or sideways, better using a supertrend, moving averages (or whatever works better for you) paired with a momentum indicator .
As literatures explains Bollinger Bands (such many others indicators) do their best in ranging markets, yet this version could be as useful when a strong directional move takes place.
THIS WORK TAKES HOURS OF RESEARCH, DEVELOPMENT, TESTING…
SHARING IS INTENDED FOR EDUCATIONAL PURPOSE ONLY. NOT FOR PROFESSIONAL USE.
WILL APPRECIATE ANY FEEDBACK, QUESTION, SUGGESTION! (*)
(*) Please don’t ask me for “magic settings” which do not exist at all, nor for “kaleidoscopic effects” cause I’m a big fan of such a minimalistic yet professional layouts.
FOLLOWUP TO CHECK UPDATES!
Baus BandsThe Baus Bands are a simplified version of another one of my trend following indicators, the Neapolitan Bands. This version only shows the trend trading zones in green and red. An additional 21 EMA with an ATR band was added as part of my own trend trading rules using these bands.
How do I read this indicator?
Is the blue band between and not touching the green or red clouds? The condition is ranging.
Is the blue band touching the green cloud? The condition is a bullish trend.
Is the blue band touching the red cloud? The condition is a bearish trend.
The trend trading rules are exactly the same as the default Neapolitans, but include an extra condition.
A trend has started once 2 conditions are met:
Price has entered either trending cloud.
The 21 EMA ATR band in blue is within the same cloud.
With those conditions met, if you expect the trend to continue, trade pull-backs to the blue band in the direction of the trending cloud.
Isn't this just a 21 EMA trading pull-backs strategy?
No. The 21 EMA alone is not sufficient in my opinion to define a range or trend technically. Always buying the 21 EMA pull-back, especially in a range, is not a great strategy by itself unless you've already identified price as trending. Baus Bands adds that trend identification.
Why make this?
Baus Bands show the conditions I personally use for catching trends and identifying ranges with these indicators, and shows only the information I use.
What's the purpose of the ATR band around the 21 EMA?
Sometimes price will open and close below the 21 EMA and cause some technical analysts will say the trend is over. I added the ATR specifically to get a volatility based, upper and lower bound range around the 21 EMA. that way I have an acceptable price range where price could move past the 21 EMA and still keep a trend valid using similar rules. I then saw that so long this ATR band (not the 21 EMA itself) was touching those trending clouds, then the trend has a good chance of continuing as long as that was true.
(FireflyTA) Adaptive RangeThe "Adaptive Range" tool consists of 3 modules that allow simple and advanced range S&R, trend and volatility analysis.
S&R Bands
Are similar to Bollinger Bands but calculated differently. They are more adaptive than traditional Bollinger Bands and take in more data to calculate more reliable S&R.
Center of Gravity
The COG is a 3-dimensional entity and a powerful target of short-term mean reversion. In contrast to a simple moving average for example, this indicator takes in multiple timeframes and multiple volatility metrics (stdev) besides the usual time dimension (length). Whenever price gaining a distance to the COG, expect a move back to it when it is showing weakness at significant S&R.
Adaptive SuperRange
The SuperRange is based on the COG and shows an outlier area which has a strong probability of rejecting price, catapulting it back to the COG. It is unaffected by the timeframe used and can only be customized by adjusting the length and stdev values.
Roc & Atr
Roc & Atr Orders
My indicator, where I compare the 20 bar change percentage with the 14 bar atr band, I hope it will be useful to everyone. the green zones can be interpreted as BUY and the red zone as SELL zone. In graphs with high motion and low atr, the channel narrowing can be interpreted as BUY and the channel opening as SELL.
No indicator shows you the right way ... The best way is your own thoughts
Reversal with Bollinger Bands + RSI + ADX + ATR (Upgraded)Hi,
Welcome to my 4th script.
Someone asked me some questions about the Bollinger Band strategy I previously published. When I went back to my published script I couldn't help myself but simply try and make it better. Which I did.
Since I've published that script, I've gained much more knowledge about how Pinescript functions. As well as gaining more and more knowledge about how the markets are structered etc.
In this reversal script we use 4 indicators to determine good entry signals, we determine whether the market is ranging or trending and we still only want to take trades in the direction of the "trend".
Bollinger Bands are used for our entry signal. When price hits either side of the band, we wait for a reverse candlestick before we enter a position.
RSI is used to determine if we're in a trending market or in a ranging market. You can adjust the values in the inputs. You can determine the minimum RSI value and the maximum RSI value.
ADX is used the same way as RSI, you can adjust the value in the inputs. You can determine the minimum ADX value.
Last but not least we use two EMA's, a 200 EMA and 100 EMA. Both are adjustable through the inputs. I used two EMA's because I noticed when using this strategy that we'd enter a new position often after having a bad trade. Using two EMA's might clean up some signals, in my case with EUR/USD on a 15m timeframe, it didn't clean up enough signals.
All the default values are pretty decent but might require some finetuning on a certain instrument. Don't overfit the strategy though, that'll only give you bad signals in the future.
Then we are off to our exit signals.
Initially I wanted to incorporate my previous Bollinger Band exit signals as well, but it was too much of a hassle to make the script work as intended so I left it out. If you want to use those exit signals, just find my other script.
When we're in a position and price crosses the opposite band, we wait for a reverse candlestick before we exit the position.
Additionally we want our losses to be as small as possible, so we use RSI to signal us when the market is, or starts to, trend against us. This is where you use the minimum and maximum exit values. So when RSI crosses over or under that value, it'll exit the position.
Furthermore, we use the ATR indicator to set our stop loss, which is pretty basic stuff. You can adjust the ATR multiplier in the inputs. Disabling "Use Trailing Stop?" is really inadvisable unless you know this script inside out as your only exit signals will be opposite Bollinger Band Cross and RSI overbought / oversold areas.
Alert// Short+long: SAR+HMA+Bollinger+support/resistanceHello, dear friends.
This script can be used for various strategies. Whether it's a scalp like now or more positional purchases. To determine the minimum and maximum, SAR ,resistance points, support points+HMA+ Bollinger channel are used. The entry occurs when the SAR intersects with the HMA , if it is above or below the support/ resistance levels.
In the settings there is a "back" how many bars to use back to search for these conditions.Also the standard setting is SAR+ multiplier.
The strategy based on these alerts is the same, but the conditions stipulate that the entry into the deal does not occur (while you are in the deal) if the purchase is more expensive than the previous one.
[laoowai]BNB_USDT_3m_3Commas_Bollinger_MACD_RSI_StrategyBNB_USDT _3m
Release Notes:
Time: 3min
Pair: BNB_USDT
Use: {{strategy.order.alert_message}}
What's the difference with 3Commas Bollinger Strategy by tedwardd:
1. Initial capital: 1210 USDT (10$ Base order / 400$*3 Safety order), if you will change, please change JUST safety order volume or number of safety orders 2-3
2. Using just 2(3) safety order (original script 4)
3. More high-performance strategy for BNB_USDT
4. Using MACD to sell order (original script take profit by scale), thanks Drun30 .
5. Using RSI to analyze the market conditions.
Need to change:
bot_id = input(title="3Commas Bot ID", defval=" YOUR DATA ")
email_token = input(title="Bot Email Token", defval=" YOUR DATA ")
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FAQ copy from tedwardd
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
This strategy is intended for use as a way of backtesting various parameters available on 3commas.
The primary inputs for the strategy are:
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
// USER INPUTS
Short MA Window - The length of the Short moving average
Long MA Window - The length of the Long moving average
Upper Band Offset - The offset to use for the upper bollinger offset
Lower Band Offset - The offset to use for the lower bollinger offset
Long Stop Loss % - The stop loss percentage to test
Long Take Profit % - The Take profit percentage to test
Initial SO Deviation % - The price deviation percentage required to place to first safety order
Safety Order Vol Step % - The volume scale to test
3Commas Bot ID - (self-explanatory)
Bot Email Token - Found in the deal start message for your bot (see link in the previous section for details)
3Commas Bot Trading Pair - The pair to include for composite bot start deals (should match the format of 3commas, not TradingView IE. USDT_BTC not BTCUSDT )
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Start Date, Month, Year and End Date, Month, and Year all apply to the backtesting window. By default, it will use as much data as it can give the current period select (there is less historical data available for periods below 1H) back as far as 2016 (there appears to be no historical data on Trading view much before this). If you would like to test a different period of time, just change these values accordingly.
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Composite bot using a Bollinger band type trading strategy. While its primary intention is to provide users a way of backtesting bot parameters, it can also be used to trigger a deal start by either using the {{strategy.order.alert_message}} field in your alert and providing the bot details in the configuration screen for the strategy or by including the usual deal start message provided by 3commas.
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Original script:
1. 3Commas Bollinger Strategy by tedwardd
2. Momentum Strategy ( BTC /USDT; 1h) - MACD (with source code) by Drun30
[KL] Bollinger Bands Consolidation StrategyThis strategy will enter into long position based on the volatility of prices implied by indicators of (a) Bollinger bands, and (b) ATR.
Application of Bollinger bands ("BOLL")
Using plain vanilla settings for BOLL (i.e. 20 period moving average, and 2 standard deviations of closing prices), we are interested to know about the shape of the area that is bounded by the upper and lower bands.
In theory, consolidation happens when volatility of price decreases. Visually speaking, this is represented by the narrowing of the upper/lower bands. This strategy considers the narrowing of BOLL bands as the primary indicator for long-entry.
Application of ATRs (as confirmations)
Firstly, to confirm that BOLL bands are narrowing (as mentioned above), the ATR at a potential point of entry is compared against the standard deviation of prices over BOLL's lookback periods. Once again, visualizing the shape of BOLL bands during consolidation, we assume the lines begin to squeeze when the distance between the center line and upper/lower band is less than two current ATRs.
Secondly, this strategy looks into the moving average of ATRs to assure that prices are not too choppy when entering into market. If the moving average of ATR decreases at a point in time such that all the above conditions are met, then we can assert that the volatility of price is decreasing.
Thirdly, ATR is used for determining the size of our trailing stop loss. We will keep the multiplier fixed at two.
Bollinger Bands Width DonchianThis script was written for release to my followers in tandem with a video idea on how to use it.
The script draws a line on a lower chart to display the Bollinger Bands Width. The default bars counted for this is 20.
The script then draws and upper and lower Donchian line that moves with the highest high and lowest low of Bollinger Bands Width. The default value of this Donchian is 200. When the Bollinger Bands Width line makes a new Donchian low it highlights the bars for visual recognition.
I have also added alert functionality that can be set to alert when a new low is made.
VWAP-Bollinger BandsThis script uses Bollinger bands but with a VWAP as the source, it uses the high crossing the upper band as a buy signal and a low crossing the lower band as a sell signal
Its default settings are for a day chart - Crypto 30 periods, forex 24 periods and stocks 20 periods, which basically line up with a month per asset class
ive seen good results in crypto and stocks, settings used between1% and 10% equity per trade with a 0.1% fee which lines up with Binance fee structure and $25 per trade which lines up with Commsec on the ASX
Overlay Indicators (EMAs, SMAs, Ichimoku & Bollinger Bands)This is a combination of popular overlay indicators that are used for dynamic support and resistance, trade targets and trend strength.
Included are:
-> 6 Exponential Moving Averages
-> 6 Simple Moving Averages
-> Ichimoku Cloud
-> Bollinger Bands
-> There is also a weekend background marker ideal for cryptocurrency trading
Using all these indicators in conjunction with each other provide great confluence and confidence in trades and price targets.
An explanation of each indicator is listed below.
What Is an Exponential Moving Average (EMA)?
"An exponential moving average (EMA) is a type of moving average (MA) that places a greater weight and significance on the most recent data points. The exponential moving average is also referred to as the exponentially weighted moving average. An exponentially weighted moving average reacts more significantly to recent price changes than a simple moving average (SMA), which applies an equal weight to all observations in the period.
What Does the Exponential Moving Average Tell You?
The 12- and 26-day exponential moving averages (EMAs) are often the most quoted and analyzed short-term averages. The 12- and 26-day are used to create indicators like the moving average convergence divergence (MACD) and the percentage price oscillator (PPO). In general, the 50- and 200-day EMAs are used as indicators for long-term trends. When a stock price crosses its 200-day moving average, it is a technical signal that a reversal has occurred.
Traders who employ technical analysis find moving averages very useful and insightful when applied correctly. However, they also realize that these signals can create havoc when used improperly or misinterpreted. All the moving averages commonly used in technical analysis are, by their very nature, lagging indicators."
Source: www.investopedia.com
Popular EMA lookback periods include fibonacci numbers and round numbers such as the 100 or 200. The default values of the EMAs in this indicator are the most widely used, specifically for cryptocurrency but they also work very well with traditional.
EMAs are normally used in conjunction with Simple Moving Averages.
" What Is Simple Moving Average (SMA)?
A simple moving average (SMA) calculates the average of a selected range of prices, usually closing prices, by the number of periods in that range.
Simple Moving Average vs. Exponential Moving Average
The major difference between an exponential moving average (EMA) and a simple moving average is the sensitivity each one shows to changes in the data used in its calculation. More specifically, the EMA gives a higher weighting to recent prices, while the SMA assigns an equal weighting to all values."
Source: www.investopedia.com
In this indicator, I've included 6 popular moving averages that are commonly used. Most traders will find specific settings for their own personal trading style.
Along with the EMA and SMA, another indicator that is good for finding confluence between these two is the Ichimoku Cloud.
" What is the Ichimoku Cloud?
The Ichimoku Cloud is a collection of technical indicators that show support and resistance levels, as well as momentum and trend direction. It does this by taking multiple averages and plotting them on the chart. It also uses these figures to compute a "cloud" which attempts to forecast where the price may find support or resistance in the future.
The Ichimoku cloud was developed by Goichi Hosoda, a Japanese journalist, and published in the late 1960s.1 It provides more data points than the standard candlestick chart. While it seems complicated at first glance, those familiar with how to read the charts often find it easy to understand with well-defined trading signals."
More info can be seen here: www.investopedia.com
I have changed the default settings on the Ichimoku to suit cryptocurrency trading (as cryptocurrency is usually fast and thus require slightly longer lookbacks) to 20 60 120 30.
Along with the Ichimoku, I like to use Bollinger Bands to not only find confluence for support and resistance but for price discovery targets and trend strength.
" What Is a Bollinger Band®?
A Bollinger Band® is a technical analysis tool defined by a set of trendlines plotted two standard deviations (positively and negatively) away from a simple moving average (SMA) of a security's price, but which can be adjusted to user preferences.
Bollinger Bands® were developed and copyrighted by famous technical trader John Bollinger, designed to discover opportunities that give investors a higher probability of properly identifying when an asset is oversold or overbought."
This article goes into great detail of the complexities of using the Bollinger band and how to use it.
=======
This indicator combines all these powerful indicators into one so that it is easier to input different settings, turn specific tools on or off and can be easily customised.