Really simple script for dynamic support and resistance. Takes means over last 1440 bars (1440 minutes in a day) and calculates seven stdevs up and down.
Thank you @Lazybear for the calculations for squeeze and BB, and all of the other great pine-coders who inspired me to create my own indicator to share! This is the result of hours of work learning to code pine and tweaking until everything fits exactly what I was looking for. After using it for a while and seeing the benefits personally, I figured now might be a...
This code is a modified version of the built-in "linear regression" script of Tradingviews which can be plotted correctly on logarithmic charts The log reg code of Forza was adjusted by altustro to generate an exponential regression (or a correct linear regression on the log scale, this is equivalent). The standard deviation in the log scale is a better volatility...
It shows a percentage difference between close and 4-SMA, 20, 50, 100 and 200. As it turns greener, the stock is more expensive, and vice versa, it turns redder when it becomes cheaper relative to the SMA. It will print the green backgraound as long as the bar closes above the 200 SMA and red as long as the bar closes below the 200 SMA. It uses by default 1.3...
This script calculates and displays some bar statistics. For the bar length statistics, it takes every length of upper or lower movements and calculates their average (with SD), median, and max. That way, you can see whether there is a bias in the market or not. Eg.: If for 10 bars, the market moved 2 up, then 1 down, then 3 up, then 2 down, and 2 up, the...
In Tradingview it is not possible to actually display arbitrary non-linear functions retrospectively. Series objects can only depend on the current or past bars Thus, while regression is possible, display of a non-linear curve into the past is not possible This script is a workaround to be able to still display an exponential fit of the last n bars. It is based...
Calculates the average daily range as well as the standard deviation of the daily range over a given period. Adding both values gives you a statistical range (bottom to top or top to bottom) in which price can be expected to move.
The Ultimate Moving Average Bands were created by me and @RedKTrader and this converts our Ultimate Moving Average into volatility bands that use the same adaptive logic to create the bands. I have enabled everything to be fully adjustable so please let me know if you find a more useful setting than what I have here by default. I'm sure everyone is familiar with...
This is Bollinger Band built on top of Zigzags instead of regular price + something more. Indicator presents 7 lines and cloud around it. This can be used to visualize how low or high price is with respect to its past movement. Middle line is moving average of last N zigzag pivots Lines adjacent to moving average are also moving averages. But, they are...
This script helps you evaluate the fair value of an option. It poses the question "if I bought or sold an option under these circumstances in the past, would it have expired in the money, or worthless? What would be its expected value, at expiration, if I opened a position at N standard deviations, given the volatility forecast, with M days to expiration at the...
This is a simple indicator that expands the usability of Standard deviation into a universally usable indicator. This indicator displays the volatility as standard deviation as a % of asset value, this allows using more standardized and comparable values across multiple instruments and asset classes.
This indicator plots Standard Deviation in Percentage. Standard deviation depicts how far is price from its mean. By default it shows Standard Deviation Percentage for 10 periods. While price will be moving away from mean, it will be printed in green, while price will retrace towards mean, it will be printed in red. Currently, we have indicators available to...
Probability Distribution Histogram During data exploration it is often useful to plot the distribution of the data one is exploring. This indicator plots the distribution of data between different bins. Essentially, what we do is we look at the min and max of the entire data set to determine its range. When we have the range of the data, we decide how many...
Trading, like any "game of chance" is best studied and practiced using statistics. Distributions are a simple and intuitive way to summarize your data and identify whether they follow a pattern (e.g. Normal aka Gaussian distribution, or otherwise) Use cases: - Confirm or infirm the indicator / strategy / time series you are looking at follows a known...
The Problem Most People Face When Trading & Investing: If anyone tells you they know where the market is going, they’re either lying or they’re time travelers. The truth is NOBODY knows whether the markets will move up or down tomorrow, next week, next year, or over any period of time. If we all knew, we’d all be rich. What would suit most Investors is to...
Sigma Spikes were created by Adam Grimes and this is one of the best volatility indicators out there. This indicator not only gives you positive or negative volatility but with my version I can identify any sudden changes from the underlying trend. Buy when the line turns green and sell when it turns red. Let me know if there were any other indicators you wanted...
1. Linear Regression including 2 x Standard Deviation + High / Low. Middle line colour depends on colour change of Symmetrically Weighted Moving Average . Green zones indicate good long positions. Red zones indicate good short positions. (Custom) 2. Symmetrically Weighted Moving Average. Colour change depending on cross of offset -1. (Fixed) 3. Exponentially...
Intrangle is an indicator to assist Nifty / Bank Nifty Option Writers / Sellers to identify the PE / CE legs to Sell for Straddle and Strangle positions for Intraday. Basic Idea : (My Conclusion for making this Indicator) 1) Last 10 Years data says Nifty / Bank Nifty More than 66% of times Index are sideways or rangebound (within 1% day) . 2) Mostly, First one...