Download MetaTrader 5

Calcuate Angle of a Trendline

To add comments, please log in or register
Speed up MQL5 Cloud Network. Install Strategy Tester Agent!
Tradeing Trader
556
Tradeing Trader 2013.11.28 19:38 

Hello,

does somebody know how i can calculate the Angle of a trendline?

I know we will need all 4 values 2 time and 2 price values but how calculate then with the values?

whroeder1
14504
whroeder1 2013.11.28 20:27  

"What is the angle of walking one mile in 30 minutes?" Makes no sense. For an angle you need X and Y both the same units. X units north and X units east is 45 degrees.

"What is the angle of price increasing 100 pips in 30 minutes or 30 bars?" Makes no sense. You can compute the slope deltaX/deltaY (200 pips/hour or 3.3 pips/bar) but not angle.

Tradeing Trader
556
Tradeing Trader 2013.11.28 22:53  
when you draw a OBJ_TRENDBYANGLE trendline then you can read how much ° it have and i want to know how i can calculate that value for OBJ_TREND trendlines
Simon Gniadkowski
Moderator
18001
Simon Gniadkowski 2013.11.28 23:15  
PlanandTrade:

Hello,

does somebody know how i can calculate the Angle of a trendline?

I know we will need all 4 values 2 time and 2 price values but how calculate then with the values?

https://www.mql5.com/en/forum/146634

https://www.mql5.com/en/forum/141189

https://www.mql5.com/en/forum/139593

https://www.mql5.com/en/forum/138854

To add comments, please log in or register