nojd0

Simple rate of return comparison

nojd0 מעודכן   
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.
הערות שחרור:
Return calculation was wrong, also fixed labels.
סקריפט קוד פתוח

ברוח TradingView אמיתית, מחבר הסקריפט הזה פרסם אותו בקוד פתוח, כך שסוחרים יכולים להבין ולאמת אותו. כל הכבוד למחבר! אתה יכול להשתמש בו בחינם, אך שימוש חוזר בקוד זה בפרסום כפוף לכללי הבית. אתה יכול להכניס אותו למועדפים כדי להשתמש בו בגרף.

כתב ויתור

המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.

רוצה להשתמש בסקריפ זה בגרף?