you may comment out outputs and change variable req for using in different timeframes because its suitable for only 20w sma and bitcoin only for understanding when to buy long term and sell too i recommend zooming out and making a trend line from tops back from 2013 in bitcoin-index chart pair it up with rsi and bam you have a very powerful indicator for bitcoin buys for long term This indicator gnerally provides confluence and i got the idea from , honourable, Benjamin Cowen's Youtube channel to make it Its not as colourful as his becoz as u see the name its my first indicator but i hope i improve myself :)