Hello! This script “Monte Carlo Simulation - Your Strategy” uses Monte Carlo simulations for your inputted strategy returns or the asset on your chart! Features Monte Carlo Simulation: Performs Monte Carlo simulation to generate multiple future paths. Asset Price or Strategy: Can simulate either future asset prices based on historical log returns or a...
Xeeder - US Government Bonds Analysis (USBA) The "Xeeder - US Government Bonds Analysis" (USBA) is a comprehensive tool designed to assist traders in analyzing the spread, historical volatility, and correlation between two different U.S. Government Bonds. This indicator is crucial for understanding the relative performance and risk factors between two bond...
Shows the z-Score of log-return (blue line) and volatility (black line). In statistics, the z-score is the number of standard deviations by which a value of a raw score is above or below the mean value. This indicator aggregates z-score based on two indicators: MeanReversion by Logarithmic Returns MeanReversion by Volatility Change the time period in...
Seasonal trend in terms of stocks refers to typical and recurring patterns in stock prices that happen at a specific time of the year. There are many theories and beliefs regarding seasonal trends in the financial markets, and some traders use these patterns to guide their investment decisions. This indicator calculates the trend by "Daily" logarithmic returns of...
This is SPTS. It stands for Statistical Package for the Trading Sciences. Its a play on SPSS (Statistical Package for the Social Sciences) by IBM (software that, prior to Pinescript, I would use on a daily basis for trading). Let's preface this indicator first: This isn't so much an indicator as it is a project. A passion project really. This has been in...
Measuring correlations based on log returns, rather than raw prices or simple returns, offers several advantages: - stationarity: Log returns are more stationary, resulting in more meaningful and reliable results - volatility: Log returns give a consistent measure of relative changes of assets with different volatility Log returns are time-additive and often...
K's Reversal Indicator III is based on the concept of autocorrelation of returns. The main theory is that extreme autocorrelation (trending) that coincide with a technical signals such as one from the RSI, may result in a powerful short-term signal that can be exploited. The indicator is calculated as follows: 1. Calculate the price differential (returns) as the...
The Position Cost Distribution indicator (also known as the Market Position Overview, Chip Distribution, or CYQ Algorithm) provides an estimate of how shares are distributed across different price levels. Visually, it resembles the Volume Profile indicator, though they rely on distinct computational approaches. 🟠 Principle The Position Cost Distribution...
Sector analysis is an assessment of the economic and financial condition and prospects of a given sector of the economy. Sector analysis serves to provide an investor with a judgment about how well companies in the sector are expected to perform. Sector analysis is typically employed by investors who specialize in a particular sector, or who use a top-down or...
Financial statement analysis is the process of analyzing a company’s financial statements for decision-making purposes. External stakeholders use it to understand the overall health of an organization and to evaluate financial performance and business value. Internal constituents use it as a monitoring tool for managing the finances. Most often, analysts will...
Comparable company analysis, or “Comps” for short, is commonly used to value firms by comparing them to publicly traded companies with similar business operations. An analyst will compare the current share price a public company relative to some metric such as its earnings to derive a P/E ratio. It will then use that ratio to value the company it is trying to...
Valuation is the analytical process of determining the current (or projected) worth of an asset or a company. There are many techniques used for doing a valuation. An analyst placing a value on a company looks at the business's management, the composition of its capital structure, the prospect of future earnings, and the market value of its assets, among other...
Median of Means (MoM) is a measure of central tendency like mean (average) and median. However, it could be a better and robust estimator of central tendency when the data is not normal, asymmetric, have fat tails (like stock price data) and have outliers. The MoM can be used as a robust trend following tool and in other derived indicators. Median of means (MoM)...
This is the Cumulative Distribution of a Dataset indicator that also calculates the Kurtosis and Skewness for a selected dataset and determines the normality and distribution type. What it does, in pragmatic terms? In the most simplest terms, it calculates the cumulative distribution function (or CDF) of user-defined dataset. The cumulative distribution...
Hey there! I've been diving into the book "Paul Wilmott on Quantitative Finance," and I stumbled upon this cool model for calculating and modeling returns. Basically, it helps us figure out how much a price has changed over a set number of periods—I like to use 20 periods as a default. Once we get that rate of change value, we crunch some numbers to find the...
PNR filter uses the "percentile nearest rank" method to produce signals from any source including oscillator indicators and price bars. Features: * Length - how many candles back in time to use for calculating PNR * % low and high - what range of the spread of values captured will form the PNR band. Use 99&100 to create a band on the 1% highest percentile or 0&1...
Signal to Noise Ratio The Signal to Noise Ratio or SNR is used to assess the quality of information or data by comparing the strength of a useful signal to the presence of background noise or random variations. In Finance the SNR refers to the ratio of strength of a trading signal to the background noise. A high SNR suggest a clear and reliable signal, meanwhile...
The "Percentile Based Trend Strength" (PBTS) calculates trend strength based on percentile values of high and low prices for various length periods and then identifies the current trend as either Bullish, Bearish, or N/A (No Trend). Here's a step-by-step explanation of the code: Percentile Calculations: For each specified length period (13, 21, 34, 55, 89, and...