MT4 but should be similar. Please check if that helps.
Is there a solution to get angle value on OBJ_TRENDBYANGLE by code?
- 2018.04.08
- www.mql5.com
Dear experts, @Alain Verleyen @whroeder1 To this day, I am still wondering why the angle value remains zero when I create the OBJ_TRENDBYANGLE obje...
Alain Verleyen:
MT4 but should be similar. Please check if that helps.
MT4 but should be similar. Please check if that helps.
Excellent, Thanks
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
Hi Guys,
I Created a trend line by angle like it:
When I try get a angle:
double trend_angle = trend.Angle();
I get 90.0 even if I change points coordinates like it.
I read many times this documentation: https://www.mql5.com/en/docs/standardlibrary/chart_object_classes/obj_lines/cchartobjecttrendbyangle
Thanks