It is based on my mathematical formula for the long term trends.
The blue line is a long term trend as a power function B = (t/693)^5.526
And the green line is a more sophisticated trend, which models the wave behavior over the whole history of bitcoin .
This script is only applicable to BTCUSD price. The are calculated as the functions of time only.
In general you may also estimate the long term profits. This is important for miners and for holders.