This simple indicator compares RoR for up to eleven assets over a period described by the "Offset" input variable.
RoR type may be:
Classical logarytmic RoR: log((Po - Pn)/Po).
Percent growth: (Po - Pn)/Po.
Fiat evaluaton based on "Budget" input roperty: $ * (Po - Pn)/Po.
If the "Relative" option is selected, the RoR of the base asset will be deducted from the asset's ROR. If the "SMA easing" option is selected, RoRs will be eased by a simple moving average of "Offset" bars.
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. 您可以收藏它以在圖表上使用。