I need to get the same thing, just for an ordinary trend line. In geometry at school we used to calculate the angle of a triangle with one side for example 3 cm and the other side 5 cm. Here you get 3 pips per 5 bars. I think even our geomancy teacher would be very concerned
Do you want it in seconds, minutes or hours? If in "hours", a few degrees can be discounted. ("Count in hours - get 2 degrees off!")
Elenn, the angles are ridiculous to program. They will change in height all the time, depending on the state of the market. Don't tell me that's exactly what you want. Adjust the right side up and down with the mouse, and your angles will change, just as everything changes in height on a scale.
Only the 90 degree angle will not change and that is if the sides are placed on the X and Y axes.
It makes sense to measure the angle in terms of units. Also, it is better to measure the tangent and compare it with it. In essence, slope == strength of trend. That's how I do it.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
"We must, Fedya, we must" (Operation Y).
Then we should call Fedya. I don't know him personally.
I need to get the same thing, just for an ordinary trend line. In geometry at school we used to calculate the angle of a triangle with one side for example 3 cm and the other side 5 cm. Here you get 3 pips per 5 bars. I think even our geomancy teacher would be very concerned
Do you want it in seconds, minutes or hours? If in 'hours', you can get a discount of a few degrees. ("Count in hours - get 2 degrees off!")
Turns out I do. Didn't think it would work that way.
Elenn, the angles are ridiculous to program. They will change in height all the time, depending on the state of the market. Don't tell me that's exactly what you want. Adjust the right side up and down with the mouse, and your angles will change, just as everything changes in height on a scale.
Only the 90 degree angle will not change and that is if the sides are placed on the X and Y axes.
Hello.
Can you please tell me if there is an error in my code.
Thank you in advance.
Please tell me if there is a mistake in my code.
there is.
there is.
function is not defined
How about this: (???)