The "VWMA/SMA Delta Volatility (Statistical Anomaly Detector)" indicator is a tool designed to detect and visualize volatility in a financial market's price data. The indicator calculates the difference (delta) between two moving averages (VWMA/SMA) and uses statistical analysis to identify anomalies or extreme price movements. Here's a breakdown of its...
This Normal Distribution Curve is designed to overlay a simple normal distribution curve on top of any TradingView indicator. This curve represents a probability distribution for a given dataset and can be used to gain insights into the likelihood of various data levels occurring within a specified range, providing traders and investors with a clear visualization...
High of Day (HoD) & Low of Day (LoD) hourly timings: Statistics. Time of day % likelihood for high and low. //Purpose: To collect stats on the hourly occurrences of HoD and LoD in an asset, to see which times of day price is more likely to form its highest and lowest prices. //How it works: Each day, HoD and LoD are calculated and placed in hourly 'buckets'...
Price Legs: Average Heights; 'Smart ATR'. Consol Range Gauge ~~ Indicator to show small and large price legs (based on short and long input pivot lengths), and calculating the average heights of these price legs; counting legs from user-input start time ~~ //Premise: Wanted to use this as something like a 'Smart ATR': where the average/typical range of a...
This a script to try detect the best combination of supertrend parameters in a space of time. Sadly the script is slow. Evaluate all possibilities params is hard for a pinescript and my knowledge too. In some cases, when you want evaluate many time could be the script fails for timeout. Perhaps with time I could enhance. For this problem of speed the calculate of...
This module can be integrate in your code strategy or indicator and will help you to calculate the percentage probability on specific event inside your strategy. The main goal is improve and simplify the workflow if you are trying to build a quantitative strategy or indicator based on statistics or reinforcement model. Logic The script made a simulation inside...
This study shows the prediction interval as Bollinger Bands using Student's T-distribution. This means that the bands will be wider when the data features higher variation, as well as when the sample size (in the form of length) is smaller. The bands will also be wider when the confidence level is lower. The opposite is also true. Assuming we set a confidence...
This indicator uses the previous period close and +/- 1 ATR to display significant day, multiday, swing, and position trading levels including: - Trigger clouds for possibly going long/short @ 23.6 fib - Mid-range level at 61.8 fib - Full range level at +/- 1 ATR (from previous close) - Extension level at 161.8 fib Additionally, a convenient info table is...
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...