Magic BandThis indicator can help you to understand the current trend and help you to take an entry, If your analysis looks good to go for long entry, check that where is your candle based on this indicator,If the candle is above the indicator it is goo to go for long and if it is bellow the indicator it is good to go for short.
More than that the candle is closing strong above the indicator after crossing the indicator , then it is a good sign to take a long position. Similarly if the candle close strongly bellow the indicator after crossing the indicator then it is good to go for short position.
Use the indicator with other indicators or your analysis.
Please contact me for more details.
Bands
Trend Risk Indicator (TRI)The Trend Risk Indicator is a simple bands indicator made of 2 custom averages of candlesticks ranges calculated within the variable “ BandBars ” period.
Upper and lower channel bands width can be adjusted with the “ Deviation ” variable, which act as a simple factor to enlarge the spread between them.
When Close crosses over the upper band, it is a bearish signal and candlesticks are painted in Red.
When Close crosses under the lower band, it’s a bullish signal and candlesticks are painted in Green.
One of the most interesting indicators for 1 minute scalping. Recommended to use on Renko bars.
*drag to chart and pin to scale, also remove borders from candlesticks.
SHWR Bands"SHWR Bands" are designed for multiple types of traders such as scalpers, knife catching degenerates, swing traders, etc.
The midline is based off of an Event Anchored VWAP ("eVWAP"?) instead of a periodic or period based one because that just doesn't make sense to me for a 24/7 market.
The bands aren't regular stdevs, they're devs based off of something else besides the "eVWAP" and are mathed against another math.
A lot of different ways to play this indicator such as ping ponging between the first two bands and the midline, knife catching trend reversals with the outer bands, confluence for swing traders if price is at a resistant/support and is within one of the middle bands, etc
Useful for all timeframes in different ways.
I've butchered all those explanations but I hope you enjoy and use it anyways.
Periodic EllipsesThe following script periodically plot ellipses to the chart, where the maximum height of the ellipses is determined by the price high of the user-selected time frame while the price low determines the minimum height of the ellipses.
The selected time frame affects the frequency at which the ellipses are plotted, for example, a selected time frame of 1 week will plot an ellipse every week
Note that time frames that are close to the one used in the main chart can return noncircular shapes
Here the main time frame is 15 minutes, while the time frame in the script is 1 hour.
By default the script uses future data, and as such repaint which makes it only useful in offline (non-real time) situations, you can make the script use only past data by deselecting the "repaint" option.
Interpretation And Construction
In terms of usages and interpretation ellipses are similar to bands indicators, as such we can use ellipses in a breakout methodology, where a closing price crossing over the upper bound indicating an uptrend and a closing price crossing under the lower bound indicating a downtrend.
By default, the color of the plots are based on a gradient determined by the position of the closing price relative to the ellipse, with a closing price closer to the upper bound of the ellipse returning a blue color and a closing price closer to the lower bound returning a red color, the intermediate color is violet. When repainting mode is deactivated a blue color indicates an up-trend, while a red color indicates a down-trend, violet colors on the other hand indicate a ranging market.
The ellipses can also determine possible retracements, as such the upper bound of the ellipse can act as a support in an uptrend while the lower bound can act as a resistance in a downtrend.
Construction
Peoples might be interested in the construction of ellipses, this task is not complicated. We can construct circular shapes by using the equation of a semi-circle described as follows:
C = √(1 - x*x)
with 1 ≥ x ≥ -1 , values of x greater than 1 or lower than -1 will return na . In the script, the variable basis creates a line starting at -1 and ending at 1, we then only need to apply the previous equation to this line to have a semi-circle. This semi-circle is in a range of (0,1), so we need to rescale it in a useful range, let's define the highest high of the selected time frame as H and the lowest low as L , the upper and lower bound of the ellipse are calculated as follows:
upper = avg(H,L) + C*(H - avg(H,L))
lower = avg(H,L) - C*(avg(H,L) - L)
Summary
A script plotting ellipses has been proposed, we have seen that the signals that can be generated are similar to the one generated by band indicators, note however that the script has not been made to be a serious indicator, it would be more advisable to use regular band indicators instead.
Thx to @freds_view for the question.
ATR_bandCreates lower and upper band on BTCUSD chart based on ATR value of the previous day and daily open of the current day
High-Low BandsThis is a simple but powerful indicator. It calculates (selectable) moving averages separately from high , low and close .
It can be used as support-resistance, trend or volatility indicator.
Mean Reversion w/ Bollinger BandsThis is a more advanced version of my original mean reversion script.
It employs the famous Bollinger Bands.
This robot will buy when price falls below the lower Bollinger Band, and sell when price moves above the upper Bollinger Band.
I've only tested it on the S&P 500, though you could try it out on other assets to see the backtest performance.
During the recent COVID-19 bear market drop, it produced several buy signals on the S&P which I followed, and made some nice gains so far.
I still think this would make a better investing strategy (buy undervalued / sell over-valued), rather than a trading strategy.
I use this robot for my long term portfolio.
kaitan Bands
Reference: 200 section kaitan Bands
参考:200区間のkaitan Bands
Changing the Bollinger Band's midline from SMA to EMA is not so good in terms of the standard deviation calculation formula, and it was hard to say that EMABB is an index that can be used by the author in different calculation formulas.
This time, when I came up with the deviation, I came up with a method of weighting the latest deviation like EMA instead of the average and neglecting past deviations, so I made it.
The variation in the calculation result seems to be difficult to handle, so the finished product is the one with smoothed EMA deviation.
ボリンジャーバンドの中線をSMAからEMA変更にするのは標準偏差の計算式上いまいちで、EMABBは作者によって計算式もばらばらで使える指標とは言い難かった。
今回、偏差から求めるときに平均ではなくてEMAのように最新の偏差を重くし過去の偏差を軽視する方法を考え付きましたので、作ってみました。
単純に計算結果のばらつきが大きく扱いづらそうなので、EMA偏差をスムージングしたものを完成品としました。
VWAP Daily AnchorAnchored daily VWAP with adjustable standard deviation bands - intended for intraday scalping.
Anchored VWAP is useful because not matter what timeframe you look at it on, it will look the same, unlike normal VWAP indicators. This means there's nothing left to interpretation.
BTC Mayer Multiple BandsIntroduced by Trace Mayer as a way to gauge the current price of Bitcoin against its long range historical price movements (200 day moving average), the Mayer Multiple highlights when Bitcoin is overbought or oversold in the context of longer time frames.
It's worth noting that as the market becomes larger and less volatile, the peaks are becoming less exaggerated. This is because a 200 day moving average baseline is a static yardstick against an ever growing, more stable, Bitcoin market. We should recalibrate what constitutes the overbought/oversold extremes on this chart accordingly.
Idea by CryptoKea. Original author:
Volume Footprints for BTCUSDt (Binance)Identifies where relevant volume is (was). Recommended for 10m 15m timeframes.
Underworld Hunter + Base ZoneUnderworld Hunter + Base Zone is designed to keep traders out of ranging markets by establishing a "dead zone" between the bands where price may be choppy or trends may be short lived. The original Underworld Hunter from @greenmask9 adapted Bollinger Bands by changing the basis from SMA to the EMA of the EMA of the EMA. This version now allows the user to select which moving average they would like to utilize for the calculation.
If price is outside of the upper bands, price may be bullish. If price is outside the lower bands, price may be bearish.
If price is within the green or red areas of the bands, a trend may be forming.
The system also plots when RSI has become over extended above the thresholds selected (70/20 is the default).
MA Period is the length/period the moving average is calculated with
MA Mode is the type of moving average that will be utilized in the basis calculation
The "Standard MA Calculation" Option changes the basis to calculate the moving average selected in MA Mode only once, instead of 3 times
Deviation 1 and Deviation 2 determine how far the dead zone bands will be from the basis
RSI Period is the length/period the RSI function is calculated with
RSI Extended - High Cutoff is the level RSI must reach to be marked as over extended. Most traders refer to this zone as "Overbought"
RSI Extended - Low Cutoff is the level RSI must reach to be marked as over extended. Most traders refer to this zone as "Oversold"
As many NNFx traders know, overbought and oversold essentially do not exist, though the zones can still be utilized
The remaining options are utilized for specific moving average calculations and are set to what is typically considered as "standard" for their values.
There are many options available for this code. The code has not been optimized but merely compiled. Settings should be adjusted for the instrument(s) you are trading.
Adapted from user @greenmask9
Multiple MA Options Credits to @Fractured and @lejmer
Bits and Pieces from @AlexGrover, @Montyjus, and @Jiehonglim
As always, trade at your own risk.
[e2] Bitcoin Halving Key & AvwapThis indicator shows a Key Level Support & Resistance level and VWAP that reset on your choice of the Bitcoin's halving date.
Optional Key Calculation Mode:
- Start with first (2012) or second (2016) halving date.
- Start with first and reset on the second (Halving to halving mode)
- Start with every next halving simultaneously (Halving + halving mode)
Labels show the Market Capitalization, total minted Bitcoins and Bitcoin's close price on the halving's date.
A maximum of 5 bands calculated using a factor of the anchored VWAP's standard deviation can be displayed.
Note
- The script is designed for Bitcoin markets only.
- Estimated 3rd halving, script will be updated when next halving occurs.
Bitcoin Margin Call Envelopes [saraphig & alexgrover]Bitcoin is the most well known digital currency, and allow two parties to make a transaction without the need of a central entity, this is why cryptocurrencies are said to be decentralized, there is no central unit in the transaction network, this can be achieved thanks to cryptography. Bitcoin is also the most traded cryptocurrency and has the largest market capitalization, this make it one of the most liquid cryptocurrency.
There has been tons of academic research studying the profitability of Bitcoin as well as its role as a safe heaven asset, with all giving mixed conclusions, some says that Bitcoin is to risky to be considered as an hedging instrument while others highlight similarities between Bitcoin and gold thus showing evidence on the usefulness of Bitcoin acting as an hedging instrument. Yet Bitcoin seems to attract more short term speculative investors rather than other ones that would use Bitcoin as an hedging instrument.
Once introduced, cryptocurrencies where of course heavily analyzed by technical analyst, and technical indicators where used by retail as well as institutional investors in order to forecast the future trends of bitcoin. I never really liked the idea of designing indicators that specifically worked for only one type of market and ever less on only one symbol. Yet the user @saraphig posted in Feb 20 an indicator called " Margin Call MovingAverage " who calculate liquidation price by using a volume weighted moving average. It took my attention and we decided to work together on a relatively more complete version that would include resistances levels.
I believe the proposed indicator might result useful to some users, the code also show a way to restrict the use of an indicator to only one symbol (line 9 to 16).
The Indicator
The indicator only work on BTCUSD, if you use another symbol you should see the following message:
The indicator plot 6 extremities, with 3 upper (resistance) extremities and 3 lower (support) extremities, each one based on the isolated margin mode liquidation price formula:
UPlp = MA/Leverage × (Leverage+1-(Leverage*0.005))
for upper extremities and:
DNlp = MA × Leverage/(Leverage+1-(Leverage*0.005))
for lower extremities.
Length control the period of the moving averages, with higher values of length increasing the probability of the price crossing an extremity. The Leverage's settings control how far away their associated extremities are from the price, with lower values of Leverage making the extremity farther away from the price, Leverage 3 control Up3 and Dn3, Leverage 2 control Up2 and Dn2, Leverage 1 control Up1 and Dn1, @saraphig recommend values for Leverage of either : 25, 20, 15, 10 ,5.
You can select 3 different types of moving average, the default moving average is the volume weighted moving average (VWMA), you can also choose a simple moving average (SMA) and the Kaufman adaptive moving average (KAMA).
Based on my understanding (which could be wrong) the original indicator aim to highlight points where margin calls might have occurred, hence the name of the indicator.
If you want a more "DSP" like description then i would say that each extremity represent a low-pass filter with a passband greater than 1 for upper extremities and lower than 1 for lower extremities, unlike bands indicators made by adding/subtracting a volatility indicator from another moving average this allow to conserve the original shape of the moving average, the downside of it being the inability to show properly on different scales.
here length = 200, on a 1h tf, each extremities are able to detect short-terms tops and bottoms. The extremity become wider when using lower time-frames.
You would then need to increase the Leverages settings, i recommend a time frame of 1h.
Conclusion
I'am not comfortable enough to make a conclusion, as i don't know the indicator that well, however i liked the original indicator posted by @saraphig and was curious about the idea behind it, studying the effect of margin calls on market liquidity as well as making indicators based on it might result a source of inspiration for other traders.
A big thanks to @saraphig who shared a lot of information about the original indicator and allowed me to post this one. I don't exclude working with him/her in the future, i invite you to follow him/her:
www.tradingview.com
Thx for reading and have a nice weekend! :3
Zero Lag Keltner ChannelsThis is Keltner Channelz (KC) with Zero Lag Moving Average (ZLMA as base). It is smoother and has less lag than the original (EMA/SMA) variant.
It also can be used as a trend indicator and trend confirmation indicator. The upper and lower bands are green if it is an up trend, and red if a down trend. If both have the same color it is a stronger trend.
Anchored VWAP w/ Stdev and VWMA CloudThis is a fun little project that allows you to anchor the Volume Weighed Average Price (VWAP) to a specific day and plot up to 4 standard deviations up or down.
I've also added a Volume Weighted Moving Average (VWMA) plot and accompanying cloud to more easily visualize how volume-based momentum affects trends.
Typically, you'll see price respecting the VWMA Cloud and can expect price bounces off of the VWAP standard deviations.
When setting the initial anchor point, it's best to select a day with high volume and volatility.
This idea is not 100% original, but I couldn't find 1) a public script combining the ideas and 2) the correct plotting of the standard deviation via accumulation.
Happy Trading!
FAQ
Why is your script Protected?
Users like to take my open-source code and charge to use it without my permission.
How do I use this to trade?
Add it to your chart and see what stacks up with your current setup. I trade Forex, so what looks bad on my charts might look golden on yours.
How long have you been doing this?
I've been coding for about 8 years and actively trading for 2 years. My degree is in Robotics Engineering and I became obsessed with investing at 22.
How do you trade?
Hurst + SNR + MESA MAMA + ATR + LSTM + Pure Grid. You can't completely code this setup using Pinescript, but if you learn C++ or Python you're there!
Are your returns good?
I average 0.68% every weekday or 22.65% monthly, using the method above.
Can you build my indicator or strategy?
Absolutely! If it hasn't been done before and it improves our community, then consider it done.
But can you build an indicator or strategy for me and only me?
Citing the house rules, I cannot solicit for any purpose. So saying "PM me" would be a grievous violation of said rules, obviously.
Enhanced Exponential Deviation Bands - Vitali ApirineEverybody has heard of Bollinger banding right? Well, if you are looking for those, you have come to the wrong place. This is something very similar though! These are "Enhanced Exponential Deviation Bands" in the overlay panel employing PSv4.0, originally devised by Vitali Apirine for an article in TASC - July of 2019 Traders Tips. This indicator is freely available for all members to use.
The comments section below is solely just for commenting and other remarks, ideas, compliments, etc... regarding only this indicator, not others. When available time provides itself, I will consider your inquiries, thoughts, and concepts presented below in the comments section if you do have any questions or comments regarding this indicator. When my indicators achieve more prevalent use by TV members, I may implement more ideas when they present themselves as worthy additions. As always, "Like" it if you simply just like it with a proper thumbs up, and also return to my scripts list occasionally for additional postings. Have a profitable future everyone!
NoScoobies Bollinger BandsBollinger Bands strategy that I am trying out, however I can't get my strategy.close to work. Looking for help.
Minkowski Distance Period Linear Regression BandsHello, this script was created by using Linear Regression Bands Function with variable Function Minkowski Distance Adaptive Period.
Function Linear Regression Bands :
Minkowski Distance Function Original Script by RicardoSantos :
Functions saved from overloads . And suitable for mutable variable periods.
Regards.
SFL ATR BandsMany traders use ATR as a way to determine stop loss placement. It usually works like this:
- Stop loss for a short trade = high of last candle + ATR value
- Stop loss for a long trade = low of last candle – ATR value
This is an indicator that allows you to do just that: it gives you an easy way to view current and historical volatility using ATR-based price bands .
Features
The indicator is configurable with the following settings:
ATR period
ATR multiplier
ATR applied to highs/lows OR the close price
Bands offset
Only show for the last X candles
How To Use This Indicator
Since this indicator shows average volatility bands, it is a good measure of how much the price moves. So we can use ATR bands in a number of ways:
it’s an easy way to see where you can place your stop loss
you can use a multiple of ATR as your trade target
you can trail your stops alongside the ATR bands
EMA Deviation #1Useful for finding reversal points or as a signal to take profit
Would not recommend higher ma settings.