How do you get the zigzag line length (wavelength in essence) in any units, knowing the coordinates of the two points?
Needed to compare the wavelengths of the two as a percentage
It's not a good idea, you'll be adding up points and times, so you can't do that (not logical) )
What if instead of time - bar numbers*TF? E.g. 1: 1.5413+48*15, 2: 1.5466+1*15.
whatever, if not the price, there is no point)
If we are talking about a relative value, it makes sense.
The point of Pythagoras is to calculate the vector length in Fibonacci arcs.
Simply, with time momentum can be said to burn out, and if the motion is not realized in a certain time, it is exhausted.
So as an impulse measurement it may well do, the main thing is that the discreteness of time should be equal in the two impulses being compared.
So feel free to add up the square of the price difference (or better to translate it into points of traveled distance) and the square of the motion bar,
and the root will give you the desired relative value for the comparison.
whatever, if it's not the price, there's no point )
The point is the journey :)
The road is for those who walk, and the journey of a thousand miles begins with the first step.
Man, I'm going to be a sceptical philosopher with Math Math soon :o)
Actually, I was referring to the length of the hypotenuse :) what do you think? ;)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
How do you get the zigzag line length (wavelength in essence) in any units, knowing the coordinates of two points?
Needed to compare the wavelengths of the two as a percentage
=== edit===
Respected sergeev on page 9 gave the code, I tweaked it to suit my task:
Important note: when rewinding, compressing/stretching the values will change!