Louis Bachelier's Random WalkSeveral tests of market efficiency have been developed over the years. The very first test, constructed by Louis Bachelier in 1900, measured the probability of a number of consecutively positive or consecutively negative price changes, or “runs.”
The randomness of runs is rejected with 95 percent statistical confidence whenever the plotted value is greater than 0. The randomness of runs cannot be rejected if it's < 0.
Desvio Padrão
The Curve by Atilla YurtsevenThe Curve by Atilla Yurtseven
This indicator uses real empirical rule (68 - 95 - 99.7 rule). This is not a Bollinger Band indicator. I know BB is a very good indicator however it's unreliable.
First of all, I believe that price is not in a normal distribution. When you plot the histogram, you can not see a nice bell curved shape. It's know that bollinger bands simply uses a simple moving average and add standard deviation of closing price over it. TheCruve in the other hand, converts price to the nice bell shaped normal distribution and it never repaints. If it does, so there is a bug :)
The Curve indicator does not repaint. It's just there at the opening of the new bar! You can use The Curve with any time frame you like and any securities/pairs. Even for stocks. Longer look back periods, give better results.
Inputs:
Look Back Period: This is for calculating probability. Longer periods give better results.
Use Trend: When you enable Trend option, all lines will be calculated based on a Linear Regression trend
What do lines / ranges mean?
1st lines range is 68%. There is 68% probability that bar will close in this range.
2nd lines range is 95%. There is 95% probability that bar will close in this range.
3rd lines range is 99.7%: There is 99.7% probability that bar will close in this range.
FYI: This is an indicator that I have developed for myself. You can use it, apply or not to apply it to your trades. Keep in mind that, you are responsible for all your loses (or wins). Risk is 100% yours. Please use / try "The Curve" only if you accept this condition.
Have fun :)
Atilla Yurtseven
BB% MODHELLO EVERYONE !
I created this indicator to simplify my life in the study of the bollinger bands on a multi-time frame optics.
It works exactly like the bollinger bands %B you have of defaul inside tradingwiew;
BUT you can choose via an integrated button that I integrated if you see the indicator on the chart timeframe or a custom time frame, which can be changed via a window
Timeframe that you can choose from the window: 1M, 3M, 15M, 30M, 45M, 1H, 2H, 4H, 8H, 12H, D, 3D, W
For more info contact me in PM
I usually answer in 1/3 Day
%B 12H THello everyone , I want to share with the comunity my work for look BB %B in a different timeframe without having to change it every time.
I had done to look and study different or multi timeframe a BB %B
I have programmed the script so that it is completely identical to the default one of tradingwiew to simplify its use at all.
I hope this work can be useful to someone else who likes the concept of standard deviation at the base of the bands conceived by Bollinger, but seen as multi timeframe.
Z-Score (Close)A Z-score is a numerical measurement of a value's relationship to the mean in a group of values. If a Z-score is 0, it represents the score as identical to the mean score.
Z-scores may also be positive or negative, with a positive value indicating the score is above the mean and a negative score indicating it is below the mean. Positive and negative scores also reveal the number of standard deviations that the score is either above or below the mean.
Standard Deviation Pivot pointsSupport Resistance points that are calculated based on the standard deviation of the traditional pivot point(previous session's high, low and close). More often stocks tend to oscillate between 3 levels of deviation forming day's high or low. A breakout of the 3rd SR level with volume indicates a strong trend day.
Auto-LineAn indicator inspired by the Renko chart.Instead of using a static box size we use standard deviation, this make the indicator more reactive to the market state.
If the indicator show no values then you have to round the price to the nearest integer, for that use the round parameter.
Hope you enjoy :)
The ScriptThis latest editon in the series of -=The Script=-
The pre-weighted values are optimized for crypto and this one uses a custom indicator:
• Heartbeat Indicator
The settings for this strategie use:
• Chart Period
• Strategy Period
• Signal Lenght
• Aggressiveness
DISCLAIMER:
The creators of these script are not financial advisors, and as such, this script is not financial advice. Anything seen or used within this script is here simply for educational purposes and it is up to you to decide what to do with this information and results. Please do your own research and verify any outcome made before deciding to act upon them. Do not commit any of your own resources to any trading or cryptocurrency activities without first verifying the accuracy of the information and know that your decisions are your own.
Relative Volatility IndexCorrected Relative Volatility Index. This indicator was originally developed by Donald Dorsey (Stocks & Commodities V.11:6 (253-256): The Relative Volatility Index).
The indicator was revised by Dorsey in 1995 (Stocks & Commodities V.13:09 (388-391): Refining the Relative Volatility Index).
I suggest the refined RVI with optional settings. If you disabled Wilder's Smoothing and Refined RVI you will get the original version of RVI (1993, as built-in).
Also, you can choose an algorithm for calculating Standard Deviation.
Woodies CCI with ChopZone and Sidewinder indicatorExcelente indicador a mi parecer, bastante complejo pero muy bien acoplado; dejo aquí las fuentes para aprender a utilizarlo:
www.x-trader.net
www.x-trader.net www.x-trader.net www.x-trader.net
BBLathe2: Bollinger Band Lathe w/ Elder's Force Index [sclark39]Welcome to the second version of the BBLathe!
This shows Bollinger Bands centered on a horizontal basis, to make it easier to see how volatility is changing and identify squeeze opportunities. By default Bollinger bands are calculated using an exponential moving average and an improved higher precision stdev implementation, but this can be disabled. Version 2 also shows Elder's Force Index as a white histogram, so you can see some volume information to help confirm the power of the bears/bulls. The green/red shadow shows how the Bollinger's basis is changing, and when it is going up there will be a green shadow underneath the basis line (this can be inverted in the settings). There is also price line (yellow) showing the location of the price within the Bollinger Bands.
Use this indicator for trades at your own risk, I made this for fun and it is not a trade recommendation.
That being said, if you like my work please tip me!
ETH: 0xf8E0Ea503B5c833fD4546E7fa2c70EcE42A27C8A
Please comment with feedback and requests!
META: Kahan Summation (Scripting Exercise)I was curious to see what Pine uses to accumulate numbers. It looks like it uses the simple "add em up" approach, rather than a compensated summation. This means that especially for large numbers, there is an inherent error amount.
This script implements the Kahan Summation Algorithm, also known as compensated summation.
en.wikipedia.org
This is part 2 of my study into the builtin stdev function. I think this is why it differs so much from the simple two-pass solution.
META: STDEV Study (Scripting Exercise)While trying to figure out how to make the STDEV function use an exponential moving average instead of simple moving average , I discovered the builtin function doesn't really use either.
Check it out, it's amazing how different the two-pass algorithm is from the builtin!
Eventually I reverse-engineered and discovered that STDEV uses the Naiive algorithm and doesn't apply "Bessel's Correction". K can be 0, it doesn't seem to change the data although having it included should make it a little more precise.
en.wikipedia.org
SD_Bull_Bear_Engulfing_Rsi_SdThis strategy combines the idea of a bullish or bearish candle engulfing coupled with standard deviation (a 100% increase or a 50% decrease). The exit condition is placed if the percentage increase is achieved or 35<rsi<65.
The strategy requires refinement so please test the script and let know what can be incorporated to improve the efficiency.
Exponential Bollinger Bands [Updated Feb 2018]The same as my previous Exponential Bollinger Bands script, but now you can set a desired offset for the indicator. I have published this as a new script that way those who prefer the old script can continue to use it without seeing any changes.
Coefficient of Variation [DW]This is a simple gauge of volatility using the Coefficient of Variation.
COV is calculated by dividing standard deviation of price by the expected (average) price.
Custom color scheme indicates increases and decreases in volatility, which is indicated when the COV forms new half period highs and lows.
Gunbot PingPongSimulation of Gunbot PingPong strategy useful for fine tuning settings and backtesting. First load the instrument and chart period you are wanting to trade and note the general low and high prices. You will need these for "dialing in" your PingPong Buy and Sell prices once you load the indicator. Defaults are set for current USDT-BTC prices.
In Pine Editor -> Open "Gunbot PingPong" -> Add To Chart -> On Indicator -> Format -> Input your desired settings to test.
Red = PingPong Sell Price
Green = PingPong Buy Price
NOTICE: By requesting access to this script you acknowledge that you have read and understood that this is for research purposes only and I am not responsible for any financial losses you may incur by using this script!
SigmaSpikes(R) per Adam H. GrimesEach bar’s return against a volatility-adjusted baseline, as a standard deviation of the last 20 bars’ returns as per Adam H. Grimes SigmaSpikes(R).
adamhgrimes.com
www.marketlifetrading.com
SDSpikePrice Change as Standard Deviation Spikes
Plots price changes scaled to daily StdDev for the period
The Close price change is plotted as a thick bar coloured green for up close, red for down close
The High price change is plotted as a thin bar coloured aqua
The Low price change is plotted as a thin bar coloured orange
Can be used to understand the statistical price behaviour of the symbol.
Very useful for earnings trades and in general for options trades.