This is a multiple script. Editing is free for use if you swap to as a base setting.
You can use several lines by adding one indicator only, and I put 7,14,21,28, 40 ,60,120,200,300 as a threshold which I frequently use.
It is made as an open source at any time possible, so that you are free for playing with it.
In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.