I do not know good english for explanation sorry. Percentage distance of price to 21ma. Percentage distance of 21ma to 55ma if such a thing is needed, it's here
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 publications is governed by House rules. 您可以收藏它以在圖表上使用。