levieux

MonthlyReturnsVsMarket

levieux מעודכן   
Library "MonthlyReturnsVsMarket" is a repackaging of the script here

Credits to @QuantNomad for orginal script

Now you can avoid to pollute your own strategy's code with the monthly returns table code and just import the library and call displayMonthlyPnL(int precision) function

To be used in strategy scripts.
הערות שחרור:
added meaningful description
הערות שחרור:
Updated description
הערות שחרור:
fix
הערות שחרור:
Added white background color to table so that colors are displayed properly in dark theme
הערות שחרור:
Added 2 parameters to control whether monthly market and yearly (buy & hold) performance are displayed

ספריית Pine

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

כתב ויתור

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

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

העתק את השורה הבאה והדבק אותה בסקריפט שלך.