In developing the "Likelihood of Winning - Probability Density Function (PDF)" indicator, my aim was to offer traders a statistical tool to quantify the probability of reaching target prices. This indicator, grounded in risk assessment principles, enables users to analyze potential outcomes based on the normal distribution, providing insights into market...

37

Hi Traders ! What is the Z score: The Z score measures a values variability factor from the mean, this value is denoted by z and is interpreted as the number of standard deviations from the mean. The Z score is often applied to the normal distribution to “standardize” the values; this makes comparison of normally distributed random variables with different...

30

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...

103

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...

81

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'...

149

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...

137

Library "BenfordsLaw" Methods to deal with Benford's law which states that a distribution of first and higher order digits of numerical strings has a characteristic pattern. "Benford's law is an observation about the leading digits of the numbers found in real-world data sets. Intuitively, one might expect that the leading digits of these numbers would be...

42

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...

178

This strategy was designed and written with the goal of showing and motivating the community how to integrate our 'Probabilities' module with their own script. We have recreated one of the simplest strategies used by many traders. The strategy only trades long and uses the overbought and oversold levels on the RSI indicator. We added stop losses and take...

86

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...

37

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...

42

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...

5138

Many traders spend a lot of time to create algorithms full of unrealistic and far from reality indicators and market conditions. With this script I want to help traders understand the advantage of the Pine language. Using indicators with no statistical foundation and creating algorithms with technical indicators and thousands of conditions is not always the right...

230

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...

83

Part of this script is used to calculate inferential statistics and metrics not available through the built in variables in the strategy tester. A label will be created on the last bar displaying important strategy results, so you can test and analyze strategies quicker. The built in strategy itself is just an example. You can copy and paste the metrics into...

128