AngleTrendLineKeep Indicator for MT5

AngleTrendLineKeep Indicator for MT5

12 September 2026, 17:28
Ryan L Johnson
0
31

Here is a trendline generating indicator that has an input, Angle deg, that allows up to 89.999999999999 degrees to be set for an upward angle, and down to -89.999999999999 degrees to be set for a downward angle.

The input, Object name prefix, can be set/changed to avoid overwriting of a previous trendline and/or creating a channel by attaching the indicator more than once.

Changing the chart timeframe, zooming, or scrolling will not change the angle of the trendline.


Files: