This indicator, originally written by ANG a long time ago, is quite interesting. Unfortunately, the start point of the lines doesn't change in time, so the length of the lines increases instead of remaining constant. Maybe, changing the way in which the lines are coded, from objects to buffers, would help?
Here is a version in which you can specify the number of bars it should calculate. If the bars_num is <= 0 it works as before. If you set the bars number to any positive value, then it works as you described : autotrendchannel_1.01_nmc.mq4
I checked it on 1M chart, and it works perfectly now. Thanks a lot!
Updated Keltner channel (from this post : https://www.mql5.com/en/forum/general ) that is made to display in a separate window : keltner_channels_f1_mtf_sw_nmc.mq4
T3 CCI (from this post https://www.mql5.com/en/forum/general ( with an addition of divergence, volatility bands and multi tome frame : t3_cci__divergence_bands_amp_mtf_nmc.mq4
wso & wro_ma_mtf_alerts from here: https://www.mql5.com/en/forum/general updated to be compatible with new mt4 builds.
Removed new MT4 build compiler warnings from Regression channel originally from here: https://www.mql5.com/en/forum/general
Updated bollinger bands toucher : bollitoucher_2_nmc.mq4
Updated boli toucher 2.01 : bollitoucher_2.01_nmc.mq4
Zero lag macd (from here : https://www.mql5.com/en/forum/general ) with alerts, arrows and multi time frame : zerolag_macd_-_alerts_amp_arrows_v2.0_nmc.mq4