Please tell me the source code that does not display the past line of the moving average line. MT4 (MQL4)

 
I am using MT4. It is difficult to see the various lines displayed on the chart, so always hide the 12th and subsequent lines from the latest candlestick. Please tell me the source code (MQL4) of such an indicator. Thank you.
Moving Average - Trend Indicators - Technical Indicators - Price Charts, Technical and Fundamental Analysis - MetaTrader 5 Help
  • www.metatrader5.com
The Moving Average Technical Indicator shows the mean instrument price value for a certain period of time. When one calculates the moving average...
 
glanzwurde:
I am using MT4. There are many lines on the chart and it is difficult to see, so I would like to delete the past lines of the moving average line that I do not need. For example, always counting from the latest candlestick, do not display moving average lines after the past 12th. It would be helpful if you could give me the source code (MQL4) of such an indicator. Thank you for your help.
It is possible only to hide all the indicators but not some