How do you calculate the length of a line from the coordinates? - page 13
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
No. To begin with, one must make an axiomatics of the given space "time-points". Then, on the basis of the axioms, prove the applicability of the Pythagorean theorem. And only then try to calculate the hypotenuse in xy-games.
- Listen, Vasya, they say you became a businessman? But how do you count money, you got nothing but F's in maths at school!
- It's simple: I buy for $2, sell for $4, and live off those 2%!
No. To begin with, one must make an axiomatics of the given space "time-points". Then, on the basis of the axioms, prove the applicability of the Pythagorean theorem. And only then try to count the hypotenuse in xy-games.
Gunn is a charlatan.
Who is the Guru?
;)
I think the ratio of hypotenuse lengths from conditional units will give the same result as a speed comparison (point/period or point/minute makes no difference). Take the difference in points between the start and the end of the zigzag line and divide by the period. We obtain the average speed of price movement along this line. On this basis, we can calculate the speed variable coefficient using which we can make settings of the zigzag line variable. In the same way we can measure speed between the first bar where there is no line and the bar where the line ends. For example, at a speed of 1 point/minute, the coefficient can be set to 1 and then, if necessary, corrected.
OK, decipher with a real example. Given two zigzag segments:
point 1: 46.4856
point 2 (total): 46.63
point 3: 46.3488.
segment length 1: 40 bars
segment length 2: 3 bars
As a point we take a unit of the fourth decimal place. v1=(466300-464856)/40=1444/40=36 points/period v2=(466300-463488)/3=2812/3=937 points/period (take absolute value) v2/v1=937/36=26 If the length of 3 bars is the end of the chart and there is no line there yet, expected price movement by points will be 26 times more than points of the first line 1444*26= 37544 the expected price of the next extremum will be 466300+37544=503844 i.e. 50.3844
To be honest - I don't understand anything, especially about the end of the graph.
These segments are in the middle of the graph
Use your algorithm to tell me how much longer one segment is than the other. That's it. I don't need to calculate the next points etc. I just need - by how much % one formed segment is longer than the other
I put plus instead of minus, already corrected. As for the percentage, I will think about it. But to be honest, I too have not understood why it is needed. And why do we need to compare zigzag segments and not the size of the price change?
Think about it, think about it....
To calculate an arbitrary point on the line or for example point of intersection of two lines, there are the usual mathematical formulas, there is no need to reinvent the wheel.....
Why? It's simple: the condition of the CU.