PROTECTED SOURCE SCRIPT

Portfolio

已更新
The script’s purpose is to measure one’s net worth based on manual input. It can also be used to establish other “unthought-of” ways of analyzing charts, eg. to group different assets and watch for convergence.

“How to use”
First, decide which “currency” you want to measure all your assets against. You can display the portfolio value in a cryptocurrency or something else.
Add assets:
  • Write a description (eg. Bitcoin).
  • Set the amount you have.
  • Link to a chart that measures against your “currency”

It’s possible to add multiple assets in different “accounts” or “groups”. The portfolio value should then display the value of all those assets combined.

How is PnL measured?
You can measure PnL for the entire portfolio and every “group” individually. You are in charge of which level to measure from. You can for instance type in your current portfolio value and reset it on a monthly basis, or perhaps set a “floor” you want to avoid reaching. PnL is displayed in “currency” and percent change measured from the levels chosen by you.

Script information
To make the indicators published by this account fit together, look good, and easily managed. We had to include some code that is also used in the (closed-source) indicators “Long Position” and “Short Position”. This code is used for distancing and placing labels. It is a volatility-based code that looks back at the previous price action and determines a chart- and timeframe-specific volatility. Not “timeframe-specific” in the sense that some timeframes have special calculations, more that values will most likely be different depending on the “calculation environment”. The main functionality of this script is not about label placements, so we do not think this is a very big deal regarding originality for our other indicators. To keep our other indicators original and to not give away key code blocks with multi-functional value, we have chosen to also have this script published as closed-source.

Furthermore, the script requests data from other symbols based on the user’s input. Thereafter, it calculates and concatenates the percentage and value from the initial inputs. To better understand the script as a whole it would probably be useful to read the “How to use” section of this publication.
版本注释
Small but important changes. Previously, default settings were pointing to symbols that do not exist anymore. This caused the whole indicator to break upon launch. Along with some changes in these default settings, there's now an option to enable/disable assets individually.
PNLPortfolio management

受保护脚本

该脚本是闭源发布的,您可以自由使用它。您可以收藏它以在图表上使用。您无法查看或修改其源代码。

想在图表上使用此脚本?


Find my indicators at flowscious.com
更多:

免责声明