The Variable Power Weighted Moving Average was created by RedKTrader so make sure you follow them! This is a very handy indicator where you can change the weights of the weighted moving average yourself! For an easy guide here are common values to use to convert this indicator into other indicators: Power = 0 = Simple Moving Average Power = 0.5 = Square Root...
The Optimal Weighted Moving Average was created by Thomas Hutchinson and Peter G. Zhang, Ph.D. (Stocks & Commodities V. 11:12 (500-505)) and it is very similar to a classic weighted moving average but it uses the correlation between the input and the optimal weighted moving average output to use as the weights. Buy when the line turns green and sell when it turns...
In the previous 2 posts in this series, we played around with simple math concepts to create a zero-lag moving average that can deliver fast response and less lag - that we can use to enable better trend following, or as filter / signal. here we take a step further - instead of using equal weight for the moving average (as in the Simple moving average) or linear...
The Squared Weighted Moving Average is similar to the classic Weighted Moving Average but the difference is that it squares the weights instead of the classic weight values. Buy if the indicator line is green and sell when it goes red. Let me know if you would like to see any more scripts from me or if you want something custom done!
The Square Root Weighted Moving Average is similar to the classic Weighted Moving Average but the difference is that it uses the square root of the weights instead of the classic weight values. Buy if the indicator line is green and sell when it goes red. Let me know if you would like to see any more scripts from me or if you want something custom done!
The latest version of my multiple moving averages. Now includes up to 14 moving averge lines plus a separate slow and fast moving average that can be assigned a different MA type. In the screen shot is the fast/slow set to Hull with 15/50 periods. It is overlaid on top of my Key Numbers indicator. 7 moving averages in 1 indicator, including the Hull Moving...
Test version of a weighted average calculator, will make an update later with more functions and a better view. For now it's mainly useful for getting an average value and see how you can ladder into your position, if you use the weights as the amount you want to order, you can see the total value and expected loss in the label. You can use the weights as...
A tool to calculate the average price and position size. The "Risk Amount" input means the amount of dollars you lose if the trade gets stopped out (it should be based on a small percentage of your account). TIPS - If you use the weights to calculate an average price, make sure it adds up to 100% in total or you will get a weird number. - Keep an eye on the...
This is a potential solution to dealing with the inherent lag in most filters especially with instruments such as BTC and the effects of long periods of low volatility followed by massive volatility spikes as well as whipsaws/barts etc. We can try and solve these issues in a number of ways, adaptive lengths, dynamic weighting etc. This filter uses a non linear...
A moving average that weighted with Farey fractions. It matches a standard linear weighted average almost one-to-one. Why? Because both averages have strictly monotonic weighting sequences and assign a higher weight to latests data. So, Farey weights are just scaled to linear ones. Instead of specifing period you specify an order of Farey sequence. To learn more...
This script holds several useful functions from statistics and machine learning (ML) and takes measurement of a volume weighted distance in order to identify local trends. It attempts at applying ML techniques to time series processing, shows how different distance measures behave and gives you an arsenal of tools for your endeavors. Tested with BTCUSD. REM:...
UPDATE: the original version works only with BTC. Here's a general version with rescaling.
There is not much to say - just vanilla locally weighted regression in PineScript 4. see: medium.com also: cs229.stanford.edu
This is a continuation of the series on forecasting techniques. Locally weighted linear regression is a non-parametric algorithm, that is, the model does not learn a fixed set of parameters as is done in ordinary linear regression. Rather parameters Θ (theta) are computed individually for each query point x. While computing Θ, a higher “preference” is given to the...
An EMA using the Volume Oscillator to integrate volume fluctuations into the EMA calculations. Especially useful for Crypto and Forex
Volume-weighted bollinger (normal stats application of weighting mean) with cleaned up visualization. Shaded area represents1sd-2sd move size for trailing 20 period average on timeframe for individual candles.
Ichimoku with cleaned up appearance on chart and volume-weighted highs / lows. Publishing this final version with open script.
MULTI-TF AVERAGE BBANDS - with signals (BETA) Overall, it shows where the price has support and resistance, when it's breaking through, and when its relatively low/high based on the magic of standard deviation. created by gamazama. send me a shout if u find this useful, or if you create something cool with it. %BB: The price's position in the boilinger band is...