Forum

Calculation of the slope angle of the trend line.

Good afternoon. I need to calculate the angle of slope of the trend line on the chart in degrees programmatically (MQL5). Can you please give me a formula or a method to do this