In this study, I present a method to expose NaN values to development environment. This exposure allows NaN values to be used by methods in scripts. I also show how to use values, even NaN values, as anchors from...
A simple script that shows the distance from a the mean, expressed as a percentage. Simple Moving Average, in this case. Informational only.
No, it's not a new saturation plugin for your fruity loops. ... These are Mean Average Deviations calculated from Harmonic Mean. ... In my previous research I tried to develop "Harmonic Average Deviations", since applying stdevs on Harmonic Mean calculated from reciprocals ain't make sense. Din't work out, prolly cuz by definition stdevs doesn't like negatives. So...
I'm publishing it for research purposes & welcome any ideas and/or explanations whether it's actually possible or nah to do what I'm doing right now. ... Idea is simple - if we can do Harmonic Mean, can we do Harmonic Standard Deviations? It should be the same logic, the only difference is instead of actual datapoints we gotta use reciprocals. In reality I've...
I was legitimately surprised no1 has already coded it out on TradingView, but you guys can copypaste & include it in Pine 5 if your see this xd Here is it. I've checked and double checked everything, the calculations are right, it can be proved by plotting mean, geometric mean & harmonic mean together and noticing that geometric mean will be always between...
Sometimes the market data follows normal distribution, in these cases it is more appropriate to utilize mean-based statistical techniques. This script plots the special case of seven-number summary with 1st, 2nd & 3rd standard deviations below and above the mean. It also has "Log-space" switch which should be checked while using logarithmic scale. The next...
Hello traders and developers! I was wondering how built-in "dev" function in Pine is calculated so I made a little research. I examined 7 samples: 0) "dev" function itself 1) "dev" according to its description: series - sma(series) 2) Mean Absolute Deviation 3) ratio of the absolute difference from 1) divided by period 4) ratio of the difference from 1)...
Mean Reversion and Momentum Interpretation: - Divergence means trend reversal - Parallel movement means trend continuation Squares above serve as a confirming signal
Here is a nice little script that highlights areas of volume using standard deviation, you can choose the look back periods. This script is based on the excellent script by: @SteynTrade - I have simplified it a bit and made it readable to my taste using alpha to highlight high volume areas. Enjoy.
B3 Pendulums, quick little indicators that do change print inside the current bar, so beware. It is good for anticipation, but it is important to make sure the current and next bars follow through. Ever wanted an indicator that really points out the micro term action in the form of a pendulum swing? This my attempt to show the market ups and downs in the...
EXPERIMENTAL: Request for GLAZ Functions to handle Mean, Median, Mode Calculation.
Using a formula that is generally used for calculating investment over time to check gains on a commodity. Geometric mean as described here: www.investopedia.com
Using a formula that is generally used for calculating investment over time to check gains on a commodity. Geometric mean as described here: www.investopedia.com
150924 - v3.0 This script is a complete rewrite of the previous version here . It gathers market data from up to 8 different Bitcoin exchange pairs (8 is maximum due to script limitations).The influence of each single exchange can be customized individually, default is 50% for 0-fee exchanges, 10% for futures and 100% for all others. For each single exchange a...