Calculation of the slope angle of the trend line. - page 2

 
Sergei75:

Here is a function that calculates the slope of the line in degrees, but the accuracy depends on the scale of the graph

Can you share your method of determining the slope (independent of scale)?

No. It's a commercial product.

 

The method is elementary - the number of pips per bar.

 
If you want the angle that the person looking at the screen sees. MQL5 has functions to translate price coordinates into screen pixels. But here you should understand that the angle will depend on the scale. There is no method that is independent of scale. If someone claims otherwise, it's a cheap ponce.
 
Dmitry Fedoseev:
If you want the angle seen by the person looking at the screen. MQL5 has functions to translate price coordinates into screen pixels. But here you should understand that the angle will depend on the scale. There is no method that is independent of scale. If someone claims otherwise, that's cheap poncey.

Brilliant!

Do you have to think about it a little more?

Or is that the end?
 
Renat Akhtyamov:

Brilliant!

And a little more thought?

Or is that the end?
think
 
Dmitry Fedoseev:
think

this issue has already been resolved.

I've given people the right advice.

don't ruin the mood.

 
Renat Akhtyamov:
it's in the past.
How's that? Are you out of your head? All that's left?
 
Dmitry Fedoseev:
How's that? Are you out of your head? All that's left is the pompousness?
I explained myself.
 
Renat Akhtyamov:
I explained myself.
Explanation of your explanation here
 
Dmitry Fedoseev:
Explanation of your explanation here

No, higher.

I repeat.

The price can only go down or up at the same angle.

Scale has nothing to do with it.

Reason: