Change Pinescript Indicator

Job ID: 31255414

Budget: €8 – €30 EUR

This indicator show to much lines in the history, it slows down my tradingwiev.
I need to add a integer variable int the indicator settings to reduce the displayed lines.

For example: 1 = show this "chosenTimeFrame" , 2 = show this and the "chosenTimeFrame" bevor, 3 = show this and the 2 "chosenTimeFrame" bevor...
0 = no limitiation.
Related categories: Pine Script