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:
AngleTrendLineKeep.mq5
14 kb


