Let's look at classical Littlewood-Palye theory to construct a price prediction for…
- User
Let's look at classical Littlewood-Palye theory to construct a price prediction for bitcoin usign historical pricespinescript tradingview code . Let φ be a bump function which equals 1 on B(0,1) and is supported in B(0,2) . Put φj(ξ):=φ(ξ/2j) , ψj:=φj−φj−1 and define Fourier multiplier Pj:=ψj(D) . By Plancherel and dominated convergence, f=∑j∈ZPjf in L2 . The Pj operators localize the frequencies of f at |ξ|≈2j , which has an effect on how fast Pjf varies: In fact, f is almost constant around x where around means |x−y|≪2−j and almost constant can be made precise using the Hardy-Littlewood maximal operator. So we want to localize functions into frequency patches and if we have two functions localized in frequency we can compare them and use techniques as indicated above to get estimates, and for this comparison it is essential to localize with annuli and not merely balls which would already suffice to bound the varying. Now we can rewrite Pj into a convolution operator with some kernel kj given by inverse Fourier transform of the bump on the annulus. What kind if function is kj ? Clearly, it is a Schwartz function because the bump was, but it is moreover mean value free because ∫kjdx=F(fj)(0)=ψj(0)=0 . So in the discrete case, the mean value property of the convolution kernels doesn't come for technical reasons but is the essential feature why one wants to do such a construction. I encourage to construct the bumps and therefore convolution kernels in such a way that its easy to show things (which includes showing such representation formulae). So you could for example start with a smooth radial bump on a ball and take a derivative to directly get a bump for an annulus. In such a way it will be easy to calculate the integral using the fundamental theorem. In the case from the original post where the Littlewood-Paley operators should be squared, you have to take roots somewhere, but you can just start with a bump on a ball whose derivatives decay sufficiently rapid to avoid any issues. Just look what you want to achieve and then build your stuff as it's need and most convenient.
- Assistant
In order to construct a price prediction for Bitcoin using historical prices based on Littlewood-Paley theory, we need to rewrite the theory into a TradingView Pine Script code. The following steps can serve as a guideline for this process: